var/cache/dev/twig/b3/b33a477b7569e6b5cc24bbf9c8f18c0b.php line 95

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_9dcca2d91f0bba6b5a12eb258df373e3 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'meta_group' => [$this'block_meta_group'],
  25.             'meta_canonical' => [$this'block_meta_canonical'],
  26.             'meta_alternate' => [$this'block_meta_alternate'],
  27.             'meta_robots' => [$this'block_meta_robots'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.             'iubenda_config' => [$this'block_iubenda_config'],
  31.             'gtm_config' => [$this'block_gtm_config'],
  32.             'bodyClass' => [$this'block_bodyClass'],
  33.             'bodyStyle' => [$this'block_bodyStyle'],
  34.             'gtm_config_noscript' => [$this'block_gtm_config_noscript'],
  35.             'body' => [$this'block_body'],
  36.             'header' => [$this'block_header'],
  37.             'content' => [$this'block_content'],
  38.             'extraContent' => [$this'block_extraContent'],
  39.             'footer' => [$this'block_footer'],
  40.             'modals' => [$this'block_modals'],
  41.             'javascripts_body' => [$this'block_javascripts_body'],
  42.             'javascripts_iubenda' => [$this'block_javascripts_iubenda'],
  43.         ];
  44.     }
  45.     protected function doDisplay(array $context, array $blocks = [])
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  50.         // line 1
  51.         echo "<!DOCTYPE html>
  52. <html xmlns=\"https://www.w3.org/1999/xhtml\" xmlns:fb=\"http://ogp.me/ns/fb#\" prefix=\"og: http://ogp.me/ns#\" lang=\"";
  53.         // line 2
  54.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse2), "getLocale", [], "method"falsefalsefalse2), "html"nulltrue);
  55.         echo "\">
  56.     ";
  57.         // line 3
  58.         $context["busters"] = $this->extensions['App\Twig\AppExtension']->getBustersValues();
  59.         // line 4
  60.         echo "    ";
  61.         $context["webpEnabled"] = $this->extensions['App\Twig\AppExtension']->isWebpEnabled();
  62.         // line 5
  63.         echo "    ";
  64.         $context["iubendaCookie"] = $this->extensions['App\Twig\AppExtension']->getIubendaCookie(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse5), "locale", [], "any"falsefalsefalse5));
  65.         // line 6
  66.         echo "    <head>
  67.         ";
  68.         // line 7
  69.         ob_start(function () { return ''; });
  70.         // line 8
  71.         echo "            <meta charset=\"utf-8\">
  72.             <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  73.             <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  74.             ";
  75.         // line 12
  76.         $this->displayBlock('meta_group'$context$blocks);
  77.         // line 21
  78.         echo "
  79.             ";
  80.         // line 22
  81.         $this->displayBlock('meta_canonical'$context$blocks);
  82.         // line 27
  83.         echo "
  84.             ";
  85.         // line 28
  86.         $this->displayBlock('meta_alternate'$context$blocks);
  87.         // line 39
  88.         echo "
  89.             ";
  90.         // line 40
  91.         $this->displayBlock('meta_robots'$context$blocks);
  92.         // line 49
  93.         echo "
  94.             <link rel=\"icon\" href=\"";
  95.         // line 50
  96.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/frontend/favicon.ico"), "html"nulltrue);
  97.         echo "\" sizes=\"any\">
  98.             ";
  99.         // line 52
  100.         $context["icons"] = [=> 32=> 76=> 120=> 152=> 167=> 180=> 192=> 196];
  101.         // line 53
  102.         echo "            ";
  103.         $context['_parent'] = $context;
  104.         $context['_seq'] = twig_ensure_traversable(($context["icons"] ?? null));
  105.         foreach ($context['_seq'] as $context["_key"] => $context["icon"]) {
  106.             // line 54
  107.             echo "                <link rel=\"apple-touch-icon\" sizes=\"";
  108.             echo twig_escape_filter($this->env$context["icon"], "html"nulltrue);
  109.             echo "x";
  110.             echo twig_escape_filter($this->env$context["icon"], "html"nulltrue);
  111.             echo "\" href=\"";
  112.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((("assets/images/frontend/webpage-icons/icon-" $context["icon"]) . "x") . $context["icon"]) . ".png")), "html"nulltrue);
  113.             echo "\">
  114.             ";
  115.         }
  116.         $_parent $context['_parent'];
  117.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['icon'], $context['_parent'], $context['loop']);
  118.         $context array_intersect_key($context$_parent) + $_parent;
  119.         // line 56
  120.         echo "
  121.             <meta name=\"apple-mobile-web-app-title\" content=\"Kioene\">
  122.             <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">
  123.             <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
  124.             <meta name=\"theme-color\" content=\"#166938\">
  125.             <meta name=\"msapplication-navbutton-color\" content=\"#166938\">
  126.             <meta name=\"geo.region\" content=\"IT\">
  127.             <meta name=\"geo.placename\" content=\"Villanova di Camposampiero\">
  128.             <meta name=\"geo.position\" content=\"45.491379;11.96371\">
  129.             <meta name=\"ICBM\" content=\"45.491379, 11.96371\">
  130.             <meta name=\"msapplication-config\" content=\"none\">
  131.             ";
  132.         // line 70
  133.         $this->displayBlock('stylesheets'$context$blocks);
  134.         // line 95
  135.         echo "
  136.             <script type=\"application/ld+json\">
  137.                 {
  138.                     \"@context\": \"https://schema.org\",
  139.                     \"@type\": \"Organization\",
  140.                     \"url\": \"https://www.kioene.com\",
  141.                     \"logo\": \"";
  142.         // line 101
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/logo-kioene.svg"), "html"nulltrue);
  144.         echo "\"
  145.                 }
  146.             </script>
  147.             ";
  148.         // line 105
  149.         $this->displayBlock('javascripts'$context$blocks);
  150.         // line 106
  151.         echo "
  152.         ";
  153.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  154.         // line 7
  155.         echo twig_spaceless($___internal_parse_0_);
  156.         // line 108
  157.         echo "
  158.         <script type=\"text/javascript\">
  159.             var pixel_PageView__now = Math.floor(Date.now() / 1000);
  160.             var pixel_PageView__eventID = pixel_PageView__now + '_' + Math.random().toString(36).substr(2, 9);
  161.             var pixel_em = '';
  162.             var pixel_ph = '';
  163.         </script>
  164.         ";
  165.         // line 116
  166.         $this->displayBlock('iubenda_config'$context$blocks);
  167.         // line 129
  168.         echo "
  169.         <script>
  170.             var url__tracking_pixel=\"/api/tracking-pixel-api-conversion/ajax.php\";
  171.             var url__tracking_pinterest=\"/api/tracking-pinterest-api-conversion/ajax.php\";
  172.             var tracking__locale = '";
  173.         // line 133
  174.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse133), "locale", [], "any"falsefalsefalse133), "html"nulltrue);
  175.         echo "';
  176.             var tracking__viewcontent__title = '';
  177.             var tracking__viewcontent__ids = [];
  178.             var tracking__viewcontent__type = 'page';
  179.         </script>
  180.         <!-- Google Tag Manager -->
  181.         <script type=\"text/javascript\">
  182.             window.dataLayer = window.dataLayer || [];
  183.             function gtag(){dataLayer.push(arguments);}
  184.         </script>
  185.         <script type=\"text/javascript\">dataLayer.push({locale: '";
  186.         // line 144
  187.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse144), "locale", [], "any"falsefalsefalse144), "html"nulltrue);
  188.         echo "'});</script>
  189.         <script type=\"application/javascript\">
  190.             var checkPixelCallback = false;
  191.             var consent_analytics_storage = 'denied';
  192.             var consent_ad_storage = 'denied';
  193.             var consent_personalization_storage = 'denied';
  194.             var consent_functionality_storage = 'denied';
  195.             var consent_security_storage = 'denied';
  196.             var iubendaCookie = null;
  197.             var cookieName = '_iub_cs-'+iubendaIds[locale]['cookiePolicyId'] + \"=\";
  198.             var ca = document.cookie.split(';');
  199.             for(var i=0; i<ca.length; i++) {
  200.                 var c = ca[i];
  201.                 while (c.charAt(0)==' ') c = c.substring(1);
  202.                 if (c.indexOf(cookieName) == 0) {
  203.                     iubendaCookie = c.substring(cookieName.length,c.length)
  204.                 }
  205.             }
  206.             if (iubendaCookie) {
  207.                 iubendaCookie = decodeURIComponent(iubendaCookie);
  208.                 iubendaCookie = JSON.parse(iubendaCookie);
  209.                 if (iubendaCookie.purposes[5]) {
  210.                     consent_ad_storage = 'granted';
  211.                     var checkPixelCallback = true;
  212.                     dataLayer.push({
  213.                         consense_marketing: true
  214.                     });
  215.                 }
  216.                 if (iubendaCookie.purposes[4]) {
  217.                     consent_analytics_storage = 'granted';
  218.                     dataLayer.push({
  219.                         anonymizeIp: false,
  220.                     });
  221.                 }
  222.                 if (iubendaCookie.purposes[3]) {
  223.                     consent_personalization_storage = 'granted';
  224.                 }
  225.                 if (iubendaCookie.purposes[2]) {
  226.                     consent_functionality_storage = 'granted';
  227.                 }
  228.             } else {
  229.                 dataLayer.push({
  230.                     anonymizeIp: true,
  231.                     consense_marketing: false
  232.                 });
  233.             }
  234.             gtag('consent', 'default', {
  235.                 'ad_storage': consent_ad_storage,
  236.                 'ad_user_data': consent_ad_storage,
  237.                 'ad_personalization': consent_ad_storage,
  238.                 'analytics_storage': consent_analytics_storage,
  239.                 'wait_for_update': 500,
  240.                 // 'personalization_storage': consent_personalization_storage,
  241.                 // 'functionality_storage': consent_functionality_storage,
  242.                 // 'security_storage': consent_security_storage,
  243.             });
  244.         </script>
  245.         ";
  246.         // line 207
  247.         $this->displayBlock('gtm_config'$context$blocks);
  248.         // line 214
  249.         echo "        <!-- End Google Tag Manager -->
  250.     </head>
  251.     <body class=\"body body_";
  252.         // line 216
  253.         echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse216), "attributes", [], "any"falsefalsefalse216), "get", [=> "_route"], "method"falsefalsefalse216), ["_" => "-"]), "html"nulltrue);
  254.         echo " ";
  255.         ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse216), "attributes", [], "any"falsefalsefalse216), "get", [=> "category_slug"], "method"falsefalsefalse216)) ? (print (twig_escape_filter($this->env, ("body_" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse216), "attributes", [], "any"falsefalsefalse216), "get", [=> "category_slug"], "method"falsefalsefalse216)), "html"nulltrue))) : (print ("")));
  256.         echo " ";
  257.         echo ((($context["webpEnabled"] ?? null)) ? ("webp") : (""));
  258.         echo " w-100 ";
  259.         $this->displayBlock('bodyClass'$context$blocks);
  260.         echo "\" ";
  261.         $this->displayBlock('bodyStyle'$context$blocks);
  262.         echo ">
  263.     <!-- Google Tag Manager (noscript) -->
  264.     ";
  265.         // line 218
  266.         $this->displayBlock('gtm_config_noscript'$context$blocks);
  267.         // line 222
  268.         echo "    <!-- End Google Tag Manager (noscript) -->
  269.         ";
  270.         // line 223
  271.         $this->displayBlock('body'$context$blocks);
  272.         // line 285
  273.         echo "        ";
  274.         $this->displayBlock('javascripts_body'$context$blocks);
  275.         // line 444
  276.         echo "
  277.         ";
  278.         // line 445
  279.         $this->displayBlock('javascripts_iubenda'$context$blocks);
  280.         // line 486
  281.         echo "    </body>
  282. </html>
  283. ";
  284.         
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  286.     }
  287.     // line 12
  288.     public function block_meta_group($context, array $blocks = [])
  289.     {
  290.         $macros $this->macros;
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_group"));
  293.         // line 13
  294.         echo "
  295.                 ";
  296.         // line 14
  297.         if ((array_key_exists("metatags"$context) && ($context["metatags"] ?? null))) {
  298.             // line 15
  299.             echo "                    ";
  300.             $this->loadTemplate("partials/metatags/_custom.html.twig""base.html.twig"15)->display($context);
  301.             // line 16
  302.             echo "                ";
  303.         } else {
  304.             // line 17
  305.             echo "                    ";
  306.             $this->loadTemplate("partials/metatags/_default.html.twig""base.html.twig"17)->display($context);
  307.             // line 18
  308.             echo "                ";
  309.         }
  310.         // line 19
  311.         echo "
  312.             ";
  313.         
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  315.     }
  316.     // line 22
  317.     public function block_meta_canonical($context, array $blocks = [])
  318.     {
  319.         $macros $this->macros;
  320.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_canonical"));
  322.         // line 23
  323.         echo "                ";
  324.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse23), "attributes", [], "any"falsefalsefalse23), "get", [=> "_route"], "method"falsefalsefalse23)) {
  325.             // line 24
  326.             echo "                    <link rel=\"canonical\" href=\"";
  327.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse24), "attributes", [], "any"falsefalsefalse24), "get", [=> "_route"], "method"falsefalsefalse24), ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse24), "attributes", [], "any"falsetruefalse24), "get", [=> "_route_params"], "method"truetruefalse24)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse24), "attributes", [], "any"falsetruefalse24), "get", [=> "_route_params"], "method"falsefalsefalse24), [])) : ([])))), "html"nulltrue);
  328.             echo "\" />
  329.                 ";
  330.         }
  331.         // line 26
  332.         echo "            ";
  333.         
  334.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  335.     }
  336.     // line 28
  337.     public function block_meta_alternate($context, array $blocks = [])
  338.     {
  339.         $macros $this->macros;
  340.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  341.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_alternate"));
  342.         // line 29
  343.         echo "                ";
  344.         if ((array_key_exists("hreflangs"$context) && ($context["hreflangs"] ?? null))) {
  345.             // line 30
  346.             echo "                    ";
  347.             $context['_parent'] = $context;
  348.             $context['_seq'] = twig_ensure_traversable(($context["hreflangs"] ?? null));
  349.             foreach ($context['_seq'] as $context["_key"] => $context["hreflang"]) {
  350.                 // line 31
  351.                 echo "                        <link rel=\"alternate\" hreflang=\"";
  352.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["hreflang"], "locale", [], "any"falsefalsefalse31), "html"nulltrue);
  353.                 echo "\" href=\"";
  354.                 echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["hreflang"], "href", [], "any"falsefalsefalse31)), "html"nulltrue);
  355.                 echo "\" />
  356.                     ";
  357.             }
  358.             $_parent $context['_parent'];
  359.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hreflang'], $context['_parent'], $context['loop']);
  360.             $context array_intersect_key($context$_parent) + $_parent;
  361.             // line 33
  362.             echo "                ";
  363.         } else {
  364.             // line 34
  365.             echo "                    ";
  366.             $context['_parent'] = $context;
  367.             $context['_seq'] = twig_ensure_traversable(($context["locales"] ?? null));
  368.             foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  369.                 // line 35
  370.                 echo "                        <link rel=\"alternate\" hreflang=\"";
  371.                 echo twig_escape_filter($this->env$context["locale"], "html"nulltrue);
  372.                 echo "\" href=\"";
  373.                 echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse35), "attributes", [], "any"falsefalsefalse35), "get", [=> "_route"], "method"falsefalsefalse35), twig_array_merge(((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse35), "attributes", [], "any"falsetruefalse35), "get", [=> "_route_params"], "method"truetruefalse35)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse35), "attributes", [], "any"falsetruefalse35), "get", [=> "_route_params"], "method"falsefalsefalse35), [])) : ([])), ["_locale" => $context["locale"]]))), "html"nulltrue);
  374.                 echo "\" />
  375.                     ";
  376.             }
  377.             $_parent $context['_parent'];
  378.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  379.             $context array_intersect_key($context$_parent) + $_parent;
  380.             // line 37
  381.             echo "                ";
  382.         }
  383.         // line 38
  384.         echo "            ";
  385.         
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387.     }
  388.     // line 40
  389.     public function block_meta_robots($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robots"));
  394.         // line 41
  395.         echo "                ";
  396.         if (((twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "environment", [], "any"falsefalsefalse41) == "dev") || (twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "environment", [], "any"falsefalsefalse41) == "test"))) {
  397.             // line 42
  398.             echo "                    <meta name=\"robots\" content=\"noindex,nofollow\">
  399.                     <meta name=\"googlebot\" content=\"noindex,nofollow\">
  400.                 ";
  401.         } else {
  402.             // line 45
  403.             echo "                    <meta name=\"robots\" content=\"index,follow\">
  404.                     <meta name=\"googlebot\" content=\"index,follow\">
  405.                 ";
  406.         }
  407.         // line 48
  408.         echo "            ";
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     // line 70
  413.     public function block_stylesheets($context, array $blocks = [])
  414.     {
  415.         $macros $this->macros;
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  418.         // line 71
  419.         echo "                ";
  420.         // line 74
  421.         echo "
  422.                 <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  423.                 <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  424.                 <link href=\"https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap\" rel=\"stylesheet\">
  425.                 <link rel=\"stylesheet\" href=\"https://use.typekit.net/uil7luu.css\">
  426.                 <!-- Preload the LCP image with a high fetchpriority so it starts loading with the stylesheet. -->
  427.                 ";
  428.         // line 84
  429.         echo "                <link rel=\"preload\" as=\"image\" href=\"";
  430.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/bg-land-large-mobile.webp"), "html"nulltrue);
  431.         echo "\" type=\"image/webp\">
  432.                 <link rel=\"preload\" href=\"";
  433.         // line 85
  434.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/fonts/market-fresh/market-fresh-bold.woff2"), "html"nulltrue);
  435.         echo "\" as=\"font\" type=\"font/woff2\" crossorigin>
  436.                 <link rel=\"preload\" fetchpriority=\"high\" href=\"";
  437.         // line 86
  438.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/fonts.css"), "html"nulltrue);
  439.         echo "?v=";
  440.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/fonts.css", [], "array"truetruefalse86)) ? (print (twig_escape_filter($this->env, (($__internal_compile_0 = ($context["busters"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["css/frontend/fonts.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  441.         echo "\" as=\"style\">
  442.                 <link rel=\"stylesheet\" href=\"";
  443.         // line 87
  444.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/fonts.css"), "html"nulltrue);
  445.         echo "?v=";
  446.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/fonts.css", [], "array"truetruefalse87)) ? (print (twig_escape_filter($this->env, (($__internal_compile_1 = ($context["busters"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["css/frontend/fonts.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  447.         echo "\">
  448.                 <link rel=\"preload\" href=\"";
  449.         // line 88
  450.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/pofo.css"), "html"nulltrue);
  451.         echo "?v=";
  452.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/pofo.css", [], "array"truetruefalse88)) ? (print (twig_escape_filter($this->env, (($__internal_compile_2 = ($context["busters"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["css/frontend/pofo.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  453.         echo "\" as=\"style\">
  454.                 <link rel=\"stylesheet\" href=\"";
  455.         // line 89
  456.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/pofo.css"), "html"nulltrue);
  457.         echo "?v=";
  458.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/pofo.css", [], "array"truetruefalse89)) ? (print (twig_escape_filter($this->env, (($__internal_compile_3 = ($context["busters"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["css/frontend/pofo.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  459.         echo "\">
  460.                 <link rel=\"preload\" href=\"";
  461.         // line 90
  462.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/main.css"), "html"nulltrue);
  463.         echo "?v=";
  464.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/main.css", [], "array"truetruefalse90)) ? (print (twig_escape_filter($this->env, (($__internal_compile_4 = ($context["busters"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["css/frontend/main.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  465.         echo "\" as=\"style\">
  466.                 <link rel=\"stylesheet\" href=\"";
  467.         // line 91
  468.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/main.css"), "html"nulltrue);
  469.         echo "?v=";
  470.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/main.css", [], "array"truetruefalse91)) ? (print (twig_escape_filter($this->env, (($__internal_compile_5 = ($context["busters"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["css/frontend/main.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  471.         echo "\">
  472.             ";
  473.         
  474.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  475.     }
  476.     // line 105
  477.     public function block_javascripts($context, array $blocks = [])
  478.     {
  479.         $macros $this->macros;
  480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  481.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  482.         echo "";
  483.         
  484.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  485.     }
  486.     // line 116
  487.     public function block_iubenda_config($context, array $blocks = [])
  488.     {
  489.         $macros $this->macros;
  490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  491.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iubenda_config"));
  492.         // line 117
  493.         echo "
  494.         <script type=\"text/javascript\">
  495.             var iubendaIds = [];
  496.             var locale = '";
  497.         // line 120
  498.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse120), "locale", [], "any"falsefalsefalse120), "html"nulltrue);
  499.         echo "';
  500.             iubendaIds[locale] = {
  501.                 'siteId' : '";
  502.         // line 122
  503.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (($__internal_compile_6 = ($context["iubenda"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse122), "locale", [], "any"falsefalsefalse122)] ?? null) : null), "siteId", [], "any"falsefalsefalse122), "html"nulltrue);
  504.         echo "',
  505.                 'cookiePolicyId' : '";
  506.         // line 123
  507.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (($__internal_compile_7 = ($context["iubenda"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse123), "locale", [], "any"falsefalsefalse123)] ?? null) : null), "cookiePolicyId", [], "any"falsefalsefalse123), "html"nulltrue);
  508.         echo "',
  509.                 'locale': '";
  510.         // line 124
  511.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (($__internal_compile_8 = ($context["iubenda"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8[twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse124), "locale", [], "any"falsefalsefalse124)] ?? null) : null), "locale", [], "any"falsefalsefalse124), "html"nulltrue);
  512.         echo "'
  513.             };
  514.         </script>
  515.         ";
  516.         
  517.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  518.     }
  519.     // line 207
  520.     public function block_gtm_config($context, array $blocks = [])
  521.     {
  522.         $macros $this->macros;
  523.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  524.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gtm_config"));
  525.         // line 208
  526.         echo "        <script type=\"text/javascript\">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  527.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  528.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  529.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  530.             })(window,document,'script','dataLayer','GTM-MM2BS55');</script>
  531.         ";
  532.         
  533.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  534.     }
  535.     // line 216
  536.     public function block_bodyClass($context, array $blocks = [])
  537.     {
  538.         $macros $this->macros;
  539.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  540.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  541.         echo "";
  542.         
  543.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  544.     }
  545.     public function block_bodyStyle($context, array $blocks = [])
  546.     {
  547.         $macros $this->macros;
  548.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  549.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyStyle"));
  550.         echo "";
  551.         
  552.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  553.     }
  554.     // line 218
  555.     public function block_gtm_config_noscript($context, array $blocks = [])
  556.     {
  557.         $macros $this->macros;
  558.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  559.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gtm_config_noscript"));
  560.         // line 219
  561.         echo "    <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-MM2BS55\"
  562.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  563.     ";
  564.         
  565.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  566.     }
  567.     // line 223
  568.     public function block_body($context, array $blocks = [])
  569.     {
  570.         $macros $this->macros;
  571.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  572.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  573.         // line 224
  574.         echo "            <div class=\"body__layer-transition body__layer-transition_bg-color_jewel\" data-js=\"layer-transition-2\"></div>
  575.             <div class=\"body__layer-transition body__layer-transition_bg-color_la-riojia\" data-js=\"layer-transition-1\"></div>
  576.             <div class=\"body__layer-transition\" data-js=\"layer-loading\">
  577.                 <img src=\"";
  578.         // line 227
  579.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/spin-1.1s-100px.svg"), "html"nulltrue);
  580.         echo "\" alt=\"loading\">
  581.             </div>
  582.             ";
  583.         // line 229
  584.         $this->displayBlock('header'$context$blocks);
  585.         // line 235
  586.         echo "
  587.             <div class=\"page overflow-hidden\">
  588.                 <div class=\"page__bg\"></div>
  589.                 <div class=\"page__bg-top\" data-transition=\"element-pre-enter\"></div>
  590.                 <div class=\"page__content margin-lr-auto\">
  591.                     ";
  592.         // line 240
  593.         $this->displayBlock('content'$context$blocks);
  594.         // line 241
  595.         echo "                </div>
  596.                 ";
  597.         // line 242
  598.         $this->displayBlock('extraContent'$context$blocks);
  599.         // line 243
  600.         echo "            </div>
  601.             ";
  602.         // line 245
  603.         $this->displayBlock('footer'$context$blocks);
  604.         // line 256
  605.         echo "
  606.             ";
  607.         // line 257
  608.         $this->displayBlock('modals'$context$blocks);
  609.         // line 258
  610.         echo "
  611.             ";
  612.         // line 262
  613.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse262), "locale", [], "any"falsefalsefalse262) == "it")) {
  614.             // line 263
  615.             echo "                <div class=\"modal micromodal-slide\" id=\"modalVideo\" aria-hidden=\"true\">
  616.                   <div class=\"modal__overlay\" tabindex=\"-1\" data-micromodal-close>
  617.                     <div class=\"modal__container\" role=\"dialog\" aria-modal=\"true\" aria-labelledby=\"modalVideo-title\">
  618.                       <header class=\"modal__header\">
  619.                         <button class=\"modal__close\" aria-label=\"Close modal\" data-micromodal-close></button>
  620.                       </header>
  621.                       <main class=\"modal__content\" id=\"modalVideo-content\">
  622.                           <video id=\"beforeAdterVideo\" preload=\"none\" data-heroVideo autoplay muted playsinline>
  623.                               <source src=\"/assets/video/post-reveal.mov\" type=\"video/mp4; codecs=hvc1\">
  624.                               <source src=\"/assets/video/post-reveal.webm\" type=\"video/webm\">
  625.                           </video>
  626.                       </main>
  627.                     </div>
  628.                   </div>
  629.                 </div>
  630.             ";
  631.         }
  632.         // line 279
  633.         echo "
  634.         ";
  635.         
  636.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  637.     }
  638.     // line 229
  639.     public function block_header($context, array $blocks = [])
  640.     {
  641.         $macros $this->macros;
  642.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  643.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  644.         // line 230
  645.         echo "                ";
  646.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::headerAction", ["route" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 232
  647. ($context["app"] ?? null), "request", [], "any"falsefalsefalse232), "attributes", [], "any"falsefalsefalse232), "get", [=> "_route"], "method"falsefalsefalse232)]));
  648.         // line 233
  649.         echo "
  650.             ";
  651.         
  652.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  653.     }
  654.     // line 240
  655.     public function block_content($context, array $blocks = [])
  656.     {
  657.         $macros $this->macros;
  658.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  659.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  660.         echo "";
  661.         
  662.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  663.     }
  664.     // line 242
  665.     public function block_extraContent($context, array $blocks = [])
  666.     {
  667.         $macros $this->macros;
  668.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  669.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraContent"));
  670.         echo "";
  671.         
  672.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  673.     }
  674.     // line 245
  675.     public function block_footer($context, array $blocks = [])
  676.     {
  677.         $macros $this->macros;
  678.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  679.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  680.         // line 246
  681.         echo "                ";
  682.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse246), "locale", [], "any"falsefalsefalse246) == "it")) {
  683.             // line 247
  684.             echo "                    ";
  685.             $this->loadTemplate("wheretobuy/_banner.html.twig""base.html.twig"247)->display(twig_array_merge($context, ["padding" => true]));
  686.             // line 248
  687.             echo "                ";
  688.         } else {
  689.             // line 249
  690.             echo "                    <div class=\"footer-top position-relative z-index-2\"></div>
  691.                 ";
  692.         }
  693.         // line 251
  694.         echo "
  695.                 ";
  696.         // line 252
  697.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::footerAction", ["banner" => true"color" => "white""currentPath" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 253
  698. ($context["app"] ?? null), "request", [], "any"falsefalsefalse253), "get", [=> "_route"], "method"falsefalsefalse253)]));
  699.         // line 254
  700.         echo "
  701.             ";
  702.         
  703.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  704.     }
  705.     // line 257
  706.     public function block_modals($context, array $blocks = [])
  707.     {
  708.         $macros $this->macros;
  709.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  710.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  711.         echo "";
  712.         
  713.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  714.     }
  715.     // line 285
  716.     public function block_javascripts_body($context, array $blocks = [])
  717.     {
  718.         $macros $this->macros;
  719.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  720.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_body"));
  721.         // line 286
  722.         echo "            <script type=\"text/javascript\" src=\"";
  723.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/gsap/gsap.js"), "html"nulltrue);
  724.         echo "?v=";
  725.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "js/gsap/gsap.js", [], "array"truetruefalse286)) ? (print (twig_escape_filter($this->env, (($__internal_compile_9 = ($context["busters"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["js/gsap/gsap.js"] ?? null) : null), "html"nulltrue))) : (print ("")));
  726.         echo "\"></script>
  727.             <script type=\"text/javascript\" src=\"";
  728.         // line 287
  729.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/gsap/ScrollTrigger.js"), "html"nulltrue);
  730.         echo "?v=";
  731.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "js/gsap/ScrollTrigger.js", [], "array"truetruefalse287)) ? (print (twig_escape_filter($this->env, (($__internal_compile_10 = ($context["busters"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["js/gsap/ScrollTrigger.js"] ?? null) : null), "html"nulltrue))) : (print ("")));
  732.         echo "\"></script>
  733.             <script type=\"text/javascript\" src=\"";
  734.         // line 288
  735.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/frontend/main.js"), "html"nulltrue);
  736.         echo "?v=";
  737.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "js/frontend/main.js", [], "array"truetruefalse288)) ? (print (twig_escape_filter($this->env, (($__internal_compile_11 = ($context["busters"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["js/frontend/main.js"] ?? null) : null), "html"nulltrue))) : (print ("")));
  738.         echo "\"></script>
  739.             ";
  740.         // line 290
  741.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse290), "locale", [], "any"falsefalsefalse290) == "it")) {
  742.             // line 291
  743.             echo "                <script type=\"text/javascript\">
  744.                     MicroModal.init();
  745.                     // MicroModal.show('modalVideo');
  746.                       document.addEventListener(\"DOMContentLoaded\", function() {
  747.                         // --- CONFIG: imposta una stringa 'YYYY-MM-DD' per testare (o lascia null)
  748.                         const DEBUG_DATE = null; // ex: \"2025-10-24\" oppure null per usare la data reale
  749.                         // --- helper per formattare la data come YYYY-MM-DD
  750.                         function formatYYYYMMDD(d) {
  751.                           const yyyy = d.getFullYear();
  752.                           const mm = String(d.getMonth() + 1).padStart(2, \"0\");
  753.                           const dd = String(d.getDate()).padStart(2, \"0\");
  754.                           return `\${yyyy}-\${mm}-\${dd}`;
  755.                         }
  756.                         // --- ottenere \"oggi\" rispettando DEBUG_DATE se presente
  757.                         function getTodayDateObject() {
  758.                           if (DEBUG_DATE) {
  759.                             // crea Date da DEBUG_DATE (assume formato YYYY-MM-DD)
  760.                             const parts = DEBUG_DATE.split(\"-\");
  761.                             return new Date(Number(parts[0]), Number(parts[1]) - 1, Number(parts[2]));
  762.                           }
  763.                           return new Date();
  764.                         }
  765.                         // --- cookie base helpers ---
  766.                         function setRawCookie(name, value, expiresDate) {
  767.                           const expires = expiresDate ? `; expires=\${expiresDate.toUTCString()}` : \"\";
  768.                           document.cookie = `\${name}=\${encodeURIComponent(value)}\${expires}; path=/`;
  769.                         }
  770.                         function getRawCookie(name) {
  771.                           const value = `; \${document.cookie}`;
  772.                           const parts = value.split(`; \${name}=`);
  773.                           if (parts.length === 2) return decodeURIComponent(parts.pop().split(\";\").shift());
  774.                           return null;
  775.                         }
  776.                         // --- setta cookie con valore = data odierna (YYYY-MM-DD) e scadenza a mezzanotte successiva ---
  777.                         function setCookieWithDate(name) {
  778.                           const today = getTodayDateObject();
  779.                           const dateStr = formatYYYYMMDD(today);
  780.                           // calcola mezzanotte del giorno successivo
  781.                           const midnight = new Date(today);
  782.                           midnight.setHours(24, 0, 0, 0); // mezzanotte successiva
  783.                           setRawCookie(name, dateStr, midnight);
  784.                           console.log(`[Modal] Imposto cookie \"\${name}\" = \${dateStr} (scade: \${midnight.toString()})`);
  785.                         }
  786.                         // --- ritorna la data memorizzata nel cookie solo se corrisponde alla \"data corrente\" ---
  787.                         function getValidCookieDate(name) {
  788.                           const stored = getRawCookie(name);
  789.                           if (!stored) return null;
  790.                           const today = getTodayDateObject();
  791.                           const todayStr = formatYYYYMMDD(today);
  792.                           if (stored === todayStr) {
  793.                             console.log(`[Modal] Cookie \"\${name}\" valido per oggi: \${stored}`);
  794.                             return stored;
  795.                           } else {
  796.                             console.log(`[Modal] Cookie \"\${name}\" presente ma non corrisponde a oggi (cookie: \${stored} - oggi: \${todayStr}) -> ignoro`);
  797.                             return null;
  798.                           }
  799.                         }
  800.                         // --- configurazione principale ---
  801.                         const modalId = \"modalVideo\";
  802.                         const modalCookieName = \"modalVideoSeenDate\";
  803.                         // se il cookie valido per oggi esiste -> non mostrare la modale
  804.                         if (getValidCookieDate(modalCookieName)) {
  805.                           console.log(\"[Modal] giĆ  visto oggi: non mostro la modale.\");
  806.                           return;
  807.                         }
  808.                         let cookieSet = false;
  809.                         function markModalSeen() {
  810.                           if (cookieSet) return;
  811.                           cookieSet = true;
  812.                           setCookieWithDate(modalCookieName);
  813.                           removeCloseListeners();
  814.                         }
  815.                         // --- listeners fallback per garantire che il cookie venga impostato ---
  816.                         const closeSelectors = `[data-micromodal-close], .micromodal-close`;
  817.                         let closeElements = [];
  818.                         function addCloseListeners() {
  819.                           const modalEl = document.getElementById(modalId);
  820.                           if (!modalEl) {
  821.                             console.warn(`[Modal] elemento con id=\"\${modalId}\" non trovato.`);
  822.                             return;
  823.                           }
  824.                           closeElements = Array.from(modalEl.querySelectorAll(closeSelectors));
  825.                           closeElements.forEach(el => el.addEventListener(\"click\", markModalSeen));
  826.                           document.addEventListener(\"keydown\", escHandler);
  827.                           // fallback per event custom se presente
  828.                           document.addEventListener(\"micromodal-close\", markModalSeen);
  829.                         }
  830.                         function removeCloseListeners() {
  831.                           closeElements.forEach(el => {
  832.                             try { el.removeEventListener(\"click\", markModalSeen); } catch(e){}
  833.                           });
  834.                           document.removeEventListener(\"keydown\", escHandler);
  835.                           document.removeEventListener(\"micromodal-close\", markModalSeen);
  836.                         }
  837.                         function escHandler(e) {
  838.                           if (e.key === \"Escape\" || e.key === \"Esc\") {
  839.                             const modalEl = document.getElementById(modalId);
  840.                             if (!modalEl) return;
  841.                             const ariaHidden = modalEl.getAttribute(\"aria-hidden\");
  842.                             if (modalEl.classList.contains(\"is-open\") || ariaHidden === \"false\") {
  843.                               markModalSeen();
  844.                             }
  845.                           }
  846.                         }
  847.                         // --- inizializzazione MicroModal con onClose che imposta il cookie ---
  848.                         MicroModal.init({
  849.                           onClose: () => {
  850.                             console.log(\"[Modal] MicroModal onClose fired\");
  851.                             markModalSeen();
  852.                           }
  853.                         });
  854.                         // aggiungiamo fallback listeners e mostriamo la modale dopo load
  855.                         addCloseListeners();
  856.                         window.addEventListener(\"load\", function() {
  857.                           setTimeout(() => {
  858.                             if (!getValidCookieDate(modalCookieName)) {
  859.                               MicroModal.show(modalId);
  860.                               console.log(`[Modal] Mostro la modale: \${modalId}`);
  861.                             } else {
  862.                               console.log(\"[Modal] Cookie valido trovato al momento del load: non mostro.\");
  863.                             }
  864.                           }, 2000);
  865.                         });
  866.                       });
  867.                 </script>
  868.             ";
  869.         }
  870.         // line 443
  871.         echo "        ";
  872.         
  873.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  874.     }
  875.     // line 445
  876.     public function block_javascripts_iubenda($context, array $blocks = [])
  877.     {
  878.         $macros $this->macros;
  879.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  880.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_iubenda"));
  881.         // line 446
  882.         echo "
  883.             <script>
  884.                 var _iub = _iub || [];
  885.                 _iub.csConfiguration = {
  886.                     \"invalidateConsentWithoutLog\": true,
  887.                     \"consentOnContinuedBrowsing\": false,
  888.                     \"perPurposeConsent\": true,
  889.                     \"whitelabel\": false,
  890.                     \"lang\": iubendaIds[locale].locale,
  891.                     \"siteId\": iubendaIds[locale].siteId,
  892.                     \"floatingPreferencesButtonDisplay\": \"bottom-left\",
  893.                     \"cookiePolicyId\": iubendaIds[locale].cookiePolicyId,
  894.                     \"callback\": {
  895.                         \"onPreferenceFirstExpressed\": function(event) {
  896.                             onConsent(event);
  897.                         }
  898.                     },
  899.                     \"banner\": {
  900.                         \"closeButtonRejects\": true,
  901.                         \"rejectButtonDisplay\": true,
  902.                         \"rejectButtonColor\": \"#a2c618\",
  903.                         \"rejectButtonCaptionColor\": \"white\",
  904.                         \"explicitWithdrawal\": true,
  905.                         \"position\": \"float-center\",
  906.                         \"textColor\": \"black\",
  907.                         \"backgroundColor\": \"white\",
  908.                         \"listPurposes\": true,
  909.                         \"acceptButtonDisplay\": true,
  910.                         \"acceptButtonColor\": \"#046A38\",
  911.                         \"acceptButtonCaptionColor\": \"white\",
  912.                         \"customizeButtonDisplay\": true,
  913.                         \"customizeButtonColor\": \"#A3A3A3\",
  914.                         \"customizeButtonCaptionColor\": \"white\"
  915.                     }
  916.                 };
  917.             </script>
  918.             <script type=\"text/javascript\" src=\"//cdn.iubenda.com/cs/gpp/stub.js\"></script>
  919.             <script type=\"text/javascript\" src=\"//cdn.iubenda.com/cs/iubenda_cs.js\" charset=\"UTF-8\" async></script>
  920.         ";
  921.         
  922.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  923.     }
  924.     public function getTemplateName()
  925.     {
  926.         return "base.html.twig";
  927.     }
  928.     public function isTraitable()
  929.     {
  930.         return false;
  931.     }
  932.     public function getDebugInfo()
  933.     {
  934.         return array (  1002 => 446,  995 => 445,  988 => 443,  834 => 291,  832 => 290,  825 => 288,  819 => 287,  812 => 286,  805 => 285,  792 => 257,  784 => 254,  782 => 253,  781 => 252,  778 => 251,  774 => 249,  771 => 248,  768 => 247,  765 => 246,  758 => 245,  745 => 242,  732 => 240,  724 => 233,  722 => 232,  720 => 230,  713 => 229,  701 => 279,  683 => 263,  681 => 262,  675 => 258,  673 => 257,  670 => 256,  668 => 245,  664 => 243,  662 => 242,  659 => 241,  657 => 240,  650 => 235,  648 => 229,  643 => 227,  638 => 224,  631 => 223,  622 => 219,  615 => 218,  590 => 216,  578 => 208,  571 => 207,  559 => 124,  555 => 123,  551 => 122,  546 => 120,  541 => 117,  534 => 116,  521 => 105,  508 => 91,  502 => 90,  496 => 89,  490 => 88,  484 => 87,  478 => 86,  474 => 85,  469 => 84,  458 => 74,  456 => 71,  449 => 70,  442 => 48,  437 => 45,  432 => 42,  429 => 41,  422 => 40,  415 => 38,  412 => 37,  401 => 35,  396 => 34,  393 => 33,  382 => 31,  377 => 30,  374 => 29,  367 => 28,  360 => 26,  354 => 24,  351 => 23,  344 => 22,  336 => 19,  333 => 18,  330 => 17,  327 => 16,  324 => 15,  322 => 14,  319 => 13,  312 => 12,  303 => 486,  301 => 445,  298 => 444,  295 => 285,  293 => 223,  290 => 222,  288 => 218,  275 => 216,  271 => 214,  269 => 207,  203 => 144,  189 => 133,  183 => 129,  181 => 116,  171 => 108,  169 => 7,  165 => 106,  163 => 105,  156 => 101,  148 => 95,  146 => 70,  130 => 56,  117 => 54,  112 => 53,  110 => 52,  105 => 50,  102 => 49,  100 => 40,  97 => 39,  95 => 28,  92 => 27,  90 => 22,  87 => 21,  85 => 12,  79 => 8,  77 => 7,  74 => 6,  71 => 5,  68 => 4,  66 => 3,  62 => 2,  59 => 1,);
  935.     }
  936.     public function getSourceContext()
  937.     {
  938.         return new Source("""base.html.twig""/var/www/releases/68/templates/base.html.twig");
  939.     }
  940. }