var/cache/dev/twig/f7/f761ca4318eabb9feccf16904d749c0b11641f8381e38acd2eb6722327ccdf5e.php line 95

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. /* front/_common/_base.html.twig */
  14. class __TwigTemplate_234d478456b338d3dfd64657e6e7175f7b8f5fad41e611a08d0607b88dfe728f 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->parent false;
  23.         $this->blocks = [
  24.             'linkcanonical' => [$this'block_linkcanonical'],
  25.             'cssadicional' => [$this'block_cssadicional'],
  26.             'classbody' => [$this'block_classbody'],
  27.             'content' => [$this'block_content'],
  28.             'jsfinal' => [$this'block_jsfinal'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/_common/_base.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/_common/_base.html.twig"));
  38.         // line 1
  39.         $context["STATIC_URL"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/");
  40.         // line 2
  41.         $context["BUILD_ID"] = "1";
  42.         // line 3
  43.         echo "<!DOCTYPE html>
  44. <html lang=\"";
  45.         // line 4
  46.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "locale", [], "any"falsefalsefalse4), "html"nulltrue);
  47.         echo "\">
  48. <head>
  49.     <meta charset=\"utf-8\">
  50.     <meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\"/>
  51.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
  52.     <meta name=\"theme-color\" content=\"#000000\"/>
  53. \t<link rel=\"stylesheet\" href=\"";
  54.         // line 10
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/validationform/validationEngine.jquery.css"), "html"nulltrue);
  56.         echo "\">
  57.     <link rel=\"stylesheet\" href=\"";
  58.         // line 11
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/styles.css"), "html"nulltrue);
  60.         echo "\">
  61.     <link rel=\"stylesheet\" href=\"";
  62.         // line 12
  63.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/blocks_styl.css"), "html"nulltrue);
  64.         echo "\">
  65.     ";
  66.         // line 14
  67.         $context["seo"] = null;
  68.         // line 15
  69.         echo "    ";
  70.         if ((!== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "attributes", [], "any"falsefalsefalse15), "get", [=> "_route"], "method"falsefalsefalse15), ""))) {
  71.             // line 16
  72.             echo "        ";
  73.             $context["url_seo"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "attributes", [], "any"falsefalsefalse16), "get", [=> "_route"], "method"falsefalsefalse16), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 17
  74. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "attributes", [], "any"falsefalsefalse17), "get", [=> "_route_params"], "method"falsefalsefalse17));
  75.             // line 18
  76.             echo "        ";
  77.             $context["seo"] = $this->extensions['App\Twig\MetatagsExtension']->metatags((isset($context["url_seo"]) || array_key_exists("url_seo"$context) ? $context["url_seo"] : (function () { throw new RuntimeError('Variable "url_seo" does not exist.'18$this->source); })()));
  78.             // line 19
  79.             echo "    ";
  80.         }
  81.         // line 20
  82.         echo "
  83.     ";
  84.         // line 21
  85.         $this->displayBlock('linkcanonical'$context$blocks);
  86.         // line 22
  87.         echo "
  88.     ";
  89.         // line 23
  90.         $this->loadTemplate("front/_common/_metatags.html.twig""front/_common/_base.html.twig"23)->display($context);
  91.         // line 24
  92.         echo "
  93.     ";
  94.         // line 25
  95.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'25$this->source); })()), "scriptsMeta", [], "any"falsefalsefalse25)) {
  96.             // line 26
  97.             echo "        ";
  98.             echo twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'26$this->source); })()), "scriptsMeta", [], "any"falsefalsefalse26);
  99.             echo "
  100.     ";
  101.         }
  102.         // line 28
  103.         echo "    ";
  104.         if (( !(null === (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'28$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'28$this->source); })()), "scriptsMeta", [], "any"falsefalsefalse28))) {
  105.             // line 29
  106.             echo "        ";
  107.             echo twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'29$this->source); })()), "scriptsMeta", [], "any"falsefalsefalse29);
  108.             echo "
  109.     ";
  110.         }
  111.         // line 31
  112.         echo "
  113.     ";
  114.         // line 32
  115.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'32$this->source); })()), "seoFavicon", [], "any"falsefalsefalse32)) {
  116.             // line 33
  117.             echo "        ";
  118.             // line 34
  119.             echo "        <!-- inicio favicon  iphone retina, ipad, iphone en orden-->
  120.         <link rel=\"icon\" type=\"image/png\" href=\"";
  121.             // line 35
  122.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'35$this->source); })()), "seoFavicon", [], "any"falsefalsefalse35))), "html"nulltrue);
  123.             echo "\"/>
  124.         <link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"";
  125.             // line 36
  126.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'36$this->source); })()), "seoFavicon", [], "any"falsefalsefalse36))), "html"nulltrue);
  127.             echo "\">
  128.         <link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"";
  129.             // line 37
  130.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'37$this->source); })()), "seoFavicon", [], "any"falsefalsefalse37))), "html"nulltrue);
  131.             echo "\">
  132.         <link rel=\"apple-touch-icon-precomposed\" href=\"";
  133.             // line 38
  134.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'38$this->source); })()), "seoFavicon", [], "any"falsefalsefalse38))), "html"nulltrue);
  135.             echo "\">
  136.         <!-- end favicon -->
  137.     ";
  138.         }
  139.         // line 41
  140.         echo "
  141.     ";
  142.         // line 42
  143.         $this->displayBlock('cssadicional'$context$blocks);
  144.         // line 43
  145.         echo "
  146.     ";
  147.         // line 45
  148.         echo "
  149.     ";
  150.         // line 47
  151.         echo "
  152.     ";
  153.         // line 48
  154.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'48$this->source); })()), "scriptsHeader", [], "any"falsefalsefalse48)) {
  155.             // line 49
  156.             echo "        ";
  157.             echo twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'49$this->source); })()), "scriptsHeader", [], "any"falsefalsefalse49);
  158.             echo "
  159.     ";
  160.         }
  161.         // line 51
  162.         echo "    ";
  163.         if (( !(null === (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'51$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'51$this->source); })()), "scriptsHeader", [], "any"falsefalsefalse51))) {
  164.             // line 52
  165.             echo "        ";
  166.             echo twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'52$this->source); })()), "scriptsHeader", [], "any"falsefalsefalse52);
  167.             echo "
  168.     ";
  169.         }
  170.         // line 54
  171.         echo "</head>
  172. <body class=\"";
  173.         // line 56
  174.         $this->displayBlock('classbody'$context$blocks);
  175.         echo "\">
  176. ";
  177.         // line 58
  178.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'58$this->source); })()), "scriptsBody", [], "any"falsefalsefalse58)) {
  179.             // line 59
  180.             echo "    ";
  181.             echo twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'59$this->source); })()), "scriptsBody", [], "any"falsefalsefalse59);
  182.             echo "
  183. ";
  184.         }
  185.         // line 61
  186.         if (( !(null === (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'61$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'61$this->source); })()), "scriptsBody", [], "any"falsefalsefalse61))) {
  187.             // line 62
  188.             echo "    ";
  189.             echo twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'62$this->source); })()), "scriptsBody", [], "any"falsefalsefalse62);
  190.             echo "
  191. ";
  192.         }
  193.         // line 64
  194.         echo "
  195. ";
  196.         // line 65
  197.         $this->loadTemplate("front/_common/_header.html.twig""front/_common/_base.html.twig"65)->display($context);
  198.         // line 66
  199.         $this->displayBlock('content'$context$blocks);
  200.         // line 67
  201.         $this->loadTemplate("front/_common/_footer.html.twig""front/_common/_base.html.twig"67)->display($context);
  202.         // line 68
  203.         echo "
  204. ";
  205.         // line 70
  206.         echo "<script src=\"";
  207.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/jquery-3.2.1.min.js"), "html"nulltrue);
  208.         echo "\"></script>
  209. <script src=\"";
  210.         // line 71
  211.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js"), "html"nulltrue);
  212.         echo "\"></script>
  213. <script src=\"";
  214.         // line 72
  215.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/header.js"), "html"nulltrue);
  216.         echo "\"></script>
  217. ";
  218.         // line 74
  219.         echo "
  220. ";
  221.         // line 75
  222.         $this->displayBlock('jsfinal'$context$blocks);
  223.         // line 76
  224.         echo "
  225. <script>
  226.     \$(function(){
  227.         //+++ FOOTER RESPONSIVE - ACORDEON +++
  228.         if(\$(window).innerWidth() < 1025){
  229.             \$('.footer_subtitle_resp').on('click', function(event){
  230.                 console.log(\"footer aquiiiii\");
  231.                 if (\$(this).hasClass('active')) {
  232.                     \$(this).removeClass('active').parent().find('.footer_menu').stop().slideUp();
  233.                 }else{
  234.                     \$('.footer_subtitle_resp').removeClass('active');
  235.                     \$('.footer_menu').stop().slideUp();
  236.                     \$(this).addClass('active').parent().find('.footer_menu').stop().slideToggle();
  237.                 };
  238.             })
  239.         }
  240.         //<<< END >>>
  241.     });
  242.     ";
  243.         // line 95
  244.         echo "
  245.     ";
  246.         // line 97
  247.         echo "
  248.     function storeUtms(\$data) {
  249.         \$.ajax({
  250.             url: '";
  251.         // line 100
  252.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("store_utms");
  253.         echo "',
  254.             type: 'get',
  255.             dataType: 'json',
  256.             data: \$data,
  257.             success: function (data) {
  258.                 updateUtm(data);
  259.             }
  260.         })
  261.     }
  262.     function updateUtm(data) {
  263.         if (data['utm_source']) {
  264.             \$('.form_utmsource').val(data['utm_source']);
  265.         }
  266.         if (data['utm_medium']) {
  267.             \$('.form_utmmedium').val(data['utm_medium']);
  268.         }
  269.         if (data['utm_source']) {
  270.             \$('.form_utmsource').val(data['utm_source']);
  271.         }
  272.         if (data['utm_campaign']) {
  273.             \$('.form_utmcampaign').val(data['utm_campaign']);
  274.         }
  275.         if (data['utm_term']) {
  276.             \$('.form_utmterm').val(data['utm_term']);
  277.         }
  278.         if (data['utm_content']) {
  279.             \$('.form_utmcontent').val(data['utm_content']);
  280.         }
  281.         if (data['utm_gclid']) {
  282.             \$('.form_gclid').val(data['utm_gclid']);
  283.         }
  284.     }
  285.     let utm_data = {};
  286.     ";
  287.         // line 135
  288.         $context["utm_params"] = [=> "utm_source"=> "utm_campaign"=> "utm_medium"=> "utm_term"=> "utm_content"=> "gclid"];
  289.         // line 136
  290.         echo "    ";
  291.         $context['_parent'] = $context;
  292.         $context['_seq'] = twig_ensure_traversable((isset($context["utm_params"]) || array_key_exists("utm_params"$context) ? $context["utm_params"] : (function () { throw new RuntimeError('Variable "utm_params" does not exist.'136$this->source); })()));
  293.         foreach ($context['_seq'] as $context["_key"] => $context["u"]) {
  294.             // line 137
  295.             echo "        ";
  296.             if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse137), "get", [=> $context["u"]], "method"truetruefalse137)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse137), "get", [=> $context["u"]], "method"falsefalsefalse137), "")) : (""))) {
  297.                 // line 138
  298.                 echo "            utm_data['";
  299.                 echo twig_escape_filter($this->env$context["u"], "html"nulltrue);
  300.                 echo "'] = '";
  301.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'138$this->source); })()), "request", [], "any"falsefalsefalse138), "get", [=> $context["u"]], "method"falsefalsefalse138), "html"nulltrue);
  302.                 echo "';
  303.         ";
  304.             }
  305.             // line 140
  306.             echo "    ";
  307.         }
  308.         $_parent $context['_parent'];
  309.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']);
  310.         $context array_intersect_key($context$_parent) + $_parent;
  311.         // line 141
  312.         echo "    if (!\$.isEmptyObject(utm_data)) {
  313.         storeUtms(utm_data);
  314.     }
  315.     ";
  316.         // line 145
  317.         $this->loadTemplate("front/templates/utms.html.twig""front/_common/_base.html.twig"145)->display($context);
  318.         // line 146
  319.         echo "</script>
  320. ";
  321.         // line 148
  322.         if (twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'148$this->source); })()), "scriptsFooter", [], "any"falsefalsefalse148)) {
  323.             // line 149
  324.             echo "    ";
  325.             echo twig_get_attribute($this->env$this->source, (isset($context["info"]) || array_key_exists("info"$context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.'149$this->source); })()), "scriptsFooter", [], "any"falsefalsefalse149);
  326.             echo "
  327. ";
  328.         }
  329.         // line 151
  330.         if (( !(null === (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'151$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'151$this->source); })()), "scriptsFooter", [], "any"falsefalsefalse151))) {
  331.             // line 152
  332.             echo "    ";
  333.             echo twig_get_attribute($this->env$this->source, (isset($context["seo"]) || array_key_exists("seo"$context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.'152$this->source); })()), "scriptsFooter", [], "any"falsefalsefalse152);
  334.             echo "
  335. ";
  336.         }
  337.         // line 154
  338.         echo "
  339. </body>
  340. </html>
  341. ";
  342.         
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  344.         
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  346.     }
  347.     // line 21
  348.     public function block_linkcanonical($context, array $blocks = [])
  349.     {
  350.         $macros $this->macros;
  351.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  352.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkcanonical"));
  353.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkcanonical"));
  355.         
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  357.         
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  359.     }
  360.     // line 42
  361.     public function block_cssadicional($context, array $blocks = [])
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssadicional"));
  366.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssadicional"));
  368.         
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  370.         
  371.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  372.     }
  373.     // line 56
  374.     public function block_classbody($context, array $blocks = [])
  375.     {
  376.         $macros $this->macros;
  377.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""classbody"));
  379.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""classbody"));
  381.         
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  383.         
  384.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  385.     }
  386.     // line 66
  387.     public function block_content($context, array $blocks = [])
  388.     {
  389.         $macros $this->macros;
  390.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  391.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  392.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  393.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  394.         
  395.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  396.         
  397.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  398.     }
  399.     // line 75
  400.     public function block_jsfinal($context, array $blocks = [])
  401.     {
  402.         $macros $this->macros;
  403.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  404.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsfinal"));
  405.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  406.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsfinal"));
  407.         
  408.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  409.         
  410.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  411.     }
  412.     public function getTemplateName()
  413.     {
  414.         return "front/_common/_base.html.twig";
  415.     }
  416.     public function isTraitable()
  417.     {
  418.         return false;
  419.     }
  420.     public function getDebugInfo()
  421.     {
  422.         return array (  439 => 75,  421 => 66,  403 => 56,  385 => 42,  367 => 21,  354 => 154,  348 => 152,  346 => 151,  340 => 149,  338 => 148,  334 => 146,  332 => 145,  326 => 141,  320 => 140,  312 => 138,  309 => 137,  304 => 136,  302 => 135,  264 => 100,  259 => 97,  256 => 95,  236 => 76,  234 => 75,  231 => 74,  227 => 72,  223 => 71,  218 => 70,  215 => 68,  213 => 67,  211 => 66,  209 => 65,  206 => 64,  200 => 62,  198 => 61,  192 => 59,  190 => 58,  185 => 56,  181 => 54,  175 => 52,  172 => 51,  166 => 49,  164 => 48,  161 => 47,  158 => 45,  155 => 43,  153 => 42,  150 => 41,  144 => 38,  140 => 37,  136 => 36,  132 => 35,  129 => 34,  127 => 33,  125 => 32,  122 => 31,  116 => 29,  113 => 28,  107 => 26,  105 => 25,  102 => 24,  100 => 23,  97 => 22,  95 => 21,  92 => 20,  89 => 19,  86 => 18,  84 => 17,  82 => 16,  79 => 15,  77 => 14,  72 => 12,  68 => 11,  64 => 10,  55 => 4,  52 => 3,  50 => 2,  48 => 1,);
  423.     }
  424.     public function getSourceContext()
  425.     {
  426.         return new Source("{% set STATIC_URL = asset('static/') %}
  427. {% set BUILD_ID = '1' %}
  428. <!DOCTYPE html>
  429. <html lang=\"{{ app.request.locale }}\">
  430. <head>
  431.     <meta charset=\"utf-8\">
  432.     <meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\"/>
  433.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
  434.     <meta name=\"theme-color\" content=\"#000000\"/>
  435. \t<link rel=\"stylesheet\" href=\"{{ asset('static/js/validationform/validationEngine.jquery.css') }}\">
  436.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/styles.css') }}\">
  437.     <link rel=\"stylesheet\" href=\"{{ asset('static/css/blocks_styl.css') }}\">
  438.     {% set seo = null %}
  439.     {% if app.request.attributes.get('_route') != '' %}
  440.         {% set url_seo = path(app.request.attributes.get('_route'),
  441.             app.request.attributes.get('_route_params')) %}
  442.         {% set seo = url_seo|metatags %}
  443.     {% endif %}
  444.     {% block linkcanonical %}{% endblock %}
  445.     {% include 'front/_common/_metatags.html.twig' %}
  446.     {% if info.scriptsMeta %}
  447.         {{ info.scriptsMeta|raw }}
  448.     {% endif %}
  449.     {% if seo is not null and seo.scriptsMeta %}
  450.         {{ seo.scriptsMeta|raw }}
  451.     {% endif %}
  452.     {% if info.seoFavicon %}
  453.         {# TODO: Check thumbnail #}
  454.         <!-- inicio favicon  iphone retina, ipad, iphone en orden-->
  455.         <link rel=\"icon\" type=\"image/png\" href=\"{{ asset(info.seoFavicon|image_path) }}\"/>
  456.         <link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
  457.         <link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
  458.         <link rel=\"apple-touch-icon-precomposed\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
  459.         <!-- end favicon -->
  460.     {% endif %}
  461.     {% block cssadicional %}{% endblock %}
  462.     {# Start CSS Links #}
  463.     {# End CSS Links #}
  464.     {% if info.scriptsHeader %}
  465.         {{ info.scriptsHeader|raw }}
  466.     {% endif %}
  467.     {% if seo is not null and seo.scriptsHeader %}
  468.         {{ seo.scriptsHeader|raw }}
  469.     {% endif %}
  470. </head>
  471. <body class=\"{% block classbody %}{% endblock %}\">
  472. {% if info.scriptsBody %}
  473.     {{ info.scriptsBody|raw }}
  474. {% endif %}
  475. {% if seo is not null and seo.scriptsBody %}
  476.     {{ seo.scriptsBody|raw }}
  477. {% endif %}
  478. {% include 'front/_common/_header.html.twig' %}
  479. {% block content %}{% endblock %}
  480. {% include 'front/_common/_footer.html.twig' %}
  481. {# Start JS Links #}
  482. <script src=\"{{ asset('static/js/jquery-3.2.1.min.js') }}\"></script>
  483. <script src=\"{{ asset('static/js/main.js') }}\"></script>
  484. <script src=\"{{ asset('static/js/header.js') }}\"></script>
  485. {# End JS Links #}
  486. {% block jsfinal %}{% endblock %}
  487. <script>
  488.     \$(function(){
  489.         //+++ FOOTER RESPONSIVE - ACORDEON +++
  490.         if(\$(window).innerWidth() < 1025){
  491.             \$('.footer_subtitle_resp').on('click', function(event){
  492.                 console.log(\"footer aquiiiii\");
  493.                 if (\$(this).hasClass('active')) {
  494.                     \$(this).removeClass('active').parent().find('.footer_menu').stop().slideUp();
  495.                 }else{
  496.                     \$('.footer_subtitle_resp').removeClass('active');
  497.                     \$('.footer_menu').stop().slideUp();
  498.                     \$(this).addClass('active').parent().find('.footer_menu').stop().slideToggle();
  499.                 };
  500.             })
  501.         }
  502.         //<<< END >>>
  503.     });
  504.     {# Start Custom JS Links #}
  505.     {# End Custom JS Links #}
  506.     function storeUtms(\$data) {
  507.         \$.ajax({
  508.             url: '{{ path('store_utms') }}',
  509.             type: 'get',
  510.             dataType: 'json',
  511.             data: \$data,
  512.             success: function (data) {
  513.                 updateUtm(data);
  514.             }
  515.         })
  516.     }
  517.     function updateUtm(data) {
  518.         if (data['utm_source']) {
  519.             \$('.form_utmsource').val(data['utm_source']);
  520.         }
  521.         if (data['utm_medium']) {
  522.             \$('.form_utmmedium').val(data['utm_medium']);
  523.         }
  524.         if (data['utm_source']) {
  525.             \$('.form_utmsource').val(data['utm_source']);
  526.         }
  527.         if (data['utm_campaign']) {
  528.             \$('.form_utmcampaign').val(data['utm_campaign']);
  529.         }
  530.         if (data['utm_term']) {
  531.             \$('.form_utmterm').val(data['utm_term']);
  532.         }
  533.         if (data['utm_content']) {
  534.             \$('.form_utmcontent').val(data['utm_content']);
  535.         }
  536.         if (data['utm_gclid']) {
  537.             \$('.form_gclid').val(data['utm_gclid']);
  538.         }
  539.     }
  540.     let utm_data = {};
  541.     {% set utm_params = ['utm_source', 'utm_campaign', 'utm_medium', 'utm_term', 'utm_content', 'gclid'] %}
  542.     {% for u in utm_params %}
  543.         {% if app.request.get(u)|default('') %}
  544.             utm_data['{{ u }}'] = '{{ app.request.get(u) }}';
  545.         {% endif %}
  546.     {% endfor %}
  547.     if (!\$.isEmptyObject(utm_data)) {
  548.         storeUtms(utm_data);
  549.     }
  550.     {% include 'front/templates/utms.html.twig' %}
  551. </script>
  552. {% if info.scriptsFooter %}
  553.     {{ info.scriptsFooter|raw }}
  554. {% endif %}
  555. {% if seo is not null and seo.scriptsFooter %}
  556.     {{ seo.scriptsFooter|raw }}
  557. {% endif %}
  558. </body>
  559. </html>
  560. ""front/_common/_base.html.twig""/mnt/volume_nyc1_01/webapps/eurocamiones/templates/front/_common/_base.html.twig");
  561.     }
  562. }