var/cache/dev/twig/40/40e59218f123d69f96cfba722d293cf4.php line 233

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_72eacbe9c4380ddb5c93c4cd575f12d1 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. ";
  41.         // line 12
  42.         echo "<html lang=\"";
  43.         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.'12$this->source); })()), "locale", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  44.         echo "\">
  45. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  46.     <meta charset=\"utf-8\">
  47.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  48.     <meta name=\"eccube-csrf-token\" content=\"";
  49.         // line 16
  50.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  51.         echo "\">
  52.     <title>";
  53.         // line 17
  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.'17$this->source); })()), "shop_name", [], "any"falsefalsetrue17), 17$this->source), "html"nulltrue);
  55.         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.'17$this->source); })())))) {
  56.             echo " / ";
  57.             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.'17$this->source); })()), 17$this->source), "html"nulltrue);
  58.         } elseif ((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.'17$this->source); })())))) {
  59.             echo " / ";
  60.             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.'17$this->source); })()), 17$this->source), "html"nulltrue);
  61.         }
  62.         echo "</title>
  63.     ";
  64.         // line 18
  65.         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.'18$this->source); })()), "meta_tags", [], "any"falsefalsetrue18))) {
  66.             // line 19
  67.             echo "        ";
  68.             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.'19$this->source); })()), "meta_tags", [], "any"falsefalsetrue19), 19$this->source)), array(), truefalsetrue);
  69.             echo "
  70.         ";
  71.             // line 20
  72.             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.'20$this->source); })()), "description", [], "any"falsefalsetrue20))) {
  73.                 // line 21
  74.                 echo "            <meta name=\"description\" content=\"";
  75.                 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.'21$this->source); })()), "description", [], "any"falsefalsetrue21), 21$this->source), "html"nulltrue);
  76.                 echo "\">
  77.         ";
  78.             }
  79.             // line 23
  80.             echo "    ";
  81.         } else {
  82.             // line 24
  83.             echo "        ";
  84.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"meta.twig");
  85.             echo "
  86.     ";
  87.         }
  88.         // line 26
  89.         echo "    ";
  90.         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.'26$this->source); })()), "author", [], "any"falsefalsetrue26))) {
  91.             // line 27
  92.             echo "        <meta name=\"author\" content=\"";
  93.             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.'27$this->source); })()), "author", [], "any"falsefalsetrue27), 27$this->source), "html"nulltrue);
  94.             echo "\">
  95.     ";
  96.         }
  97.         // line 29
  98.         echo "    ";
  99.         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.'29$this->source); })()), "keyword", [], "any"falsefalsetrue29))) {
  100.             // line 30
  101.             echo "        <meta name=\"keywords\" content=\"";
  102.             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.'30$this->source); })()), "keyword", [], "any"falsefalsetrue30), 30$this->source), "html"nulltrue);
  103.             echo "\">
  104.     ";
  105.         }
  106.         // line 32
  107.         echo "    ";
  108.         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.'32$this->source); })()), "meta_robots", [], "any"falsefalsetrue32))) {
  109.             // line 33
  110.             echo "        <meta name=\"robots\" content=\"";
  111.             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.'33$this->source); })()), "meta_robots", [], "any"falsefalsetrue33), 33$this->source), "html"nulltrue);
  112.             echo "\">
  113.     ";
  114.         }
  115.         // line 35
  116.         echo "    <link rel=\"icon\" href=\"";
  117.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico""user_data"), "html"nulltrue);
  118.         echo "\">
  119.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v6.5.2/css/all.css?";
  120.         // line 36
  121.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""His"), "html"nulltrue);
  122.         echo "\" integrity=\"sha384-PPIZEGYM1v8zp5Py7UjFb79S58UeqCL9pYVnVPURKEqvioPROaVAJKKLzvH2rDnI\" crossorigin=\"anonymous\">
  123.     <link rel=\"stylesheet\" href=\"";
  124.         // line 37
  125.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  126.         echo "?";
  127.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""His"), "html"nulltrue);
  128.         echo "\">
  129.     <script src=\"";
  130.         // line 38
  131.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  132.         echo "\"></script>
  133.     ";
  134.         // line 39
  135.         $this->displayBlock('stylesheet'$context$blocks);
  136.         // line 40
  137.         echo "    <script>
  138.         \$(function() {
  139.             \$.ajaxSetup({
  140.                 'headers': {
  141.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  142.                 }
  143.             });
  144.         });
  145.     </script>
  146.     ";
  147.         // line 50
  148.         echo "    ";
  149.         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.'50$this->source); })()), "Head", [], "any"falsefalsetrue50)) {
  150.             // line 51
  151.             echo "        ";
  152.             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.'51$this->source); })()), "Head", [], "any"falsefalsetrue51)]);
  153.             echo "
  154.     ";
  155.         }
  156.         // line 53
  157.         echo "    ";
  158.         // line 54
  159.         echo "    ";
  160.         if (array_key_exists("plugin_assets"$context)) {
  161.             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.'54$this->source); })())]);
  162.         }
  163.         // line 55
  164.         echo "    <link rel=\"stylesheet\" href=\"";
  165.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css""user_data"), "html"nulltrue);
  166.         echo "\">
  167. </head>
  168. <body id=\"page_";
  169.         // line 57
  170.         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.'57$this->source); })()), "request", [], "any"falsefalsetrue57), "get", [=> "_route"], "method"falsefalsetrue57), 57$this->source), "html"nulltrue);
  171.         echo "\" class=\"";
  172.         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.'57$this->source); })()), 57$this->source), "other_page")) : ("other_page")), "html"nulltrue);
  173.         echo "\">
  174. ";
  175.         // line 59
  176.         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.'59$this->source); })()), "BodyAfter", [], "any"falsefalsetrue59)) {
  177.             // line 60
  178.             echo "    ";
  179.             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.'60$this->source); })()), "BodyAfter", [], "any"falsefalsetrue60)]);
  180.             echo "
  181. ";
  182.         }
  183.         // line 62
  184.         echo "
  185. ";
  186.         // line 64
  187.         echo "    ";
  188.         // line 79
  189.         echo "    ";
  190.         if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance"$context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.'79$this->source); })())) {
  191.             // line 80
  192.             echo "        <div class=\"ec-maintenanceAlert\">
  193.             <div>
  194.                 <div class=\"ec-maintenanceAlert__icon\"><img src=\"";
  195.             // line 82
  196.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  197.             echo "\"/></div>
  198.                 ";
  199.             // line 83
  200.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html"nulltrue);
  201.             echo "
  202.             </div>
  203.         </div>
  204.     ";
  205.         }
  206.         // line 87
  207.         echo "    ";
  208.         // line 96
  209.         echo "
  210. <div class=\"ec-layoutRole";
  211.         // line 97
  212.         if ((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.'97$this->source); })()), "request", [], "any"falsefalsetrue97), "get", [=> "_route"], "method"falsefalsetrue97) == "homepage")) {
  213.             echo " homepage";
  214.         }
  215.         echo "\">
  216.     ";
  217.         // line 99
  218.         echo "    ";
  219.         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.'99$this->source); })()), "Header", [], "any"falsefalsetrue99)) {
  220.             // line 100
  221.             echo "        <header class=\"ec-layoutRole__header\">
  222.             ";
  223.             // line 101
  224.             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.'101$this->source); })()), "Header", [], "any"falsefalsetrue101)]);
  225.             echo "
  226.         </header>
  227.     ";
  228.         }
  229.         // line 104
  230.         echo "
  231.     ";
  232.         // line 106
  233.         echo "    ";
  234.         // line 112
  235.         echo "
  236.     <div class=\"ec-layoutRole__contents\">
  237.         ";
  238.         // line 114
  239.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  240.         // line 115
  241.         echo "        ";
  242.         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.'115$this->source); })()), "ColumnNum", [], "any"falsefalsetrue115) == 2) && 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); })()), "SideLeft", [], "any"falsefalsetrue115))) {
  243.             // line 116
  244.             echo "            ";
  245.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn side_left";
  246.             // line 117
  247.             echo "        ";
  248.         } 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.'117$this->source); })()), "ColumnNum", [], "any"falsefalsetrue117) == 2) && 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.'117$this->source); })()), "SideRight", [], "any"falsefalsetrue117))) {
  249.             // line 118
  250.             echo "            ";
  251.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn side_right";
  252.             // line 119
  253.             echo "        ";
  254.         } 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.'119$this->source); })()), "ColumnNum", [], "any"falsefalsetrue119) == 3)) {
  255.             // line 120
  256.             echo "            ";
  257.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  258.             // line 121
  259.             echo "        ";
  260.         }
  261.         // line 122
  262.         echo "
  263.         <main class=\"";
  264.         // line 123
  265.         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.'123$this->source); })()), 123$this->source), "html"nulltrue);
  266.         echo "\">
  267.             ";
  268.         // line 125
  269.         echo "            ";
  270.         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.'125$this->source); })()), "MainTop", [], "any"falsefalsetrue125)) {
  271.             // line 126
  272.             echo "                <div class=\"ec-layoutRole__mainTop\">
  273.                     ";
  274.             // line 127
  275.             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.'127$this->source); })()), "MainTop", [], "any"falsefalsetrue127)]);
  276.             echo "
  277.                 </div>
  278.             ";
  279.         }
  280.         // line 130
  281.         echo "
  282.             ";
  283.         // line 132
  284.         echo "            ";
  285.         $this->displayBlock('main'$context$blocks);
  286.         // line 133
  287.         echo "
  288.             ";
  289.         // line 135
  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.'135$this->source); })()), "MainBottom", [], "any"falsefalsetrue135)) {
  292.             // line 136
  293.             echo "                <div class=\"ec-layoutRole__mainBottom\">
  294.                     ";
  295.             // line 137
  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.'137$this->source); })()), "MainBottom", [], "any"falsefalsetrue137)]);
  297.             echo "
  298.                 </div>
  299.             ";
  300.         }
  301.         // line 140
  302.         echo "        </main>
  303.         ";
  304.         // line 143
  305.         echo "        ";
  306.         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.'143$this->source); })()), "SideLeft", [], "any"falsefalsetrue143)) {
  307.             // line 144
  308.             echo "            <aside class=\"ec-layoutRole__left\">
  309.                 ";
  310.             // line 145
  311.             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.'145$this->source); })()), "SideLeft", [], "any"falsefalsetrue145)]);
  312.             echo "
  313.             </aside>
  314.         ";
  315.         }
  316.         // line 148
  317.         echo "
  318.         ";
  319.         // line 150
  320.         echo "        ";
  321.         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.'150$this->source); })()), "SideRight", [], "any"falsefalsetrue150)) {
  322.             // line 151
  323.             echo "            <aside class=\"ec-layoutRole__right\">
  324.                 ";
  325.             // line 152
  326.             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.'152$this->source); })()), "SideRight", [], "any"falsefalsetrue152)]);
  327.             echo "
  328.             </aside>
  329.         ";
  330.         }
  331.         // line 155
  332.         echo "    </div>
  333.     ";
  334.         // line 158
  335.         echo "    ";
  336.         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.'158$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue158)) {
  337.             // line 159
  338.             echo "        <div class=\"ec-layoutRole__contentBottom\">
  339.             ";
  340.             // line 160
  341.             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.'160$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue160)]);
  342.             echo "
  343.         </div>
  344.     ";
  345.         }
  346.         // line 163
  347.         echo "
  348.     ";
  349.         // line 165
  350.         echo "    ";
  351.         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.'165$this->source); })()), "Footer", [], "any"falsefalsetrue165)) {
  352.             // line 166
  353.             echo "        <footer class=\"ec-layoutRole__footer\">
  354.             ";
  355.             // line 167
  356.             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.'167$this->source); })()), "Footer", [], "any"falsefalsetrue167)]);
  357.             echo "
  358.         </footer>
  359.     ";
  360.         }
  361.         // line 170
  362.         echo "</div><!-- ec-layoutRole -->
  363. <div class=\"ec-overlayRole\"></div>
  364. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  365. <div class=\"ec-drawerRole\">
  366.     ";
  367.         // line 176
  368.         echo "    ";
  369.         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.'176$this->source); })()), "Drawer", [], "any"falsefalsetrue176)) {
  370.             // line 177
  371.             echo "        ";
  372.             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.'177$this->source); })()), "Drawer", [], "any"falsefalsetrue177)]);
  373.             echo "
  374.     ";
  375.         }
  376.         // line 179
  377.         echo "</div>
  378. <div class=\"ec-blockTopBtn pagetop\"><i class=\"ec-headerNav__itemIcon fas fa-chevron-up fa-fw\"></i></div>
  379. ";
  380.         // line 181
  381.         $this->loadTemplate("@common/lang.twig""default_frame.twig"181)->display($context);
  382.         // line 182
  383.         echo "<script src=\"";
  384.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  385.         echo "\"></script>
  386. <script src=\"";
  387.         // line 183
  388.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  389.         echo "\"></script>
  390. ";
  391.         // line 184
  392.         $this->displayBlock('javascript'$context$blocks);
  393.         // line 186
  394.         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.'186$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue186)) {
  395.             // line 187
  396.             echo "    ";
  397.             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.'187$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue187)]);
  398.             echo "
  399. ";
  400.         }
  401.         // line 190
  402.         if (array_key_exists("plugin_snippets"$context)) {
  403.             // line 191
  404.             echo "    ";
  405.             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.'191$this->source); })())]);
  406.             echo "
  407. ";
  408.         }
  409.         // line 193
  410.         echo "    <script src=\"";
  411.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js""user_data"), "html"nulltrue);
  412.         echo "\"></script>
  413.     ";
  414.         // line 195
  415.         echo "    <script src=\"";
  416.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.webticker/jquery.webticker.min.js"), "html"nulltrue);
  417.         echo "\"></script>
  418.     <script type=\"text/javascript\">
  419.         \$(\"#webTicker\").webTicker({
  420.             duplicate:true, 
  421.             rssfrequency:0, 
  422.             startEmpty:false, 
  423.             hoverpause:true, 
  424.             transition: \"ease\"
  425.         });
  426.     </script>
  427.     ";
  428.         // line 206
  429.         echo "\t<script>
  430.         ";
  431.         // line 220
  432.         echo "
  433.         let offsetTop = 0;
  434.         // ec-maintenanceAlert がある場合はその高さを取得
  435.         if (\$('.ec-maintenanceAlert').length > 0) {
  436.             offsetTop = \$('.ec-maintenanceAlert').outerHeight();
  437.         }
  438.         // ヘッダーに position: fixed を適用し、上部を調整
  439.         \$('.customize_header_area').css({
  440.             'position': 'fixed',
  441.             'top': offsetTop + 'px',
  442.             'left': '0',
  443.             'width': '100%',
  444.             'z-index': 1000,
  445.         });
  446.         // .ec-layoutRole__contentTopにその分だけパディングをつけてコンテンツと重ならないようにする
  447.         let headerHeight = \$('.customize_header_area').outerHeight();
  448.         console.log(\$('.ec-layoutRole__contentTop'));
  449.         if (\$('.ec-layoutRole__contentTop').length === 0) {
  450.             \$('.ec-layoutRole__contents').css('padding-top', headerHeight + 'px');
  451.         } else {
  452.             \$('.ec-layoutRole__contentTop').css('padding-top', headerHeight + 'px');
  453.         }
  454.     </script>
  455.     ";
  456.         // line 248
  457.         echo "    <script>
  458. \t\tif (window.matchMedia('(min-width:768px)').matches) {
  459. \t\t\t\$('.ec-modal').click(function() {
  460. \t\t\t\tvar h = \$(window).height();
  461. \t\t\t\t\$('.ec-cartNaviIsset').css('max-height', (h-40) + 'px');
  462. \t\t\t});\t
  463. \t\t\t\$(window).on('load',function(){
  464. \t\t\t\tvar h = \$(window).height();
  465. \t\t\t\t\$('.ec-cartNaviIsset').css('max-height', (h-40) + 'px');
  466. \t\t\t});
  467. \t\t\t\$(window).on('resize',function(){
  468. \t\t\t\tvar h = \$(window).height();
  469. \t\t\t\t\$('.ec-cartNaviIsset').css('max-height', (h-40) + 'px');
  470. \t\t\t});
  471. \t\t}
  472. \t</script>
  473. </body>
  474. </html>
  475. ";
  476.         
  477.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  478.         
  479.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  480.     }
  481.     // line 39
  482.     public function block_stylesheet($context, array $blocks = [])
  483.     {
  484.         $macros $this->macros;
  485.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  486.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  487.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  489.         
  490.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  491.         
  492.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  493.     }
  494.     // line 132
  495.     public function block_main($context, array $blocks = [])
  496.     {
  497.         $macros $this->macros;
  498.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  499.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  500.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  501.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  502.         
  503.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  504.         
  505.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  506.     }
  507.     // line 184
  508.     public function block_javascript($context, array $blocks = [])
  509.     {
  510.         $macros $this->macros;
  511.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  512.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  513.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  514.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  515.         
  516.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  517.         
  518.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  519.     }
  520.     public function getTemplateName()
  521.     {
  522.         return "default_frame.twig";
  523.     }
  524.     public function isTraitable()
  525.     {
  526.         return false;
  527.     }
  528.     public function getDebugInfo()
  529.     {
  530.         return array (  537 => 184,  519 => 132,  501 => 39,  473 => 248,  444 => 220,  441 => 206,  427 => 195,  422 => 193,  416 => 191,  414 => 190,  408 => 187,  406 => 186,  404 => 184,  400 => 183,  395 => 182,  393 => 181,  389 => 179,  383 => 177,  380 => 176,  373 => 170,  367 => 167,  364 => 166,  361 => 165,  358 => 163,  352 => 160,  349 => 159,  346 => 158,  342 => 155,  336 => 152,  333 => 151,  330 => 150,  327 => 148,  321 => 145,  318 => 144,  315 => 143,  311 => 140,  305 => 137,  302 => 136,  299 => 135,  296 => 133,  293 => 132,  290 => 130,  284 => 127,  281 => 126,  278 => 125,  274 => 123,  271 => 122,  268 => 121,  265 => 120,  262 => 119,  259 => 118,  256 => 117,  253 => 116,  250 => 115,  248 => 114,  244 => 112,  242 => 106,  239 => 104,  233 => 101,  230 => 100,  227 => 99,  221 => 97,  218 => 96,  216 => 87,  209 => 83,  205 => 82,  201 => 80,  198 => 79,  196 => 64,  193 => 62,  187 => 60,  185 => 59,  179 => 57,  173 => 55,  168 => 54,  166 => 53,  160 => 51,  157 => 50,  146 => 40,  144 => 39,  140 => 38,  134 => 37,  130 => 36,  125 => 35,  119 => 33,  116 => 32,  110 => 30,  107 => 29,  101 => 27,  98 => 26,  92 => 24,  89 => 23,  83 => 21,  81 => 20,  76 => 19,  74 => 18,  63 => 17,  59 => 16,  51 => 12,  48 => 1,);
  531.     }
  532.     public function getSourceContext()
  533.     {
  534.         return new Source("<!doctype html>
  535. {#
  536. This file is part of EC-CUBE
  537. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  538. http://www.ec-cube.co.jp/
  539. For the full copyright and license information, please view the LICENSE
  540. file that was distributed with this source code.
  541. #}
  542. <html lang=\"{{ eccube_config.locale }}\">
  543. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  544.     <meta charset=\"utf-8\">
  545.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  546.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  547.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  548.     {% if Page.meta_tags is not empty %}
  549.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  550.         {% if Page.description is not empty %}
  551.             <meta name=\"description\" content=\"{{ Page.description }}\">
  552.         {% endif %}
  553.     {% else %}
  554.         {{ include('meta.twig') }}
  555.     {% endif %}
  556.     {% if Page.author is not empty %}
  557.         <meta name=\"author\" content=\"{{ Page.author }}\">
  558.     {% endif %}
  559.     {% if Page.keyword is not empty %}
  560.         <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  561.     {% endif %}
  562.     {% if Page.meta_robots is not empty %}
  563.         <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  564.     {% endif %}
  565.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
  566.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v6.5.2/css/all.css?{{ 'now'|date('His') }}\" integrity=\"sha384-PPIZEGYM1v8zp5Py7UjFb79S58UeqCL9pYVnVPURKEqvioPROaVAJKKLzvH2rDnI\" crossorigin=\"anonymous\">
  567.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}?{{ 'now'|date('His') }}\">
  568.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  569.     {% block stylesheet %}{% endblock %}
  570.     <script>
  571.         \$(function() {
  572.             \$.ajaxSetup({
  573.                 'headers': {
  574.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  575.                 }
  576.             });
  577.         });
  578.     </script>
  579.     {# Layout: HEAD #}
  580.     {% if Layout.Head %}
  581.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  582.     {% endif %}
  583.     {# プラグイン用styleseetやmetatagなど #}
  584.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  585.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\">
  586. </head>
  587. <body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
  588. {# Layout: BODY_AFTER #}
  589. {% if Layout.BodyAfter %}
  590.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  591. {% endif %}
  592. {# {%  if isMaintenance is defined and isMaintenance and isDebug %} #}
  593.     {# <dev class=\"ec-twoModeAlert\">
  594.         <div class=\"ec-maintenanceAlert\">
  595.             <div>
  596.                 <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  597.                 {{ 'メンテナンスモードが有効になっています。'|trans }}
  598.             </div>
  599.         </div>
  600.         <div class=\"ec-debugModeAlert bg-danger\">
  601.             <div>
  602.                 <div class=\"ec-debugModeAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  603.                 {{ 'デバッグモードが有効になっています。'|trans }}
  604.             </div>
  605.         </div>
  606.     </dev>
  607. {%  else %} #}
  608.     {% if isMaintenance %}
  609.         <div class=\"ec-maintenanceAlert\">
  610.             <div>
  611.                 <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  612.                 {{ 'メンテナンスモードが有効になっています。'|trans }}
  613.             </div>
  614.         </div>
  615.     {% endif %}
  616.     {# {% if isDebug %}
  617.         <div class=\"ec-debugModeAlert bg-danger\">
  618.             <div>
  619.                 <div class=\"ec-debugModeAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  620.                 {{ 'デバッグモードが有効になっています。'|trans }}
  621.             </div>
  622.         </div>
  623.     {% endif %} #}
  624. {# {% endif %} #}
  625. <div class=\"ec-layoutRole{% if app.request.get('_route') == 'homepage' %} homepage{% endif %}\">
  626.     {# Layout: HEADER #}
  627.     {% if Layout.Header %}
  628.         <header class=\"ec-layoutRole__header\">
  629.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  630.         </header>
  631.     {% endif %}
  632.     {# Layout: CONTENTS_TOP #}
  633.     {# {% if Layout.ContentsTop or app.request.get('_route') == 'homepage' or app.request.get('_route') == 'product_list' or app.request.get('_route') == 'product_list_vendor' %}
  634.         <div class=\"ec-layoutRole__contentTop\">
  635.             {% if app.request.get('_route') == 'product_list' or app.request.get('_route') == 'product_list_vendor' %}{{ include('Product/list_banner.twig') }}{% endif %}
  636.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  637.         </div>
  638.     {% endif %} #}
  639.     <div class=\"ec-layoutRole__contents\">
  640.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  641.         {% if Layout.ColumnNum == 2 and Layout.SideLeft %}
  642.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn side_left' %}
  643.         {% elseif Layout.ColumnNum == 2 and Layout.SideRight %}
  644.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn side_right' %}
  645.         {% elseif Layout.ColumnNum == 3 %}
  646.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  647.         {% endif %}
  648.         <main class=\"{{ layoutRoleMain }}\">
  649.             {# Layout: MAIN_TOP #}
  650.             {% if Layout.MainTop %}
  651.                 <div class=\"ec-layoutRole__mainTop\">
  652.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  653.                 </div>
  654.             {% endif %}
  655.             {# MAIN AREA #}
  656.             {% block main %}{% endblock %}
  657.             {# Layout: MAIN_Bottom #}
  658.             {% if Layout.MainBottom %}
  659.                 <div class=\"ec-layoutRole__mainBottom\">
  660.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  661.                 </div>
  662.             {% endif %}
  663.         </main>
  664.         {# Layout: SIDE_LEFT #}
  665.         {% if Layout.SideLeft %}
  666.             <aside class=\"ec-layoutRole__left\">
  667.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  668.             </aside>
  669.         {% endif %}
  670.         {# Layout: SIDE_RIGHT #}
  671.         {% if Layout.SideRight %}
  672.             <aside class=\"ec-layoutRole__right\">
  673.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  674.             </aside>
  675.         {% endif %}
  676.     </div>
  677.     {# Layout: CONTENTS_BOTTOM #}
  678.     {% if Layout.ContentsBottom %}
  679.         <div class=\"ec-layoutRole__contentBottom\">
  680.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  681.         </div>
  682.     {% endif %}
  683.     {# Layout: CONTENTS_FOOTER #}
  684.     {% if Layout.Footer %}
  685.         <footer class=\"ec-layoutRole__footer\">
  686.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  687.         </footer>
  688.     {% endif %}
  689. </div><!-- ec-layoutRole -->
  690. <div class=\"ec-overlayRole\"></div>
  691. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  692. <div class=\"ec-drawerRole\">
  693.     {# Layout: DRAWER #}
  694.     {% if Layout.Drawer %}
  695.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  696.     {% endif %}
  697. </div>
  698. <div class=\"ec-blockTopBtn pagetop\"><i class=\"ec-headerNav__itemIcon fas fa-chevron-up fa-fw\"></i></div>
  699. {% include('@common/lang.twig') %}
  700. <script src=\"{{ asset('assets/js/function.js') }}\"></script>
  701. <script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  702. {% block javascript %}{% endblock %}
  703. {# Layout: CLOSE_BODY_BEFORE #}
  704. {% if Layout.CloseBodyBefore %}
  705.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  706. {% endif %}
  707. {# プラグイン用Snippet #}
  708. {% if plugin_snippets is defined %}
  709.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  710. {% endif %}
  711.     <script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script>
  712.     {# ▼jquery.webticker ティッカー #}
  713.     <script src=\"{{ asset('assets/js/jquery.webticker/jquery.webticker.min.js') }}\"></script>
  714.     <script type=\"text/javascript\">
  715.         \$(\"#webTicker\").webTicker({
  716.             duplicate:true, 
  717.             rssfrequency:0, 
  718.             startEmpty:false, 
  719.             hoverpause:true, 
  720.             transition: \"ease\"
  721.         });
  722.     </script>
  723.     {# ▼ヘッダーの固定 #}
  724. \t<script>
  725.         {# var navPos = jQuery( '.logo_area' ).offset().top; // グローバルメニューの位置
  726.         var navHeight = jQuery( '.logo_area' ).outerHeight(); // グローバルメニューの高さ
  727.         jQuery( window ).on( 'scroll', function() {
  728.           if ( jQuery( this ).scrollTop() > navPos ) {
  729.             jQuery( 'body' ).css( 'padding-top', navHeight );
  730.             jQuery( '.logo_area' ).addClass( 'is_fixed' );
  731.             jQuery( '.ec-headerRole__cart' ).addClass( 'is_fixed' );
  732.           } else {
  733.             jQuery( 'body' ).css( 'padding-top', 0 );
  734.             jQuery( '.logo_area' ).removeClass( 'is_fixed' );
  735.             jQuery( '.ec-headerRole__cart' ).removeClass( 'is_fixed' );
  736.           }
  737.         }); #}
  738.         let offsetTop = 0;
  739.         // ec-maintenanceAlert がある場合はその高さを取得
  740.         if (\$('.ec-maintenanceAlert').length > 0) {
  741.             offsetTop = \$('.ec-maintenanceAlert').outerHeight();
  742.         }
  743.         // ヘッダーに position: fixed を適用し、上部を調整
  744.         \$('.customize_header_area').css({
  745.             'position': 'fixed',
  746.             'top': offsetTop + 'px',
  747.             'left': '0',
  748.             'width': '100%',
  749.             'z-index': 1000,
  750.         });
  751.         // .ec-layoutRole__contentTopにその分だけパディングをつけてコンテンツと重ならないようにする
  752.         let headerHeight = \$('.customize_header_area').outerHeight();
  753.         console.log(\$('.ec-layoutRole__contentTop'));
  754.         if (\$('.ec-layoutRole__contentTop').length === 0) {
  755.             \$('.ec-layoutRole__contents').css('padding-top', headerHeight + 'px');
  756.         } else {
  757.             \$('.ec-layoutRole__contentTop').css('padding-top', headerHeight + 'px');
  758.         }
  759.     </script>
  760.     {# ▼ブラウザの高さとカート #}
  761.     <script>
  762. \t\tif (window.matchMedia('(min-width:768px)').matches) {
  763. \t\t\t\$('.ec-modal').click(function() {
  764. \t\t\t\tvar h = \$(window).height();
  765. \t\t\t\t\$('.ec-cartNaviIsset').css('max-height', (h-40) + 'px');
  766. \t\t\t});\t
  767. \t\t\t\$(window).on('load',function(){
  768. \t\t\t\tvar h = \$(window).height();
  769. \t\t\t\t\$('.ec-cartNaviIsset').css('max-height', (h-40) + 'px');
  770. \t\t\t});
  771. \t\t\t\$(window).on('resize',function(){
  772. \t\t\t\tvar h = \$(window).height();
  773. \t\t\t\t\$('.ec-cartNaviIsset').css('max-height', (h-40) + 'px');
  774. \t\t\t});
  775. \t\t}
  776. \t</script>
  777. </body>
  778. </html>
  779. ""default_frame.twig""/home/bluehippo91/www/bluehippo91.sakura.ne.jp/app/template/ibn4203/default_frame.twig");
  780.     }
  781.     
  782.     public function checkSecurity()
  783.     {
  784.         static $tags = array("if" => 17"block" => 39"set" => 114"include" => 181);
  785.         static $filters = array("escape" => 12"date" => 36"default" => 57"trans" => 83);
  786.         static $functions = array("csrf_token" => 16"constant" => 16"include" => 19"template_from_string" => 19"asset" => 35);
  787.         try {
  788.             $this->sandbox->checkSecurity(
  789.                 ['if''block''set''include'],
  790.                 ['escape''date''default''trans'],
  791.                 ['csrf_token''constant''include''template_from_string''asset']
  792.             );
  793.         } catch (SecurityError $e) {
  794.             $e->setSourceContext($this->source);
  795.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  796.                 $e->setTemplateLine($tags[$e->getTagName()]);
  797.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  798.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  799.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  800.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  801.             }
  802.             throw $e;
  803.         }
  804.     }
  805. }