var/cache/dev/twig/65/6542b21083e042825d713637d18b915a.php line 305

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. /* default_frame.twig */
  14. class __TwigTemplate_982ca3b7308f3ad4f1c7e1bb5ba799dd 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->parent false;
  23.         $this->blocks = [
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.             'javascript' => [$this'block_javascript'],
  27.         ];
  28.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  29.         $this->checkSecurity();
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. <html lang=\"";
  41.         // line 2
  42.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'2$this->source); })()), "locale", [], "any"falsefalsetrue2), 2$this->source), "html"nulltrue);
  43.         echo "\">
  44.   <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  45.     <meta charset=\"utf-8\">
  46.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  47.     <meta name=\"eccube-csrf-token\" content=\"";
  48.         // line 6
  49.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  50.         echo "\">
  51.     <title>
  52.         ";
  53.         // line 8
  54.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'8$this->source); })()), "shop_name", [], "any"falsefalsetrue8), 8$this->source), "html"nulltrue);
  55.         echo "
  56.         ";
  57.         // line 9
  58.         if ((array_key_exists("title"$context) &&  !twig_test_empty((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'9$this->source); })())))) {
  59.             // line 10
  60.             echo "            ";
  61.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'10$this->source); })()), "author", [], "any"falsefalsetrue10))) {
  62.                 // line 11
  63.                 echo "            / ";
  64.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'11$this->source); })()), "author", [], "any"falsefalsetrue11), 11$this->source), "html"nulltrue);
  65.                 echo "
  66.             ";
  67.             } else {
  68.                 // line 13
  69.                 echo "            / ";
  70.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'13$this->source); })()), 13$this->source), "html"nulltrue);
  71.                 echo "
  72.             ";
  73.             }
  74.             // line 15
  75.             echo "        ";
  76.         }
  77.         // line 16
  78.         echo "        ";
  79.         if ((array_key_exists("subtitle"$context) &&  !twig_test_empty((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'16$this->source); })())))) {
  80.             echo " / ";
  81.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'16$this->source); })()), 16$this->source), "html"nulltrue);
  82.             echo "
  83.         ";
  84.         }
  85.         // line 18
  86.         echo "    </title>
  87.     ";
  88.         // line 19
  89.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'19$this->source); })()), "meta_tags", [], "any"falsefalsetrue19))) {
  90.             // line 20
  91.             echo "      ";
  92.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$contexttwig_template_from_string($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'20$this->source); })()), "meta_tags", [], "any"falsefalsetrue20), 20$this->source)), array(), truefalsetrue);
  93.             echo "
  94.       ";
  95.             // line 21
  96.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'21$this->source); })()), "description", [], "any"falsefalsetrue21))) {
  97.                 // line 22
  98.                 echo "        <meta name=\"description\" content=\"";
  99.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'22$this->source); })()), "description", [], "any"falsefalsetrue22), 22$this->source), "html"nulltrue);
  100.                 echo "\">
  101.       ";
  102.             }
  103.             // line 24
  104.             echo "    ";
  105.         } else {
  106.             // line 25
  107.             echo "      ";
  108.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"meta.twig");
  109.             echo "
  110.     ";
  111.         }
  112.         // line 27
  113.         echo "    ";
  114.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'27$this->source); })()), "keyword", [], "any"falsefalsetrue27))) {
  115.             // line 28
  116.             echo "      <meta name=\"keywords\" content=\"";
  117.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'28$this->source); })()), "keyword", [], "any"falsefalsetrue28), 28$this->source), "html"nulltrue);
  118.             echo "\">
  119.     ";
  120.         }
  121.         // line 30
  122.         echo "    ";
  123.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'30$this->source); })()), "meta_robots", [], "any"falsefalsetrue30))) {
  124.             // line 31
  125.             echo "      <meta name=\"robots\" content=\"";
  126.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'31$this->source); })()), "meta_robots", [], "any"falsefalsetrue31), 31$this->source), "html"nulltrue);
  127.             echo "\">
  128.     ";
  129.         }
  130.         // line 33
  131.         echo "    <link rel=\"icon\" href=\"";
  132.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico""user_data"), "html"nulltrue);
  133.         echo "\">
  134.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  135.     <link rel=\"stylesheet\" href=\"";
  136.         // line 35
  137.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  138.         echo "\">
  139.     <script src=\"";
  140.         // line 36
  141.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  142.         echo "\"></script>
  143.   ";
  144.         // line 37
  145.         $this->displayBlock('stylesheet'$context$blocks);
  146.         // line 38
  147.         echo "  <script>
  148.     \$(function () {
  149.       \$.ajaxSetup({
  150.         'headers': {
  151.           'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  152.         }
  153.       });
  154.     });
  155.   </script>
  156.   ";
  157.         // line 48
  158.         echo "  ";
  159.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'48$this->source); })()), "Head", [], "any"falsefalsetrue48)) {
  160.             // line 49
  161.             echo "    ";
  162.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'49$this->source); })()), "Head", [], "any"falsefalsetrue49)]);
  163.             echo "
  164.   ";
  165.         }
  166.         // line 51
  167.         echo "  ";
  168.         // line 52
  169.         echo "  ";
  170.         if (array_key_exists("plugin_assets"$context)) {
  171.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"@admin/snippet.twig", ["snippets" => (isset($context["plugin_assets"]) || array_key_exists("plugin_assets"$context) ? $context["plugin_assets"] : (function () { throw new RuntimeError('Variable "plugin_assets" does not exist.'52$this->source); })())]);
  172.         }
  173.         // line 53
  174.         echo "  <link rel=\"stylesheet\" href=\"";
  175.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css""user_data"), "html"nulltrue);
  176.         echo "\">
  177. </head>
  178. <body id=\"page_";
  179.         // line 55
  180.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_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.'55$this->source); })()), "request", [], "any"falsefalsetrue55), "get", [=> "_route"], "method"falsefalsetrue55), 55$this->source), "html"nulltrue);
  181.         echo "\" class=\"";
  182.         echo twig_escape_filter($this->env, ((array_key_exists("body_class"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["body_class"]) || array_key_exists("body_class"$context) ? $context["body_class"] : (function () { throw new RuntimeError('Variable "body_class" does not exist.'55$this->source); })()), 55$this->source), "other_page")) : ("other_page")), "html"nulltrue);
  183.         echo "\">
  184.   ";
  185.         // line 57
  186.         echo "  ";
  187.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'57$this->source); })()), "BodyAfter", [], "any"falsefalsetrue57)) {
  188.             // line 58
  189.             echo "    ";
  190.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'58$this->source); })()), "BodyAfter", [], "any"falsefalsetrue58)]);
  191.             echo "
  192.   ";
  193.         }
  194.         // line 60
  195.         echo "
  196.   ";
  197.         // line 61
  198.         if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance"$context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.'61$this->source); })())) {
  199.             // line 62
  200.             echo "    <div class=\"ec-maintenanceAlert\">
  201.       <div>
  202.         <div class=\"ec-maintenanceAlert__icon\"><img src=\"";
  203.             // line 64
  204.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  205.             echo "\"/></div>
  206.           ";
  207.             // line 65
  208.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html"nulltrue);
  209.             echo "
  210.       </div>
  211.     </div>
  212.   ";
  213.         }
  214.         // line 69
  215.         echo "
  216.   <div class=\"ec-layoutRole\">
  217.     ";
  218.         // line 72
  219.         echo "    ";
  220.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'72$this->source); })()), "Header", [], "any"falsefalsetrue72)) {
  221.             // line 73
  222.             echo "      <header class=\"ec-layoutRole__header\">
  223.         ";
  224.             // line 74
  225.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'74$this->source); })()), "Header", [], "any"falsefalsetrue74)]);
  226.             echo "
  227.       </header>
  228.     ";
  229.         }
  230.         // line 77
  231.         echo "
  232.     ";
  233.         // line 79
  234.         echo "    ";
  235.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'79$this->source); })()), "ContentsTop", [], "any"falsefalsetrue79)) {
  236.             // line 80
  237.             echo "      <div class=\"ec-layoutRole__contentTop\">
  238.         ";
  239.             // line 81
  240.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'81$this->source); })()), "ContentsTop", [], "any"falsefalsetrue81)]);
  241.             echo "
  242.       </div>
  243.     ";
  244.         }
  245.         // line 84
  246.         echo "
  247.     <div class=\"ec-layoutRole__contents\">
  248.       ";
  249.         // line 87
  250.         echo "      ";
  251.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'87$this->source); })()), "SideLeft", [], "any"falsefalsetrue87)) {
  252.             // line 88
  253.             echo "        <aside class=\"ec-layoutRole__left\">
  254.           ";
  255.             // line 89
  256.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'89$this->source); })()), "SideLeft", [], "any"falsefalsetrue89)]);
  257.             echo "
  258.         </aside>
  259.       ";
  260.         }
  261.         // line 92
  262.         echo "
  263.       ";
  264.         // line 93
  265.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  266.         // line 94
  267.         echo "      ";
  268.         if ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'94$this->source); })()), "ColumnNum", [], "any"falsefalsetrue94) == 2)) {
  269.             // line 95
  270.             echo "        ";
  271.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  272.             // line 96
  273.             echo "      ";
  274.         } elseif ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'96$this->source); })()), "ColumnNum", [], "any"falsefalsetrue96) == 3)) {
  275.             // line 97
  276.             echo "        ";
  277.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  278.             // line 98
  279.             echo "      ";
  280.         }
  281.         // line 99
  282.         echo "      <div id=\"wraps\">
  283.         <main class=\"";
  284.         // line 100
  285.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["layoutRoleMain"]) || array_key_exists("layoutRoleMain"$context) ? $context["layoutRoleMain"] : (function () { throw new RuntimeError('Variable "layoutRoleMain" does not exist.'100$this->source); })()), 100$this->source), "html"nulltrue);
  286.         echo "\">
  287.           <div id=\"main_middle\">
  288.             ";
  289.         // line 103
  290.         echo "            ";
  291.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'103$this->source); })()), "MainTop", [], "any"falsefalsetrue103)) {
  292.             // line 104
  293.             echo "              <div class=\"ec-layoutRole__mainTop\">
  294.                 ";
  295.             // line 105
  296.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'105$this->source); })()), "MainTop", [], "any"falsefalsetrue105)]);
  297.             echo "
  298.               </div>
  299.             ";
  300.         }
  301.         // line 108
  302.         echo "
  303.             ";
  304.         // line 110
  305.         echo "          ";
  306.         $this->displayBlock('main'$context$blocks);
  307.         // line 111
  308.         echo "
  309.           ";
  310.         // line 113
  311.         echo "          ";
  312.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'113$this->source); })()), "MainBottom", [], "any"falsefalsetrue113)) {
  313.             // line 114
  314.             echo "            <div class=\"ec-layoutRole__mainBottom\">
  315.               ";
  316.             // line 115
  317.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'115$this->source); })()), "MainBottom", [], "any"falsefalsetrue115)]);
  318.             echo "
  319.             </div>
  320.           ";
  321.         }
  322.         // line 118
  323.         echo "        </div>
  324.       </main>
  325.     </div>
  326.     ";
  327.         // line 122
  328.         echo "    ";
  329.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'122$this->source); })()), "SideRight", [], "any"falsefalsetrue122)) {
  330.             // line 123
  331.             echo "      <aside class=\"ec-layoutRole__right\">
  332.         ";
  333.             // line 124
  334.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'124$this->source); })()), "SideRight", [], "any"falsefalsetrue124)]);
  335.             echo "
  336.       </aside>
  337.     ";
  338.         }
  339.         // line 127
  340.         echo "  </div>
  341.   ";
  342.         // line 130
  343.         echo "  ";
  344.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'130$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue130)) {
  345.             // line 131
  346.             echo "    <div class=\"ec-layoutRole__contentBottom\">
  347.       ";
  348.             // line 132
  349.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'132$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue132)]);
  350.             echo "
  351.     </div>
  352.   ";
  353.         }
  354.         // line 135
  355.         echo "
  356.   ";
  357.         // line 137
  358.         echo "  ";
  359.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'137$this->source); })()), "Footer", [], "any"falsefalsetrue137)) {
  360.             // line 138
  361.             echo "    <footer class=\"ec-layoutRole__footer\">
  362.       ";
  363.             // line 139
  364.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'139$this->source); })()), "Footer", [], "any"falsefalsetrue139)]);
  365.             echo "
  366.     </footer>
  367.   ";
  368.         }
  369.         // line 142
  370.         echo "</div><!-- ec-layoutRole -->
  371. <div class=\"ec-overlayRole\"></div>
  372. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  373. <div class=\"ec-drawerRole\">
  374.   ";
  375.         // line 148
  376.         echo "  ";
  377.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'148$this->source); })()), "Drawer", [], "any"falsefalsetrue148)) {
  378.             // line 149
  379.             echo "    ";
  380.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'149$this->source); })()), "Drawer", [], "any"falsefalsetrue149)]);
  381.             echo "
  382.   ";
  383.         }
  384.         // line 151
  385.         echo "</div>
  386. ";
  387.         // line 152
  388.         $this->loadTemplate("@common/lang.twig""default_frame.twig"152)->display($context);
  389.         // line 153
  390.         echo "<script src=\"";
  391.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  392.         echo "\"></script>
  393. <script src=\"";
  394.         // line 154
  395.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  396.         echo "\"></script>
  397. ";
  398.         // line 155
  399.         $this->displayBlock('javascript'$context$blocks);
  400.         // line 157
  401.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'157$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue157)) {
  402.             // line 158
  403.             echo "  ";
  404.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'158$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue158)]);
  405.             echo "
  406. ";
  407.         }
  408.         // line 161
  409.         if (array_key_exists("plugin_snippets"$context)) {
  410.             // line 162
  411.             echo "  ";
  412.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"snippet.twig", ["snippets" => (isset($context["plugin_snippets"]) || array_key_exists("plugin_snippets"$context) ? $context["plugin_snippets"] : (function () { throw new RuntimeError('Variable "plugin_snippets" does not exist.'162$this->source); })())]);
  413.             echo "
  414. ";
  415.         }
  416.         // line 164
  417.         echo "<script src=\"";
  418.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js""user_data"), "html"nulltrue);
  419.         echo "\"></script>
  420. </body>
  421. </html>
  422. ";
  423.         
  424.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  425.         
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  427.     }
  428.     // line 37
  429.     public function block_stylesheet($context, array $blocks = [])
  430.     {
  431.         $macros $this->macros;
  432.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  434.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  435.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  436.         
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  438.         
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  440.     }
  441.     // line 110
  442.     public function block_main($context, array $blocks = [])
  443.     {
  444.         $macros $this->macros;
  445.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  446.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  447.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  448.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  449.         
  450.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  451.         
  452.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  453.     }
  454.     // line 155
  455.     public function block_javascript($context, array $blocks = [])
  456.     {
  457.         $macros $this->macros;
  458.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  459.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  460.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  462.         
  463.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  464.         
  465.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  466.     }
  467.     public function getTemplateName()
  468.     {
  469.         return "default_frame.twig";
  470.     }
  471.     public function isTraitable()
  472.     {
  473.         return false;
  474.     }
  475.     public function getDebugInfo()
  476.     {
  477.         return array (  479 => 155,  461 => 110,  443 => 37,  428 => 164,  422 => 162,  420 => 161,  414 => 158,  412 => 157,  410 => 155,  406 => 154,  401 => 153,  399 => 152,  396 => 151,  390 => 149,  387 => 148,  380 => 142,  374 => 139,  371 => 138,  368 => 137,  365 => 135,  359 => 132,  356 => 131,  353 => 130,  349 => 127,  343 => 124,  340 => 123,  337 => 122,  332 => 118,  326 => 115,  323 => 114,  320 => 113,  317 => 111,  314 => 110,  311 => 108,  305 => 105,  302 => 104,  299 => 103,  294 => 100,  291 => 99,  288 => 98,  285 => 97,  282 => 96,  279 => 95,  276 => 94,  274 => 93,  271 => 92,  265 => 89,  262 => 88,  259 => 87,  255 => 84,  249 => 81,  246 => 80,  243 => 79,  240 => 77,  234 => 74,  231 => 73,  228 => 72,  224 => 69,  217 => 65,  213 => 64,  209 => 62,  207 => 61,  204 => 60,  198 => 58,  195 => 57,  189 => 55,  183 => 53,  178 => 52,  176 => 51,  170 => 49,  167 => 48,  156 => 38,  154 => 37,  150 => 36,  146 => 35,  140 => 33,  134 => 31,  131 => 30,  125 => 28,  122 => 27,  116 => 25,  113 => 24,  107 => 22,  105 => 21,  100 => 20,  98 => 19,  95 => 18,  87 => 16,  84 => 15,  78 => 13,  72 => 11,  69 => 10,  67 => 9,  63 => 8,  58 => 6,  51 => 2,  48 => 1,);
  478.     }
  479.     public function getSourceContext()
  480.     {
  481.         return new Source("<!doctype html>
  482. <html lang=\"{{ eccube_config.locale }}\">
  483.   <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  484.     <meta charset=\"utf-8\">
  485.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  486.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  487.     <title>
  488.         {{ BaseInfo.shop_name }}
  489.         {% if title is defined and title is not empty %}
  490.             {% if Page.author is not empty %}
  491.             / {{ Page.author }}
  492.             {% else %}
  493.             / {{ title }}
  494.             {% endif %}
  495.         {% endif %}
  496.         {% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}
  497.         {% endif %}
  498.     </title>
  499.     {% if Page.meta_tags is not empty %}
  500.       {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  501.       {% if Page.description is not empty %}
  502.         <meta name=\"description\" content=\"{{ Page.description }}\">
  503.       {% endif %}
  504.     {% else %}
  505.       {{ include('meta.twig') }}
  506.     {% endif %}
  507.     {% if Page.keyword is not empty %}
  508.       <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  509.     {% endif %}
  510.     {% if Page.meta_robots is not empty %}
  511.       <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  512.     {% endif %}
  513.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
  514.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  515.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\">
  516.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  517.   {% block stylesheet %}{% endblock %}
  518.   <script>
  519.     \$(function () {
  520.       \$.ajaxSetup({
  521.         'headers': {
  522.           'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  523.         }
  524.       });
  525.     });
  526.   </script>
  527.   {# Layout: HEAD #}
  528.   {% if Layout.Head %}
  529.     {{ include('block.twig', {'Blocks': Layout.Head}) }}
  530.   {% endif %}
  531.   {# プラグイン用styleseetやmetatagなど #}
  532.   {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  533.   <link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\">
  534. </head>
  535. <body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
  536.   {# Layout: BODY_AFTER #}
  537.   {% if Layout.BodyAfter %}
  538.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  539.   {% endif %}
  540.   {% if isMaintenance %}
  541.     <div class=\"ec-maintenanceAlert\">
  542.       <div>
  543.         <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  544.           {{ 'メンテナンスモードが有効になっています。'|trans }}
  545.       </div>
  546.     </div>
  547.   {% endif %}
  548.   <div class=\"ec-layoutRole\">
  549.     {# Layout: HEADER #}
  550.     {% if Layout.Header %}
  551.       <header class=\"ec-layoutRole__header\">
  552.         {{ include('block.twig', {'Blocks': Layout.Header}) }}
  553.       </header>
  554.     {% endif %}
  555.     {# Layout: CONTENTS_TOP #}
  556.     {% if Layout.ContentsTop %}
  557.       <div class=\"ec-layoutRole__contentTop\">
  558.         {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  559.       </div>
  560.     {% endif %}
  561.     <div class=\"ec-layoutRole__contents\">
  562.       {# Layout: SIDE_LEFT #}
  563.       {% if Layout.SideLeft %}
  564.         <aside class=\"ec-layoutRole__left\">
  565.           {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  566.         </aside>
  567.       {% endif %}
  568.       {% set layoutRoleMain = 'ec-layoutRole__main' %}
  569.       {% if Layout.ColumnNum == 2 %}
  570.         {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  571.       {% elseif Layout.ColumnNum == 3 %}
  572.         {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  573.       {% endif %}
  574.       <div id=\"wraps\">
  575.         <main class=\"{{ layoutRoleMain }}\">
  576.           <div id=\"main_middle\">
  577.             {# Layout: MAIN_TOP #}
  578.             {% if Layout.MainTop %}
  579.               <div class=\"ec-layoutRole__mainTop\">
  580.                 {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  581.               </div>
  582.             {% endif %}
  583.             {# MAIN AREA #}
  584.           {% block main %}{% endblock %}
  585.           {# Layout: MAIN_Bottom #}
  586.           {% if Layout.MainBottom %}
  587.             <div class=\"ec-layoutRole__mainBottom\">
  588.               {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  589.             </div>
  590.           {% endif %}
  591.         </div>
  592.       </main>
  593.     </div>
  594.     {# Layout: SIDE_RIGHT #}
  595.     {% if Layout.SideRight %}
  596.       <aside class=\"ec-layoutRole__right\">
  597.         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  598.       </aside>
  599.     {% endif %}
  600.   </div>
  601.   {# Layout: CONTENTS_BOTTOM #}
  602.   {% if Layout.ContentsBottom %}
  603.     <div class=\"ec-layoutRole__contentBottom\">
  604.       {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  605.     </div>
  606.   {% endif %}
  607.   {# Layout: CONTENTS_FOOTER #}
  608.   {% if Layout.Footer %}
  609.     <footer class=\"ec-layoutRole__footer\">
  610.       {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  611.     </footer>
  612.   {% endif %}
  613. </div><!-- ec-layoutRole -->
  614. <div class=\"ec-overlayRole\"></div>
  615. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  616. <div class=\"ec-drawerRole\">
  617.   {# Layout: DRAWER #}
  618.   {% if Layout.Drawer %}
  619.     {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  620.   {% endif %}
  621. </div>
  622. {% include('@common/lang.twig') %}
  623. <script src=\"{{ asset('assets/js/function.js') }}\"></script>
  624. <script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  625. {% block javascript %}{% endblock %}
  626. {# Layout: CLOSE_BODY_BEFORE #}
  627. {% if Layout.CloseBodyBefore %}
  628.   {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  629. {% endif %}
  630. {# プラグイン用Snippet #}
  631. {% if plugin_snippets is defined %}
  632.   {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  633. {% endif %}
  634. <script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script>
  635. </body>
  636. </html>
  637. ""default_frame.twig""/home/xb006434/xb006434.xbiz.jp/ec-cube/src/Eccube/Resource/template/default/default_frame.twig");
  638.     }
  639.     
  640.     public function checkSecurity()
  641.     {
  642.         static $tags = array("if" => 9"block" => 37"set" => 93"include" => 152);
  643.         static $filters = array("escape" => 2"default" => 55"trans" => 65);
  644.         static $functions = array("csrf_token" => 6"constant" => 6"include" => 20"template_from_string" => 20"asset" => 33);
  645.         try {
  646.             $this->sandbox->checkSecurity(
  647.                 ['if''block''set''include'],
  648.                 ['escape''default''trans'],
  649.                 ['csrf_token''constant''include''template_from_string''asset']
  650.             );
  651.         } catch (SecurityError $e) {
  652.             $e->setSourceContext($this->source);
  653.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  654.                 $e->setTemplateLine($tags[$e->getTagName()]);
  655.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  656.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  657.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  658.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  659.             }
  660.             throw $e;
  661.         }
  662.     }
  663. }