- <?php
- use Twig\Environment;
- use Twig\Error\LoaderError;
- use Twig\Error\RuntimeError;
- use Twig\Extension\SandboxExtension;
- use Twig\Markup;
- use Twig\Sandbox\SecurityError;
- use Twig\Sandbox\SecurityNotAllowedTagError;
- use Twig\Sandbox\SecurityNotAllowedFilterError;
- use Twig\Sandbox\SecurityNotAllowedFunctionError;
- use Twig\Source;
- use Twig\Template;
- /* Special/index.twig */
- class __TwigTemplate_b9e982daa1c38dd43747b4b27a038d6d extends \Eccube\Twig\Template
- {
-     private $source;
-     private $macros = [];
-     public function __construct(Environment $env)
-     {
-         parent::__construct($env);
-         $this->source = $this->getSourceContext();
-         $this->blocks = [
-             'main' => [$this, 'block_main'],
-         ];
-         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
-         $this->checkSecurity();
-     }
-     protected function doGetParent(array $context)
-     {
-         // line 1
-         return "default_frame.twig";
-     }
-     protected function doDisplay(array $context, array $blocks = [])
-     {
-         $macros = $this->macros;
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Special/index.twig"));
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Special/index.twig"));
-         // line 3
-         $context["breadcrumbs"] = [0 => ["name" => "SPECIAL"]];
-         // line 1
-         $this->parent = $this->loadTemplate("default_frame.twig", "Special/index.twig", 1);
-         $this->parent->display($context, array_merge($this->blocks, $blocks));
-         
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
-         
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
-     }
-     // line 5
-     public function block_main($context, array $blocks = [])
-     {
-         $macros = $this->macros;
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
-         // line 6
-         echo "    <section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
-         <div class=\"mx-auto w-full max-w-[63rem]\">
-             <h1 class=\"flex items-start gap-4 md:gap-2\">
-                 <span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
-                 <p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
-                     SPECIAL</p>
-             </h1>
-         </div>
-     </section>
-     ";
-         // line 15
-         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
-         echo "
-     <section class=\"px-6\">
-         <div class=\"mx-auto w-full max-w-[63rem]\">
-             <ul class=\"flex flex-wrap gap-2\" role=\"navigation\">
-                 <li>
-                     <a class=\"grid place-items-center rounded-3xl bg-sub-beige-pale px-4 py-1 text-sm leading-normal tracking-widest text-black hover
-                     ";
-         // line 21
-         if ( !(isset($context["category_id"]) || array_key_exists("category_id", $context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.', 21, $this->source); })())) {
-             echo "!bg-sub-beige text-white";
-         }
-         echo "\" href=\"";
-         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("special_posts");
-         echo "\">
-                         ALL
-                     </a>
-                 </li>
-                 ";
-         // line 25
-         $context['_parent'] = $context;
-         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["special_posts"]) || array_key_exists("special_posts", $context) ? $context["special_posts"] : (function () { throw new RuntimeError('Variable "special_posts" does not exist.', 25, $this->source); })()), "categories", [], "any", false, false, true, 25));
-         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
-             // line 26
-             echo "                <li>
-                     <a class=\"grid place-items-center rounded-3xl bg-sub-beige-pale px-4 py-1 text-sm leading-normal tracking-widest text-black hover
-                     ";
-             // line 28
-             if (((isset($context["category_id"]) || array_key_exists("category_id", $context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.', 28, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["category"], "term_id", [], "any", false, false, true, 28))) {
-                 echo "!bg-sub-beige text-white";
-             }
-             echo "\" href=\"";
-             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("special_posts", ["category" => twig_get_attribute($this->env, $this->source, $context["category"], "term_id", [], "any", false, false, true, 28)]), "html", null, true);
-             echo "\">
-                         ";
-             // line 29
-             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, true, 29), 29, $this->source), "html", null, true);
-             echo "
-                     </a>
-                 </li>
-                 ";
-         }
-         $_parent = $context['_parent'];
-         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
-         $context = array_intersect_key($context, $_parent) + $_parent;
-         // line 33
-         echo "            </ul>
-         </div>
-     </section>
-     <section class=\"pt-20 md:pt-10 px-6 pb-[7.5rem] md:pb-20 text-black\">
-         <div class=\"mx-auto w-full max-w-[46rem]\">
-             <div class=\"grid grid-cols-2 gap-x-20 gap-y-28 md:grid-cols-1 md:gap-10\">
-                 ";
-         // line 39
-         $context['_parent'] = $context;
-         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["special_posts"]) || array_key_exists("special_posts", $context) ? $context["special_posts"] : (function () { throw new RuntimeError('Variable "special_posts" does not exist.', 39, $this->source); })()), "posts", [], "any", false, false, true, 39));
-         foreach ($context['_seq'] as $context["_key"] => $context["post"]) {
-             // line 40
-             echo "                    <a href=\"";
-             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("special_post", ["id" => twig_get_attribute($this->env, $this->source, $context["post"], "id", [], "any", false, false, true, 40)]), "html", null, true);
-             echo "\" class=\" border-b border-black pb-4 hover\">
-                         <article class=\"grid\">
-                             <h2 class=\"mt-4 line-clamp-2 text-base font-medium leading-[1.8] text-black h-[2lh]\">
-                                 <span class=\"sr-only\">タイトル:</span>
-                                 ";
-             // line 44
-             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, true, 44), 44, $this->source), "html", null, true);
-             echo "</h2>
-                             <div class=\"flex flex-wrap gap-2 row-start-2 row-end-3 mt-4 text-sm leading-normal tracking-wider text-black\">
-                                 ";
-             // line 46
-             $context['_parent'] = $context;
-             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["post"], "categories", [], "any", false, false, true, 46));
-             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
-                 // line 47
-                 echo "                                <span>";
-                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
-                 echo "</span>
-                                 ";
-             }
-             $_parent = $context['_parent'];
-             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
-             $context = array_intersect_key($context, $_parent) + $_parent;
-             // line 49
-             echo "                            </div>
-                             <time datetime=\"";
-             // line 50
-             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "post_date", [], "any", false, false, true, 50), 50, $this->source), "Y-m-d"), "html", null, true);
-             echo "\" class=\"mt-7 text-right text-sm tracking-wider text-black\">
-                                 <span class=\"sr-only\">投稿日:</span>
-                                 ";
-             // line 52
-             echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "post_date", [], "any", false, false, true, 52), 52, $this->source), "Y.m.d"), "html", null, true);
-             echo "</time>
-                             <div class=\"row-start-1 row-end-2 aspect-[4/3] \"><img alt=\"";
-             // line 53
-             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["post"], "title", [], "any", false, false, true, 53), 53, $this->source), "html", null, true);
-             echo "\" loading=\"lazy\" width=\"327\" height=\"245\" decoding=\"async\" data-nimg=\"1\" class=\"size-full object-cover\" style=\"color:transparent\" src=\"";
-             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["post"], "special_kv_pc", [], "any", false, false, true, 53), "url", [], "any", false, false, true, 53), 53, $this->source), "html", null, true);
-             echo "\"></div>
-                         </article>
-                     </a>
-                 ";
-         }
-         $_parent = $context['_parent'];
-         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['post'], $context['_parent'], $context['loop']);
-         $context = array_intersect_key($context, $_parent) + $_parent;
-         // line 57
-         echo "            </div>
-             <div class=\"ec-pagerRole\">
-                 ";
-         // line 59
-         $this->loadTemplate("pager.twig", "Special/index.twig", 59)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, (isset($context["special_posts"]) || array_key_exists("special_posts", $context) ? $context["special_posts"] : (function () { throw new RuntimeError('Variable "special_posts" does not exist.', 59, $this->source); })()), "paginationData", [], "any", false, false, true, 59)]));
-         // line 60
-         echo "            </div>
-         </div>
-     </section>
- ";
-         
-         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
-         
-         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
-     }
-     public function getTemplateName()
-     {
-         return "Special/index.twig";
-     }
-     public function isTraitable()
-     {
-         return false;
-     }
-     public function getDebugInfo()
-     {
-         return array (  198 => 60,  196 => 59,  192 => 57,  180 => 53,  176 => 52,  171 => 50,  168 => 49,  159 => 47,  155 => 46,  150 => 44,  142 => 40,  138 => 39,  130 => 33,  120 => 29,  112 => 28,  108 => 26,  104 => 25,  93 => 21,  84 => 15,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
-     }
-     public function getSourceContext()
-     {
-         return new Source("{% extends 'default_frame.twig' %}
- {% set breadcrumbs = [ {'name': 'SPECIAL'}] %}
- {% block main %}
-     <section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
-         <div class=\"mx-auto w-full max-w-[63rem]\">
-             <h1 class=\"flex items-start gap-4 md:gap-2\">
-                 <span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
-                 <p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
-                     SPECIAL</p>
-             </h1>
-         </div>
-     </section>
-     {{ include('Block/breadcrumb.twig') }}
-     <section class=\"px-6\">
-         <div class=\"mx-auto w-full max-w-[63rem]\">
-             <ul class=\"flex flex-wrap gap-2\" role=\"navigation\">
-                 <li>
-                     <a class=\"grid place-items-center rounded-3xl bg-sub-beige-pale px-4 py-1 text-sm leading-normal tracking-widest text-black hover
-                     {% if not category_id %}!bg-sub-beige text-white{% endif %}\" href=\"{{ url('special_posts') }}\">
-                         ALL
-                     </a>
-                 </li>
-                 {% for category in special_posts.categories %}
-                 <li>
-                     <a class=\"grid place-items-center rounded-3xl bg-sub-beige-pale px-4 py-1 text-sm leading-normal tracking-widest text-black hover
-                     {% if category_id == category.term_id %}!bg-sub-beige text-white{% endif %}\" href=\"{{ url('special_posts', { category: category.term_id }) }}\">
-                         {{ category.name }}
-                     </a>
-                 </li>
-                 {% endfor %}
-             </ul>
-         </div>
-     </section>
-     <section class=\"pt-20 md:pt-10 px-6 pb-[7.5rem] md:pb-20 text-black\">
-         <div class=\"mx-auto w-full max-w-[46rem]\">
-             <div class=\"grid grid-cols-2 gap-x-20 gap-y-28 md:grid-cols-1 md:gap-10\">
-                 {% for post in special_posts.posts %}
-                     <a href=\"{{ url('special_post', { id: post.id }) }}\" class=\" border-b border-black pb-4 hover\">
-                         <article class=\"grid\">
-                             <h2 class=\"mt-4 line-clamp-2 text-base font-medium leading-[1.8] text-black h-[2lh]\">
-                                 <span class=\"sr-only\">タイトル:</span>
-                                 {{ post.title }}</h2>
-                             <div class=\"flex flex-wrap gap-2 row-start-2 row-end-3 mt-4 text-sm leading-normal tracking-wider text-black\">
-                                 {% for category in post.categories %}
-                                 <span>{{ category.name }}</span>
-                                 {% endfor %}
-                             </div>
-                             <time datetime=\"{{ post.post_date|date('Y-m-d') }}\" class=\"mt-7 text-right text-sm tracking-wider text-black\">
-                                 <span class=\"sr-only\">投稿日:</span>
-                                 {{ post.post_date|date('Y.m.d') }}</time>
-                             <div class=\"row-start-1 row-end-2 aspect-[4/3] \"><img alt=\"{{ post.title }}\" loading=\"lazy\" width=\"327\" height=\"245\" decoding=\"async\" data-nimg=\"1\" class=\"size-full object-cover\" style=\"color:transparent\" src=\"{{ post.special_kv_pc.url }}\"></div>
-                         </article>
-                     </a>
-                 {% endfor %}
-             </div>
-             <div class=\"ec-pagerRole\">
-                 {% include \"pager.twig\" with {'pages': special_posts.paginationData} %}
-             </div>
-         </div>
-     </section>
- {% endblock %}
- ", "Special/index.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Special/index.twig");
-     }
-     
-     public function checkSecurity()
-     {
-         static $tags = array("set" => 3, "if" => 21, "for" => 25, "include" => 59);
-         static $filters = array("escape" => 28, "date" => 50);
-         static $functions = array("include" => 15, "url" => 21);
-         try {
-             $this->sandbox->checkSecurity(
-                 ['set', 'if', 'for', 'include'],
-                 ['escape', 'date'],
-                 ['include', 'url']
-             );
-         } catch (SecurityError $e) {
-             $e->setSourceContext($this->source);
-             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
-                 $e->setTemplateLine($tags[$e->getTagName()]);
-             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
-                 $e->setTemplateLine($filters[$e->getFilterName()]);
-             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
-                 $e->setTemplateLine($functions[$e->getFunctionName()]);
-             }
-             throw $e;
-         }
-     }
- }
-