var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/1a/1ae23b90021d072a2614420ee91ffd1c40f6516d67d608a74ffe62df7f6a51d2.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @SwagCmsExtensions/storefront/page/search/index.html.twig */
  16. class __TwigTemplate_a601d72dbb513696449a618d7da35daff22f9ad1d3c0caa4a70fcc683083ad73 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_search' => [$this'block_page_search'],
  26.             'page_search_quickview_modal' => [$this'block_page_search_quickview_modal'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@MoorlFoundation/storefront/page/search/index.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagCmsExtensions/storefront/page/search/index.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagCmsExtensions/storefront/page/search/index.html.twig"));
  41.         $this->parent $this->loadTemplate("@MoorlFoundation/storefront/page/search/index.html.twig""@SwagCmsExtensions/storefront/page/search/index.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_page_search($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search"));
  56.         // line 4
  57.         echo "    ";
  58.         ob_start();
  59.         // line 5
  60.         echo "        ";
  61.         ((function () use ($context$blocks) {
  62.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  63.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  64.             return $this->loadTemplate($includeTemplate ?? null"@SwagCmsExtensions/storefront/page/search/index.html.twig"5);
  65.         })())->display(twig_array_merge($context, ["color" => "white""name" => "arrow-head-left"]));
  66.         // line 6
  67.         echo "    ";
  68.         $context["arrowHeadLeft"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  69.         // line 7
  70.         echo "    ";
  71.         ob_start();
  72.         // line 8
  73.         echo "        ";
  74.         ((function () use ($context$blocks) {
  75.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  76.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  77.             return $this->loadTemplate($includeTemplate ?? null"@SwagCmsExtensions/storefront/page/search/index.html.twig"8);
  78.         })())->display(twig_array_merge($context, ["color" => "white""name" => "arrow-head-right"]));
  79.         // line 9
  80.         echo "    ";
  81.         $context["arrowHeadRight"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  82.         // line 10
  83.         echo "
  84.     ";
  85.         // line 11
  86.         $context["quickviewSearchMode"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"SwagCmsExtensions.config.enableSearchQuickview");
  87.         // line 12
  88.         echo "    ";
  89.         $context["quickviewOptions"] = ["isSearchPage" =>         // line 13
  90. ($context["quickviewSearchMode"] ?? null), "arrowHeadLeft" =>         // line 14
  91. ($context["arrowHeadLeft"] ?? null), "arrowHeadRight" =>         // line 15
  92. ($context["arrowHeadRight"] ?? null)];
  93.         // line 17
  94.         echo "
  95.     ";
  96.         // line 18
  97.         $this->displayBlock('page_search_quickview_modal'$context$blocks);
  98.         // line 26
  99.         echo "
  100.     ";
  101.         // line 27
  102.         $this->displayParentBlock("page_search"$context$blocks);
  103.         echo "
  104. ";
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.     }
  110.     // line 18
  111.     public function block_page_search_quickview_modal($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_quickview_modal"));
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_quickview_modal"));
  118.         // line 19
  119.         echo "        ";
  120.         if (($context["quickviewSearchMode"] ?? null)) {
  121.             // line 20
  122.             echo "            <div class=\"d-none\"
  123.                  data-swag-cms-extensions-quickview=\"true\"
  124.                  data-swag-cms-extensions-quickview-options=\"";
  125.             // line 22
  126.             echo sw_escape_filter($this->envcall_user_func_array($this->env->getFilter('json_encode')->getCallable(), [($context["quickviewOptions"] ?? null)]), "html"nulltrue);
  127.             echo "\">
  128.             </div>
  129.         ";
  130.         }
  131.         // line 25
  132.         echo "    ";
  133.         
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  135.         
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  137.     }
  138.     public function getTemplateName()
  139.     {
  140.         return "@SwagCmsExtensions/storefront/page/search/index.html.twig";
  141.     }
  142.     public function isTraitable()
  143.     {
  144.         return false;
  145.     }
  146.     public function getDebugInfo()
  147.     {
  148.         return array (  153 => 25,  147 => 22,  143 => 20,  140 => 19,  130 => 18,  118 => 27,  115 => 26,  113 => 18,  110 => 17,  108 => 15,  107 => 14,  106 => 13,  104 => 12,  102 => 11,  99 => 10,  96 => 9,  87 => 8,  84 => 7,  81 => 6,  72 => 5,  69 => 4,  59 => 3,  36 => 2,);
  149.     }
  150.     public function getSourceContext()
  151.     {
  152.         return new Source("{% sw_extends '@Storefront/storefront/page/search/index.html.twig' %}
  153. {% block page_search %}
  154.     {% set arrowHeadLeft %}
  155.         {% sw_icon 'arrow-head-left' style { 'color': 'white' } %}
  156.     {% endset %}
  157.     {% set arrowHeadRight %}
  158.         {% sw_icon 'arrow-head-right' style { 'color': 'white' } %}
  159.     {% endset %}
  160.     {% set quickviewSearchMode = config('SwagCmsExtensions.config.enableSearchQuickview') %}
  161.     {% set quickviewOptions = {
  162.         isSearchPage: quickviewSearchMode,
  163.         arrowHeadLeft: arrowHeadLeft,
  164.         arrowHeadRight: arrowHeadRight
  165.     } %}
  166.     {% block page_search_quickview_modal %}
  167.         {% if quickviewSearchMode %}
  168.             <div class=\"d-none\"
  169.                  data-swag-cms-extensions-quickview=\"true\"
  170.                  data-swag-cms-extensions-quickview-options=\"{{ quickviewOptions|json_encode }}\">
  171.             </div>
  172.         {% endif %}
  173.     {% endblock %}
  174.     {{ parent() }}
  175. {% endblock %}""@SwagCmsExtensions/storefront/page/search/index.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/SwagCmsExtensions/src/Resources/views/storefront/page/search/index.html.twig");
  176.     }
  177. }