var/cache/dev/twig/cb/cb8acbbe8ab1b7d4f35f5a1e42a7f97244e4219aac80e6f608e0df4babf1235a.php line 44

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* website/home/home.html.twig */
  14. class __TwigTemplate_7cc560476b119eb69887b7cebe1e7caec0ae9ae0ea0dc7a8bfec797e8da8a83b extends 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->blocks = [
  23.             'headScripts' => [$this'block_headScripts'],
  24.             'bodyTag' => [$this'block_bodyTag'],
  25.             'body' => [$this'block_body'],
  26.             'newsletterSection' => [$this'block_newsletterSection'],
  27.             'socialSection' => [$this'block_socialSection'],
  28.             'institutionalSection' => [$this'block_institutionalSection'],
  29.             'stampsSection' => [$this'block_stampsSection'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "website/main.template.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/home/home.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/home/home.html.twig"));
  44.         $this->parent $this->loadTemplate("website/main.template.html.twig""website/home/home.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_headScripts($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headScripts"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headScripts"));
  59.         // line 4
  60.         echo "
  61. \t";
  62.         // line 5
  63.         if ((=== twig_compare((isset($context["activeMetrics"]) || array_key_exists("activeMetrics"$context) ? $context["activeMetrics"] : (function () { throw new RuntimeError('Variable "activeMetrics" does not exist.'5$this->source); })()), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ClientEnum::YES")))) {
  64.             // line 6
  65.             echo "\t    <script>
  66. \t        (function(h,o,t,j,a,r){
  67. \t            h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
  68. \t            h._hjSettings={hjid:3636984,hjsv:6};
  69. \t            a=o.getElementsByTagName('head')[0];
  70. \t            r=o.createElement('script');r.async=1;
  71. \t            r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
  72. \t            a.appendChild(r);
  73. \t        })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
  74. \t    </script>
  75. \t";
  76.         }
  77.         // line 17
  78.         echo "
  79. ";
  80.         
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  82.         
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  84.     }
  85.     // line 20
  86.     public function block_bodyTag($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyTag"));
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyTag"));
  93.         // line 21
  94.         echo "    <body id=\"body\" class=\"home-body\" data-theme=\"";
  95.         echo (((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme"$context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.'21$this->source); })())) ? ("dark") : ("light"));
  96.         echo "\"";
  97.         if ((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme"$context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.'21$this->source); })())) {
  98.             echo " data-hide-deco=\"";
  99.             echo (((isset($context["hideBgDeco"]) || array_key_exists("hideBgDeco"$context) ? $context["hideBgDeco"] : (function () { throw new RuntimeError('Variable "hideBgDeco" does not exist.'21$this->source); })())) ? (1) : (0));
  100.             echo "\"";
  101.         }
  102.         echo ">
  103. ";
  104.         
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  106.         
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  108.     }
  109.     // line 24
  110.     public function block_body($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  117.         // line 25
  118.         echo "\t<div class=\"pag-home\">
  119. \t\t";
  120.         // line 26
  121.         $context['_parent'] = $context;
  122.         $context['_seq'] = twig_ensure_traversable((isset($context["homeLayoutSections"]) || array_key_exists("homeLayoutSections"$context) ? $context["homeLayoutSections"] : (function () { throw new RuntimeError('Variable "homeLayoutSections" does not exist.'26$this->source); })()));
  123.         $context['loop'] = [
  124.           'parent' => $context['_parent'],
  125.           'index0' => 0,
  126.           'index'  => 1,
  127.           'first'  => true,
  128.         ];
  129.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  130.             $length count($context['_seq']);
  131.             $context['loop']['revindex0'] = $length 1;
  132.             $context['loop']['revindex'] = $length;
  133.             $context['loop']['length'] = $length;
  134.             $context['loop']['last'] = === $length;
  135.         }
  136.         foreach ($context['_seq'] as $context["homeLayoutSection"] => $context["value"]) {
  137.             // line 27
  138.             echo "\t\t\t";
  139.             if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isPageSection($context["value"])) {
  140.                 // line 28
  141.                 echo "\t\t\t\t";
  142.                 $this->loadTemplate("website/home/section.html.twig""website/home/home.html.twig"28)->display(twig_array_merge($context, ["section" => $context["value"]]));
  143.                 // line 29
  144.                 echo "\t\t\t";
  145.             } else {
  146.                 // line 30
  147.                 echo "\t\t\t\t";
  148.                 if ((=== twig_compare($context["homeLayoutSection"], "teacherSection"))) {
  149.                     // line 31
  150.                     echo "\t\t\t\t\t";
  151.                     $context["section"] = (isset($context["teacherSection"]) || array_key_exists("teacherSection"$context) ? $context["teacherSection"] : (function () { throw new RuntimeError('Variable "teacherSection" does not exist.'31$this->source); })());
  152.                     // line 32
  153.                     echo "\t\t\t\t";
  154.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "bannerSection"))) {
  155.                     // line 33
  156.                     echo "\t\t\t\t\t";
  157.                     $context["section"] = (isset($context["bannerSection"]) || array_key_exists("bannerSection"$context) ? $context["bannerSection"] : (function () { throw new RuntimeError('Variable "bannerSection" does not exist.'33$this->source); })());
  158.                     // line 34
  159.                     echo "\t\t\t\t";
  160.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "productCategorySection"))) {
  161.                     // line 35
  162.                     echo "\t\t\t\t\t";
  163.                     $context["section"] = (isset($context["productCategorySection"]) || array_key_exists("productCategorySection"$context) ? $context["productCategorySection"] : (function () { throw new RuntimeError('Variable "productCategorySection" does not exist.'35$this->source); })());
  164.                     // line 36
  165.                     echo "\t\t\t\t";
  166.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "institutionalSection"))) {
  167.                     // line 37
  168.                     echo "\t\t\t\t\t";
  169.                     $context["section"] = (isset($context["institutionalSection"]) || array_key_exists("institutionalSection"$context) ? $context["institutionalSection"] : (function () { throw new RuntimeError('Variable "institutionalSection" does not exist.'37$this->source); })());
  170.                     // line 38
  171.                     echo "\t\t\t\t";
  172.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "testimonialSection"))) {
  173.                     // line 39
  174.                     echo "\t\t\t\t\t";
  175.                     $context["section"] = (isset($context["testimonialSection"]) || array_key_exists("testimonialSection"$context) ? $context["testimonialSection"] : (function () { throw new RuntimeError('Variable "testimonialSection" does not exist.'39$this->source); })());
  176.                     // line 40
  177.                     echo "\t\t\t\t";
  178.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "newsSection"))) {
  179.                     // line 41
  180.                     echo "\t\t\t\t\t";
  181.                     $context["section"] = (isset($context["newsSection"]) || array_key_exists("newsSection"$context) ? $context["newsSection"] : (function () { throw new RuntimeError('Variable "newsSection" does not exist.'41$this->source); })());
  182.                     // line 42
  183.                     echo "\t\t\t\t";
  184.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "faqSection"))) {
  185.                     // line 43
  186.                     echo "\t\t\t\t\t";
  187.                     $context["section"] = (isset($context["faqSection"]) || array_key_exists("faqSection"$context) ? $context["faqSection"] : (function () { throw new RuntimeError('Variable "faqSection" does not exist.'43$this->source); })());
  188.                     // line 44
  189.                     echo "\t\t\t\t";
  190.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "socialSection"))) {
  191.                     // line 45
  192.                     echo "\t\t\t\t\t";
  193.                     $context["section"] = (isset($context["socialSection"]) || array_key_exists("socialSection"$context) ? $context["socialSection"] : (function () { throw new RuntimeError('Variable "socialSection" does not exist.'45$this->source); })());
  194.                     // line 46
  195.                     echo "\t\t\t\t";
  196.                 } elseif ((=== twig_compare($context["homeLayoutSection"], "stampsSection"))) {
  197.                     // line 47
  198.                     echo "\t\t\t\t\t";
  199.                     $context["section"] = (isset($context["stampsSection"]) || array_key_exists("stampsSection"$context) ? $context["stampsSection"] : (function () { throw new RuntimeError('Variable "stampsSection" does not exist.'47$this->source); })());
  200.                     // line 48
  201.                     echo "\t\t\t\t";
  202.                 }
  203.                 // line 49
  204.                 echo "
  205. \t\t\t\t";
  206.                 // line 50
  207.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["value"], "active", [], "any"falsefalsefalse50), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ClientEnum::YES")))) {
  208.                     // line 51
  209.                     echo "\t\t\t\t\t";
  210.                     $context["sectionTemplate"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getSection($context["homeLayoutSection"]);
  211.                     // line 52
  212.                     echo "\t\t\t\t\t";
  213.                     if ((isset($context["sectionTemplate"]) || array_key_exists("sectionTemplate"$context) ? $context["sectionTemplate"] : (function () { throw new RuntimeError('Variable "sectionTemplate" does not exist.'52$this->source); })())) {
  214.                         // line 53
  215.                         echo "\t\t\t\t\t\t";
  216.                         $this->loadTemplate((isset($context["sectionTemplate"]) || array_key_exists("sectionTemplate"$context) ? $context["sectionTemplate"] : (function () { throw new RuntimeError('Variable "sectionTemplate" does not exist.'53$this->source); })()), "website/home/home.html.twig"53)->display(twig_array_merge($context, ["layout" => "home""theme" => ((                        // line 55
  217. (isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme"$context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.'55$this->source); })())) ? ("dark") : ("light"))]));
  218.                         // line 57
  219.                         echo "\t\t\t\t\t";
  220.                     }
  221.                     // line 58
  222.                     echo "\t\t\t\t";
  223.                 }
  224.                 // line 59
  225.                 echo "\t\t\t";
  226.             }
  227.             // line 60
  228.             echo "\t\t";
  229.             ++$context['loop']['index0'];
  230.             ++$context['loop']['index'];
  231.             $context['loop']['first'] = false;
  232.             if (isset($context['loop']['length'])) {
  233.                 --$context['loop']['revindex0'];
  234.                 --$context['loop']['revindex'];
  235.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  236.             }
  237.         }
  238.         $_parent $context['_parent'];
  239.         unset($context['_seq'], $context['_iterated'], $context['homeLayoutSection'], $context['value'], $context['_parent'], $context['loop']);
  240.         $context array_intersect_key($context$_parent) + $_parent;
  241.         // line 61
  242.         echo "
  243. \t\t";
  244.         // line 62
  245.         $this->loadTemplate("website/includes/pwa.html.twig""website/home/home.html.twig"62)->display($context);
  246.         // line 63
  247.         echo "\t</div>
  248. \t";
  249.         // line 65
  250.         $this->displayBlock('newsletterSection'$context$blocks);
  251.         // line 67
  252.         echo "\t
  253. \t";
  254.         // line 68
  255.         $this->displayBlock('socialSection'$context$blocks);
  256.         // line 70
  257.         echo "
  258. \t";
  259.         // line 71
  260.         $this->displayBlock('institutionalSection'$context$blocks);
  261.         // line 73
  262.         echo "
  263. \t";
  264.         // line 74
  265.         $this->displayBlock('stampsSection'$context$blocks);
  266.         // line 76
  267.         echo "
  268. ";
  269.         
  270.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  271.         
  272.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  273.     }
  274.     // line 65
  275.     public function block_newsletterSection($context, array $blocks = [])
  276.     {
  277.         $macros $this->macros;
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  279.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""newsletterSection"));
  280.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  281.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""newsletterSection"));
  282.         // line 66
  283.         echo "\t";
  284.         
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  286.         
  287.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  288.     }
  289.     // line 68
  290.     public function block_socialSection($context, array $blocks = [])
  291.     {
  292.         $macros $this->macros;
  293.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialSection"));
  295.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  296.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""socialSection"));
  297.         // line 69
  298.         echo "\t";
  299.         
  300.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  301.         
  302.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  303.     }
  304.     // line 71
  305.     public function block_institutionalSection($context, array $blocks = [])
  306.     {
  307.         $macros $this->macros;
  308.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  309.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""institutionalSection"));
  310.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""institutionalSection"));
  312.         // line 72
  313.         echo "\t";
  314.         
  315.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  316.         
  317.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  318.     }
  319.     // line 74
  320.     public function block_stampsSection($context, array $blocks = [])
  321.     {
  322.         $macros $this->macros;
  323.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stampsSection"));
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stampsSection"));
  327.         // line 75
  328.         echo "\t";
  329.         
  330.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  331.         
  332.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  333.     }
  334.     public function getTemplateName()
  335.     {
  336.         return "website/home/home.html.twig";
  337.     }
  338.     public function isTraitable()
  339.     {
  340.         return false;
  341.     }
  342.     public function getDebugInfo()
  343.     {
  344.         return array (  373 => 75,  363 => 74,  353 => 72,  343 => 71,  333 => 69,  323 => 68,  313 => 66,  303 => 65,  292 => 76,  290 => 74,  287 => 73,  285 => 71,  282 => 70,  280 => 68,  277 => 67,  275 => 65,  271 => 63,  269 => 62,  266 => 61,  252 => 60,  249 => 59,  246 => 58,  243 => 57,  241 => 55,  239 => 53,  236 => 52,  233 => 51,  231 => 50,  228 => 49,  225 => 48,  222 => 47,  219 => 46,  216 => 45,  213 => 44,  210 => 43,  207 => 42,  204 => 41,  201 => 40,  198 => 39,  195 => 38,  192 => 37,  189 => 36,  186 => 35,  183 => 34,  180 => 33,  177 => 32,  174 => 31,  171 => 30,  168 => 29,  165 => 28,  162 => 27,  145 => 26,  142 => 25,  132 => 24,  113 => 21,  103 => 20,  92 => 17,  79 => 6,  77 => 5,  74 => 4,  64 => 3,  41 => 1,);
  345.     }
  346.     public function getSourceContext()
  347.     {
  348.         return new Source("{% extends 'website/main.template.html.twig' %}
  349. {% block headScripts %}
  350. \t{% if activeMetrics == enum('ClientEnum::YES') %}
  351. \t    <script>
  352. \t        (function(h,o,t,j,a,r){
  353. \t            h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
  354. \t            h._hjSettings={hjid:3636984,hjsv:6};
  355. \t            a=o.getElementsByTagName('head')[0];
  356. \t            r=o.createElement('script');r.async=1;
  357. \t            r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
  358. \t            a.appendChild(r);
  359. \t        })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
  360. \t    </script>
  361. \t{% endif %}
  362. {% endblock %}
  363. {% block bodyTag %}
  364.     <body id=\"body\" class=\"home-body\" data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"{% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}>
  365. {% endblock %}
  366. {% block body %}
  367. \t<div class=\"pag-home\">
  368. \t\t{% for homeLayoutSection, value in homeLayoutSections %}
  369. \t\t\t{% if isPageSection(value) %}
  370. \t\t\t\t{% include 'website/home/section.html.twig' with { section: value } %}
  371. \t\t\t{% else %}
  372. \t\t\t\t{% if homeLayoutSection == 'teacherSection' %}
  373. \t\t\t\t\t{% set section = teacherSection %}
  374. \t\t\t\t{% elseif  homeLayoutSection == 'bannerSection' %}
  375. \t\t\t\t\t{% set section = bannerSection %}
  376. \t\t\t\t{% elseif  homeLayoutSection == 'productCategorySection' %}
  377. \t\t\t\t\t{% set section = productCategorySection %}
  378. \t\t\t\t{% elseif  homeLayoutSection == 'institutionalSection' %}
  379. \t\t\t\t\t{% set section = institutionalSection %}
  380. \t\t\t\t{% elseif  homeLayoutSection == 'testimonialSection' %}
  381. \t\t\t\t\t{% set section = testimonialSection %}
  382. \t\t\t\t{% elseif  homeLayoutSection == 'newsSection' %}
  383. \t\t\t\t\t{% set section = newsSection %}
  384. \t\t\t\t{% elseif  homeLayoutSection == 'faqSection' %}
  385. \t\t\t\t\t{% set section = faqSection %}
  386. \t\t\t\t{% elseif  homeLayoutSection == 'socialSection' %}
  387. \t\t\t\t\t{% set section = socialSection %}
  388. \t\t\t\t{% elseif  homeLayoutSection == 'stampsSection' %}
  389. \t\t\t\t\t{% set section = stampsSection %}
  390. \t\t\t\t{% endif %}
  391. \t\t\t\t{% if value.active == enum('ClientEnum::YES') %}
  392. \t\t\t\t\t{% set sectionTemplate = getSection(homeLayoutSection) %}
  393. \t\t\t\t\t{% if sectionTemplate %}
  394. \t\t\t\t\t\t{% include sectionTemplate with {
  395. \t\t\t\t\t\t\tlayout: 'home',
  396. \t\t\t\t\t\t\ttheme: (isDarkTheme ? 'dark':'light')
  397. \t\t\t\t\t\t}%}
  398. \t\t\t\t\t{% endif %}
  399. \t\t\t\t{% endif %}
  400. \t\t\t{% endif %}
  401. \t\t{% endfor %}
  402. \t\t{% include 'website/includes/pwa.html.twig' %}
  403. \t</div>
  404. \t{% block newsletterSection %}
  405. \t{% endblock %}
  406. \t
  407. \t{% block socialSection %}
  408. \t{% endblock %}
  409. \t{% block institutionalSection %}
  410. \t{% endblock %}
  411. \t{% block stampsSection %}
  412. \t{% endblock %}
  413. {% endblock %}
  414. ""website/home/home.html.twig""/var/www/html/templates/website/home/home.html.twig");
  415.     }
  416. }