var/cache/dev/twig/68/682b0521b9ee302000ad308eae4132d6dcec715200ba8e471d63404d1acf2224.php line 273

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. /* @templates/Mobile/Shop/layout.html.twig */
  14. class __TwigTemplate_5c2abc160484666583faf9c3eafeb2f54cb4f132fda91f6549cfacf8eb7418af 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.             'head' => [$this'block_head'],
  25.             'title' => [$this'block_title'],
  26.             'metatags' => [$this'block_metatags'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.             'javascripts_app' => [$this'block_javascripts_app'],
  30.             'webpack_app' => [$this'block_webpack_app'],
  31.             'mobile_header' => [$this'block_mobile_header'],
  32.             'content' => [$this'block_content'],
  33.             'footer' => [$this'block_footer'],
  34.             'loaderContainer' => [$this'block_loaderContainer'],
  35.         ];
  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""@templates/Mobile/Shop/layout.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""@templates/Mobile/Shop/layout.html.twig"));
  44.         // line 1
  45.         echo "<!DOCTYPE html>
  46. <html lang=\"";
  47.         // line 3
  48.         echo twig_escape_filter($this->envtwig_slice($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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), 02), "html"nulltrue);
  49.         echo "\">
  50. ";
  51.         // line 5
  52.         $this->displayBlock('head'$context$blocks);
  53.         // line 77
  54.         echo "<body class=\"";
  55.         echo twig_escape_filter($this->envtwig_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.'77$this->source); })()), "request", [], "any"falsefalsefalse77), "attributes", [], "any"falsefalsefalse77), "get", [=> "_route"], "method"falsefalsefalse77), "html"nulltrue);
  56.         echo "\" style=\"background-color: #F2F2F2\">
  57. <!-- Google Tag Manager (noscript) -->
  58. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  59.         // line 79
  60.         echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code"$context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.'79$this->source); })()), "html"nulltrue);
  61.         echo "\"
  62.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  63. <!-- End Google Tag Manager (noscript) -->
  64. ";
  65.         // line 82
  66.         $this->displayBlock('mobile_header'$context$blocks);
  67.         // line 85
  68.         echo "
  69. ";
  70.         // line 86
  71.         $this->displayBlock('content'$context$blocks);
  72.         // line 89
  73.         echo "
  74. ";
  75.         // line 90
  76.         $this->displayBlock('footer'$context$blocks);
  77.         // line 93
  78.         echo "
  79. ";
  80.         // line 94
  81.         $this->displayBlock('loaderContainer'$context$blocks);
  82.         // line 99
  83.         echo "
  84. <script>
  85.     \$(document).ready(function () {
  86.         let hostname = '";
  87.         // line 102
  88.         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.'102$this->source); })()), "request", [], "any"falsefalsefalse102), "host", [], "any"falsefalsefalse102), "html"nulltrue);
  89.         echo "';
  90.         let l = document.links;
  91.         let taxaDePodUrl = 'taxadepod.ro';
  92.         let blogUrl = 'asigur.blogspot.com';
  93.         let telUrl = 'tel:';
  94.         let mailUrl = 'mailto:';
  95.         for (let i = 0; i < l.length; i++) {
  96.             let urlPath = l[i].href;
  97.             if (typeof urlPath === 'string' && !urlPath.includes(hostname) && !urlPath.includes(taxaDePodUrl) && !urlPath.includes(blogUrl)
  98.                 && !urlPath.includes(telUrl) && !urlPath.includes(mailUrl)) {
  99.                 l[i].setAttribute('rel','nofollow');
  100.                 l[i].setAttribute('target', '_blank');
  101.                // UrlExists(urlPath, l[i]);
  102.             }
  103.         }
  104.         function UrlExists(url, element) {
  105.             \$.ajax({
  106.                 url: url,
  107.                 dataType: 'jsonp',
  108.                 statusCode: {
  109.                     200: function() {
  110.                     },
  111.                     404: function() {
  112.                         element.removeAttribute('href');
  113.                     }
  114.                 },
  115.                 error:function(){
  116.                 }
  117.             });
  118.         }
  119.     });
  120. </script>
  121. </body>
  122. </html>
  123. <style>
  124. </style>
  125. ";
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.         
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  130.     }
  131.     // line 5
  132.     public function block_head($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  139.         // line 6
  140.         echo "    <head>
  141.         ";
  142.         // line 7
  143.         if ((( !twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "environment", [], "any"truetruefalse7) &&  !(null === twig_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.'7$this->source); })()), "environment", [], "any"falsefalsefalse7))) && (twig_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.'7$this->source); })()), "environment", [], "any"falsefalsefalse7) == "dev"))) {
  144.             // line 8
  145.             echo "            <meta name=\"robots\" content=\"noindex,nofollow\">
  146.         ";
  147.         }
  148.         // line 10
  149.         echo "        <meta charset=\"utf-8\">
  150.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  151.         <meta http-equiv=\"Content-Language\" content=\"ro\">
  152.         <meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
  153.         <title>";
  154.         // line 14
  155.         $this->displayBlock('title'$context$blocks);
  156.         echo "</title>
  157.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes\" name=\"viewport\">
  158.         ";
  159.         // line 18
  160.         $this->displayBlock('metatags'$context$blocks);
  161.         // line 22
  162.         echo "
  163.         ";
  164.         // line 23
  165.         $this->displayBlock('stylesheets'$context$blocks);
  166.         // line 30
  167.         echo "
  168.         ";
  169.         // line 31
  170.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.head"]);
  171.         echo "
  172.         ";
  173.         // line 33
  174.         $this->displayBlock('javascripts'$context$blocks);
  175.         // line 75
  176.         echo "    </head>
  177. ";
  178.         
  179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  180.         
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  182.     }
  183.     // line 14
  184.     public function block_title($context, array $blocks = [])
  185.     {
  186.         $macros $this->macros;
  187.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  188.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  191.         echo " Roviniete.ro ";
  192.         
  193.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  194.         
  195.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  196.     }
  197.     // line 18
  198.     public function block_metatags($context, array $blocks = [])
  199.     {
  200.         $macros $this->macros;
  201.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  203.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  205.         // line 19
  206.         echo "            <meta name=\"description\" content=\"Cumpara roviniete online! Aici gasesti toate informaţiile legate de taxa de drum din Romania: legislaţie, calculator rovinieta si verificare valabilitate.\">
  207.             <meta name=\"keywords\" content=\"rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta\">
  208.         ";
  209.         
  210.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  211.         
  212.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  213.     }
  214.     // line 23
  215.     public function block_stylesheets($context, array $blocks = [])
  216.     {
  217.         $macros $this->macros;
  218.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  222.         // line 24
  223.         echo "            ";
  224.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app"null"bootstrapTheme");
  225.         echo "
  226.             ";
  227.         // line 25
  228.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("bootstrap-fix"null"bootstrapTheme");
  229.         echo "
  230.             ";
  231.         // line 26
  232.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.stylesheets"]);
  233.         echo "
  234.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bs-stepper.css\">
  235.         ";
  236.         
  237.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  238.         
  239.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  240.     }
  241.     // line 33
  242.     public function block_javascripts($context, array $blocks = [])
  243.     {
  244.         $macros $this->macros;
  245.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  246.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  247.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  249.         // line 34
  250.         echo "            ";
  251.         $this->displayBlock('javascripts_app'$context$blocks);
  252.         // line 37
  253.         echo "            <script src=\"";
  254.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery-ui.min.js"), "html"nulltrue);
  255.         echo "\"></script>
  256.             <script src=\"";
  257.         // line 38
  258.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/popper.min.js"), "html"nulltrue);
  259.         echo "\"></script>
  260.             <script src=\"";
  261.         // line 39
  262.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/bootstrap.min.js"), "html"nulltrue);
  263.         echo "\"></script>
  264.             <script src=\"";
  265.         // line 40
  266.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/leftmenu.js"), "html"nulltrue);
  267.         echo "\"></script>
  268.             <script src=\"";
  269.         // line 41
  270.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/fosjsrouting/js/router.js"), "html"nulltrue);
  271.         echo "\"></script>
  272.             <script src=\"";
  273.         // line 42
  274.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/_bootstrap_select.min.js"), "html"nulltrue);
  275.         echo "\"></script>
  276.             <script src=\"";
  277.         // line 43
  278.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  279.         echo "\"></script>
  280.             <script src=\"";
  281.         // line 44
  282.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery.validate.min.js"), "html"nulltrue);
  283.         echo "\"></script>
  284.             <script src=\"";
  285.         // line 45
  286.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/sentry-bundle.min.js"), "html"nulltrue);
  287.         echo "\"></script>
  288.             <script>
  289.                  if (typeof Sentry !== 'undefined') {
  290.                     Sentry.init({
  291.                         dsn: \"";
  292.         // line 49
  293.         echo twig_escape_filter($this->env, (isset($context["sentry_dsn"]) || array_key_exists("sentry_dsn"$context) ? $context["sentry_dsn"] : (function () { throw new RuntimeError('Variable "sentry_dsn" does not exist.'49$this->source); })()), "html"nulltrue);
  294.         echo "\",
  295.                         integrations: [new Sentry.Integrations.TryCatch({
  296.                             eventTarget: false,
  297.                         })]
  298.                     });
  299.                 }
  300.             </script>
  301.             <script src=\"";
  302.         // line 56
  303.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/bs-stepper.js"), "html"nulltrue);
  304.         echo "\"></script>
  305.             <script>
  306.                 dataLayer = [];
  307.             </script>
  308.             <!-- Google Tag Manager -->
  309.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  310.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  311.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  312.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  313.                 })(window,document,'script','dataLayer','";
  314.         // line 65
  315.         echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code"$context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.'65$this->source); })()), "html"nulltrue);
  316.         echo "');</script>
  317.             <!-- End Google Tag Manager -->
  318.             ";
  319.         // line 67
  320.         $this->displayBlock('webpack_app'$context$blocks);
  321.         // line 70
  322.         echo "            ";
  323.         if ((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.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "attributes", [], "any"falsefalsefalse70), "get", [=> "_route"], "method"falsefalsefalse70) == "sylius_shop_homepage")) {
  324.             // line 71
  325.             echo "                ";
  326.             $this->loadTemplate("@templates/ShopCustom/one_signal.html.twig""@templates/Mobile/Shop/layout.html.twig"71)->display($context);
  327.             // line 72
  328.             echo "            ";
  329.         }
  330.         // line 73
  331.         echo "            ";
  332.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.javascripts"]);
  333.         echo "
  334.         ";
  335.         
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  337.         
  338.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  339.     }
  340.     // line 34
  341.     public function block_javascripts_app($context, array $blocks = [])
  342.     {
  343.         $macros $this->macros;
  344.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  345.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_app"));
  346.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  347.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_app"));
  348.         // line 35
  349.         echo "                <script src=\"";
  350.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/app.js"), "html"nulltrue);
  351.         echo "\"></script>
  352.             ";
  353.         
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  355.         
  356.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  357.     }
  358.     // line 67
  359.     public function block_webpack_app($context, array $blocks = [])
  360.     {
  361.         $macros $this->macros;
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  363.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""webpack_app"));
  364.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  365.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""webpack_app"));
  366.         // line 68
  367.         echo "                ";
  368.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app"null"bootstrapTheme");
  369.         echo "
  370.             ";
  371.         
  372.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  373.         
  374.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  375.     }
  376.     // line 82
  377.     public function block_mobile_header($context, array $blocks = [])
  378.     {
  379.         $macros $this->macros;
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  381.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mobile_header"));
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  383.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mobile_header"));
  384.         // line 83
  385.         echo "    ";
  386.         $this->loadTemplate("@templates/Front/Shop/v2/_header.html.twig""@templates/Mobile/Shop/layout.html.twig"83)->display($context);
  387.         
  388.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  389.         
  390.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  391.     }
  392.     // line 86
  393.     public function block_content($context, array $blocks = [])
  394.     {
  395.         $macros $this->macros;
  396.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  397.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  398.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  399.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  400.         // line 87
  401.         echo "
  402. ";
  403.         
  404.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  405.         
  406.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  407.     }
  408.     // line 90
  409.     public function block_footer($context, array $blocks = [])
  410.     {
  411.         $macros $this->macros;
  412.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  413.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  414.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  415.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  416.         // line 91
  417.         echo "    ";
  418.         $this->loadTemplate("@templates/Front/Shop/v2/_footer.html.twig""@templates/Mobile/Shop/layout.html.twig"91)->display($context);
  419.         
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  421.         
  422.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  423.     }
  424.     // line 94
  425.     public function block_loaderContainer($context, array $blocks = [])
  426.     {
  427.         $macros $this->macros;
  428.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  429.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderContainer"));
  430.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  431.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderContainer"));
  432.         // line 95
  433.         echo "    <div class=\"loading-overlay\" data-js-loading-overlay>
  434.         <img src=\"";
  435.         // line 96
  436.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/spinner.gif"), "html"nulltrue);
  437.         echo "\" style=\"width: 50px; pointer-events: none\"/>
  438.     </div>
  439. ";
  440.         
  441.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  442.         
  443.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  444.     }
  445.     public function getTemplateName()
  446.     {
  447.         return "@templates/Mobile/Shop/layout.html.twig";
  448.     }
  449.     public function isTraitable()
  450.     {
  451.         return false;
  452.     }
  453.     public function getDebugInfo()
  454.     {
  455.         return array (  513 => 96,  510 => 95,  500 => 94,  489 => 91,  479 => 90,  468 => 87,  458 => 86,  447 => 83,  437 => 82,  424 => 68,  414 => 67,  401 => 35,  391 => 34,  378 => 73,  375 => 72,  372 => 71,  369 => 70,  367 => 67,  362 => 65,  350 => 56,  340 => 49,  333 => 45,  329 => 44,  325 => 43,  321 => 42,  317 => 41,  313 => 40,  309 => 39,  305 => 38,  300 => 37,  297 => 34,  287 => 33,  273 => 26,  269 => 25,  264 => 24,  254 => 23,  242 => 19,  232 => 18,  213 => 14,  202 => 75,  200 => 33,  195 => 31,  192 => 30,  190 => 23,  187 => 22,  185 => 18,  178 => 14,  172 => 10,  168 => 8,  166 => 7,  163 => 6,  153 => 5,  99 => 102,  94 => 99,  92 => 94,  89 => 93,  87 => 90,  84 => 89,  82 => 86,  79 => 85,  77 => 82,  71 => 79,  65 => 77,  63 => 5,  58 => 3,  54 => 1,);
  456.     }
  457.     public function getSourceContext()
  458.     {
  459.         return new Source("<!DOCTYPE html>
  460. <html lang=\"{{ app.request.locale|slice(0, 2) }}\">
  461. {% block head %}
  462.     <head>
  463.         {% if app.environment is not defined and app.environment is not null and app.environment == 'dev' %}
  464.             <meta name=\"robots\" content=\"noindex,nofollow\">
  465.         {% endif %}
  466.         <meta charset=\"utf-8\">
  467.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  468.         <meta http-equiv=\"Content-Language\" content=\"ro\">
  469.         <meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
  470.         <title>{% block title %} Roviniete.ro {% endblock %}</title>
  471.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes\" name=\"viewport\">
  472.         {% block metatags %}
  473.             <meta name=\"description\" content=\"Cumpara roviniete online! Aici gasesti toate informaţiile legate de taxa de drum din Romania: legislaţie, calculator rovinieta si verificare valabilitate.\">
  474.             <meta name=\"keywords\" content=\"rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta\">
  475.         {% endblock %}
  476.         {% block stylesheets %}
  477.             {{ encore_entry_link_tags('app', null, 'bootstrapTheme') }}
  478.             {{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
  479.             {{ sonata_block_render_event('sylius.shop.layout.stylesheets') }}
  480.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bs-stepper.css\">
  481.         {% endblock %}
  482.         {{ sonata_block_render_event('sylius.shop.layout.head') }}
  483.         {% block javascripts %}
  484.             {% block javascripts_app %}
  485.                 <script src=\"{{ asset('assets/shop/js/app.js') }}\"></script>
  486.             {% endblock javascripts_app %}
  487.             <script src=\"{{ asset('assets/shop/js/jquery-ui.min.js') }}\"></script>
  488.             <script src=\"{{ asset('assets/shop/js/popper.min.js') }}\"></script>
  489.             <script src=\"{{ asset('assets/shop/js/bootstrap.min.js') }}\"></script>
  490.             <script src=\"{{ asset('assets/shop/js/leftmenu.js') }}\"></script>
  491.             <script src=\"{{ asset('/bundles/fosjsrouting/js/router.js') }}\"></script>
  492.             <script src=\"{{ asset('/assets/shop/js/_bootstrap_select.min.js') }}\"></script>
  493.             <script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  494.             <script src=\"{{ asset('assets/shop/js/jquery.validate.min.js') }}\"></script>
  495.             <script src=\"{{ asset('assets/shop/js/sentry-bundle.min.js') }}\"></script>
  496.             <script>
  497.                  if (typeof Sentry !== 'undefined') {
  498.                     Sentry.init({
  499.                         dsn: \"{{ sentry_dsn }}\",
  500.                         integrations: [new Sentry.Integrations.TryCatch({
  501.                             eventTarget: false,
  502.                         })]
  503.                     });
  504.                 }
  505.             </script>
  506.             <script src=\"{{ asset('/assets/shop/js/bs-stepper.js') }}\"></script>
  507.             <script>
  508.                 dataLayer = [];
  509.             </script>
  510.             <!-- Google Tag Manager -->
  511.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  512.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  513.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  514.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  515.                 })(window,document,'script','dataLayer','{{ gtm_code }}');</script>
  516.             <!-- End Google Tag Manager -->
  517.             {% block webpack_app %}
  518.                 {{ encore_entry_script_tags('app', null, 'bootstrapTheme') }}
  519.             {% endblock webpack_app %}
  520.             {% if app.request.attributes.get('_route') == 'sylius_shop_homepage' %}
  521.                 {% include '@templates/ShopCustom/one_signal.html.twig' %}
  522.             {% endif %}
  523.             {{ sonata_block_render_event('sylius.shop.layout.javascripts') }}
  524.         {% endblock %}
  525.     </head>
  526. {% endblock %}
  527. <body class=\"{{ app.request.attributes.get('_route') }}\" style=\"background-color: #F2F2F2\">
  528. <!-- Google Tag Manager (noscript) -->
  529. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
  530.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  531. <!-- End Google Tag Manager (noscript) -->
  532. {% block mobile_header %}
  533.     {% include '@templates/Front/Shop/v2/_header.html.twig' %}
  534. {% endblock %}
  535. {% block content %}
  536. {% endblock %}
  537. {% block footer %}
  538.     {% include '@templates/Front/Shop/v2/_footer.html.twig' %}
  539. {% endblock %}
  540. {% block loaderContainer %}
  541.     <div class=\"loading-overlay\" data-js-loading-overlay>
  542.         <img src=\"{{ asset('assets/shop/images/spinner.gif') }}\" style=\"width: 50px; pointer-events: none\"/>
  543.     </div>
  544. {% endblock %}
  545. <script>
  546.     \$(document).ready(function () {
  547.         let hostname = '{{ app.request.host }}';
  548.         let l = document.links;
  549.         let taxaDePodUrl = 'taxadepod.ro';
  550.         let blogUrl = 'asigur.blogspot.com';
  551.         let telUrl = 'tel:';
  552.         let mailUrl = 'mailto:';
  553.         for (let i = 0; i < l.length; i++) {
  554.             let urlPath = l[i].href;
  555.             if (typeof urlPath === 'string' && !urlPath.includes(hostname) && !urlPath.includes(taxaDePodUrl) && !urlPath.includes(blogUrl)
  556.                 && !urlPath.includes(telUrl) && !urlPath.includes(mailUrl)) {
  557.                 l[i].setAttribute('rel','nofollow');
  558.                 l[i].setAttribute('target', '_blank');
  559.                // UrlExists(urlPath, l[i]);
  560.             }
  561.         }
  562.         function UrlExists(url, element) {
  563.             \$.ajax({
  564.                 url: url,
  565.                 dataType: 'jsonp',
  566.                 statusCode: {
  567.                     200: function() {
  568.                     },
  569.                     404: function() {
  570.                         element.removeAttribute('href');
  571.                     }
  572.                 },
  573.                 error:function(){
  574.                 }
  575.             });
  576.         }
  577.     });
  578. </script>
  579. </body>
  580. </html>
  581. <style>
  582. </style>
  583. ""@templates/Mobile/Shop/layout.html.twig""/vhosts/newrca.roviniete.ro/templates/Mobile/Shop/layout.html.twig");
  584.     }
  585. }