var/cache/dev/twig/63/6354e5a8aeeaec656c7d25ff12df23ed4a711ca3a8b1b5838d5a5430234018b7.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* frontend/landingPage/landingPage.html.twig */
  16. class __TwigTemplate_12667f561e2d816e4a0da5a9c484c86174ae2b3fcefcbc4906abacf32a0f5d13 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'facebook' => [$this'block_facebook'],
  30.             'meta_desc_key' => [$this'block_meta_desc_key'],
  31.             'stylesheets' => [$this'block_stylesheets'],
  32.             'javascripts' => [$this'block_javascripts'],
  33.             'content' => [$this'block_content'],
  34.         ];
  35.     }
  36.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37.     {
  38.         // line 1
  39.         return "base.html.twig";
  40.     }
  41.     protected function doDisplay(array $context, array $blocks = []): iterable
  42.     {
  43.         $macros $this->macros;
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/landingPage/landingPage.html.twig"));
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/landingPage/landingPage.html.twig"));
  48.         $this->parent $this->loadTemplate("base.html.twig""frontend/landingPage/landingPage.html.twig"1);
  49.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  52.         
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  54.     }
  55.     // line 4
  56.     /**
  57.      * @return iterable<null|scalar|\Stringable>
  58.      */
  59.     public function block_title(array $context, array $blocks = []): iterable
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         // line 5
  67.         yield "    ";
  68.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'5$this->source); })()), "metaTitle", [], "any"falsefalsefalse5)) {
  69.             // line 6
  70.             yield "        ";
  71.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'6$this->source); })()), "metaTitle", [], "any"falsefalsefalse6), "html"nulltrue);
  72.             yield "
  73.     ";
  74.         } else {
  75.             // line 8
  76.             yield "        ";
  77.             yield from $this->yieldParentBlock("title"$context$blocks);
  78.             yield "
  79.     ";
  80.         }
  81.         
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  83.         
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  85.         yield from [];
  86.     }
  87.     // line 12
  88.     /**
  89.      * @return iterable<null|scalar|\Stringable>
  90.      */
  91.     public function block_facebook(array $context, array $blocks = []): iterable
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebook"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""facebook"));
  98.         // line 13
  99.         yield "    ";
  100.         if (CoreExtension::inFilter("ckdev"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "getSchemeAndHttpHost", [], "method"falsefalsefalse13))) {
  101.             // line 14
  102.             yield "        <meta name=\"robots\" content=\"noindex, nofollow\" />
  103.     ";
  104.         }
  105.         // line 16
  106.         yield "    ";
  107.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "locale", [], "any"falsefalsefalse16) == "pl")) {
  108.             // line 17
  109.             yield "        <meta property=\"og:image\" content=\"\"/>
  110.         <meta property=\"og:title\" content=\"";
  111.             // line 18
  112.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'18$this->source); })()), "metaTitle", [], "any"falsefalsefalse18), "html"nulltrue);
  113.             yield "\"/>
  114.         <meta property=\"og:url\" content=\"https://www.centrumkrzesel.pl";
  115.             // line 19
  116.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("landing-page-front", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'19$this->source); })()), "id", [], "any"falsefalsefalse19), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'19$this->source); })()), "slug", [], "any"falsefalsefalse19)], false), "html"nulltrue);
  117.             yield "\"/>
  118.         <meta property=\"og:description\" content=\"";
  119.             // line 20
  120.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'20$this->source); })()), "metaDescription", [], "any"falsefalsefalse20), "html"nulltrue);
  121.             yield "\">
  122.     ";
  123.         }
  124.         // line 22
  125.         yield "    ";
  126.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'22$this->source); })()), "request", [], "any"falsefalsefalse22), "locale", [], "any"falsefalsefalse22) == "cz")) {
  127.             // line 23
  128.             yield "        ";
  129.             if (CoreExtension::inFilter("dev.ezidle"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "request", [], "any"falsefalsefalse23), "getSchemeAndHttpHost", [], "method"falsefalsefalse23))) {
  130.                 // line 24
  131.                 yield "            <meta name=\"robots\" content=\"noindex, nofollow\" />
  132.         ";
  133.             }
  134.             // line 26
  135.             yield "        <meta property=\"og:image\" content=\"\"/>
  136.         <meta property=\"og:title\" content=\"";
  137.             // line 27
  138.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'27$this->source); })()), "metaTitle", [], "any"falsefalsefalse27), "html"nulltrue);
  139.             yield "\"/>
  140.         <meta property=\"og:url\" content=\"https://www.ezidle.cz";
  141.             // line 28
  142.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("landing-page-front", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'28$this->source); })()), "id", [], "any"falsefalsefalse28), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'28$this->source); })()), "slug", [], "any"falsefalsefalse28)], false), "html"nulltrue);
  143.             yield "\"/>
  144.         <meta property=\"og:description\" content=\"";
  145.             // line 29
  146.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'29$this->source); })()), "metaDescription", [], "any"falsefalsefalse29), "html"nulltrue);
  147.             yield "\">
  148.     ";
  149.         }
  150.         // line 31
  151.         yield "    ";
  152.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'31$this->source); })()), "request", [], "any"falsefalsefalse31), "locale", [], "any"falsefalsefalse31) == "sk")) {
  153.             // line 32
  154.             yield "        <meta property=\"og:image\" content=\"\"/>
  155.         <meta property=\"og:title\" content=\"";
  156.             // line 33
  157.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'33$this->source); })()), "metaTitle", [], "any"falsefalsefalse33), "html"nulltrue);
  158.             yield "\"/>
  159.         <meta property=\"og:url\" content=\"https://www.stolicky24.sk";
  160.             // line 34
  161.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("landing-page-front", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'34$this->source); })()), "id", [], "any"falsefalsefalse34), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'34$this->source); })()), "slug", [], "any"falsefalsefalse34)], false), "html"nulltrue);
  162.             yield "\"/>
  163.         <meta property=\"og:description\" content=\"";
  164.             // line 35
  165.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'35$this->source); })()), "metaDescription", [], "any"falsefalsefalse35), "html"nulltrue);
  166.             yield "\">
  167.     ";
  168.         }
  169.         // line 37
  170.         yield "    <meta property=\"og:type\" content=\"website\"/>
  171. ";
  172.         
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  174.         
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  176.         yield from [];
  177.     }
  178.     // line 40
  179.     /**
  180.      * @return iterable<null|scalar|\Stringable>
  181.      */
  182.     public function block_meta_desc_key(array $context, array $blocks = []): iterable
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_desc_key"));
  189.         // line 41
  190.         yield "    ";
  191.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'41$this->source); })()), "metaDescription", [], "any"falsefalsefalse41)) {
  192.             // line 42
  193.             yield "        <meta name=\"keywords\" content=\"krzesÅ‚a, fotele, hokery, meble, sklep internetowy, zakupy, centrum krzeseÅ‚\">
  194.         <meta name=\"description\" content=\"";
  195.             // line 43
  196.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'43$this->source); })()), "metaDescription", [], "any"falsefalsefalse43), "html"nulltrue);
  197.             yield "\">
  198.     ";
  199.         } else {
  200.             // line 45
  201.             yield "        ";
  202.             yield from $this->yieldParentBlock("meta_desc_key"$context$blocks);
  203.             yield "
  204.     ";
  205.         }
  206.         
  207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  208.         
  209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  210.         yield from [];
  211.     }
  212.     // line 49
  213.     /**
  214.      * @return iterable<null|scalar|\Stringable>
  215.      */
  216.     public function block_stylesheets(array $context, array $blocks = []): iterable
  217.     {
  218.         $macros $this->macros;
  219.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  220.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  223.         // line 50
  224.         yield "    ";
  225.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  226.         yield "
  227.     <style>
  228.         #topBannerLp {
  229.             position:relative; width:100%; top:0px; height:35px; font-size:13px;
  230.         }
  231.         @media (min-width: 767px) {
  232.             .lista-produktow {
  233.                 display: contents!important;
  234.             }
  235.         }
  236.         @media (max-width: 767px) {
  237.             #topBannerLp {
  238.                 position: relative;
  239.                 width: 100%;
  240.                 top: 0px;
  241.                 height: 60px;
  242.                 font-size: 11px;
  243.             }
  244.         }
  245.     </style>
  246. ";
  247.         
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  249.         
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  251.         yield from [];
  252.     }
  253.     // line 75
  254.     /**
  255.      * @return iterable<null|scalar|\Stringable>
  256.      */
  257.     public function block_javascripts(array $context, array $blocks = []): iterable
  258.     {
  259.         $macros $this->macros;
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  262.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  264.         // line 76
  265.         yield "    ";
  266.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  267.         yield "
  268.     <script>
  269.         function addToCart(product_id, sub) {
  270.             \$('.cart-error-notification').hide();
  271.             var chosen = [];
  272.             let parameters = chosen;
  273.             let \$variant = '';
  274.             ;
  275.             var quantity = 1;
  276.             var url = \$('#add_to_cart_url').val();
  277.             var equipments = [];
  278.             console.log(sub);
  279.             console.log(product_id);
  280.             \$.ajax({
  281.                 type: \"POST\",
  282.                 url: url,
  283.                 data: {'sub':sub, 'equipments':equipments, 'product_id':product_id, 'quantity':quantity, 'variant':\$variant, 'parameters':parameters},
  284.                 success: function (data) {
  285.                     console.log(data);
  286.                     if (parseInt(data.error) === 1) {
  287.                         \$('.cart-error-notification').show();
  288.                         \$('.cart-error-notification').html(data.message);
  289.                         \$('.ask-button').prop('disabled', false);
  290.                     } else {
  291.                         window.location.href = '/cart';
  292.                     }
  293.                 }
  294.             });
  295.         }
  296.         \$('.ask-button').on(\"click\", function(e) {
  297.             e.preventDefault();
  298.             var product_id = \$(this).attr('product-id')
  299.             var sub = \$(this).attr('product-sub');
  300.             addToCart(product_id, sub);
  301.         });
  302.     </script>
  303. ";
  304.         
  305.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  306.         
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  308.         yield from [];
  309.     }
  310.     // line 124
  311.     /**
  312.      * @return iterable<null|scalar|\Stringable>
  313.      */
  314.     public function block_content(array $context, array $blocks = []): iterable
  315.     {
  316.         $macros $this->macros;
  317.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  319.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  320.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  321.         // line 125
  322.         yield "    <input type=\"hidden\" name=\"add_to_cart_url\" id=\"add_to_cart_url\" value=\"";
  323.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("add_to_cart");
  324.         yield "\"/>
  325.     <!-- START OF CATEGORY NAME SECTION -->
  326.     <section class=\"section\">
  327.         <div class=\"container\">
  328.             <div class=\"columns is-multiline\">
  329.                 ";
  330.         // line 146
  331.         yield "
  332.                 ";
  333.         // line 147
  334.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'147$this->source); })()), "banner", [], "any"falsefalsefalse147)) {
  335.             // line 148
  336.             yield "                    ";
  337.             $context["banner"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'148$this->source); })()), "banner", [], "any"falsefalsefalse148);
  338.             // line 149
  339.             yield "
  340.                     <div class='carousel-item has-background carousel-desktop' style=\"height:100%; background: ";
  341.             // line 150
  342.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'150$this->source); })()), "color", [], "any"falsefalsefalse150), "html"nulltrue);
  343.             yield "!important;\">
  344.                         ";
  345.             // line 151
  346.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'151$this->source); })()), "title", [], "any"falsefalsefalse151)) {
  347.                 // line 152
  348.                 yield "                            <div style=\"color: ";
  349.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'152$this->source); })()), "campaignTextColor", [], "any"falsefalsefalse152), "html"nulltrue);
  350.                 yield "!important; float: left; max-width: 45%;\">
  351.                                 <h1 class=\"banner_h1\">
  352.                                     ";
  353.                 // line 154
  354.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'154$this->source); })()), "title", [], "any"falsefalsefalse154), "html"nulltrue);
  355.                 yield "
  356.                                 </h1>
  357.                                 <div class=\"additionalText\" style=\"padding-top:40px;\">
  358.                                     ";
  359.                 // line 157
  360.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'157$this->source); })()), "additionalText", [], "any"falsefalsefalse157), "html"nulltrue);
  361.                 yield "
  362.                                 </div>
  363.                             </div>
  364.                         ";
  365.             } else {
  366.                 // line 161
  367.                 yield "                        ";
  368.             }
  369.             // line 162
  370.             yield "                        <div style=\"width: 100%; background: ";
  371.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'162$this->source); })()), "color", [], "any"falsefalsefalse162), "html"nulltrue);
  372.             yield "!important; ";
  373.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'162$this->source); })()), "title", [], "any"falsefalsefalse162)) {
  374.                 yield "float:right; max-width: 55%;";
  375.             }
  376.             yield "\">
  377.                             <a href=\"";
  378.             // line 163
  379.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'163$this->source); })()), "url", [], "any"falsefalsefalse163), "html"nulltrue);
  380.             yield "\">
  381.                                 <img class=\"is-background\" style=\"height:100%!important; float: right\" src=\"/images/important/";
  382.             // line 164
  383.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'164$this->source); })()), "imageName", [], "any"falsefalsefalse164), "html"nulltrue);
  384.             yield "\" alt=\"";
  385.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'164$this->source); })()), "title", [], "any"falsefalsefalse164), "html"nulltrue);
  386.             yield "\" />
  387.                             </a>
  388.                         </div>
  389.                     </div>
  390.                     <!-- mobile -->
  391.                     <div class='carousel-item has-background carousel-mobile' style=\"background: ";
  392.             // line 170
  393.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'170$this->source); })()), "color", [], "any"falsefalsefalse170), "html"nulltrue);
  394.             yield "!important;\">
  395.                         <div>
  396.                             <a href=\"";
  397.             // line 172
  398.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'172$this->source); })()), "url", [], "any"falsefalsefalse172), "html"nulltrue);
  399.             yield "\">
  400.                                 <img class=\"is-background\" src=\"/images/important/";
  401.             // line 173
  402.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'173$this->source); })()), "imageName", [], "any"falsefalsefalse173), "html"nulltrue);
  403.             yield "\" alt=\"";
  404.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'173$this->source); })()), "title", [], "any"falsefalsefalse173), "html"nulltrue);
  405.             yield "\" width=\"640\" height=\"310\"  />
  406.                             </a>
  407.                             <div class=\"has-text-centered\" style=\"background: ";
  408.             // line 176
  409.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'176$this->source); })()), "color", [], "any"falsefalsefalse176), "html"nulltrue);
  410.             yield "!important; margin-top:-10px;\">
  411.                                 <h1 class=\"banner_h1 has-text-centered\" style=\"color: ";
  412.             // line 177
  413.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'177$this->source); })()), "campaignTextColor", [], "any"falsefalsefalse177), "html"nulltrue);
  414.             yield "!important;\">
  415.                                     ";
  416.             // line 178
  417.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'178$this->source); })()), "title", [], "any"falsefalsefalse178), "html"nulltrue);
  418.             yield "
  419.                                 </h1>
  420.                                 <div class=\"additionalText has-text-centered\" style=\"color: ";
  421.             // line 180
  422.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'180$this->source); })()), "campaignTextColor", [], "any"falsefalsefalse180), "html"nulltrue);
  423.             yield "!important; margin-top:-10px;\">
  424.                                     ";
  425.             // line 181
  426.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'181$this->source); })()), "additionalText", [], "any"falsefalsefalse181), "html"nulltrue);
  427.             yield "
  428.                                 </div>
  429.                             </div>
  430.                         </div>
  431.                     </div>
  432.                 ";
  433.         }
  434.         // line 187
  435.         yield "
  436.                 ";
  437.         // line 188
  438.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'188$this->source); })()), "topBanner", [], "any"falsefalsefalse188)) {
  439.             // line 189
  440.             yield "                    ";
  441.             $context["banner"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'189$this->source); })()), "topBanner", [], "any"falsefalsefalse189);
  442.             // line 190
  443.             yield "                    <div class=\"column is-full text-center\">
  444.                         ";
  445.             // line 191
  446.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'191$this->source); })()), "endDate", [], "any"falsefalsefalse191)) {
  447.                 // line 192
  448.                 yield "                            <script>
  449.                                 // Set the date we're counting down to
  450.                                 var countDownDateLp = new Date(\"";
  451.                 // line 194
  452.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'194$this->source); })()), "endDate", [], "any"falsefalsefalse194), "M"), "html"nulltrue);
  453.                 yield " ";
  454.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'194$this->source); })()), "endDate", [], "any"falsefalsefalse194), "d"), "html"nulltrue);
  455.                 yield ", ";
  456.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'194$this->source); })()), "endDate", [], "any"falsefalsefalse194), "Y"), "html"nulltrue);
  457.                 yield " ";
  458.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'194$this->source); })()), "endDate", [], "any"falsefalsefalse194), "H"), "html"nulltrue);
  459.                 yield ":";
  460.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'194$this->source); })()), "endDate", [], "any"falsefalsefalse194), "i"), "html"nulltrue);
  461.                 yield ":";
  462.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'194$this->source); })()), "endDate", [], "any"falsefalsefalse194), "s"), "html"nulltrue);
  463.                 yield "\").getTime();
  464.                                 // Update the count down every 1 second
  465.                                 var y = setInterval(function() {
  466.                                     // Get today's date and time
  467.                                     var now = new Date().getTime();
  468.                                     // Find the distance_lp between now and the count down date
  469.                                     var distance_lp = countDownDateLp - now;
  470.                                     // Time calculations for days, hours, minutes and seconds
  471.                                     var days = Math.floor(distance_lp / (1000 * 60 * 60 * 24));
  472.                                     var hours = Math.floor((distance_lp % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  473.                                     var minutes = Math.floor((distance_lp % (1000 * 60 * 60)) / (1000 * 60));
  474.                                     var seconds = Math.floor((distance_lp % (1000 * 60)) / 1000);
  475.                                     // Display the result in the element with id=\"demo\"
  476.                                     document.getElementById(\"countdown_lp\").innerHTML = '<strong>'+days + \"</strong> ";
  477.                 // line 212
  478.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("days", [], "store"), "html"nulltrue);
  479.                 yield " <strong>\" + hours + \"</strong> ";
  480.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("hours", [], "store"), "html"nulltrue);
  481.                 yield " <strong>\"
  482.                                         + minutes + \"</strong> ";
  483.                 // line 213
  484.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("minutes", [], "store"), "html"nulltrue);
  485.                 yield " <strong>\" + seconds + \" </strong>";
  486.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seconds", [], "store"), "html"nulltrue);
  487.                 yield " \";
  488.                                     // If the count down is finished, write some text
  489.                                     if (distance_lp < 0) {
  490.                                         clearInterval(y);
  491.                                         document.getElementById(\"countdown_lp\").innerHTML = \"";
  492.                 // line 218
  493.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("promo_expired", [], "store"), "html"nulltrue);
  494.                 yield "\";
  495.                                     }
  496.                                 }, 1000);
  497.                             </script>
  498.                         ";
  499.             }
  500.             // line 223
  501.             yield "
  502.                         ";
  503.             // line 224
  504.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'224$this->source); })()), "url", [], "any"falsefalsefalse224)) {
  505.                 // line 225
  506.                 yield "                            <a href=\"";
  507.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'225$this->source); })()), "url", [], "any"falsefalsefalse225), "html"nulltrue);
  508.                 yield "\">
  509.                         ";
  510.             }
  511.             // line 227
  512.             yield "                        <div style=\"background: ";
  513.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'227$this->source); })()), "background", [], "any"falsefalsefalse227), "html"nulltrue);
  514.             yield "; color: ";
  515.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'227$this->source); })()), "textColor", [], "any"falsefalsefalse227), "html"nulltrue);
  516.             yield "\" id=\"topBannerLp\">
  517.                             ";
  518.             // line 228
  519.             $context["width"] = 50;
  520.             // line 229
  521.             yield "                            ";
  522.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'229$this->source); })()), "endDate", [], "any"falsefalsefalse229)) {
  523.                 // line 230
  524.                 yield "                                ";
  525.                 $context["width"] = 33;
  526.                 // line 231
  527.                 yield "                            ";
  528.             }
  529.             // line 232
  530.             yield "                            <div style=\"float: left; width:";
  531.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["width"]) || array_key_exists("width"$context) ? $context["width"] : (function () { throw new RuntimeError('Variable "width" does not exist.'232$this->source); })()), "html"nulltrue);
  532.             yield "%; text-align: right; padding:8px;\">
  533.                                 ";
  534.             // line 233
  535.             yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'233$this->source); })()), "textLeft", [], "any"falsefalsefalse233), [], "store");
  536.             yield "
  537.                             </div>
  538.                             ";
  539.             // line 235
  540.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'235$this->source); })()), "endDate", [], "any"falsefalsefalse235)) {
  541.                 // line 236
  542.                 yield "                                <div style=\"float: left; width:33%; text-align: center; padding:8px;\">
  543.                                     ";
  544.                 // line 237
  545.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("banner_to_end", [], "store"), "html"nulltrue);
  546.                 yield ": <span id=\"countdown_lp\"></span>
  547.                                 </div>
  548.                             ";
  549.             }
  550.             // line 240
  551.             yield "                            <div style=\"float: left; width:";
  552.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["width"]) || array_key_exists("width"$context) ? $context["width"] : (function () { throw new RuntimeError('Variable "width" does not exist.'240$this->source); })()), "html"nulltrue);
  553.             yield "%; text-align: left; padding:8px;\">
  554.                                 ";
  555.             // line 241
  556.             yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'241$this->source); })()), "textRight", [], "any"falsefalsefalse241), [], "store");
  557.             yield "
  558.                             </div>
  559.                         </div>
  560.                         ";
  561.             // line 244
  562.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["banner"]) || array_key_exists("banner"$context) ? $context["banner"] : (function () { throw new RuntimeError('Variable "banner" does not exist.'244$this->source); })()), "url", [], "any"falsefalsefalse244)) {
  563.                 // line 245
  564.                 yield "                            </a>
  565.                         ";
  566.             }
  567.             // line 247
  568.             yield "                    </div>
  569.                 ";
  570.         }
  571.         // line 249
  572.         yield "
  573.                 ";
  574.         // line 250
  575.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'250$this->source); })()), "header", [], "any"falsefalsefalse250)) {
  576.             // line 251
  577.             yield "                    <div class=\"column is-full\">
  578.                         <span class=\"is-size-2 \">";
  579.             // line 252
  580.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'252$this->source); })()), "header", [], "any"falsefalsefalse252), "html"nulltrue);
  581.             yield "</span>
  582.                     </div>
  583.                 ";
  584.         }
  585.         // line 255
  586.         yield "
  587.                 ";
  588.         // line 256
  589.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'256$this->source); })()), "description", [], "any"falsefalsefalse256)) {
  590.             // line 257
  591.             yield "                    <div class=\"column is-full\">
  592.                         <span class=\"\">
  593.                             ";
  594.             // line 259
  595.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'259$this->source); })()), "description", [], "any"falsefalsefalse259);
  596.             yield "
  597.                         </span>
  598.                     </div>
  599.                 ";
  600.         }
  601.         // line 263
  602.         yield "
  603.                 ";
  604.         // line 264
  605.         $context["productsCounter"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'264$this->source); })()), "products", [], "any"falsefalsefalse264), "count", [], "any"falsefalsefalse264);
  606.         // line 265
  607.         yield "
  608.                 <div class=\"";
  609.         // line 266
  610.         if (((isset($context["productsCounter"]) || array_key_exists("productsCounter"$context) ? $context["productsCounter"] : (function () { throw new RuntimeError('Variable "productsCounter" does not exist.'266$this->source); })()) == 1)) {
  611.             yield "column is-full";
  612.         } else {
  613.             yield "columns";
  614.         }
  615.         yield " is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.with-description' ] }\">
  616.                     ";
  617.         // line 267
  618.         $context['_parent'] = $context;
  619.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productsForProducer"]) || array_key_exists("productsForProducer"$context) ? $context["productsForProducer"] : (function () { throw new RuntimeError('Variable "productsForProducer" does not exist.'267$this->source); })()));
  620.         $context['loop'] = [
  621.           'parent' => $context['_parent'],
  622.           'index0' => 0,
  623.           'index'  => 1,
  624.           'first'  => true,
  625.         ];
  626.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  627.             $length count($context['_seq']);
  628.             $context['loop']['revindex0'] = $length 1;
  629.             $context['loop']['revindex'] = $length;
  630.             $context['loop']['length'] = $length;
  631.             $context['loop']['last'] = === $length;
  632.         }
  633.         foreach ($context['_seq'] as $context["_key"] => $context["productData"]) {
  634.             // line 268
  635.             yield "                        ";
  636.             $context["product"] = CoreExtension::getAttribute($this->env$this->source$context["productData"], 0, [], "array"falsefalsefalse268);
  637.             // line 269
  638.             yield "                            ";
  639.             yield from $this->loadTemplate("frontend/components/smallProduct.html.twig""frontend/landingPage/landingPage.html.twig"269)->unwrap()->yield(CoreExtension::merge($context, ["isOneQuarter" => 1"product" => (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'269$this->source); })()), "productData" => $context["productData"]]));
  640.             // line 270
  641.             yield "                    ";
  642.             ++$context['loop']['index0'];
  643.             ++$context['loop']['index'];
  644.             $context['loop']['first'] = false;
  645.             if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  646.                 --$context['loop']['revindex0'];
  647.                 --$context['loop']['revindex'];
  648.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  649.             }
  650.         }
  651.         $_parent $context['_parent'];
  652.         unset($context['_seq'], $context['_key'], $context['productData'], $context['_parent'], $context['loop']);
  653.         $context array_intersect_key($context$_parent) + $_parent;
  654.         // line 271
  655.         yield "
  656.                     ";
  657.         // line 272
  658.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'272$this->source); })()), "products", [], "any"falsefalsefalse272), "count", [], "any"falsefalsefalse272)) {
  659.             // line 273
  660.             yield "                        ";
  661.             $context['_parent'] = $context;
  662.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'273$this->source); })()));
  663.             $context['loop'] = [
  664.               'parent' => $context['_parent'],
  665.               'index0' => 0,
  666.               'index'  => 1,
  667.               'first'  => true,
  668.             ];
  669.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  670.                 $length count($context['_seq']);
  671.                 $context['loop']['revindex0'] = $length 1;
  672.                 $context['loop']['revindex'] = $length;
  673.                 $context['loop']['length'] = $length;
  674.                 $context['loop']['last'] = === $length;
  675.             }
  676.             foreach ($context['_seq'] as $context["_key"] => $context["productData"]) {
  677.                 // line 274
  678.                 yield "                            ";
  679.                 $context["product"] = CoreExtension::getAttribute($this->env$this->source$context["productData"], 0, [], "array"falsefalsefalse274);
  680.                 // line 275
  681.                 yield "                            ";
  682.                 yield from $this->loadTemplate("frontend/components/smallProduct.html.twig""frontend/landingPage/landingPage.html.twig"275)->unwrap()->yield(CoreExtension::merge($context, ["isOneQuarter" => 1"product" => (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'275$this->source); })()), "productData" => $context["productData"]]));
  683.                 // line 276
  684.                 yield "                        ";
  685.                 ++$context['loop']['index0'];
  686.                 ++$context['loop']['index'];
  687.                 $context['loop']['first'] = false;
  688.                 if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  689.                     --$context['loop']['revindex0'];
  690.                     --$context['loop']['revindex'];
  691.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  692.                 }
  693.             }
  694.             $_parent $context['_parent'];
  695.             unset($context['_seq'], $context['_key'], $context['productData'], $context['_parent'], $context['loop']);
  696.             $context array_intersect_key($context$_parent) + $_parent;
  697.             // line 277
  698.             yield "                    ";
  699.         }
  700.         // line 278
  701.         yield "                </div>
  702.                 ";
  703.         // line 280
  704.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'280$this->source); })())) && CoreExtension::getAttribute($this->env$this->source, (isset($context["landingPage"]) || array_key_exists("landingPage"$context) ? $context["landingPage"] : (function () { throw new RuntimeError('Variable "landingPage" does not exist.'280$this->source); })()), "specialForBuyCheaper", [], "any"falsefalsefalse280))) {
  705.             // line 281
  706.             yield "                    <table class=\"table\" style=\"width: 100%;\">
  707.                         <tr>
  708.                             <th style=\"vertical-align: middle\">
  709.                                 ";
  710.             // line 284
  711.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("preview_picture", [], "store"), "html"nulltrue);
  712.             yield "
  713.                             </th>
  714.                             <th style=\"vertical-align: middle\">
  715.                                 ";
  716.             // line 287
  717.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("name", [], "store"), "html"nulltrue);
  718.             yield "
  719.                             </th>
  720.                             <th style=\"vertical-align: middle\">
  721.                                 ";
  722.             // line 290
  723.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("discount", [], "store"), "html"nulltrue);
  724.             yield "
  725.                             </th>
  726.                             <th style=\"vertical-align: middle\">
  727.                                 ";
  728.             // line 293
  729.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("regular_price", [], "store"), "html"nulltrue);
  730.             yield "
  731.                             </th>
  732.                             <th style=\"color:red;\">
  733.                                 ";
  734.             // line 296
  735.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("promotional_price", [], "store"), "html"nulltrue);
  736.             yield "
  737.                             </th>
  738.                             <th style=\"vertical-align: middle\"></th>
  739.                         </tr>
  740.                     ";
  741.             // line 300
  742.             $context['_parent'] = $context;
  743.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'300$this->source); })()));
  744.             foreach ($context['_seq'] as $context["_key"] => $context["productData"]) {
  745.                 // line 301
  746.                 yield "                        ";
  747.                 $context["product"] = CoreExtension::getAttribute($this->env$this->source$context["productData"], 0, [], "array"falsefalsefalse301);
  748.                 // line 302
  749.                 yield "                        ";
  750.                 $context["show"] = 0;
  751.                 // line 303
  752.                 yield "
  753.                         ";
  754.                 // line 304
  755.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'304$this->source); })()), "request", [], "any"falsefalsefalse304), "attributes", [], "any"falsefalsefalse304), "get", ["product"], "method"falsefalsefalse304) == null)) {
  756.                     // line 305
  757.                     yield "                            ";
  758.                     $context["show"] = 1;
  759.                     // line 306
  760.                     yield "                        ";
  761.                 } else {
  762.                     // line 307
  763.                     yield "                            ";
  764.                     $context["show"] = 0;
  765.                     // line 308
  766.                     yield "                        ";
  767.                 }
  768.                 // line 309
  769.                 yield "
  770.                         ";
  771.                 // line 310
  772.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'310$this->source); })()), "request", [], "any"falsefalsefalse310), "attributes", [], "any"falsefalsefalse310), "get", ["product"], "method"falsefalsefalse310) == CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'310$this->source); })()), "id", [], "any"falsefalsefalse310))) {
  773.                     // line 311
  774.                     yield "                            ";
  775.                     $context["show"] = 1;
  776.                     // line 312
  777.                     yield "                        ";
  778.                 }
  779.                 // line 313
  780.                 yield "
  781.                         ";
  782.                 // line 314
  783.                 if ((isset($context["show"]) || array_key_exists("show"$context) ? $context["show"] : (function () { throw new RuntimeError('Variable "show" does not exist.'314$this->source); })())) {
  784.                     // line 315
  785.                     yield "                            <tr>
  786.                                 <td style=\"vertical-align: middle;\">
  787.                                     <img style=\"height: 70px;\" src=\"";
  788.                     // line 317
  789.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" CoreExtension::getAttribute($this->env$this->source$context["productData"], "mainPhoto", [], "any"falsefalsefalse317)) . "")), "small"), "html"nulltrue);
  790.                     yield "\">
  791.                                 </td>
  792.                                 <td style=\"vertical-align: middle;\">
  793.                                     <a href=\"";
  794.                     // line 320
  795.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'320$this->source); })()), "slug", [], "any"falsefalsefalse320), "id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'320$this->source); })()), "id", [], "any"falsefalsefalse320)]), "html"nulltrue);
  796.                     yield "\">
  797.                                         <strong>";
  798.                     // line 321
  799.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["productData"], "subName", [], "any"falsefalsefalse321), "html"nulltrue);
  800.                     yield "</strong>
  801.                                     </a>
  802.                                 </td>
  803.                                 <td style=\"vertical-align: middle;\">
  804.                                     ";
  805.                     // line 325
  806.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["productData"], "subRebate", [], "any"falsefalsefalse325), "html"nulltrue);
  807.                     yield "
  808.                                 </td>
  809.                                 <td style=\"vertical-align: middle; min-width: 80px;\">
  810.                                     <strike>
  811.                                     ";
  812.                     // line 329
  813.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env$this->source$context["productData"], "beforeDiscount", [], "any"falsefalsefalse329), (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'329$this->source); })())), "html"nulltrue);
  814.                     yield "
  815.                                     </strike>
  816.                                 </td>
  817.                                 <td style=\"vertical-align: middle;  min-width: 80px;\">
  818.                                     ";
  819.                     // line 333
  820.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env$this->source$context["productData"], "subPrice", [], "any"falsefalsefalse333), (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'333$this->source); })())), "html"nulltrue);
  821.                     yield "
  822.                                 </td>
  823.                                 <td style=\"vertical-align: middle; width:20%;\">
  824.                                     <div class=\"level-item\">
  825.                                         <button product-id=\"";
  826.                     // line 337
  827.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'337$this->source); })()), "id", [], "any"falsefalsefalse337), "html"nulltrue);
  828.                     yield "\" product-sub=\"";
  829.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["productData"], "subId", [], "any"falsefalsefalse337), "html"nulltrue);
  830.                     yield "\" type=\"button\" id=\"\" class=\"ask-button button is-success has-text-weight-bold\" style=\"opacity: 1;\">
  831.                                             ";
  832.                     // line 338
  833.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order", [], "store"), "html"nulltrue);
  834.                     yield " &nbsp;
  835.                                             <i class=\"fa fa-arrow-right\"></i>
  836.                                         </button>
  837.                                     </div>
  838.                                 </td>
  839.                             </tr>
  840.                         ";
  841.                 }
  842.                 // line 345
  843.                 yield "                    ";
  844.             }
  845.             $_parent $context['_parent'];
  846.             unset($context['_seq'], $context['_key'], $context['productData'], $context['_parent']);
  847.             $context array_intersect_key($context$_parent) + $_parent;
  848.             // line 346
  849.             yield "                    </table>
  850.                     ";
  851.             // line 347
  852.             if ((isset($context["productEntity"]) || array_key_exists("productEntity"$context) ? $context["productEntity"] : (function () { throw new RuntimeError('Variable "productEntity" does not exist.'347$this->source); })())) {
  853.                 // line 348
  854.                 yield "                        <br/> <br/>
  855.                         <strong>
  856.                         <a style=\"font-size:1rem;\" href=\"";
  857.                 // line 350
  858.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["productEntity"]) || array_key_exists("productEntity"$context) ? $context["productEntity"] : (function () { throw new RuntimeError('Variable "productEntity" does not exist.'350$this->source); })()), "slug", [], "any"falsefalsefalse350), "id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["productEntity"]) || array_key_exists("productEntity"$context) ? $context["productEntity"] : (function () { throw new RuntimeError('Variable "productEntity" does not exist.'350$this->source); })()), "id", [], "any"falsefalsefalse350)]), "html"nulltrue);
  859.                 yield "\" class=\"button is-small is-info\"><i class=\"fa fa-arrow-left\"></i>&nbsp; ";
  860.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("back_to_product_page", [], "store"), "html"nulltrue);
  861.                 yield "</a>
  862.                         &nbsp; &nbsp;
  863.                         <a href=\"https://www.centrumkrzesel.pl/lp/228/strefa-okazji\" style=\"font-size:1rem; background-color: #ef1b2b\" class=\"button is-small is-info\"><i class=\"fa fa-arrow-right\"></i>&nbsp; ";
  864.                 // line 352
  865.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("view_all_promotions", [], "store"), "html"nulltrue);
  866.                 yield "</a>
  867.                         </strong>
  868.                     ";
  869.             }
  870.             // line 355
  871.             yield "                ";
  872.         }
  873.         // line 356
  874.         yield "
  875.             </div>
  876.         </div>
  877.     </section>
  878.     <!-- END OF CATEGORY NAME SECTION -->
  879. ";
  880.         
  881.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  882.         
  883.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  884.         yield from [];
  885.     }
  886.     /**
  887.      * @codeCoverageIgnore
  888.      */
  889.     public function getTemplateName(): string
  890.     {
  891.         return "frontend/landingPage/landingPage.html.twig";
  892.     }
  893.     /**
  894.      * @codeCoverageIgnore
  895.      */
  896.     public function isTraitable(): bool
  897.     {
  898.         return false;
  899.     }
  900.     /**
  901.      * @codeCoverageIgnore
  902.      */
  903.     public function getDebugInfo(): array
  904.     {
  905.         return array (  936 => 356,  933 => 355,  927 => 352,  920 => 350,  916 => 348,  914 => 347,  911 => 346,  905 => 345,  895 => 338,  889 => 337,  882 => 333,  875 => 329,  868 => 325,  861 => 321,  857 => 320,  851 => 317,  847 => 315,  845 => 314,  842 => 313,  839 => 312,  836 => 311,  834 => 310,  831 => 309,  828 => 308,  825 => 307,  822 => 306,  819 => 305,  817 => 304,  814 => 303,  811 => 302,  808 => 301,  804 => 300,  797 => 296,  791 => 293,  785 => 290,  779 => 287,  773 => 284,  768 => 281,  766 => 280,  762 => 278,  759 => 277,  745 => 276,  742 => 275,  739 => 274,  721 => 273,  719 => 272,  716 => 271,  702 => 270,  699 => 269,  696 => 268,  679 => 267,  671 => 266,  668 => 265,  666 => 264,  663 => 263,  656 => 259,  652 => 257,  650 => 256,  647 => 255,  641 => 252,  638 => 251,  636 => 250,  633 => 249,  629 => 247,  625 => 245,  623 => 244,  617 => 241,  612 => 240,  606 => 237,  603 => 236,  601 => 235,  596 => 233,  591 => 232,  588 => 231,  585 => 230,  582 => 229,  580 => 228,  573 => 227,  567 => 225,  565 => 224,  562 => 223,  554 => 218,  544 => 213,  538 => 212,  507 => 194,  503 => 192,  501 => 191,  498 => 190,  495 => 189,  493 => 188,  490 => 187,  481 => 181,  477 => 180,  472 => 178,  468 => 177,  464 => 176,  456 => 173,  452 => 172,  447 => 170,  436 => 164,  432 => 163,  423 => 162,  420 => 161,  413 => 157,  407 => 154,  401 => 152,  399 => 151,  395 => 150,  392 => 149,  389 => 148,  387 => 147,  384 => 146,  374 => 125,  361 => 124,  302 => 76,  289 => 75,  253 => 50,  240 => 49,  225 => 45,  220 => 43,  217 => 42,  214 => 41,  201 => 40,  189 => 37,  184 => 35,  180 => 34,  176 => 33,  173 => 32,  170 => 31,  165 => 29,  161 => 28,  157 => 27,  154 => 26,  150 => 24,  147 => 23,  144 => 22,  139 => 20,  135 => 19,  131 => 18,  128 => 17,  125 => 16,  121 => 14,  118 => 13,  105 => 12,  90 => 8,  84 => 6,  81 => 5,  68 => 4,  45 => 1,);
  906.     }
  907.     public function getSourceContext(): Source
  908.     {
  909.         return new Source("{% extends 'base.html.twig' %}
  910. {% trans_default_domain 'store' %}
  911. {% block title %}
  912.     {% if landingPage.metaTitle %}
  913.         {{ landingPage.metaTitle }}
  914.     {% else %}
  915.         {{ parent() }}
  916.     {% endif %}
  917. {% endblock %}
  918. {% block facebook %}
  919.     {% if 'ckdev' in app.request.getSchemeAndHttpHost() %}
  920.         <meta name=\"robots\" content=\"noindex, nofollow\" />
  921.     {% endif %}
  922.     {% if app.request.locale == 'pl' %}
  923.         <meta property=\"og:image\" content=\"\"/>
  924.         <meta property=\"og:title\" content=\"{{ landingPage.metaTitle }}\"/>
  925.         <meta property=\"og:url\" content=\"https://www.centrumkrzesel.pl{{ path('landing-page-front', {'id':landingPage.id, 'slug':landingPage.slug}, false) }}\"/>
  926.         <meta property=\"og:description\" content=\"{{ landingPage.metaDescription }}\">
  927.     {% endif %}
  928.     {% if app.request.locale == 'cz' %}
  929.         {% if 'dev.ezidle' in app.request.getSchemeAndHttpHost() %}
  930.             <meta name=\"robots\" content=\"noindex, nofollow\" />
  931.         {% endif %}
  932.         <meta property=\"og:image\" content=\"\"/>
  933.         <meta property=\"og:title\" content=\"{{ landingPage.metaTitle }}\"/>
  934.         <meta property=\"og:url\" content=\"https://www.ezidle.cz{{ path('landing-page-front', {'id':landingPage.id, 'slug':landingPage.slug}, false) }}\"/>
  935.         <meta property=\"og:description\" content=\"{{ landingPage.metaDescription }}\">
  936.     {% endif %}
  937.     {% if app.request.locale == 'sk' %}
  938.         <meta property=\"og:image\" content=\"\"/>
  939.         <meta property=\"og:title\" content=\"{{ landingPage.metaTitle }}\"/>
  940.         <meta property=\"og:url\" content=\"https://www.stolicky24.sk{{ path('landing-page-front', {'id':landingPage.id, 'slug':landingPage.slug}, false) }}\"/>
  941.         <meta property=\"og:description\" content=\"{{ landingPage.metaDescription }}\">
  942.     {% endif %}
  943.     <meta property=\"og:type\" content=\"website\"/>
  944. {% endblock %}
  945. {% block meta_desc_key %}
  946.     {% if landingPage.metaDescription %}
  947.         <meta name=\"keywords\" content=\"krzesÅ‚a, fotele, hokery, meble, sklep internetowy, zakupy, centrum krzeseÅ‚\">
  948.         <meta name=\"description\" content=\"{{ landingPage.metaDescription }}\">
  949.     {% else %}
  950.         {{ parent() }}
  951.     {% endif %}
  952. {% endblock %}
  953. {% block stylesheets %}
  954.     {{ parent() }}
  955.     <style>
  956.         #topBannerLp {
  957.             position:relative; width:100%; top:0px; height:35px; font-size:13px;
  958.         }
  959.         @media (min-width: 767px) {
  960.             .lista-produktow {
  961.                 display: contents!important;
  962.             }
  963.         }
  964.         @media (max-width: 767px) {
  965.             #topBannerLp {
  966.                 position: relative;
  967.                 width: 100%;
  968.                 top: 0px;
  969.                 height: 60px;
  970.                 font-size: 11px;
  971.             }
  972.         }
  973.     </style>
  974. {% endblock %}
  975. {% block javascripts %}
  976.     {{ parent() }}
  977.     <script>
  978.         function addToCart(product_id, sub) {
  979.             \$('.cart-error-notification').hide();
  980.             var chosen = [];
  981.             let parameters = chosen;
  982.             let \$variant = '';
  983.             ;
  984.             var quantity = 1;
  985.             var url = \$('#add_to_cart_url').val();
  986.             var equipments = [];
  987.             console.log(sub);
  988.             console.log(product_id);
  989.             \$.ajax({
  990.                 type: \"POST\",
  991.                 url: url,
  992.                 data: {'sub':sub, 'equipments':equipments, 'product_id':product_id, 'quantity':quantity, 'variant':\$variant, 'parameters':parameters},
  993.                 success: function (data) {
  994.                     console.log(data);
  995.                     if (parseInt(data.error) === 1) {
  996.                         \$('.cart-error-notification').show();
  997.                         \$('.cart-error-notification').html(data.message);
  998.                         \$('.ask-button').prop('disabled', false);
  999.                     } else {
  1000.                         window.location.href = '/cart';
  1001.                     }
  1002.                 }
  1003.             });
  1004.         }
  1005.         \$('.ask-button').on(\"click\", function(e) {
  1006.             e.preventDefault();
  1007.             var product_id = \$(this).attr('product-id')
  1008.             var sub = \$(this).attr('product-sub');
  1009.             addToCart(product_id, sub);
  1010.         });
  1011.     </script>
  1012. {% endblock %}
  1013. {% block content %}
  1014.     <input type=\"hidden\" name=\"add_to_cart_url\" id=\"add_to_cart_url\" value=\"{{ path('add_to_cart') }}\"/>
  1015.     <!-- START OF CATEGORY NAME SECTION -->
  1016.     <section class=\"section\">
  1017.         <div class=\"container\">
  1018.             <div class=\"columns is-multiline\">
  1019.                 {#
  1020.                 {% if landingPage.banner %}
  1021.                     <div class=\"columns\" style=\"margin-top:30px;\">
  1022.                         <div class=\"column is-full text-center\">
  1023.                             {% if landingPage.banner.url %}
  1024.                             <a href=\"{{ landingPage.banner.url }}\">
  1025.                                 {% endif %}
  1026.                                 <div class=\"image\"><img src=\"/images/important/{{ landingPage.banner.imageName }}\" alt=\"\"></div>
  1027.                                 {% if landingPage.banner.url %}
  1028.                             </a>
  1029.                             {% endif %}
  1030.                         </div>
  1031.                     </div>
  1032.                 {% endif %}
  1033.                 #}
  1034.                 {% if landingPage.banner %}
  1035.                     {% set banner = landingPage.banner %}
  1036.                     <div class='carousel-item has-background carousel-desktop' style=\"height:100%; background: {{ banner.color }}!important;\">
  1037.                         {% if banner.title %}
  1038.                             <div style=\"color: {{ banner.campaignTextColor }}!important; float: left; max-width: 45%;\">
  1039.                                 <h1 class=\"banner_h1\">
  1040.                                     {{ banner.title }}
  1041.                                 </h1>
  1042.                                 <div class=\"additionalText\" style=\"padding-top:40px;\">
  1043.                                     {{ banner.additionalText }}
  1044.                                 </div>
  1045.                             </div>
  1046.                         {% else %}
  1047.                         {% endif %}
  1048.                         <div style=\"width: 100%; background: {{ banner.color }}!important; {% if banner.title %}float:right; max-width: 55%;{% endif %}\">
  1049.                             <a href=\"{{ banner.url }}\">
  1050.                                 <img class=\"is-background\" style=\"height:100%!important; float: right\" src=\"/images/important/{{ banner.imageName }}\" alt=\"{{ banner.title }}\" />
  1051.                             </a>
  1052.                         </div>
  1053.                     </div>
  1054.                     <!-- mobile -->
  1055.                     <div class='carousel-item has-background carousel-mobile' style=\"background: {{ banner.color }}!important;\">
  1056.                         <div>
  1057.                             <a href=\"{{ banner.url }}\">
  1058.                                 <img class=\"is-background\" src=\"/images/important/{{ banner.imageName }}\" alt=\"{{ banner.title }}\" width=\"640\" height=\"310\"  />
  1059.                             </a>
  1060.                             <div class=\"has-text-centered\" style=\"background: {{ banner.color }}!important; margin-top:-10px;\">
  1061.                                 <h1 class=\"banner_h1 has-text-centered\" style=\"color: {{ banner.campaignTextColor }}!important;\">
  1062.                                     {{ banner.title }}
  1063.                                 </h1>
  1064.                                 <div class=\"additionalText has-text-centered\" style=\"color: {{ banner.campaignTextColor }}!important; margin-top:-10px;\">
  1065.                                     {{ banner.additionalText }}
  1066.                                 </div>
  1067.                             </div>
  1068.                         </div>
  1069.                     </div>
  1070.                 {% endif %}
  1071.                 {% if landingPage.topBanner %}
  1072.                     {% set banner = landingPage.topBanner %}
  1073.                     <div class=\"column is-full text-center\">
  1074.                         {% if banner.endDate %}
  1075.                             <script>
  1076.                                 // Set the date we're counting down to
  1077.                                 var countDownDateLp = new Date(\"{{ banner.endDate|date('M') }} {{ banner.endDate|date('d') }}, {{ banner.endDate|date('Y') }} {{ banner.endDate|date('H') }}:{{ banner.endDate|date('i') }}:{{ banner.endDate|date('s') }}\").getTime();
  1078.                                 // Update the count down every 1 second
  1079.                                 var y = setInterval(function() {
  1080.                                     // Get today's date and time
  1081.                                     var now = new Date().getTime();
  1082.                                     // Find the distance_lp between now and the count down date
  1083.                                     var distance_lp = countDownDateLp - now;
  1084.                                     // Time calculations for days, hours, minutes and seconds
  1085.                                     var days = Math.floor(distance_lp / (1000 * 60 * 60 * 24));
  1086.                                     var hours = Math.floor((distance_lp % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  1087.                                     var minutes = Math.floor((distance_lp % (1000 * 60 * 60)) / (1000 * 60));
  1088.                                     var seconds = Math.floor((distance_lp % (1000 * 60)) / 1000);
  1089.                                     // Display the result in the element with id=\"demo\"
  1090.                                     document.getElementById(\"countdown_lp\").innerHTML = '<strong>'+days + \"</strong> {{ 'days'|trans }} <strong>\" + hours + \"</strong> {{ 'hours'|trans }} <strong>\"
  1091.                                         + minutes + \"</strong> {{ 'minutes'|trans }} <strong>\" + seconds + \" </strong>{{ 'seconds'|trans }} \";
  1092.                                     // If the count down is finished, write some text
  1093.                                     if (distance_lp < 0) {
  1094.                                         clearInterval(y);
  1095.                                         document.getElementById(\"countdown_lp\").innerHTML = \"{{ 'promo_expired'|trans }}\";
  1096.                                     }
  1097.                                 }, 1000);
  1098.                             </script>
  1099.                         {% endif %}
  1100.                         {% if banner.url %}
  1101.                             <a href=\"{{ banner.url }}\">
  1102.                         {% endif %}
  1103.                         <div style=\"background: {{ banner.background }}; color: {{ banner.textColor }}\" id=\"topBannerLp\">
  1104.                             {% set width = 50 %}
  1105.                             {% if banner.endDate %}
  1106.                                 {% set width = 33 %}
  1107.                             {% endif %}
  1108.                             <div style=\"float: left; width:{{ width }}%; text-align: right; padding:8px;\">
  1109.                                 {{ banner.textLeft|trans|raw }}
  1110.                             </div>
  1111.                             {% if banner.endDate %}
  1112.                                 <div style=\"float: left; width:33%; text-align: center; padding:8px;\">
  1113.                                     {{ 'banner_to_end'|trans }}: <span id=\"countdown_lp\"></span>
  1114.                                 </div>
  1115.                             {% endif %}
  1116.                             <div style=\"float: left; width:{{ width }}%; text-align: left; padding:8px;\">
  1117.                                 {{ banner.textRight|trans|raw }}
  1118.                             </div>
  1119.                         </div>
  1120.                         {% if banner.url %}
  1121.                             </a>
  1122.                         {% endif %}
  1123.                     </div>
  1124.                 {% endif %}
  1125.                 {% if landingPage.header %}
  1126.                     <div class=\"column is-full\">
  1127.                         <span class=\"is-size-2 \">{{ landingPage.header }}</span>
  1128.                     </div>
  1129.                 {% endif %}
  1130.                 {% if landingPage.description %}
  1131.                     <div class=\"column is-full\">
  1132.                         <span class=\"\">
  1133.                             {{ landingPage.description|raw }}
  1134.                         </span>
  1135.                     </div>
  1136.                 {% endif %}
  1137.                 {% set productsCounter = landingPage.products.count %}
  1138.                 <div class=\"{% if productsCounter == 1 %}column is-full{% else %}columns{% endif %} is-multiline is-mobile lista-produktow\" v-match-heights=\"{ el: [ '.with-description' ] }\">
  1139.                     {% for productData in productsForProducer %}
  1140.                         {% set product = productData[0] %}
  1141.                             {% include 'frontend/components/smallProduct.html.twig' with {'isOneQuarter':1, 'product':product, 'productData':productData} %}
  1142.                     {% endfor %}
  1143.                     {% if landingPage.products.count %}
  1144.                         {% for productData in products %}
  1145.                             {% set product = productData[0] %}
  1146.                             {% include 'frontend/components/smallProduct.html.twig' with {'isOneQuarter':1, 'product':product, 'productData':productData} %}
  1147.                         {% endfor %}
  1148.                     {% endif %}
  1149.                 </div>
  1150.                 {% if products|length and landingPage.specialForBuyCheaper %}
  1151.                     <table class=\"table\" style=\"width: 100%;\">
  1152.                         <tr>
  1153.                             <th style=\"vertical-align: middle\">
  1154.                                 {{ 'preview_picture'|trans }}
  1155.                             </th>
  1156.                             <th style=\"vertical-align: middle\">
  1157.                                 {{ 'name'|trans }}
  1158.                             </th>
  1159.                             <th style=\"vertical-align: middle\">
  1160.                                 {{ 'discount'|trans }}
  1161.                             </th>
  1162.                             <th style=\"vertical-align: middle\">
  1163.                                 {{ 'regular_price'|trans }}
  1164.                             </th>
  1165.                             <th style=\"color:red;\">
  1166.                                 {{ 'promotional_price'|trans }}
  1167.                             </th>
  1168.                             <th style=\"vertical-align: middle\"></th>
  1169.                         </tr>
  1170.                     {% for productData in products %}
  1171.                         {% set product = productData[0] %}
  1172.                         {% set show = 0 %}
  1173.                         {% if app.request.attributes.get('product') == null %}
  1174.                             {% set show = 1 %}
  1175.                         {% else %}
  1176.                             {% set show = 0 %}
  1177.                         {% endif %}
  1178.                         {% if app.request.attributes.get('product') == product.id %}
  1179.                             {% set show = 1 %}
  1180.                         {% endif %}
  1181.                         {% if show %}
  1182.                             <tr>
  1183.                                 <td style=\"vertical-align: middle;\">
  1184.                                     <img style=\"height: 70px;\" src=\"{{ asset('/images/product/'~productData.mainPhoto~'') | imagine_filter('small') }}\">
  1185.                                 </td>
  1186.                                 <td style=\"vertical-align: middle;\">
  1187.                                     <a href=\"{{ path('product', {'slug':product.slug, 'id':product.id}) }}\">
  1188.                                         <strong>{{ productData.subName }}</strong>
  1189.                                     </a>
  1190.                                 </td>
  1191.                                 <td style=\"vertical-align: middle;\">
  1192.                                     {{ productData.subRebate }}
  1193.                                 </td>
  1194.                                 <td style=\"vertical-align: middle; min-width: 80px;\">
  1195.                                     <strike>
  1196.                                     {{ productData.beforeDiscount|formatPrice(currency) }}
  1197.                                     </strike>
  1198.                                 </td>
  1199.                                 <td style=\"vertical-align: middle;  min-width: 80px;\">
  1200.                                     {{ productData.subPrice|formatPrice(currency) }}
  1201.                                 </td>
  1202.                                 <td style=\"vertical-align: middle; width:20%;\">
  1203.                                     <div class=\"level-item\">
  1204.                                         <button product-id=\"{{ product.id }}\" product-sub=\"{{ productData.subId }}\" type=\"button\" id=\"\" class=\"ask-button button is-success has-text-weight-bold\" style=\"opacity: 1;\">
  1205.                                             {{ 'order'|trans }} &nbsp;
  1206.                                             <i class=\"fa fa-arrow-right\"></i>
  1207.                                         </button>
  1208.                                     </div>
  1209.                                 </td>
  1210.                             </tr>
  1211.                         {% endif %}
  1212.                     {% endfor %}
  1213.                     </table>
  1214.                     {% if productEntity %}
  1215.                         <br/> <br/>
  1216.                         <strong>
  1217.                         <a style=\"font-size:1rem;\" href=\"{{ path('product', {'slug':productEntity.slug, 'id':productEntity.id}) }}\" class=\"button is-small is-info\"><i class=\"fa fa-arrow-left\"></i>&nbsp; {{ 'back_to_product_page'|trans }}</a>
  1218.                         &nbsp; &nbsp;
  1219.                         <a href=\"https://www.centrumkrzesel.pl/lp/228/strefa-okazji\" style=\"font-size:1rem; background-color: #ef1b2b\" class=\"button is-small is-info\"><i class=\"fa fa-arrow-right\"></i>&nbsp; {{ 'view_all_promotions'|trans }}</a>
  1220.                         </strong>
  1221.                     {% endif %}
  1222.                 {% endif %}
  1223.             </div>
  1224.         </div>
  1225.     </section>
  1226.     <!-- END OF CATEGORY NAME SECTION -->
  1227. {% endblock %}""frontend/landingPage/landingPage.html.twig""/home/users/ck_new/templates/frontend/landingPage/landingPage.html.twig");
  1228.     }
  1229. }