var/cache/dev/twig/b0/b0d92a3181ef0b28b2238d84a290c69a.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Cart/index.twig */
  14. class __TwigTemplate_ea63b42c9ab1a1821140278c4e9466f9 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  40.         // line 13
  41.         $context["body_class"] = "cart_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Cart/index.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_main($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  58.         // line 16
  59.         echo "
  60.     <div class=\"ec-role\">
  61.         <div class=\"ec-pageHeader\">
  62.             <h1 class=\"km_pagetitle\">";
  63.         // line 19
  64.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.title"), "html"nulltrue);
  65.         echo "</h1>
  66.         </div>
  67.     </div>
  68.     <div class=\"ec-cartRole\">
  69.         <div class=\"ec-cartRole__progress\">
  70.             <ul class=\"ec-progress\">
  71.                 ";
  72.         // line 26
  73.         $context["step"] = 1;
  74.         // line 27
  75.         echo "                <li class=\"ec-progress__item is-complete\">
  76.                     <div class=\"ec-progress__number\">";
  77.         // line 28
  78.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'28$this->source); })()), 28$this->source), "html"nulltrue);
  79.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'28$this->source); })()) + 1);
  80.         // line 29
  81.         echo "                    </div>
  82.                     <div class=\"ec-progress__label\">";
  83.         // line 30
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__cart_items"), "html"nulltrue);
  85.         echo "
  86.                     </div>
  87.                 </li>
  88.                 ";
  89.         // line 33
  90.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  91.             // line 34
  92.             echo "                    <li class=\"ec-progress__item\">
  93.                         <div class=\"ec-progress__number\">";
  94.             // line 35
  95.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'35$this->source); })()), 35$this->source), "html"nulltrue);
  96.             $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'35$this->source); })()) + 1);
  97.             // line 36
  98.             echo "                        </div>
  99.                         <div class=\"ec-progress__label\">";
  100.             // line 37
  101.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__customer_info"), "html"nulltrue);
  102.             echo "
  103.                         </div>
  104.                     </li>
  105.                 ";
  106.         }
  107.         // line 41
  108.         echo "                <li class=\"ec-progress__item\">
  109.                     <div class=\"ec-progress__number\">";
  110.         // line 42
  111.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'42$this->source); })()), 42$this->source), "html"nulltrue);
  112.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'42$this->source); })()) + 1);
  113.         // line 43
  114.         echo "                    </div>
  115.                     <div class=\"ec-progress__label\">";
  116.         // line 44
  117.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__order"), "html"nulltrue);
  118.         echo "
  119.                     </div>
  120.                 </li>
  121.                 <li class=\"ec-progress__item\">
  122.                     <div class=\"ec-progress__number\">";
  123.         // line 48
  124.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'48$this->source); })()), 48$this->source), "html"nulltrue);
  125.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'48$this->source); })()) + 1);
  126.         // line 49
  127.         echo "                    </div>
  128.                     <div class=\"ec-progress__label\">";
  129.         // line 50
  130.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__confirm"), "html"nulltrue);
  131.         echo "
  132.                     </div>
  133.                 </li>
  134.                 <li class=\"ec-progress__item\">
  135.                     <div class=\"ec-progress__number\">";
  136.         // line 54
  137.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'54$this->source); })()), 54$this->source), "html"nulltrue);
  138.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'54$this->source); })()) + 1);
  139.         // line 55
  140.         echo "                    </div>
  141.                     <div class=\"ec-progress__label\">";
  142.         // line 56
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__complete"), "html"nulltrue);
  144.         echo "
  145.                     </div>
  146.                 </li>
  147.             </ul>
  148.         </div>
  149.         ";
  150.         // line 61
  151.         $context["productStr"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'61$this->source); })()), "session", [], "any"falsefalsetrue61), "flashbag", [], "any"falsefalsetrue61), "get", [=> "eccube.front.request.product"], "method"falsefalsetrue61);
  152.         // line 62
  153.         echo "        ";
  154.         $context['_parent'] = $context;
  155.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'62$this->source); })()), "session", [], "any"falsefalsetrue62), "flashbag", [], "any"falsefalsetrue62), "get", [=> "eccube.front.request.error"], "method"falsefalsetrue62));
  156.         $context['loop'] = [
  157.           'parent' => $context['_parent'],
  158.           'index0' => 0,
  159.           'index'  => 1,
  160.           'first'  => true,
  161.         ];
  162.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  163.             $length count($context['_seq']);
  164.             $context['loop']['revindex0'] = $length 1;
  165.             $context['loop']['revindex'] = $length;
  166.             $context['loop']['length'] = $length;
  167.             $context['loop']['last'] = === $length;
  168.         }
  169.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  170.             // line 63
  171.             echo "            ";
  172.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue63);
  173.             // line 64
  174.             echo "            <div class=\"ec-cartRole__error\">
  175.                 <div class=\"ec-alert-warning\">
  176.                     <div class=\"ec-alert-warning__inner\">
  177.                         <div class=\"ec-alert-warning__inner__item\">
  178.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  179.             // line 68
  180.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  181.             echo "\"></div>
  182.                             <div class=\"ec-alert-warning__text\">
  183.                                 ";
  184.             // line 70
  185.             if (twig_get_attribute($this->env$this->source, ($context["productStr"] ?? null), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'70$this->source); })()), [], "array"truetruetrue70)) {
  186.                 // line 71
  187.                 echo "                                    ";
  188.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 71$this->source), ["%product%" => twig_get_attribute($this->env$this->source, (isset($context["productStr"]) || array_key_exists("productStr"$context) ? $context["productStr"] : (function () { throw new RuntimeError('Variable "productStr" does not exist.'71$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'71$this->source); })()), [], "array"falsefalsetrue71)]), "html"nulltrue));
  189.                 echo "
  190.                                 ";
  191.             } else {
  192.                 // line 73
  193.                 echo "                                    ";
  194.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 73$this->source)), "html"nulltrue));
  195.                 echo "
  196.                                 ";
  197.             }
  198.             // line 75
  199.             echo "                            </div>
  200.                         </div>
  201.                     </div>
  202.                 </div>
  203.             </div>
  204.         ";
  205.             ++$context['loop']['index0'];
  206.             ++$context['loop']['index'];
  207.             $context['loop']['first'] = false;
  208.             if (isset($context['loop']['length'])) {
  209.                 --$context['loop']['revindex0'];
  210.                 --$context['loop']['revindex'];
  211.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  212.             }
  213.         }
  214.         $_parent $context['_parent'];
  215.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  216.         $context array_intersect_key($context$_parent) + $_parent;
  217.         // line 81
  218.         echo "        ";
  219.         $context['_parent'] = $context;
  220.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'81$this->source); })()), "session", [], "any"falsefalsetrue81), "flashbag", [], "any"falsefalsetrue81), "get", [=> "eccube.front.cart.error"], "method"falsefalsetrue81));
  221.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  222.             // line 82
  223.             echo "            <div class=\"ec-cartRole__error\">
  224.                 <div class=\"ec-alert-warning\">
  225.                     <div class=\"ec-alert-warning__inner\">
  226.                         <div class=\"ec-alert-warning__inner__item\">
  227.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  228.             // line 86
  229.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  230.             echo "\"></div>
  231.                             <div class=\"ec-alert-warning__text\">
  232.                                 ";
  233.             // line 88
  234.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 88$this->source)), "html"nulltrue));
  235.             echo "
  236.                             </div>
  237.                         </div>
  238.                     </div>
  239.                 </div>
  240.             </div>
  241.         ";
  242.         }
  243.         $_parent $context['_parent'];
  244.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  245.         $context array_intersect_key($context$_parent) + $_parent;
  246.         // line 95
  247.         echo "        ";
  248.         if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'95$this->source); })()) > 0)) {
  249.             // line 96
  250.             echo "            <div class=\"ec-cartRole__totalText\">
  251.                 <p>
  252.                     ";
  253.             // line 98
  254.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.total_price", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed((isset($context["totalPrice"]) || array_key_exists("totalPrice"$context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.'98$this->source); })()), 98$this->source))]);
  255.             echo "
  256.                 </p>
  257.             </div>
  258.             ";
  259.             // line 101
  260.             if ((twig_length_filter($this->env, (isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'101$this->source); })())) > 1)) {
  261.                 // line 102
  262.                 echo "                <div class=\"ec-cartRole__error\">
  263.                     <div class=\"ec-alert-warning\">
  264.                         <div class=\"ec-alert-warning__inner\">
  265.                             <div class=\"ec-alert-warning__inner__item\">
  266.                                 <div class=\"ec-alert-warning__text\">
  267.                                     ";
  268.                 // line 107
  269.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.divide_cart"), "html"nulltrue));
  270.                 echo "
  271.                                 </div>
  272.                             </div>
  273.                         </div>
  274.                     </div>
  275.                 </div>
  276.             ";
  277.             }
  278.             // line 114
  279.             echo "
  280.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  281.             // line 115
  282.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  283.             echo "\">
  284.                 ";
  285.             // line 117
  286.             $context['_parent'] = $context;
  287.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'117$this->source); })()));
  288.             $context['loop'] = [
  289.               'parent' => $context['_parent'],
  290.               'index0' => 0,
  291.               'index'  => 1,
  292.               'first'  => true,
  293.             ];
  294.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  295.                 $length count($context['_seq']);
  296.                 $context['loop']['revindex0'] = $length 1;
  297.                 $context['loop']['revindex'] = $length;
  298.                 $context['loop']['length'] = $length;
  299.                 $context['loop']['last'] = === $length;
  300.             }
  301.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  302.                 // line 118
  303.                 echo "                    ";
  304.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue118);
  305.                 // line 119
  306.                 echo "                    ";
  307.                 $context['_parent'] = $context;
  308.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'119$this->source); })()), "session", [], "any"falsefalsetrue119), "flashbag", [], "any"falsefalsetrue119), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'119$this->source); })())) . ".request.error")], "method"falsefalsetrue119));
  309.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  310.                     // line 120
  311.                     echo "                        <div class=\"ec-cartRole__error\">
  312.                             <div class=\"ec-alert-warning\">
  313.                                 <div class=\"ec-alert-warning__inner\">
  314.                                     <div class=\"ec-alert-warning__inner__item\">
  315.                                         <div class=\"ec-alert-warning__icon\"><img src=\"";
  316.                     // line 124
  317.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  318.                     echo "\"></div>
  319.                                         <div class=\"ec-alert-warning__text\">
  320.                                             ";
  321.                     // line 126
  322.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 126$this->source)), "html"nulltrue));
  323.                     echo "
  324.                                         </div>
  325.                                     </div>
  326.                                 </div>
  327.                             </div>
  328.                         </div>
  329.                     ";
  330.                 }
  331.                 $_parent $context['_parent'];
  332.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  333.                 $context array_intersect_key($context$_parent) + $_parent;
  334.                 // line 133
  335.                 echo "
  336.                     <div class=\"ec-cartRole__cart\">
  337.                         <div class=\"ec-cartTable\">
  338.                             <ol class=\"ec-cartHeader\">
  339.                                 <li class=\"ec-cartHeader__label\">";
  340.                 // line 137
  341.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delete"), "html"nulltrue);
  342.                 echo "</li>
  343.                                 <li class=\"ec-cartHeader__label\">";
  344.                 // line 138
  345.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.product"), "html"nulltrue);
  346.                 echo "</li>
  347.                                 <li class=\"ec-cartHeader__label\">";
  348.                 // line 139
  349.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity"), "html"nulltrue);
  350.                 echo "</li>
  351.                                 <li class=\"ec-cartHeader__label\">";
  352.                 // line 140
  353.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal"), "html"nulltrue);
  354.                 echo "</li>
  355.                             </ol>
  356.                             ";
  357.                 // line 142
  358.                 $context['_parent'] = $context;
  359.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue142));
  360.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  361.                     // line 143
  362.                     echo "                                ";
  363.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue143);
  364.                     // line 144
  365.                     echo "                                ";
  366.                     $context["Product"] = twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'144$this->source); })()), "Product", [], "any"falsefalsetrue144);
  367.                     // line 145
  368.                     echo "                                <ul class=\"ec-cartRow\">
  369.                                     <li class=\"ec-cartRow__delColumn\">
  370.                                         <a href=\"";
  371.                     // line 147
  372.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "remove""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'147$this->source); })()), "id", [], "any"falsefalsetrue147)]), "html"nulltrue);
  373.                     echo "\" ";
  374.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  375.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  376.                                             <img src=\"";
  377.                     // line 148
  378.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  379.                     echo "\" alt=\"delete\">
  380.                                         </a>
  381.                                     </li>
  382.                                     <li class=\"ec-cartRow__contentColumn\">
  383.                                         <div class=\"ec-cartRow__img\">
  384.                                             <a target=\"_blank\" href=\"";
  385.                     // line 153
  386.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'153$this->source); })()), "id", [], "any"falsefalsetrue153)]), "html"nulltrue);
  387.                     echo "\">
  388.                                                 <img src=\"";
  389.                     // line 154
  390.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'154$this->source); })()), "MainListImage", [], "any"falsefalsetrue154), 154$this->source)), "save_image"), "html"nulltrue);
  391.                     echo "\" alt=\"";
  392.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'154$this->source); })()), "name", [], "any"falsefalsetrue154), 154$this->source), "html"nulltrue);
  393.                     echo "\"/>
  394.                                             </a>
  395.                                         </div>
  396.                                         <div class=\"ec-cartRow__summary\">
  397.                                             <div class=\"ec-cartRow__name\">
  398.                                                 <a target=\"_blank\" href=\"";
  399.                     // line 159
  400.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'159$this->source); })()), "id", [], "any"falsefalsetrue159)]), "html"nulltrue);
  401.                     echo "\">";
  402.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'159$this->source); })()), "name", [], "any"falsefalsetrue159), 159$this->source), "html"nulltrue);
  403.                     echo "</a>
  404.                                                 ";
  405.                     // line 160
  406.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'160$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue160) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'160$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue160), "id", [], "any"falsefalsetrue160))) {
  407.                         // line 161
  408.                         echo "                                                    <br>";
  409.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'161$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue161), "ClassName", [], "any"falsefalsetrue161), "name", [], "any"falsefalsetrue161), 161$this->source), "html"nulltrue);
  410.                         echo ":";
  411.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'161$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue161), 161$this->source), "html"nulltrue);
  412.                         echo "
  413.                                                 ";
  414.                     }
  415.                     // line 163
  416.                     echo "                                                ";
  417.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'163$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue163) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'163$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue163), "id", [], "any"falsefalsetrue163))) {
  418.                         // line 164
  419.                         echo "                                                    <br>";
  420.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'164$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue164), "ClassName", [], "any"falsefalsetrue164), "name", [], "any"falsefalsetrue164), 164$this->source), "html"nulltrue);
  421.                         echo ":";
  422.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'164$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue164), 164$this->source), "html"nulltrue);
  423.                         echo "
  424.                                                 ";
  425.                     }
  426.                     // line 166
  427.                     echo "                                            </div>
  428.                                             <div class=\"ec-cartRow__unitPrice\">";
  429.                     // line 167
  430.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsetrue167), 167$this->source)), "html"nulltrue);
  431.                     echo "</div>
  432.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  433.                     // line 168
  434.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal__with_separator"), "html"nulltrue);
  435.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsetrue168), 168$this->source)), "html"nulltrue);
  436.                     echo "</div>
  437.                                         </div>
  438.                                     </li>
  439.                                     <li class=\"ec-cartRow__amountColumn\">
  440.                                         <div class=\"ec-cartRow__amount\">";
  441.                     // line 172
  442.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue172), 172$this->source)), "html"nulltrue);
  443.                     echo "</div>
  444.                                         <div class=\"ec-cartRow__amountSP\">";
  445.                     // line 173
  446.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity__with_separator"), "html"nulltrue);
  447.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue173), 173$this->source)), "html"nulltrue);
  448.                     echo "</div>
  449.                                         <div class=\"ec-cartRow__amountUpDown\">
  450.                                             ";
  451.                     // line 175
  452.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue175) > 1)) {
  453.                         // line 176
  454.                         echo "                                                <a href=\"";
  455.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "down""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'176$this->source); })()), "id", [], "any"falsefalsetrue176)]), "html"nulltrue);
  456.                         echo "\" ";
  457.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  458.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  459.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  460.                         // line 177
  461.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  462.                         echo "\" alt=\"reduce\"></span>
  463.                                                 </a>
  464.                                             ";
  465.                     } else {
  466.                         // line 180
  467.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  468.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  469.                         // line 181
  470.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  471.                         echo "\" alt=\"reduce\"></span>
  472.                                                 </div>
  473.                                             ";
  474.                     }
  475.                     // line 184
  476.                     echo "                                            <a href=\"";
  477.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "up""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'184$this->source); })()), "id", [], "any"falsefalsetrue184)]), "html"nulltrue);
  478.                     echo "\" ";
  479.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  480.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  481.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  482.                     // line 185
  483.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  484.                     echo "\" alt=\"increase\"></span>
  485.                                             </a>
  486.                                         </div>
  487.                                     </li>
  488.                                     <li class=\"ec-cartRow__subtotalColumn\">
  489.                                         <div class=\"ec-cartRow__sutbtotal\">";
  490.                     // line 190
  491.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsetrue190), 190$this->source)), "html"nulltrue);
  492.                     echo "</div>
  493.                                     </li>
  494.                                 </ul>
  495.                             ";
  496.                 }
  497.                 $_parent $context['_parent'];
  498.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  499.                 $context array_intersect_key($context$_parent) + $_parent;
  500.                 // line 194
  501.                 echo "                        </div>
  502.                     </div>
  503.                     <div class=\"ec-cartRole__progress\">
  504.                         ";
  505.                 // line 197
  506.                 if ((twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'197$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue197) && twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'197$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue197))) {
  507.                     // line 198
  508.                     echo "                            <br/>
  509.                             ";
  510.                     // line 199
  511.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'199$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'199$this->source); })()), [], "array"falsefalsetrue199)) {
  512.                         // line 200
  513.                         echo "                                ";
  514.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  515.                         echo "
  516.                             ";
  517.                     } else {
  518.                         // line 202
  519.                         echo "                                ";
  520.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price_and_quantity", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'202$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'202$this->source); })()), [], "array"falsefalsetrue202), 202$this->source)), "%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'202$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'202$this->source); })()), [], "array"falsefalsetrue202), 202$this->source))]);
  521.                         echo "
  522.                             ";
  523.                     }
  524.                     // line 204
  525.                     echo "                        ";
  526.                 } elseif (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'204$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue204)) {
  527.                     // line 205
  528.                     echo "                            <br/>
  529.                             ";
  530.                     // line 206
  531.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'206$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'206$this->source); })()), [], "array"falsefalsetrue206)) {
  532.                         // line 207
  533.                         echo "                                ";
  534.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  535.                         echo "
  536.                             ";
  537.                     } else {
  538.                         // line 209
  539.                         echo "                                ";
  540.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'209$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'209$this->source); })()), [], "array"falsefalsetrue209), 209$this->source))]);
  541.                         echo "
  542.                             ";
  543.                     }
  544.                     // line 211
  545.                     echo "                        ";
  546.                 } elseif (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'211$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue211)) {
  547.                     // line 212
  548.                     echo "                            <br/>
  549.                             ";
  550.                     // line 213
  551.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'213$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'213$this->source); })()), [], "array"falsefalsetrue213)) {
  552.                         // line 214
  553.                         echo "                                ";
  554.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  555.                         echo "
  556.                             ";
  557.                     } else {
  558.                         // line 216
  559.                         echo "                                ";
  560.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__quantity", ["%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'216$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'216$this->source); })()), [], "array"falsefalsetrue216), 216$this->source))]);
  561.                         echo "
  562.                             ";
  563.                     }
  564.                     // line 218
  565.                     echo "                        ";
  566.                 }
  567.                 // line 219
  568.                 echo "                    </div>
  569.                     <div class=\"ec-cartRole__actions\">
  570.                         <div class=\"ec-cartRole__total\">";
  571.                 // line 221
  572.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.total__with_separator"), "html"nulltrue);
  573.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  574.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsetrue221), 221$this->source)), "html"nulltrue);
  575.                 echo "</span>
  576.                         </div>
  577.                         <a class=\"ec-blockBtn--action\" href=\"";
  578.                 // line 223
  579.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart_buystep", ["cart_key" => (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'223$this->source); })())]), "html"nulltrue);
  580.                 echo "\">";
  581.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.checkout"), "html"nulltrue);
  582.                 echo "</a>
  583.                         ";
  584.                 // line 224
  585.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue224)) {
  586.                     // line 225
  587.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  588.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  589.                     echo "\">";
  590.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.continue"), "html"nulltrue);
  591.                     echo "</a>
  592.                         ";
  593.                 }
  594.                 // line 227
  595.                 echo "                    </div>
  596.                 ";
  597.                 ++$context['loop']['index0'];
  598.                 ++$context['loop']['index'];
  599.                 $context['loop']['first'] = false;
  600.                 if (isset($context['loop']['length'])) {
  601.                     --$context['loop']['revindex0'];
  602.                     --$context['loop']['revindex'];
  603.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  604.                 }
  605.             }
  606.             $_parent $context['_parent'];
  607.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  608.             $context array_intersect_key($context$_parent) + $_parent;
  609.             // line 229
  610.             echo "            </form>
  611.         ";
  612.         } else {
  613.             // line 231
  614.             echo "            ";
  615.             $context['_parent'] = $context;
  616.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'231$this->source); })()));
  617.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  618.                 // line 232
  619.                 echo "                ";
  620.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue232);
  621.                 // line 233
  622.                 echo "                ";
  623.                 $context['_parent'] = $context;
  624.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'233$this->source); })()), "session", [], "any"falsefalsetrue233), "flashbag", [], "any"falsefalsetrue233), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'233$this->source); })())) . ".request.error")], "method"falsefalsetrue233));
  625.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  626.                     // line 234
  627.                     echo "                    <div class=\"ec-cartRole__error\">
  628.                         <div class=\"ec-alert-warning\">
  629.                             <div class=\"ec-alert-warning__inner\">
  630.                                 <div class=\"ec-alert-warning__inner__item\">
  631.                                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  632.                     // line 238
  633.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  634.                     echo "\"></div>
  635.                                     <div class=\"ec-alert-warning__text\">
  636.                                         ";
  637.                     // line 240
  638.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 240$this->source)), "html"nulltrue));
  639.                     echo "
  640.                                     </div>
  641.                                 </div>
  642.                             </div>
  643.                         </div>
  644.                     </div>
  645.                 ";
  646.                 }
  647.                 $_parent $context['_parent'];
  648.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  649.                 $context array_intersect_key($context$_parent) + $_parent;
  650.                 // line 247
  651.                 echo "            ";
  652.             }
  653.             $_parent $context['_parent'];
  654.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  655.             $context array_intersect_key($context$_parent) + $_parent;
  656.             // line 248
  657.             echo "            <div class=\"ec-role\">
  658.                 <div class=\"ec-off3Grid\">
  659.                     <div class=\"ec-off3Grid__cell\">
  660.                         <div class=\"ec-alert-warning\">
  661.                             <div class=\"ec-alert-warning__inner\">
  662.                                 <div class=\"ec-alert-warning__inner__item\">
  663.                                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  664.             // line 254
  665.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  666.             echo "\"></div>
  667.                                     <div class=\"ec-alert-warning__text\">";
  668.             // line 255
  669.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.no_items"), "html"nulltrue);
  670.             echo "</div>
  671.                                 </div>
  672.                             </div>
  673.                         </div>
  674.                     </div>
  675.                 </div>
  676.             </div>
  677.         ";
  678.         }
  679.         // line 263
  680.         echo "    </div>
  681. ";
  682.         
  683.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  684.         
  685.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  686.     }
  687.     public function getTemplateName()
  688.     {
  689.         return "Cart/index.twig";
  690.     }
  691.     public function isTraitable()
  692.     {
  693.         return false;
  694.     }
  695.     public function getDebugInfo()
  696.     {
  697.         return array (  696 => 263,  685 => 255,  681 => 254,  673 => 248,  667 => 247,  654 => 240,  649 => 238,  643 => 234,  638 => 233,  635 => 232,  630 => 231,  626 => 229,  611 => 227,  603 => 225,  601 => 224,  595 => 223,  588 => 221,  584 => 219,  581 => 218,  575 => 216,  569 => 214,  567 => 213,  564 => 212,  561 => 211,  555 => 209,  549 => 207,  547 => 206,  544 => 205,  541 => 204,  535 => 202,  529 => 200,  527 => 199,  524 => 198,  522 => 197,  517 => 194,  507 => 190,  499 => 185,  492 => 184,  486 => 181,  483 => 180,  477 => 177,  470 => 176,  468 => 175,  462 => 173,  458 => 172,  450 => 168,  446 => 167,  443 => 166,  435 => 164,  432 => 163,  424 => 161,  422 => 160,  416 => 159,  406 => 154,  402 => 153,  394 => 148,  388 => 147,  384 => 145,  381 => 144,  378 => 143,  374 => 142,  369 => 140,  365 => 139,  361 => 138,  357 => 137,  351 => 133,  338 => 126,  333 => 124,  327 => 120,  322 => 119,  319 => 118,  302 => 117,  297 => 115,  294 => 114,  284 => 107,  277 => 102,  275 => 101,  269 => 98,  265 => 96,  262 => 95,  249 => 88,  244 => 86,  238 => 82,  233 => 81,  214 => 75,  208 => 73,  202 => 71,  200 => 70,  195 => 68,  189 => 64,  186 => 63,  168 => 62,  166 => 61,  158 => 56,  155 => 55,  152 => 54,  145 => 50,  142 => 49,  139 => 48,  132 => 44,  129 => 43,  126 => 42,  123 => 41,  116 => 37,  113 => 36,  110 => 35,  107 => 34,  105 => 33,  99 => 30,  96 => 29,  93 => 28,  90 => 27,  88 => 26,  78 => 19,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  698.     }
  699.     public function getSourceContext()
  700.     {
  701.         return new Source("{#
  702. This file is part of EC-CUBE
  703. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  704. http://www.ec-cube.co.jp/
  705. For the full copyright and license information, please view the LICENSE
  706. file that was distributed with this source code.
  707. #}
  708. {% extends 'default_frame.twig' %}
  709. {% set body_class = 'cart_page' %}
  710. {% block main %}
  711.     <div class=\"ec-role\">
  712.         <div class=\"ec-pageHeader\">
  713.             <h1 class=\"km_pagetitle\">{{ 'front.cart.title'|trans }}</h1>
  714.         </div>
  715.     </div>
  716.     <div class=\"ec-cartRole\">
  717.         <div class=\"ec-cartRole__progress\">
  718.             <ul class=\"ec-progress\">
  719.                 {% set step = 1 %}
  720.                 <li class=\"ec-progress__item is-complete\">
  721.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  722.                     </div>
  723.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__cart_items'|trans }}
  724.                     </div>
  725.                 </li>
  726.                 {% if is_granted('ROLE_USER') == false %}
  727.                     <li class=\"ec-progress__item\">
  728.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  729.                         </div>
  730.                         <div class=\"ec-progress__label\">{{ 'front.cart.nav__customer_info'|trans }}
  731.                         </div>
  732.                     </li>
  733.                 {% endif %}
  734.                 <li class=\"ec-progress__item\">
  735.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  736.                     </div>
  737.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__order'|trans }}
  738.                     </div>
  739.                 </li>
  740.                 <li class=\"ec-progress__item\">
  741.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  742.                     </div>
  743.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__confirm'|trans }}
  744.                     </div>
  745.                 </li>
  746.                 <li class=\"ec-progress__item\">
  747.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  748.                     </div>
  749.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__complete'|trans }}
  750.                     </div>
  751.                 </li>
  752.             </ul>
  753.         </div>
  754.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  755.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  756.             {% set idx = loop.index0 %}
  757.             <div class=\"ec-cartRole__error\">
  758.                 <div class=\"ec-alert-warning\">
  759.                     <div class=\"ec-alert-warning__inner\">
  760.                         <div class=\"ec-alert-warning__inner__item\">
  761.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  762.                             <div class=\"ec-alert-warning__text\">
  763.                                 {% if productStr[idx] is defined %}
  764.                                     {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  765.                                 {% else %}
  766.                                     {{ error|trans|nl2br }}
  767.                                 {% endif %}
  768.                             </div>
  769.                         </div>
  770.                     </div>
  771.                 </div>
  772.             </div>
  773.         {% endfor %}
  774.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  775.             <div class=\"ec-cartRole__error\">
  776.                 <div class=\"ec-alert-warning\">
  777.                     <div class=\"ec-alert-warning__inner\">
  778.                         <div class=\"ec-alert-warning__inner__item\">
  779.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  780.                             <div class=\"ec-alert-warning__text\">
  781.                                 {{ error|trans|nl2br }}
  782.                             </div>
  783.                         </div>
  784.                     </div>
  785.                 </div>
  786.             </div>
  787.         {% endfor %}
  788.         {% if totalQuantity > 0 %}
  789.             <div class=\"ec-cartRole__totalText\">
  790.                 <p>
  791.                     {{ 'front.cart.total_price'|trans({ '%price%': totalPrice|price })|raw }}
  792.                 </p>
  793.             </div>
  794.             {% if Carts|length > 1 %}
  795.                 <div class=\"ec-cartRole__error\">
  796.                     <div class=\"ec-alert-warning\">
  797.                         <div class=\"ec-alert-warning__inner\">
  798.                             <div class=\"ec-alert-warning__inner__item\">
  799.                                 <div class=\"ec-alert-warning__text\">
  800.                                     {{ 'front.cart.divide_cart'|trans|nl2br }}
  801.                                 </div>
  802.                             </div>
  803.                         </div>
  804.                     </div>
  805.                 </div>
  806.             {% endif %}
  807.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  808.                 {% for CartIndex,Cart in Carts %}
  809.                     {% set cartKey = Cart.cart_key %}
  810.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  811.                         <div class=\"ec-cartRole__error\">
  812.                             <div class=\"ec-alert-warning\">
  813.                                 <div class=\"ec-alert-warning__inner\">
  814.                                     <div class=\"ec-alert-warning__inner__item\">
  815.                                         <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  816.                                         <div class=\"ec-alert-warning__text\">
  817.                                             {{ error|trans|nl2br }}
  818.                                         </div>
  819.                                     </div>
  820.                                 </div>
  821.                             </div>
  822.                         </div>
  823.                     {% endfor %}
  824.                     <div class=\"ec-cartRole__cart\">
  825.                         <div class=\"ec-cartTable\">
  826.                             <ol class=\"ec-cartHeader\">
  827.                                 <li class=\"ec-cartHeader__label\">{{ 'front.cart.delete'|trans }}</li>
  828.                                 <li class=\"ec-cartHeader__label\">{{ 'front.cart.product'|trans }}</li>
  829.                                 <li class=\"ec-cartHeader__label\">{{ 'common.quantity'|trans }}</li>
  830.                                 <li class=\"ec-cartHeader__label\">{{ 'common.subtotal'|trans }}</li>
  831.                             </ol>
  832.                             {% for CartItem in Cart.CartItems %}
  833.                                 {% set ProductClass = CartItem.ProductClass %}
  834.                                 {% set Product = ProductClass.Product %}
  835.                                 <ul class=\"ec-cartRow\">
  836.                                     <li class=\"ec-cartRow__delColumn\">
  837.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  838.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  839.                                         </a>
  840.                                     </li>
  841.                                     <li class=\"ec-cartRow__contentColumn\">
  842.                                         <div class=\"ec-cartRow__img\">
  843.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  844.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  845.                                             </a>
  846.                                         </div>
  847.                                         <div class=\"ec-cartRow__summary\">
  848.                                             <div class=\"ec-cartRow__name\">
  849.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  850.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  851.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  852.                                                 {% endif %}
  853.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  854.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  855.                                                 {% endif %}
  856.                                             </div>
  857.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  858.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ 'common.subtotal__with_separator'|trans }}{{ CartItem.total_price|price }}</div>
  859.                                         </div>
  860.                                     </li>
  861.                                     <li class=\"ec-cartRow__amountColumn\">
  862.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  863.                                         <div class=\"ec-cartRow__amountSP\">{{ 'common.quantity__with_separator'|trans }}{{ CartItem.quantity|number_format }}</div>
  864.                                         <div class=\"ec-cartRow__amountUpDown\">
  865.                                             {% if CartItem.quantity > 1 %}
  866.                                                 <a href=\"{{ url('cart_handle_item', {'operation': 'down', 'productClassId': ProductClass.id}) }}\" {{ csrf_token_for_anchor() }} class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  867.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  868.                                                 </a>
  869.                                             {% else %}
  870.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  871.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  872.                                                 </div>
  873.                                             {% endif %}
  874.                                             <a href=\"{{ url('cart_handle_item', {'operation': 'up', 'productClassId': ProductClass.id}) }}\" {{ csrf_token_for_anchor() }} class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  875.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  876.                                             </a>
  877.                                         </div>
  878.                                     </li>
  879.                                     <li class=\"ec-cartRow__subtotalColumn\">
  880.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  881.                                     </li>
  882.                                 </ul>
  883.                             {% endfor %}
  884.                         </div>
  885.                     </div>
  886.                     <div class=\"ec-cartRole__progress\">
  887.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  888.                             <br/>
  889.                             {% if is_delivery_free[cartKey] %}
  890.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  891.                             {% else %}
  892.                                 {{ 'front.cart.delivery_fee_free__price_and_quantity'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  893.                             {% endif %}
  894.                         {% elseif BaseInfo.delivery_free_amount %}
  895.                             <br/>
  896.                             {% if is_delivery_free[cartKey] %}
  897.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  898.                             {% else %}
  899.                                 {{ 'front.cart.delivery_fee_free__price'|trans({ '%price%': least[cartKey]|price })|raw }}
  900.                             {% endif %}
  901.                         {% elseif BaseInfo.delivery_free_quantity %}
  902.                             <br/>
  903.                             {% if is_delivery_free[cartKey] %}
  904.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  905.                             {% else %}
  906.                                 {{ 'front.cart.delivery_fee_free__quantity'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  907.                             {% endif %}
  908.                         {% endif %}
  909.                     </div>
  910.                     <div class=\"ec-cartRole__actions\">
  911.                         <div class=\"ec-cartRole__total\">{{ 'common.total__with_separator'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  912.                         </div>
  913.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'front.cart.checkout'|trans }}</a>
  914.                         {% if loop.last %}
  915.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'front.cart.continue'|trans }}</a>
  916.                         {% endif %}
  917.                     </div>
  918.                 {% endfor %}
  919.             </form>
  920.         {% else %}
  921.             {% for CartIndex,Cart in Carts %}
  922.                 {% set cartKey = Cart.cart_key %}
  923.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  924.                     <div class=\"ec-cartRole__error\">
  925.                         <div class=\"ec-alert-warning\">
  926.                             <div class=\"ec-alert-warning__inner\">
  927.                                 <div class=\"ec-alert-warning__inner__item\">
  928.                                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  929.                                     <div class=\"ec-alert-warning__text\">
  930.                                         {{ error|trans|nl2br }}
  931.                                     </div>
  932.                                 </div>
  933.                             </div>
  934.                         </div>
  935.                     </div>
  936.                 {% endfor %}
  937.             {% endfor %}
  938.             <div class=\"ec-role\">
  939.                 <div class=\"ec-off3Grid\">
  940.                     <div class=\"ec-off3Grid__cell\">
  941.                         <div class=\"ec-alert-warning\">
  942.                             <div class=\"ec-alert-warning__inner\">
  943.                                 <div class=\"ec-alert-warning__inner__item\">
  944.                                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  945.                                     <div class=\"ec-alert-warning__text\">{{ 'front.cart.no_items'|trans }}</div>
  946.                                 </div>
  947.                             </div>
  948.                         </div>
  949.                     </div>
  950.                 </div>
  951.             </div>
  952.         {% endif %}
  953.     </div>
  954. {% endblock %}""Cart/index.twig""/var/www/html/app/template/default/Cart/index.twig");
  955.     }
  956.     
  957.     public function checkSecurity()
  958.     {
  959.         static $tags = array("set" => 13"if" => 33"for" => 62);
  960.         static $filters = array("escape" => 19"trans" => 19"nl2br" => 71"raw" => 98"price" => 98"length" => 101"no_image_product" => 154"number_format" => 172);
  961.         static $functions = array("is_granted" => 33"asset" => 68"url" => 115"csrf_token_for_anchor" => 147"path" => 223);
  962.         try {
  963.             $this->sandbox->checkSecurity(
  964.                 ['set''if''for'],
  965.                 ['escape''trans''nl2br''raw''price''length''no_image_product''number_format'],
  966.                 ['is_granted''asset''url''csrf_token_for_anchor''path'],
  967.                 $this->source
  968.             );
  969.         } catch (SecurityError $e) {
  970.             $e->setSourceContext($this->source);
  971.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  972.                 $e->setTemplateLine($tags[$e->getTagName()]);
  973.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  974.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  975.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  976.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  977.             }
  978.             throw $e;
  979.         }
  980.     }
  981. }