var/cache/dev/twig/11/11f290530361e2c2ac041ee68d7a84b88a879d84baa4b39a8ede54d275575ae3.php line 54

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/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig */
  14. class __TwigTemplate_62c7c41aadf0134fa1e0ff260d2ea879bfd95495ab79e77f0be59165faf5e0f2 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->blocks = [
  23.             'head' => [$this'block_head'],
  24.             'title' => [$this'block_title'],
  25.             'metatags' => [$this'block_metatags'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'header' => [$this'block_header'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "@templates/Front/Shop/layout.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""@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.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/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"));
  44.         $this->parent $this->loadTemplate("@templates/Front/Shop/layout.html.twig""@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.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 2
  52.     public function block_head($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""head"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  59.         // line 3
  60.         echo "    <head>
  61.         <meta charset=\"utf-8\">
  62.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  63.         <meta http-equiv=\"Content-Language\" content=\"ro\">
  64.         <meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
  65.         <title>";
  66.         // line 8
  67.         $this->displayBlock('title'$context$blocks);
  68.         // line 14
  69.         echo "</title>
  70.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  71.         ";
  72.         // line 18
  73.         $this->displayBlock('metatags'$context$blocks);
  74.         // line 26
  75.         echo "
  76.         ";
  77.         // line 27
  78.         $this->displayBlock('stylesheets'$context$blocks);
  79.         // line 59
  80.         echo "
  81.         ";
  82.         // line 60
  83.         $this->displayBlock('javascripts'$context$blocks);
  84.         // line 95
  85.         echo "    </head>
  86. ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     // line 8
  93.     public function block_title($context, array $blocks = [])
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  100.         // line 9
  101.         echo "                ";
  102.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'9$this->source); })()), "title", [], "any"falsefalsefalse9))) {
  103.             // line 10
  104.             echo "                    ";
  105.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'10$this->source); })()), "title", [], "any"falsefalsefalse10), "html"nulltrue);
  106.             echo "
  107.                 ";
  108.         } else {
  109.             // line 12
  110.             echo "                    ";
  111.             $this->displayParentBlock("title"$context$blocks);
  112.             echo "
  113.                 ";
  114.         }
  115.         // line 14
  116.         echo "            ";
  117.         
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  119.         
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  121.     }
  122.     // line 18
  123.     public function block_metatags($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  130.         // line 19
  131.         echo "            ";
  132.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'19$this->source); })()), "metaKeywords", [], "any"falsefalsefalse19))) {
  133.             // line 20
  134.             echo "                <meta name=\"keywords\" content=\"";
  135.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'20$this->source); })()), "metaKeywords", [], "any"falsefalsefalse20), "html"nulltrue);
  136.             echo "\"/>
  137.             ";
  138.         }
  139.         // line 22
  140.         echo "            ";
  141.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'22$this->source); })()), "metaDescription", [], "any"falsefalsefalse22))) {
  142.             // line 23
  143.             echo "                <meta name=\"description\" content=\"";
  144.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "metaDescription", [], "any"falsefalsefalse23), "html"nulltrue);
  145.             echo "\"/>
  146.             ";
  147.         }
  148.         // line 25
  149.         echo "        ";
  150.         
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  152.         
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  154.     }
  155.     // line 27
  156.     public function block_stylesheets($context, array $blocks = [])
  157.     {
  158.         $macros $this->macros;
  159.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  163.         // line 28
  164.         echo "            <script src=\"";
  165.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/sentry-bundle.min.js"), "html"nulltrue);
  166.         echo "\"></script>
  167.             <script>
  168.                  if (typeof Sentry !== 'undefined') {
  169.                     Sentry.init({
  170.                         dsn: \"";
  171.         // line 32
  172.         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.'32$this->source); })()), "html"nulltrue);
  173.         echo "\",
  174.                         integrations: [new Sentry.Integrations.TryCatch({
  175.                             eventTarget: false,
  176.                         })]
  177.                     });
  178.                 }
  179.             </script>
  180.             <link rel=\"stylesheet\" href=\"";
  181.         // line 39
  182.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/homepage.css"), "html"nulltrue);
  183.         echo "\">
  184.             <link rel=\"stylesheet\" href=\"";
  185.         // line 40
  186.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/bootstrap.min.css"), "html"nulltrue);
  187.         echo "\">
  188.             <link rel=\"stylesheet\" href=\"";
  189.         // line 41
  190.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/leftmenu.v1.css"), "html"nulltrue);
  191.         echo "\">
  192.             ";
  193.         // line 42
  194.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("bootstrap-fix"null"bootstrapTheme");
  195.         echo "
  196.             ";
  197.         // line 43
  198.         $context["urlPath"] = twig_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.'43$this->source); })()), "request", [], "any"falsefalsefalse43), "uri", [], "any"falsefalsefalse43);
  199.         // line 44
  200.         echo "            ";
  201.         if ( !(null === (isset($context["urlPath"]) || array_key_exists("urlPath"$context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.'44$this->source); })()))) {
  202.             // line 45
  203.             echo "                <link rel=\"canonical\" href=\"";
  204.             echo twig_escape_filter($this->env, (isset($context["urlPath"]) || array_key_exists("urlPath"$context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.'45$this->source); })()), "html"nulltrue);
  205.             echo "\"/>
  206.                 ";
  207.             // line 46
  208.             $context["currentLocale"] = twig_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.'46$this->source); })()), "request", [], "any"falsefalsefalse46), "locale", [], "any"falsefalsefalse46);
  209.             // line 47
  210.             echo "                ";
  211.             if ( !(null === (isset($context["currentLocale"]) || array_key_exists("currentLocale"$context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.'47$this->source); })()))) {
  212.                 // line 48
  213.                 echo "                    ";
  214.                 $context['_parent'] = $context;
  215.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["locales"]) || array_key_exists("locales"$context) ? $context["locales"] : (function () { throw new RuntimeError('Variable "locales" does not exist.'48$this->source); })()), "allLocales", [], "any"falsefalsefalse48));
  216.                 foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  217.                     // line 49
  218.                     echo "                        ";
  219.                     if (($context["locale"] != (isset($context["currentLocale"]) || array_key_exists("currentLocale"$context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.'49$this->source); })()))) {
  220.                         // line 50
  221.                         echo "                            ";
  222.                         $context["currentLocaleTemp"] = ((isset($context["currentLocale"]) || array_key_exists("currentLocale"$context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.'50$this->source); })()) . "/");
  223.                         // line 51
  224.                         echo "                            ";
  225.                         $context["newUrl"] = twig_replace_filter((isset($context["urlPath"]) || array_key_exists("urlPath"$context) ? $context["urlPath"] : (function () { throw new RuntimeError('Variable "urlPath" does not exist.'51$this->source); })()), ["currentLocaleTemp" => ($context["locale"] . "/")]);
  226.                         // line 52
  227.                         echo "                            <link rel=\"alternate\" hreflang=\"";
  228.                         echo twig_escape_filter($this->env$context["locale"], "html"nulltrue);
  229.                         echo "\"
  230.                                   href=\"";
  231.                         // line 53
  232.                         echo twig_escape_filter($this->env, (isset($context["newUrl"]) || array_key_exists("newUrl"$context) ? $context["newUrl"] : (function () { throw new RuntimeError('Variable "newUrl" does not exist.'53$this->source); })()), "html"nulltrue);
  233.                         echo "\"/>
  234.                         ";
  235.                     }
  236.                     // line 55
  237.                     echo "                    ";
  238.                 }
  239.                 $_parent $context['_parent'];
  240.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  241.                 $context array_intersect_key($context$_parent) + $_parent;
  242.                 // line 56
  243.                 echo "                ";
  244.             }
  245.             // line 57
  246.             echo "            ";
  247.         }
  248.         // line 58
  249.         echo "        ";
  250.         
  251.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  252.         
  253.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  254.     }
  255.     // line 60
  256.     public function block_javascripts($context, array $blocks = [])
  257.     {
  258.         $macros $this->macros;
  259.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  263.         // line 61
  264.         echo "            <script src=\"";
  265.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery.min.js"), "html"nulltrue);
  266.         echo "\"></script>
  267.             <script src=\"";
  268.         // line 62
  269.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/popper.min.js"), "html"nulltrue);
  270.         echo "\"></script>
  271.             <script src=\"";
  272.         // line 63
  273.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/bootstrap.min.js"), "html"nulltrue);
  274.         echo "\"></script>
  275.             <script src=\"";
  276.         // line 64
  277.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/leftmenu.js"), "html"nulltrue);
  278.         echo "\"></script>
  279.             <script src=\"";
  280.         // line 65
  281.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/fosjsrouting/js/router.js"), "html"nulltrue);
  282.         echo "\"></script>
  283.             <script src=\"";
  284.         // line 66
  285.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  286.         echo "\"></script>
  287.             <script>
  288.                 \$(document).ready(function () {
  289.                     function checkIfRedirectExists()
  290.                     {
  291.                         let redirectElement = \$('[class^=\"redirect\"]');
  292.                         if (redirectElement.length > 0) {
  293.                             if (redirectElement.hasClass(\"scala\")) {
  294.                                 window.location.href = \"https://taxeauto.ro\" + window.location.pathname;
  295.                             } else if (redirectElement.hasClass(\"roviniete\")) {
  296.                                 window.location.href = \"https://roviniete.ro\" + window.location.pathname;
  297.                             }
  298.                         }
  299.                     }
  300.                     checkIfRedirectExists();
  301.                     \$(window).on('load', function () {
  302.                         checkIfRedirectExists();
  303.                     });
  304.                 });
  305.                 dataLayer = [];
  306.             </script>
  307.             <!-- Google Tag Manager -->
  308.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  309.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  310.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  311.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  312.                 })(window,document,'script','dataLayer','";
  313.         // line 92
  314.         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.'92$this->source); })()), "html"nulltrue);
  315.         echo "');</script>
  316.             <!-- End Google Tag Manager -->
  317.         ";
  318.         
  319.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  320.         
  321.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  322.     }
  323.     // line 98
  324.     public function block_header($context, array $blocks = [])
  325.     {
  326.         $macros $this->macros;
  327.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  328.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  329.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  330.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  331.         // line 99
  332.         echo "    <!-- Google Tag Manager (noscript) -->
  333.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  334.         // line 100
  335.         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.'100$this->source); })()), "html"nulltrue);
  336.         echo "\"
  337.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  338.     <!-- End Google Tag Manager (noscript) -->
  339.     <div class=\"custom-container mb-2\">
  340.         <div class=\"custom-container bg-white\">
  341.             <div class=\"bg-white\">
  342.                 <header>
  343.                     ";
  344.         // line 108
  345.         $this->loadTemplate("@templates/Front/Shop/v2/_header.html.twig""@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"108)->display($context);
  346.         // line 109
  347.         echo "
  348.                     ";
  349.         // line 110
  350.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.after_header"]);
  351.         echo "
  352.                 </header>
  353.             </div>
  354.         </div>
  355.     </div>
  356. ";
  357.         
  358.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  359.         
  360.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  361.     }
  362.     // line 118
  363.     public function block_content($context, array $blocks = [])
  364.     {
  365.         $macros $this->macros;
  366.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  367.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  368.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  370.         // line 119
  371.         echo "    <div class=\"info-banner custom-container bg-white my-2\" onclick=\"location.href='";
  372.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_vignette");
  373.         echo "'\" style=\"cursor: pointer\">
  374.         <div class=\"d-flex justify-content-center align-items-center\" style=\"height: 170px\">
  375.             <div class=\"info-banner-container\">
  376.                 <h1 class=\"calculator-viniete-text\">";
  377.         // line 122
  378.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy_vignette_online"), "html"nulltrue);
  379.         echo " - <br class=\"new-line\"/> ";
  380.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.romania_vignette_calculator"), "html"nulltrue);
  381.         echo "</h1>
  382.                 <div class=\"d-flex justify-content-center align-items-center\">
  383.                     <a class=\"text-center\">";
  384.         // line 124
  385.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.select_car_type"), "html"nulltrue);
  386.         echo ":</a>
  387.                 </div>
  388.                 <div class=\"d-flex justify-content-center align-items-center banner-images\">
  389.                     <img src=\"";
  390.         // line 127
  391.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_a.png"), "html"nulltrue);
  392.         echo "\"
  393.                          title=\"";
  394.         // line 128
  395.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_a_name"), "html"nulltrue);
  396.         echo "\" class=\"mx-2\"
  397.                          alt=\"";
  398.         // line 129
  399.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_a_name"), "html"nulltrue);
  400.         echo "\" />
  401.                     <img src=\"";
  402.         // line 130
  403.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_b.png"), "html"nulltrue);
  404.         echo "\"
  405.                          title=\"";
  406.         // line 131
  407.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_b_name"), "html"nulltrue);
  408.         echo "\" class=\"mx-2\"
  409.                          alt=\"";
  410.         // line 132
  411.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_b_name"), "html"nulltrue);
  412.         echo "\" />
  413.                     <img src=\"";
  414.         // line 133
  415.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_c.png"), "html"nulltrue);
  416.         echo "\"
  417.                          title=\"";
  418.         // line 134
  419.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_c_name"), "html"nulltrue);
  420.         echo "\" class=\"mx-2\"
  421.                          alt=\"";
  422.         // line 135
  423.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_c_name"), "html"nulltrue);
  424.         echo "\" />
  425.                     <img src=\"";
  426.         // line 136
  427.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_d.png"), "html"nulltrue);
  428.         echo "\"
  429.                          title=\"";
  430.         // line 137
  431.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_d_name"), "html"nulltrue);
  432.         echo "\" class=\"mx-2\"
  433.                          alt=\"";
  434.         // line 138
  435.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_d_name"), "html"nulltrue);
  436.         echo "\" />
  437.                     <img src=\"";
  438.         // line 139
  439.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_e.png"), "html"nulltrue);
  440.         echo "\"
  441.                          title=\"";
  442.         // line 140
  443.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_e_name"), "html"nulltrue);
  444.         echo "\" class=\"mx-2\"
  445.                          alt=\"";
  446.         // line 141
  447.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_e_name"), "html"nulltrue);
  448.         echo "\" />
  449.                     <img src=\"";
  450.         // line 142
  451.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_f.png"), "html"nulltrue);
  452.         echo "\"
  453.                          title=\"";
  454.         // line 143
  455.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_f_name"), "html"nulltrue);
  456.         echo "\" class=\"mx-2\"
  457.                          alt=\"";
  458.         // line 144
  459.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_f_name"), "html"nulltrue);
  460.         echo "\" />
  461.                     <img src=\"";
  462.         // line 145
  463.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_g.png"), "html"nulltrue);
  464.         echo "\"
  465.                          title=\"";
  466.         // line 146
  467.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_g_name"), "html"nulltrue);
  468.         echo "\" class=\"mx-2\"
  469.                          alt=\"";
  470.         // line 147
  471.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_g_name"), "html"nulltrue);
  472.         echo "\" />
  473.                     <img src=\"";
  474.         // line 148
  475.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_rovinieta_categ_h.png"), "html"nulltrue);
  476.         echo "\"
  477.                          title=\"";
  478.         // line 149
  479.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_h_name"), "html"nulltrue);
  480.         echo "\" class=\"mx-2\"
  481.                          alt=\"";
  482.         // line 150
  483.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category_rovignette_h_name"), "html"nulltrue);
  484.         echo "\" />
  485.                 </div>
  486.                 <div class=\"d-flex justify-content-center align-items-center\">
  487.                     <button class=\"btn btn-lg btn-primary w-50\">";
  488.         // line 153
  489.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.continue"), "html"nulltrue);
  490.         echo "</button>
  491.                 </div>
  492.             </div>
  493.         </div>
  494.     </div>
  495.     <div class=\"card\">
  496.         <div class=\"card-header\">
  497.             ";
  498.         // line 161
  499.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'161$this->source); })()), "name", [], "any"falsefalsefalse161))) {
  500.             // line 162
  501.             echo "                <h1 class=\"ui dividing header bitbag-page-name\">";
  502.             echo twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'162$this->source); })()), "name", [], "any"falsefalsefalse162);
  503.             echo "</h1>
  504.             ";
  505.         }
  506.         // line 164
  507.         echo "        </div>
  508.         <div class=\"card-body\">
  509.             <div class=\"row justify-content-center align-items-center\">
  510.                 <div class=\"col-8\">
  511.                     ";
  512.         // line 169
  513.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'169$this->source); })()), "image", [], "any"falsefalsefalse169)) {
  514.             // line 170
  515.             echo "                        ";
  516.             $context["path"] = ((((isset($context["preview"]) || array_key_exists("preview"$context)) && ((isset($context["preview"]) || array_key_exists("preview"$context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.'170$this->source); })()) == true))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'170$this->source); })()), "image", [], "any"falsefalsefalse170), "path", [], "any"falsefalsefalse170)) : (("/media/image/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'170$this->source); })()), "image", [], "any"falsefalsefalse170), "path", [], "any"falsefalsefalse170))));
  517.             // line 171
  518.             echo "
  519.                         <img class=\"page-image ui fluid image\" src=\"";
  520.             // line 172
  521.             echo twig_escape_filter($this->env, (isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'172$this->source); })()), "html"nulltrue);
  522.             echo "\" alt=\"\">
  523.                     ";
  524.         }
  525.         // line 174
  526.         echo "                </div>
  527.             </div>
  528.             <div class=\"ui hidden divider\"></div>
  529.             <div class=\"bitbag-page-content\">";
  530.         // line 179
  531.         echo $this->extensions['BitBag\SyliusCmsPlugin\Twig\Extension\RenderContentExtension']->renderContent((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'179$this->source); })()));
  532.         echo "</div>
  533.             ";
  534.         // line 180
  535.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'180$this->source); })()), "title", [], "any"falsefalsefalse180))) {
  536.             // line 181
  537.             echo "                <div class=\"ui dividing header\"></div>
  538.             ";
  539.         } else {
  540.             // line 183
  541.             echo "                <div class=\"ui hidden divider\"></div>
  542.             ";
  543.         }
  544.         // line 185
  545.         echo "
  546.         </div>
  547.     </div>
  548.     ";
  549.         // line 188
  550.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'188$this->source); })()), "products", [], "any"falsefalsefalse188)) > 0)) {
  551.             // line 189
  552.             echo "        <h2>
  553.             ";
  554.             // line 190
  555.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bitbag_sylius_cms_plugin.ui.page_related_products"), "html"nulltrue);
  556.             echo "
  557.         </h2>
  558.         <div class=\"bitbag-page-products\">
  559.             ";
  560.             // line 193
  561.             $this->loadTemplate("@SyliusShop/Product/_horizontalList.html.twig""@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig"193)->display(twig_array_merge($context, ["products" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'193$this->source); })()), "products", [], "any"falsefalsefalse193)]));
  562.             // line 194
  563.             echo "        </div>
  564.     ";
  565.         }
  566.         // line 196
  567.         echo "
  568.     <style>
  569.         .banner-images img {
  570.             width: 50px;
  571.         }
  572.         .calculator-viniete-text {
  573.             font-family: Calibri, Tahoma, Arial, serif;
  574.             font-size: 26px;
  575.             font-weight: normal;
  576.             color: #EA6031;
  577.             line-height: 20px;
  578.             letter-spacing: -1px;
  579.             text-shadow: 0.02em 0.02em 0.02em #d96642;
  580.             display: block;
  581.             height: 40px;
  582.             padding: 10px 30px 0 0
  583.         }
  584.         .new-line {
  585.             display: none;
  586.         }
  587.         @media only screen and (max-width: 600px) {
  588.             .info-banner {
  589.                 max-width: 400px;
  590.             }
  591.             .info-banner-container {
  592.                 max-width: 400px;
  593.                 text-align: center;
  594.             }
  595.             .banner-images img {
  596.                 width: 30px;
  597.             }
  598.             .calculator-viniete-text {
  599.                 height: 58px;
  600.                 line-height: 26px;
  601.                 font-size: 20px;
  602.             }
  603.             .new-line {
  604.                 display: block;
  605.             }
  606.         }
  607.     </style>
  608. ";
  609.         
  610.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  611.         
  612.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  613.     }
  614.     public function getTemplateName()
  615.     {
  616.         return "@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig";
  617.     }
  618.     public function isTraitable()
  619.     {
  620.         return false;
  621.     }
  622.     public function getDebugInfo()
  623.     {
  624.         return array (  619 => 196,  615 => 194,  613 => 193,  607 => 190,  604 => 189,  602 => 188,  597 => 185,  593 => 183,  589 => 181,  587 => 180,  583 => 179,  576 => 174,  571 => 172,  568 => 171,  565 => 170,  563 => 169,  556 => 164,  550 => 162,  548 => 161,  537 => 153,  531 => 150,  527 => 149,  523 => 148,  519 => 147,  515 => 146,  511 => 145,  507 => 144,  503 => 143,  499 => 142,  495 => 141,  491 => 140,  487 => 139,  483 => 138,  479 => 137,  475 => 136,  471 => 135,  467 => 134,  463 => 133,  459 => 132,  455 => 131,  451 => 130,  447 => 129,  443 => 128,  439 => 127,  433 => 124,  426 => 122,  419 => 119,  409 => 118,  392 => 110,  389 => 109,  387 => 108,  376 => 100,  373 => 99,  363 => 98,  350 => 92,  321 => 66,  317 => 65,  313 => 64,  309 => 63,  305 => 62,  300 => 61,  290 => 60,  280 => 58,  277 => 57,  274 => 56,  268 => 55,  263 => 53,  258 => 52,  255 => 51,  252 => 50,  249 => 49,  244 => 48,  241 => 47,  239 => 46,  234 => 45,  231 => 44,  229 => 43,  225 => 42,  221 => 41,  217 => 40,  213 => 39,  203 => 32,  195 => 28,  185 => 27,  175 => 25,  169 => 23,  166 => 22,  160 => 20,  157 => 19,  147 => 18,  137 => 14,  131 => 12,  125 => 10,  122 => 9,  112 => 8,  101 => 95,  99 => 60,  96 => 59,  94 => 27,  91 => 26,  89 => 18,  83 => 14,  81 => 8,  74 => 3,  64 => 2,  41 => 1,);
  625.     }
  626.     public function getSourceContext()
  627.     {
  628.         return new Source("{% extends '@templates/Front/Shop/layout.html.twig' %}
  629. {% block head %}
  630.     <head>
  631.         <meta charset=\"utf-8\">
  632.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  633.         <meta http-equiv=\"Content-Language\" content=\"ro\">
  634.         <meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
  635.         <title>{% block title %}
  636.                 {% if page.title is not empty %}
  637.                     {{ page.title }}
  638.                 {% else %}
  639.                     {{ parent() }}
  640.                 {% endif %}
  641.             {% endblock %}</title>
  642.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  643.         {% block metatags %}
  644.             {% if page.metaKeywords is not empty %}
  645.                 <meta name=\"keywords\" content=\"{{ page.metaKeywords }}\"/>
  646.             {% endif %}
  647.             {% if page.metaDescription is not empty %}
  648.                 <meta name=\"description\" content=\"{{ page.metaDescription }}\"/>
  649.             {% endif %}
  650.         {% endblock %}
  651.         {% block stylesheets %}
  652.             <script src=\"{{ asset('assets/shop/js/sentry-bundle.min.js') }}\"></script>
  653.             <script>
  654.                  if (typeof Sentry !== 'undefined') {
  655.                     Sentry.init({
  656.                         dsn: \"{{ sentry_dsn }}\",
  657.                         integrations: [new Sentry.Integrations.TryCatch({
  658.                             eventTarget: false,
  659.                         })]
  660.                     });
  661.                 }
  662.             </script>
  663.             <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/homepage.css') }}\">
  664.             <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/bootstrap.min.css') }}\">
  665.             <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/leftmenu.v1.css') }}\">
  666.             {{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
  667.             {% set urlPath = app.request.uri %}
  668.             {% if urlPath is not null %}
  669.                 <link rel=\"canonical\" href=\"{{ urlPath }}\"/>
  670.                 {% set currentLocale = app.request.locale %}
  671.                 {% if currentLocale is not null %}
  672.                     {% for locale in locales.allLocales %}
  673.                         {% if locale != currentLocale %}
  674.                             {% set currentLocaleTemp = currentLocale ~ '/' %}
  675.                             {% set newUrl = urlPath|replace({currentLocaleTemp:locale ~ '/'}) %}
  676.                             <link rel=\"alternate\" hreflang=\"{{ locale }}\"
  677.                                   href=\"{{ newUrl }}\"/>
  678.                         {% endif %}
  679.                     {% endfor %}
  680.                 {% endif %}
  681.             {% endif %}
  682.         {% endblock %}
  683.         {% block javascripts %}
  684.             <script src=\"{{ asset('assets/shop/js/jquery.min.js') }}\"></script>
  685.             <script src=\"{{ asset('assets/shop/js/popper.min.js') }}\"></script>
  686.             <script src=\"{{ asset('assets/shop/js/bootstrap.min.js') }}\"></script>
  687.             <script src=\"{{ asset('assets/shop/js/leftmenu.js') }}\"></script>
  688.             <script src=\"{{ asset('/bundles/fosjsrouting/js/router.js') }}\"></script>
  689.             <script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  690.             <script>
  691.                 \$(document).ready(function () {
  692.                     function checkIfRedirectExists()
  693.                     {
  694.                         let redirectElement = \$('[class^=\"redirect\"]');
  695.                         if (redirectElement.length > 0) {
  696.                             if (redirectElement.hasClass(\"scala\")) {
  697.                                 window.location.href = \"https://taxeauto.ro\" + window.location.pathname;
  698.                             } else if (redirectElement.hasClass(\"roviniete\")) {
  699.                                 window.location.href = \"https://roviniete.ro\" + window.location.pathname;
  700.                             }
  701.                         }
  702.                     }
  703.                     checkIfRedirectExists();
  704.                     \$(window).on('load', function () {
  705.                         checkIfRedirectExists();
  706.                     });
  707.                 });
  708.                 dataLayer = [];
  709.             </script>
  710.             <!-- Google Tag Manager -->
  711.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  712.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  713.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  714.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  715.                 })(window,document,'script','dataLayer','{{ gtm_code }}');</script>
  716.             <!-- End Google Tag Manager -->
  717.         {% endblock %}
  718.     </head>
  719. {% endblock %}
  720. {% block header %}
  721.     <!-- Google Tag Manager (noscript) -->
  722.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
  723.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  724.     <!-- End Google Tag Manager (noscript) -->
  725.     <div class=\"custom-container mb-2\">
  726.         <div class=\"custom-container bg-white\">
  727.             <div class=\"bg-white\">
  728.                 <header>
  729.                     {% include '@templates/Front/Shop/v2/_header.html.twig' %}
  730.                     {{ sonata_block_render_event('sylius.shop.layout.after_header') }}
  731.                 </header>
  732.             </div>
  733.         </div>
  734.     </div>
  735. {% endblock %}
  736. {% block content %}
  737.     <div class=\"info-banner custom-container bg-white my-2\" onclick=\"location.href='{{ path('app_shop_vignette') }}'\" style=\"cursor: pointer\">
  738.         <div class=\"d-flex justify-content-center align-items-center\" style=\"height: 170px\">
  739.             <div class=\"info-banner-container\">
  740.                 <h1 class=\"calculator-viniete-text\">{{ 'app.ui.buy_vignette_online'|trans }} - <br class=\"new-line\"/> {{ 'app.ui.romania_vignette_calculator'|trans }}</h1>
  741.                 <div class=\"d-flex justify-content-center align-items-center\">
  742.                     <a class=\"text-center\">{{ 'app.ui.select_car_type'|trans }}:</a>
  743.                 </div>
  744.                 <div class=\"d-flex justify-content-center align-items-center banner-images\">
  745.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_a.png') }}\"
  746.                          title=\"{{'app.ui.category_rovignette_a_name'|trans}}\" class=\"mx-2\"
  747.                          alt=\"{{'app.ui.category_rovignette_a_name'|trans}}\" />
  748.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_b.png') }}\"
  749.                          title=\"{{'app.ui.category_rovignette_b_name'|trans}}\" class=\"mx-2\"
  750.                          alt=\"{{'app.ui.category_rovignette_b_name'|trans}}\" />
  751.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_c.png') }}\"
  752.                          title=\"{{'app.ui.category_rovignette_c_name'|trans}}\" class=\"mx-2\"
  753.                          alt=\"{{'app.ui.category_rovignette_c_name'|trans}}\" />
  754.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_d.png') }}\"
  755.                          title=\"{{'app.ui.category_rovignette_d_name'|trans}}\" class=\"mx-2\"
  756.                          alt=\"{{'app.ui.category_rovignette_d_name'|trans}}\" />
  757.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_e.png') }}\"
  758.                          title=\"{{'app.ui.category_rovignette_e_name'|trans}}\" class=\"mx-2\"
  759.                          alt=\"{{'app.ui.category_rovignette_e_name'|trans}}\" />
  760.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_f.png') }}\"
  761.                          title=\"{{'app.ui.category_rovignette_f_name'|trans}}\" class=\"mx-2\"
  762.                          alt=\"{{'app.ui.category_rovignette_f_name'|trans}}\" />
  763.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_g.png') }}\"
  764.                          title=\"{{'app.ui.category_rovignette_g_name'|trans}}\" class=\"mx-2\"
  765.                          alt=\"{{'app.ui.category_rovignette_g_name'|trans}}\" />
  766.                     <img src=\"{{ asset('assets/shop/images/icons/ic_rovinieta_categ_h.png') }}\"
  767.                          title=\"{{'app.ui.category_rovignette_h_name'|trans}}\" class=\"mx-2\"
  768.                          alt=\"{{'app.ui.category_rovignette_h_name'|trans}}\" />
  769.                 </div>
  770.                 <div class=\"d-flex justify-content-center align-items-center\">
  771.                     <button class=\"btn btn-lg btn-primary w-50\">{{ 'app.ui.continue'|trans }}</button>
  772.                 </div>
  773.             </div>
  774.         </div>
  775.     </div>
  776.     <div class=\"card\">
  777.         <div class=\"card-header\">
  778.             {% if page.name is not empty %}
  779.                 <h1 class=\"ui dividing header bitbag-page-name\">{{ page.name|raw }}</h1>
  780.             {% endif %}
  781.         </div>
  782.         <div class=\"card-body\">
  783.             <div class=\"row justify-content-center align-items-center\">
  784.                 <div class=\"col-8\">
  785.                     {% if page.image %}
  786.                         {% set path = preview is defined and preview == true ? page.image.path : '/media/image/'~page.image.path %}
  787.                         <img class=\"page-image ui fluid image\" src=\"{{ path }}\" alt=\"\">
  788.                     {% endif %}
  789.                 </div>
  790.             </div>
  791.             <div class=\"ui hidden divider\"></div>
  792.             <div class=\"bitbag-page-content\">{{ bitbag_cms_render_content(page) }}</div>
  793.             {% if page.title is not empty %}
  794.                 <div class=\"ui dividing header\"></div>
  795.             {% else %}
  796.                 <div class=\"ui hidden divider\"></div>
  797.             {% endif %}
  798.         </div>
  799.     </div>
  800.     {% if page.products|length > 0 %}
  801.         <h2>
  802.             {{ 'bitbag_sylius_cms_plugin.ui.page_related_products'|trans }}
  803.         </h2>
  804.         <div class=\"bitbag-page-products\">
  805.             {% include '@SyliusShop/Product/_horizontalList.html.twig' with {'products': page.products} %}
  806.         </div>
  807.     {% endif %}
  808.     <style>
  809.         .banner-images img {
  810.             width: 50px;
  811.         }
  812.         .calculator-viniete-text {
  813.             font-family: Calibri, Tahoma, Arial, serif;
  814.             font-size: 26px;
  815.             font-weight: normal;
  816.             color: #EA6031;
  817.             line-height: 20px;
  818.             letter-spacing: -1px;
  819.             text-shadow: 0.02em 0.02em 0.02em #d96642;
  820.             display: block;
  821.             height: 40px;
  822.             padding: 10px 30px 0 0
  823.         }
  824.         .new-line {
  825.             display: none;
  826.         }
  827.         @media only screen and (max-width: 600px) {
  828.             .info-banner {
  829.                 max-width: 400px;
  830.             }
  831.             .info-banner-container {
  832.                 max-width: 400px;
  833.                 text-align: center;
  834.             }
  835.             .banner-images img {
  836.                 width: 30px;
  837.             }
  838.             .calculator-viniete-text {
  839.                 height: 58px;
  840.                 line-height: 26px;
  841.                 font-size: 20px;
  842.             }
  843.             .new-line {
  844.                 display: block;
  845.             }
  846.         }
  847.     </style>
  848. {% endblock %}
  849. ""@templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig""/vhosts/roviniete-qa.roviniete.ro/templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/show.html.twig");
  850.     }
  851. }