var/cache/dev/twig/ac/ac64a8c0acbbc47d43b5a45f01e642e8b2a9857f0d3610c345d56a736d263e07.php line 55

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/Front/HuVignette/hu-vignette.html.twig */
  14. class __TwigTemplate_fb81d41868e0f3ab364df211bf2c6dfa5d6ee0a9bdac193e0ee8abe3a10f7821 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.             'footer' => [$this'block_footer'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "@templates/Front/Shop/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@templates/Front/HuVignette/hu-vignette.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@templates/Front/HuVignette/hu-vignette.html.twig"));
  45.         $this->parent $this->loadTemplate("@templates/Front/Shop/layout.html.twig""@templates/Front/HuVignette/hu-vignette.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     public function block_head($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  60.         // line 4
  61.         echo "    <head>
  62.         ";
  63.         // line 5
  64.         $this->displayBlock('title'$context$blocks);
  65.         // line 6
  66.         echo "
  67.         ";
  68.         // line 7
  69.         $this->displayBlock('metatags'$context$blocks);
  70.         // line 10
  71.         echo "        <meta charset=\"utf-8\">
  72.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  73.         <meta http-equiv=\"Content-Language\" content=\"ro\">
  74.         <meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
  75.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  76.         <meta name=\"keywords\" content=\"";
  77.         // line 15
  78.         if ((twig_length_filter($this->env, (isset($context["huVignetteKeywordsForSeo"]) || array_key_exists("huVignetteKeywordsForSeo"$context) ? $context["huVignetteKeywordsForSeo"] : (function () { throw new RuntimeError('Variable "huVignetteKeywordsForSeo" does not exist.'15$this->source); })())) > 0)) {
  79.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["huVignetteKeywordsForSeo"]) || array_key_exists("huVignetteKeywordsForSeo"$context) ? $context["huVignetteKeywordsForSeo"] : (function () { throw new RuntimeError('Variable "huVignetteKeywordsForSeo" does not exist.'15$this->source); })()), "content", [], "any"falsefalsefalse15), "html"nulltrue);
  80.         }
  81.         echo "\">
  82.         ";
  83.         // line 17
  84.         $this->displayBlock('stylesheets'$context$blocks);
  85.         // line 25
  86.         echo "
  87.         ";
  88.         // line 26
  89.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.head"]);
  90.         echo "
  91.         ";
  92.         // line 27
  93.         $this->displayBlock('javascripts'$context$blocks);
  94.         // line 60
  95.         echo "    </head>
  96. ";
  97.         
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  99.         
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  101.     }
  102.     // line 5
  103.     public function block_title($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  110.         echo " <title>";
  111.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.calculator_hu_vignette"), "html"nulltrue);
  112.         echo " | roviniete.ro</title> ";
  113.         
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  115.         
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  117.     }
  118.     // line 7
  119.     public function block_metatags($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  126.         // line 8
  127.         echo "            <meta name=\"description\" content=\"";
  128.         if ((twig_length_filter($this->env, (isset($context["huVignetteDescriptionForSeo"]) || array_key_exists("huVignetteDescriptionForSeo"$context) ? $context["huVignetteDescriptionForSeo"] : (function () { throw new RuntimeError('Variable "huVignetteDescriptionForSeo" does not exist.'8$this->source); })())) > 0)) {
  129.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["huVignetteDescriptionForSeo"]) || array_key_exists("huVignetteDescriptionForSeo"$context) ? $context["huVignetteDescriptionForSeo"] : (function () { throw new RuntimeError('Variable "huVignetteDescriptionForSeo" does not exist.'8$this->source); })()), "content", [], "any"falsefalsefalse8), "html"nulltrue);
  130.         }
  131.         echo "\"/>
  132.         ";
  133.         
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  135.         
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  137.     }
  138.     // line 17
  139.     public function block_stylesheets($context, array $blocks = [])
  140.     {
  141.         $macros $this->macros;
  142.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  144.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  145.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  146.         // line 18
  147.         echo "            <link rel=\"stylesheet\" href=\"/assets/shop/css/homepage.css\">
  148.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bootstrap.min.css\">
  149.             <link rel=\"stylesheet\" href=\"/assets/shop/css/vignette_shop.v1.css\">
  150.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bs-stepper.css\">
  151.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bootstrap_select.css\">
  152.             ";
  153.         // line 23
  154.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("bootstrap-fix"null"bootstrapTheme");
  155.         echo "
  156.         ";
  157.         
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  159.         
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  161.     }
  162.     // line 27
  163.     public function block_javascripts($context, array $blocks = [])
  164.     {
  165.         $macros $this->macros;
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  170.         // line 28
  171.         echo "            <script src=\"";
  172.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/sentry-bundle.min.js"), "html"nulltrue);
  173.         echo "\"></script>
  174.             <script>
  175.                 if (typeof Sentry !== 'undefined') {
  176.                     Sentry.init({
  177.                         dsn: \"";
  178.         // line 32
  179.         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);
  180.         echo "\",
  181.                         integrations: [new Sentry.Integrations.TryCatch({
  182.                             eventTarget: false,
  183.                         })]
  184.                     });
  185.                 }
  186.             </script>
  187.             <script src=\"";
  188.         // line 39
  189.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery.min.js"), "html"nulltrue);
  190.         echo "\"></script>
  191.             <script src=\"";
  192.         // line 40
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/bs-stepper.js"), "html"nulltrue);
  194.         echo "\"></script>
  195.             <script src=\"";
  196.         // line 41
  197.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery-ui.min.js"), "html"nulltrue);
  198.         echo "\"></script>
  199.             <script src=\"";
  200.         // line 42
  201.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/popper.min.js"), "html"nulltrue);
  202.         echo "\"></script>
  203.             <script src=\"";
  204.         // line 43
  205.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/bootstrap.min.js"), "html"nulltrue);
  206.         echo "\"></script>
  207.             <script src=\"";
  208.         // line 44
  209.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/_bootstrap_select.min.js"), "html"nulltrue);
  210.         echo "\"></script>
  211.             <script src=\"";
  212.         // line 45
  213.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/leftmenu.js"), "html"nulltrue);
  214.         echo "\"></script>
  215.             ";
  216.         // line 46
  217.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("hu-vignette");
  218.         echo "
  219.             <script src=\"/bundles/fosjsrouting/js/router.js\"></script>
  220.             <script>
  221.                 dataLayer = [];
  222.             </script>
  223.             <!-- Google Tag Manager -->
  224.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  225.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  226.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  227.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  228.                 })(window,document,'script','dataLayer','";
  229.         // line 56
  230.         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.'56$this->source); })()), "html"nulltrue);
  231.         echo "');</script>
  232.             <!-- End Google Tag Manager -->
  233.             <script src=\"";
  234.         // line 58
  235.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
  236.         echo "\"></script>
  237.         ";
  238.         
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  240.         
  241.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  242.     }
  243.     // line 63
  244.     public function block_header($context, array $blocks = [])
  245.     {
  246.         $macros $this->macros;
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  248.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  250.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  251.         // line 64
  252.         echo "    <!-- Google Tag Manager (noscript) -->
  253.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  254.         // line 65
  255.         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);
  256.         echo "\"
  257.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  258.     <!-- End Google Tag Manager (noscript) -->
  259.     <div id=\"loadingAvailabilitiesDiv\" class=\"loading\">
  260.         <div class=\"card w-50\" style=\"background-color: #F1F2F3\">
  261.             <div class=\"card-body bg-loading-card\">
  262.                 <img src=\"";
  263.         // line 71
  264.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/spinner.gif"), "html"nulltrue);
  265.         echo "\"
  266.                      style=\"width: 50px; pointer-events: none\"/>
  267.                 <h5>";
  268.         // line 73
  269.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.retrieve_prices_for_category"), "html"nulltrue);
  270.         echo "</h5>
  271.             </div>
  272.         </div>
  273.     </div>
  274.     <div class=\"custom-container\">
  275.         <div style=\"max-width: 100%\">
  276.             <div class=\"bg-white\">
  277.                 <header>
  278.                     ";
  279.         // line 81
  280.         $this->loadTemplate("@templates/Front/Shop/v2/_header.html.twig""@templates/Front/HuVignette/hu-vignette.html.twig"81)->display($context);
  281.         // line 82
  282.         echo "
  283.                     ";
  284.         // line 83
  285.         echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.after_header"]);
  286.         echo "
  287.                 </header>
  288.             </div>
  289.         </div>
  290.     </div>
  291. ";
  292.         
  293.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  294.         
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  296.     }
  297.     // line 91
  298.     public function block_content($context, array $blocks = [])
  299.     {
  300.         $macros $this->macros;
  301.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  302.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  303.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  304.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  305.         // line 92
  306.         echo "    ";
  307.         if ((twig_get_attribute($this->env$this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus"$context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.'92$this->source); })()), "huVignetteStatus", [], "any"falsefalsefalse92) || (isset($context["isAdmin"]) || array_key_exists("isAdmin"$context) ? $context["isAdmin"] : (function () { throw new RuntimeError('Variable "isAdmin" does not exist.'92$this->source); })()))) {
  308.             // line 93
  309.             echo "        <script type=\"text/javascript\">
  310.             var one_day = '";
  311.             // line 94
  312.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.1_day")), "html"nulltrue);
  313.             echo "';
  314.             var ten_days = '";
  315.             // line 95
  316.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.10_days")), "html"nulltrue);
  317.             echo "';
  318.             var thirty_days = '";
  319.             // line 96
  320.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.30_days")), "html"nulltrue);
  321.             echo "';
  322.             var twelve_months = '";
  323.             // line 97
  324.             echo twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months"));
  325.             echo "';
  326.             var twelve_months_county = '";
  327.             // line 98
  328.             echo twig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months_county"));
  329.             echo "';
  330.             var locale = '";
  331.             // line 99
  332.             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.'99$this->source); })()), "request", [], "any"falsefalsefalse99), "getLocale", [], "method"falsefalsefalse99), "html"nulltrue);
  333.             echo "';
  334.             var isOneYearHuVignetteAvailableThisYear = ";
  335.             // line 100
  336.             echo (((isset($context["isOneYearHuVignetteAvailableThisYear"]) || array_key_exists("isOneYearHuVignetteAvailableThisYear"$context) ? $context["isOneYearHuVignetteAvailableThisYear"] : (function () { throw new RuntimeError('Variable "isOneYearHuVignetteAvailableThisYear" does not exist.'100$this->source); })())) ? ("true") : ("false"));
  337.             echo ";
  338.         </script>
  339.         <div id=\"specialErrors\" class=\"alert alert-warning alert-dismissible fade show d-none\" role=\"alert\">
  340.             <div class=\"header text-center\">
  341.                 <h2>";
  342.             // line 104
  343.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.error"), "html"nulltrue);
  344.             echo "</h2>
  345.             </div>
  346.             <p>
  347.             <h5 class=\"text-center text-primary vignette-already-bought d-none\">
  348.                 ";
  349.             // line 108
  350.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.hu_vignette_available_for_choosen_date"), "html"nulltrue);
  351.             echo "
  352.             </h5>
  353.             <h5 class=\"special-error\">
  354.             </h5>
  355.             <a class=\"text-center\">
  356.             </a>
  357.             </p>
  358.             <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
  359.                 <span aria-hidden=\"true\">&times;</span>
  360.             </button>
  361.         </div>
  362.         <div id=\"categoryError\" class=\"alert alert-warning fade show d-none\" role=\"alert\">
  363.             <div class=\"header text-center\">
  364.                 <h2>";
  365.             // line 121
  366.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.error"), "html"nulltrue);
  367.             echo "</h2>
  368.             </div>
  369.             <p>
  370.             <h5 class=\"text-center text-primary\">
  371.                 ";
  372.             // line 125
  373.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.vignette_category_error"), "html"nulltrue);
  374.             echo "
  375.             </h5>
  376.             <h5 class=\"special-error\">
  377.             </h5>
  378.             <a class=\"text-center\">
  379.             </a>
  380.             </p>
  381.         </div>
  382.         <div id=\"divNoSpecialCharacters\" class=\"alert alert-warning d-none\" role=\"alert\">
  383.             ";
  384.             // line 134
  385.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.no_special_characters_allowed"), "html"nulltrue);
  386.             echo "
  387.         </div>
  388.         <div class=\"d-inline-flex mx-3\">
  389.             <a href=\"";
  390.             // line 137
  391.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  392.             echo "\" class=\"section text-primary\" style=\"font-size: 0.8em;\">";
  393.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  394.             echo "</a>
  395.             <div class=\"divider\"> /</div>
  396.             <small class=\"section active\">";
  397.             // line 139
  398.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.hu_vignette"), "html"nulltrue);
  399.             echo "</small>
  400.         </div>
  401.         <div>
  402.             <h1 class=\"mx-3\">";
  403.             // line 142
  404.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.calculator_hu_vignette"), "html"nulltrue);
  405.             echo "</h1>
  406.             <div>
  407.                 <div id=\"stepperForm\" class=\"bs-stepper linear\">
  408.                     <div class=\"row\" style=\"padding: 0 20px 20px;\">
  409.                         <div class=\"col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10\">
  410.                             <div id=\"vignetteStep1Summary\" class=\"card d-none my-3\" onclick=\"stepper.previous()\">
  411.                                 <div class=\"card-body d-flex justify-content-between align-items-center\">
  412.                                     <div class=\"d-inline-flex justify-content-center align-items-center\">
  413.                                         <img src=\"";
  414.             // line 150
  415.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_check_small_dark.png"), "html"nulltrue);
  416.             echo "\" style=\"width: 30px\"/>
  417.                                         <h3>
  418.                                             <a class=\"font-weight-bolder text-primary\">";
  419.             // line 152
  420.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.hu_vignette_details"), "html"nulltrue);
  421.             echo ":</a>
  422.                                             <a class=\"font-weight-bolder text-dark\">";
  423.             // line 153
  424.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.category"), "html"nulltrue);
  425.             echo " - </a>
  426.                                             <a id=\"categoryTitleText\">-</a>;
  427.                                             <a class=\"font-weight-bolder text-dark\">";
  428.             // line 155
  429.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.availability_type"), "html"nulltrue);
  430.             echo " - </a>
  431.                                             <a id=\"availabilityTitleText\">-</a>
  432.                                         </h3>
  433.                                     </div>
  434.                                     <div id=\"editVignetteStep1\">
  435.                                         <img src=\"";
  436.             // line 160
  437.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/ic_edit_grey.png"), "html"nulltrue);
  438.             echo "\" style=\"width: 30px\"/>
  439.                                     </div>
  440.                                 </div>
  441.                             </div>
  442.                         </div>
  443.                     </div>
  444.                     <div class=\"bs-stepper-header d-none\" role=\"tablist\">
  445.                         <div id=\"divStepVignetteDetails\" class=\"step active\" data-target=\"#vignetteDetails\" onclick=\"stepper.previous()\" style=\"pointer-events: none\">
  446.                             <button type=\"button\" class=\"step-trigger\" role=\"tab\" id=\"stepVignetteDetails\" aria-controls=\"vignetteDetails\" aria-selected=\"true\">
  447.                                 <span class=\"bs-stepper-circle\"><a>1</a></span>
  448.                                 <small style=\"font-size: 0.8em; letter-spacing: 1px;\" class=\"bs-stepper-label text-primary font-weight-bolder\">";
  449.             // line 170
  450.             echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.hu_vignette_details")), "html"nulltrue);
  451.             echo "</small>
  452.                             </button>
  453.                         </div>
  454.                         <div class=\"bs-stepper-line\"></div>
  455.                         <div id=\"divStepVehicleDetails\" class=\"step\" data-target=\"#vehicleDetails\" onclick=\"stepper.next()\" style=\"pointer-events: none\">
  456.                             <button type=\"button\" class=\"step-trigger\" role=\"tab\" id=\"stepVehicleDetails\" aria-controls=\"vehicleDetails\" aria-selected=\"false\" disabled>
  457.                                 <span class=\"inactive-step bs-stepper-circle\"><a>2</a></span>
  458.                                 <small style=\"font-size: 0.8em; letter-spacing: 1px;\" class=\"bs-stepper-label text-black-50 font-weight-bolder\">";
  459.             // line 177
  460.             echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.car_data")), "html"nulltrue);
  461.             echo " </small>
  462.                             </button>
  463.                         </div>
  464.                         <div class=\"bs-stepper-line\"></div>
  465.                     </div>
  466.                     <div class=\"bs-stepper-content\">
  467.                         <form id=\"huVignetteForm\" method=\"POST\">
  468.                             <input type=\"hidden\" value=\"1\" name=\"isHuVignette\" />
  469.                             <input type=\"hidden\" name=\"productStatusExtraOptions\" id=\"productStatusExtraOptions\" value=\"";
  470.             // line 185
  471.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["lastProductStatus"]) || array_key_exists("lastProductStatus"$context) ? $context["lastProductStatus"] : (function () { throw new RuntimeError('Variable "lastProductStatus" does not exist.'185$this->source); })()), "extraOptionsStatus", [], "any"falsefalsefalse185), "html"nulltrue);
  472.             echo "\">
  473.                             <div id=\"vignetteDetails\" role=\"tabpanel\" class=\"bs-stepper-pane fade active dstepper-block\" aria-labelledby=\"stepperFormTrigger1\">
  474.                                 <div class=\"row my-3\">
  475.                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10\">
  476.                                         <div class=\"card vignette-card shadow\">
  477.                                             <div class=\"card-body\">
  478.                                                 <div class=\"row\">
  479.                                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6\">
  480.                                                         <div class=\"d-flex justify-content-between align-items-start\">
  481.                                                             <h3 id=\"selectedCategoryText\" class=\"mb-3 font-weight-bolder\">";
  482.             // line 194
  483.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.select_car_type"), "html"nulltrue);
  484.             echo "</h3>
  485.                                                             <img class='show-info-btn' data-for=\"category\" src=\"";
  486.             // line 195
  487.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/info.png"), "html"nulltrue);
  488.             echo "\" style=\"width: 30px\"/>
  489.                                                         </div>
  490.                                                         ";
  491.             // line 197
  492.             $context['_parent'] = $context;
  493.             $context['_seq'] = twig_ensure_traversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'197$this->source); })()));
  494.             $context['loop'] = [
  495.               'parent' => $context['_parent'],
  496.               'index0' => 0,
  497.               'index'  => 1,
  498.               'first'  => true,
  499.             ];
  500.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  501.                 $length count($context['_seq']);
  502.                 $context['loop']['revindex0'] = $length 1;
  503.                 $context['loop']['revindex'] = $length;
  504.                 $context['loop']['length'] = $length;
  505.                 $context['loop']['last'] = === $length;
  506.             }
  507.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  508.                 // line 198
  509.                 echo "                                                            ";
  510.                 if (((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse198) % 2) != 0)) {
  511.                     // line 199
  512.                     echo "                                                                <div class=\"d-flex justify-content-center my-2 ";
  513.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse199) == twig_length_filter($this->env, (isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'199$this->source); })())))) {
  514.                         echo " w-50 ";
  515.                     }
  516.                     echo "\">
  517.                                                             ";
  518.                 }
  519.                 // line 201
  520.                 echo "                                                            <label type=\"button\" for=\"";
  521.                 echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "code", [], "any"falsefalsefalse201)), "html"nulltrue);
  522.                 echo "\" class=\"btn btn-vignette-unselected w-100 mx-3 webkit-none\" data-value=\"front\" style=\"height: 75px !important;\">
  523.                                                                 <input type=\"radio\" name=\"category\" data-error-message=\"";
  524.                 // line 202
  525.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.errors.no_category_selected"), "html"nulltrue);
  526.                 echo "\" id=\"";
  527.                 echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "code", [], "any"falsefalsefalse202)), "html"nulltrue);
  528.                 echo "\" value=\"";
  529.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "wsId", [], "any"falsefalsefalse202), "html"nulltrue);
  530.                 echo "\"
  531.                                                                        data-category=\"";
  532.                 // line 203
  533.                 if ((twig_get_attribute($this->env$this->source$context["category"], "wsId", [], "any"falsefalsefalse203) == (isset($context["category_hu_vignette_d1m_id"]) || array_key_exists("category_hu_vignette_d1m_id"$context) ? $context["category_hu_vignette_d1m_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_d1m_id" does not exist.'203$this->source); })()))) {
  534.                     // line 204
  535.                     echo "                                                                        ";
  536.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_d1m_name"), "html"nulltrue);
  537.                     echo "
  538.                                                                     ";
  539.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 205
  540. $context["category"], "wsId", [], "any"falsefalsefalse205) == (isset($context["category_hu_vignette_d1_id"]) || array_key_exists("category_hu_vignette_d1_id"$context) ? $context["category_hu_vignette_d1_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_d1_id" does not exist.'205$this->source); })()))) {
  541.                     // line 206
  542.                     echo "                                                                        ";
  543.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_d1_name"), "html"nulltrue);
  544.                     echo "
  545.                                                                     ";
  546.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 207
  547. $context["category"], "wsId", [], "any"falsefalsefalse207) == (isset($context["category_hu_vignette_d2_id"]) || array_key_exists("category_hu_vignette_d2_id"$context) ? $context["category_hu_vignette_d2_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_d2_id" does not exist.'207$this->source); })()))) {
  548.                     // line 208
  549.                     echo "                                                                        ";
  550.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_d2_name");
  551.                     echo "
  552.                                                                     ";
  553.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 209
  554. $context["category"], "wsId", [], "any"falsefalsefalse209) == (isset($context["category_hu_vignette_b2_id"]) || array_key_exists("category_hu_vignette_b2_id"$context) ? $context["category_hu_vignette_b2_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_b2_id" does not exist.'209$this->source); })()))) {
  555.                     // line 210
  556.                     echo "                                                                        ";
  557.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_b2_name"), "html"nulltrue);
  558.                     echo "
  559.                                                                     ";
  560.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 211
  561. $context["category"], "wsId", [], "any"falsefalsefalse211) == (isset($context["category_hu_vignette_u_id"]) || array_key_exists("category_hu_vignette_u_id"$context) ? $context["category_hu_vignette_u_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_u_id" does not exist.'211$this->source); })()))) {
  562.                     // line 212
  563.                     echo "                                                                        ";
  564.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_u_name");
  565.                     echo "
  566.                                                                     ";
  567.                 }
  568.                 // line 213
  569.                 echo "\"
  570.                                                                        hidden>
  571.                                                                 <div class=\"d-flex justify-content-between align-items-center mt-2\">
  572.                                                                     <h5 class=\"text-dark font-weight-bolder\" id=\"vehicleType-";
  573.                 // line 216
  574.                 echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_first($this->envtwig_get_attribute($this->env$this->source$context["category"], "code", [], "any"falsefalsefalse216))), "html"nulltrue);
  575.                 echo "\">
  576.                                                                         ";
  577.                 // line 217
  578.                 if ((twig_get_attribute($this->env$this->source$context["category"], "wsId", [], "any"falsefalsefalse217) == (isset($context["category_hu_vignette_d1m_id"]) || array_key_exists("category_hu_vignette_d1m_id"$context) ? $context["category_hu_vignette_d1m_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_d1m_id" does not exist.'217$this->source); })()))) {
  579.                     // line 218
  580.                     echo "                                                                            ";
  581.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_d1m_short_code"), "html"nulltrue);
  582.                     echo "
  583.                                                                         ";
  584.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 219
  585. $context["category"], "wsId", [], "any"falsefalsefalse219) == (isset($context["category_hu_vignette_d1_id"]) || array_key_exists("category_hu_vignette_d1_id"$context) ? $context["category_hu_vignette_d1_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_d1_id" does not exist.'219$this->source); })()))) {
  586.                     // line 220
  587.                     echo "                                                                            ";
  588.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_d1_short_code"), "html"nulltrue);
  589.                     echo "
  590.                                                                         ";
  591.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 221
  592. $context["category"], "wsId", [], "any"falsefalsefalse221) == (isset($context["category_hu_vignette_d2_id"]) || array_key_exists("category_hu_vignette_d2_id"$context) ? $context["category_hu_vignette_d2_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_d2_id" does not exist.'221$this->source); })()))) {
  593.                     // line 222
  594.                     echo "                                                                            ";
  595.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_d2_short_code");
  596.                     echo "
  597.                                                                         ";
  598.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 223
  599. $context["category"], "wsId", [], "any"falsefalsefalse223) == (isset($context["category_hu_vignette_b2_id"]) || array_key_exists("category_hu_vignette_b2_id"$context) ? $context["category_hu_vignette_b2_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_b2_id" does not exist.'223$this->source); })()))) {
  600.                     // line 224
  601.                     echo "                                                                            ";
  602.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_b2_short_code"), "html"nulltrue);
  603.                     echo "
  604.                                                                         ";
  605.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 225
  606. $context["category"], "wsId", [], "any"falsefalsefalse225) == (isset($context["category_hu_vignette_u_id"]) || array_key_exists("category_hu_vignette_u_id"$context) ? $context["category_hu_vignette_u_id"] : (function () { throw new RuntimeError('Variable "category_hu_vignette_u_id" does not exist.'225$this->source); })()))) {
  607.                     // line 226
  608.                     echo "                                                                            ";
  609.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_u_short_code");
  610.                     echo "
  611.                                                                         ";
  612.                 }
  613.                 // line 228
  614.                 echo "                                                                    </h5>
  615.                                                                     <img class=\"ml-auto\" src=\"";
  616.                 // line 229
  617.                 echo twig_escape_filter($this->env, ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("assets/shop/images/icons/hu_" twig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "code", [], "any"falsefalsefalse229)))) . "_orange.png"), "html"nulltrue);
  618.                 echo "\" style=\"height: 46px\"/>
  619.                                                                 </div>
  620.                                                             </label>
  621.                                                             ";
  622.                 // line 232
  623.                 if ((((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse232) % 2) == 0) || (twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse232) == twig_length_filter($this->env, (isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'232$this->source); })()))))) {
  624.                     // line 233
  625.                     echo "                                                                </div>
  626.                                                             ";
  627.                 }
  628.                 // line 235
  629.                 echo "                                                        ";
  630.                 ++$context['loop']['index0'];
  631.                 ++$context['loop']['index'];
  632.                 $context['loop']['first'] = false;
  633.                 if (isset($context['loop']['length'])) {
  634.                     --$context['loop']['revindex0'];
  635.                     --$context['loop']['revindex'];
  636.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  637.                 }
  638.             }
  639.             $_parent $context['_parent'];
  640.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  641.             $context array_intersect_key($context$_parent) + $_parent;
  642.             // line 236
  643.             echo "                                                        <div class=\"d-flex justify-content-center\">
  644.                                                         </div>
  645.                                                     </div>
  646.                                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 text-center\">
  647.                                                         <div class=\"d-flex justify-content-between\">
  648.                                                             <h3 class=\"mb-3 font-weight-bolder\">";
  649.             // line 243
  650.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.choose_validity"), "html"nulltrue);
  651.             echo "</h3>
  652.                                                             <img class=\"show-info-btn\" data-for=\"availability\" src=\"";
  653.             // line 244
  654.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/icons/info.png"), "html"nulltrue);
  655.             echo "\" style=\"width: 30px;height: 30px;\"/>
  656.                                                         </div>
  657.                                                         <div class=\"d-flex justify-content-between my-2 availability-wrapper\" data-error-message=\"";
  658.             // line 246
  659.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.errors.no_availability_selected"), "html"nulltrue);
  660.             echo "\">
  661.                                                             <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"";
  662.             // line 247
  663.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.please_select_a_category_first"), "html"nulltrue);
  664.             echo "\">
  665.                                                                 <label type=\"button\" id=\"lblAv1Day\" for=\"av_1\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"";
  666.             // line 248
  667.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.1_day"), "html"nulltrue);
  668.             echo "\" data-title=\"front\" style=\"min-height: 145px !important;\">
  669.                                                                     <div class=\"mx-2 my-2\">
  670.                                                                         <input type=\"radio\" name=\"availability\" id=\"av_1\" value=\"31\" data-value=\"";
  671.             // line 250
  672.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.1_day"), "html"nulltrue);
  673.             echo "\" hidden disabled>
  674.                                                                         <h2 id=\"txtAv1Day\" class=\"text-primary txtAvailability\">";
  675.             // line 251
  676.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.1_day"), "html"nulltrue);
  677.             echo "</h2>
  678.                                                                         <a id=\"txtAv1DayPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  679.                                                                     </div>
  680.                                                                 </label>
  681.                                                             </div>
  682.                                                             <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"";
  683.             // line 256
  684.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.please_select_a_category_first"), "html"nulltrue);
  685.             echo "\">
  686.                                                                 <label type=\"button\" id=\"lblAv10Days\" for=\"av_10\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"";
  687.             // line 257
  688.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.10_days"), "html"nulltrue);
  689.             echo "\" data-title=\"front\" style=\"min-height: 145px !important;\">
  690.                                                                     <div class=\"mx-2 my-2\">
  691.                                                                         <input type=\"radio\" name=\"availability\" id=\"av_10\" value=\"1\" data-value=\"";
  692.             // line 259
  693.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.10_days"), "html"nulltrue);
  694.             echo "\" hidden disabled>
  695.                                                                         <h2 id=\"txtAv10Days\" class=\"text-primary txtAvailability\">";
  696.             // line 260
  697.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.10_days"), "html"nulltrue);
  698.             echo "</h2>
  699.                                                                         <a id=\"txtAv10DaysPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  700.                                                                     </div>
  701.                                                                 </label>
  702.                                                             </div>
  703.                                                     </div>
  704.                                                     <div class=\"d-flex justify-content-between my-2\">
  705.                                                         <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"";
  706.             // line 268
  707.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.please_select_a_category_first"), "html"nulltrue);
  708.             echo "\">
  709.                                                             <label type=\"button\" id=\"lblAv30Days\" for=\"av_30\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"";
  710.             // line 269
  711.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.30_days");
  712.             echo "\" data-title=\"front\" style=\"min-height: 145px !important;\">
  713.                                                                 <div class=\"mx-2 my-2\">
  714.                                                                     <input type=\"radio\" name=\"availability\" id=\"av_30\" value=\"2\" data-value=\"";
  715.             // line 271
  716.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.30_days");
  717.             echo "\" hidden disabled>
  718.                                                                     <h2 id=\"txtAv30Days\" class=\"text-primary txtAvailability\">";
  719.             // line 272
  720.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.30_days");
  721.             echo "</h2>
  722.                                                                     <a id=\"txtAv30DaysPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  723.                                                                 </div>
  724.                                                             </label>
  725.                                                         </div>
  726.                                                         <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"";
  727.             // line 277
  728.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.please_select_a_category_first"), "html"nulltrue);
  729.             echo "\">
  730.                                                             <label type=\"button\" id=\"lblAv12Months\" for=\"av_12\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"";
  731.             // line 278
  732.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months");
  733.             echo "\" data-title=\"front\" style=\"min-height: 145px;\">
  734.                                                                 <div class=\"mx-2 my-2\">
  735.                                                                     <input type=\"radio\" name=\"availability\" id=\"av_12\" value=\"3\" data-value=\"";
  736.             // line 280
  737.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months");
  738.             echo "\" hidden disabled>
  739.                                                                     <h2 id=\"txtAv1Year\" class=\"text-primary txtAvailability\">";
  740.             // line 281
  741.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months");
  742.             echo "</h2>
  743.                                                                     <a id=\"txtAv1YearPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  744.                                                                 </div>
  745.                                                             </label>
  746.                                                         </div>
  747.                                                     </div>
  748.                                                     <div class=\"d-flex justify-content-between my-2\">
  749.                                                         <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"";
  750.             // line 289
  751.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.please_select_a_category_first"), "html"nulltrue);
  752.             echo "\">
  753.                                                             <label type=\"button\" id=\"lblAv12County\" for=\"av_12_county\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"";
  754.             // line 290
  755.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months_county");
  756.             echo "\" data-title=\"front\" style=\"min-height: 145px;\">
  757.                                                                 <div class=\"mx-2 my-2\">
  758.                                                                     <input type=\"radio\" name=\"availability\" id=\"av_12_county\" value=\"4\" data-value=\"";
  759.             // line 292
  760.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months_county");
  761.             echo "\" hidden disabled>
  762.                                                                     <h2 id=\"txtAv12County\" class=\"text-primary txtAvailability\">";
  763.             // line 293
  764.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.12_months_county");
  765.             echo "</h2>
  766.                                                                     <a id=\"txtAv12CountyPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  767.                                                                 </div>
  768.                                                             </label>
  769.                                                         </div>
  770.                                                     </div>
  771.                                                     <div id=\"selectCountiesDiv\" class=\"d-none\">
  772.                                                         <label for=\"counties\">";
  773.             // line 301
  774.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.select_counties"), "html"nulltrue);
  775.             echo "</label> <br/>
  776.                                                         <select id=\"counties\" class=\"selectpicker w-100\" name=\"counties[]\" data-style=\"btn-light h-35-px\"
  777.                                                                 multiple data-live-search=\"true\" data-done-button=\"true\" data-actions-box=\"true\" data-live-search-style=\"startsWith\"
  778.                                                                 title=\"";
  779.             // line 304
  780.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.please_select_at_least_one"), "html"nulltrue);
  781.             echo "\">
  782.                                                         </select>
  783.                                                     </div>
  784.                                                     <h6 class=\"mt-2\">";
  785.             // line 307
  786.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.price_without_tax"), "html"nulltrue);
  787.             echo "</h6>
  788.                                                 </div>
  789.                                             </div>
  790.                                         </div>
  791.                                     </div>
  792.                                 </div>
  793.                                 <div class=\"col-12 col-sm-12 col-md-12 col-lg-2 col-xl-2 d-flex align-items-center justify-content-center my-4\">
  794.                                     <div class=\"btn-wrapper\">
  795.                                         <button id=\"btnSubmitStep1\" type=\"button\" class=\"btn btn-primary-inactive w-100\" style=\"height: 40px\" disabled>
  796.                                             <a>";
  797.             // line 316
  798.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.next_step"), "html"nulltrue);
  799.             echo "</a>
  800.                                         </button>
  801.                                     </div>
  802.                                 </div>
  803.                             </div>
  804.                         </div>
  805.                         <div id=\"vehicleDetails\" role=\"tabpanel\" class=\"bs-stepper-pane fade dstepper-none\" aria-labelledby=\"stepperFormTrigger2\">
  806.                             <div class=\"row my-3\">
  807.                                 <div class=\"col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10\">
  808.                                     <div class=\"card vignette-card shadow\">
  809.                                         <div class=\"card-body\">
  810.                                             <div class=\"row\">
  811.                                                 <div class=\"col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6\">
  812.                                                     <h3 class=\"font-weight-bolder mb-2 text-center\">";
  813.             // line 329
  814.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.select_start_date"), "html"nulltrue);
  815.             echo "</h3>
  816.                                                     <div class=\"d-flex justify-content-center align-items-center\">
  817.                                                         <input type=\"hidden\" id=\"validFrom\" name=\"validFrom\">
  818.                                                         <div id=\"datepicker\" data-error-message = '";
  819.             // line 332
  820.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.errors.no_date_selected"), "html"nulltrue);
  821.             echo "'></div>
  822.                                                     </div>
  823.                                                     <div class=\"d-flex justify-content-center mt-3\">
  824.                                                         <div class=\"d-flex\">
  825.                                                             <div class=\"current-date-circle\" style=\"width: 18px; height: 18px\"></div>
  826.                                                             <div>
  827.                                                                 <a class=\"ml-2 text-dark\">";
  828.             // line 338
  829.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.current_date"), "html"nulltrue);
  830.             echo ":</a> <br/>
  831.                                                                 <h5 class=\"ml-2 text-dark\">";
  832.             // line 339
  833.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""d/m/Y"), "html"nulltrue);
  834.             echo "</h5>
  835.                                                             </div>
  836.                                                         </div>
  837.                                                         <div id=\"divStartDatePicker\">
  838.                                                             <div class=\"d-flex ml-4\">
  839.                                                                 <div class=\"picked-date-circle\" style=\"width: 18px; height: 18px\"></div>
  840.                                                                 <div>
  841.                                                                     <a class=\"ml-2 text-dark\">";
  842.             // line 346
  843.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.start_date"), "html"nulltrue);
  844.             echo ":</a> <br/>
  845.                                                                     <h5 class=\"ml-2 text-muted\" id=\"startDatePicker\">DD/MM/YYYY</h5>
  846.                                                                 </div>
  847.                                                             </div>
  848.                                                         </div>
  849.                                                     </div>
  850.                                                     <div class=\"date-disclaimer\">
  851.                                                         ";
  852.             // line 354
  853.             echo "                                                            ";
  854.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.date_disclaimer");
  855.             echo "
  856.                                                         ";
  857.             // line 356
  858.             echo "                                                    </div>
  859.                                                 </div>
  860.                                                 <div class=\"col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6\" style=\"padding-left: 50px; padding-right: 50px\">
  861.                                                     <h3 class=\"mb-3 font-weight-bolder\">";
  862.             // line 359
  863.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.select_car_data"), "html"nulltrue);
  864.             echo "</h3>
  865.                                                     <div class=\"row mt-3 d-flex align-items-end\">
  866.                                                         <div class=\"col-5 col-sm-5 col-md-6 col-lg-5 col-xl-5\">
  867.                                                             <label for=\"carCountry\" class=\"text-dark lbl-custom lbl-custom-grey d-none\">";
  868.             // line 362
  869.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.country_code"), "html"nulltrue);
  870.             echo "</label>
  871.                                                             <select id=\"carCountry\" name=\"carCountry\" class=\"form-control input-custom input-custom-grey\" required>
  872.                                                                 <option value=\"\">";
  873.             // line 364
  874.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.country"), "html"nulltrue);
  875.             echo "</option>
  876.                                                                 ";
  877.             // line 365
  878.             $context['_parent'] = $context;
  879.             $context['_seq'] = twig_ensure_traversable(twig_sort_filter((isset($context["countries"]) || array_key_exists("countries"$context) ? $context["countries"] : (function () { throw new RuntimeError('Variable "countries" does not exist.'365$this->source); })()), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'365$this->source); })()), "name", [], "any"falsefalsefalse365) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'365$this->source); })()), "name", [], "any"falsefalsefalse365)); }));
  880.             foreach ($context['_seq'] as $context["_key"] => $context["country"]) {
  881.                 // line 366
  882.                 echo "                                                                    <option value=\"";
  883.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["country"], "code", [], "any"falsefalsefalse366), "html"nulltrue);
  884.                 echo "\">";
  885.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["country"], "name", [], "any"falsefalsefalse366), "html"nulltrue);
  886.                 echo "</option>
  887.                                                                 ";
  888.             }
  889.             $_parent $context['_parent'];
  890.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['country'], $context['_parent'], $context['loop']);
  891.             $context array_intersect_key($context$_parent) + $_parent;
  892.             // line 368
  893.             echo "                                                            </select>
  894.                                                         </div>
  895.                                                         <div class=\"col-7 col-sm-7 col-md-6 col-lg-7 col-xl-7\">
  896.                                                             <label for=\"registrationPlate\" class=\"text-dark lbl-custom lbl-custom-grey d-none\">";
  897.             // line 371
  898.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.registration_plate"), "html"nulltrue);
  899.             echo "</label>
  900.                                                             <input id=\"registrationPlate\" data-warning-message=\"";
  901.             // line 372
  902.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.warning.characters_not_allowed"), "html"nulltrue);
  903.             echo "\" data-error-message=\"";
  904.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.errors.no_plate"), "html"nulltrue);
  905.             echo "\" name=\"registrationPlate\" maxlength=\"10\" type=\"text\" class=\"form-control input-custom input-custom-grey
  906.                                                             \" placeholder=\"";
  907.             // line 373
  908.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.registration_plate"), "html"nulltrue);
  909.             echo "\" oninvalid=\"this.setCustomValidity('";
  910.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.please_fill_this_field"), "html"nulltrue);
  911.             echo "')\"
  912.                                                                        oninput=\"setCustomValidity('')\"
  913.                                                                        required>
  914.                                                             </div>
  915.                                                             <div data-error-message = '";
  916.             // line 377
  917.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.invalid_registration_plate"), "html"nulltrue);
  918.             echo "' id=\"registrationPlateError\"></div>
  919.                                                         </div>
  920.                                                         <div class=\"row mt-2\">
  921.                                                             <div class=\"col-12\">
  922.                                                                 <div id=\"vinBlock\">
  923.                                                                 </div>
  924.                                                             </div>
  925.                                                         </div>
  926.                                                     </div>
  927.                                                 </div>
  928.                                             </div>
  929.                                         <div id=\"divPaymentNotAvailable\" class=\"alert alert-warning d-none mt-2\" role=\"alert\">
  930.                                             ";
  931.             // line 390
  932.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.info_payment_not_available");
  933.             echo "
  934.                                         </div>
  935.                                         </div>
  936.                                     </div>
  937.                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-2 col-xl-2 d-flex align-items-center justify-content-center my-4\">
  938.                                         <div>
  939.                                             <button type=\"button\" class=\"btn btn-grey btn-add-to-cart w-100 mb-3\" style=\"height: 40px\">
  940.                                                 <a class=\"submit-button\">";
  941.             // line 397
  942.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.add_to_cart"), "html"nulltrue);
  943.             echo "</a>
  944.                                             </button>
  945.                                             <button id=\"btnSubmitVignette\" type=\"submit\" class=\"submit-button btn btn-primary-inactive btn-submit w-100\" style=\"height: 40px\"><a>";
  946.             // line 399
  947.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy_now"), "html"nulltrue);
  948.             echo "</a></button>
  949.                                         </div>
  950.                                     </div>
  951.                                 </div>
  952.                             </div>
  953.                         </form>
  954.                         <div class=\"row\">
  955.                             <div class=\"col-6 col-sm-6 col-md-6 col-lg-5 col-xl-5\">
  956.                                 <div class=\"info-text category\">
  957.                                     ";
  958.             // line 409
  959.             echo "                                        ";
  960.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.category_description");
  961.             echo "
  962.                                     ";
  963.             // line 411
  964.             echo "                                </div>
  965.                                 <div class=\"card my-3\">
  966.                                     <div class=\"card-body d-flex justify-content-between align-items-center\">
  967.                                         <img src=\"";
  968.             // line 414
  969.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/hungary/nemzeti.png"), "html"nulltrue);
  970.             echo "\" style=\"max-width: 50px\"/>
  971.                                         <h6 class=\"font-weight-normal\">";
  972.             // line 415
  973.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.national_payment_distributor"), "html"nulltrue);
  974.             echo "</h6>
  975.                                     </div>
  976.                                 </div>
  977.                             </div>
  978.                             <div class=\"col-6 col-sm-6 col-md-6 col-lg-5 col-xl-5\">
  979.                                 <div class=\"info-text availability\">
  980.                                     ";
  981.             // line 423
  982.             echo "                                        ";
  983.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.hu_vignette.availability_description");
  984.             echo "
  985.                                     ";
  986.             // line 425
  987.             echo "                                </div>
  988.                             </div>
  989.                         </div>
  990.                     </div>
  991.                 </div>
  992.             </div>
  993.         </div>
  994.         <div class=\"bs-stepper-content\">
  995.             <div class=\"row my-3\">
  996.                 ";
  997.             // line 435
  998.             if ((twig_length_filter($this->env, (isset($context["accordionBlocksAboutHuVignette"]) || array_key_exists("accordionBlocksAboutHuVignette"$context) ? $context["accordionBlocksAboutHuVignette"] : (function () { throw new RuntimeError('Variable "accordionBlocksAboutHuVignette" does not exist.'435$this->source); })())) > 0)) {
  999.                 // line 436
  1000.                 echo "                    ";
  1001.                 $context['_parent'] = $context;
  1002.                 $context['_seq'] = twig_ensure_traversable((isset($context["accordionBlocksAboutHuVignette"]) || array_key_exists("accordionBlocksAboutHuVignette"$context) ? $context["accordionBlocksAboutHuVignette"] : (function () { throw new RuntimeError('Variable "accordionBlocksAboutHuVignette" does not exist.'436$this->source); })()));
  1003.                 foreach ($context['_seq'] as $context["key"] => $context["block"]) {
  1004.                     // line 437
  1005.                     echo "                        <div class=\"col-3 my-3\">
  1006.                             <button class=\"accordion\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse";
  1007.                     // line 438
  1008.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1009.                     echo "\" aria-expanded=\"false\" aria-controls=\"collapse";
  1010.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1011.                     echo "\">";
  1012.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["block"], "name", [], "any"falsefalsefalse438), "html"nulltrue);
  1013.                     echo "</button>
  1014.                             <div class=\"collapse\" id=\"collapse";
  1015.                     // line 439
  1016.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1017.                     echo "\">
  1018.                                 <div class=\"card card-body border\">";
  1019.                     // line 440
  1020.                     echo twig_get_attribute($this->env$this->source$context["block"], "content", [], "any"falsefalsefalse440);
  1021.                     echo "</div>
  1022.                             </div>
  1023.                         </div>
  1024.                     ";
  1025.                 }
  1026.                 $_parent $context['_parent'];
  1027.                 unset($context['_seq'], $context['_iterated'], $context['key'], $context['block'], $context['_parent'], $context['loop']);
  1028.                 $context array_intersect_key($context$_parent) + $_parent;
  1029.                 // line 444
  1030.                 echo "                ";
  1031.             }
  1032.             // line 445
  1033.             echo "            </div>
  1034.         </div>
  1035.         <script>
  1036.             \$(document).ready(function () {
  1037.                 \$('.selectpicker').selectpicker({
  1038.                     'selectAllText': '";
  1039.             // line 451
  1040.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.select_all"), "html"nulltrue);
  1041.             echo "',
  1042.                     'deselectAllText': '";
  1043.             // line 452
  1044.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.deselect_all"), "html"nulltrue);
  1045.             echo "',
  1046.                     'doneButtonText': '";
  1047.             // line 453
  1048.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.close"), "html"nulltrue);
  1049.             echo "',
  1050.                 });
  1051.                 \$('.show-info-btn').click(function() {
  1052.                     \$('.info-text.'+\$(this).data('for')).toggleClass('d-none');
  1053.                 });
  1054.                 \$('[data-toggle=\"tooltip\"]').not('.hover-tooltip').tooltip({
  1055.                     html:true,
  1056.                     trigger: 'hover click focus'
  1057.                 });
  1058.                 \$('.hover-tooltip').tooltip({
  1059.                     html:true,
  1060.                     trigger: 'hover'
  1061.                 });
  1062.                 let locale = getLocale();
  1063.                 function getLocale() {
  1064.                     let url = Routing.generate('app_shop_get_locale');
  1065.                     \$.ajax({
  1066.                         url: url,
  1067.                         type: 'GET',
  1068.                         async: true,
  1069.                         dataType: 'json',
  1070.                         success: function (locale) {
  1071.                             if (locale == 'ro_RO' || locale == 'ro') {
  1072.                                 \$('[name=\"carCountry\"] option').filter(function() {
  1073.                                     return (\$(this).val() == 'RO');
  1074.                                 }).prop('selected', true).change();
  1075.                             } else if (locale == 'hu') {
  1076.                                 \$('[name=\"carCountry\"] option').filter(function() {
  1077.                                     return (\$(this).val() == 'HU');
  1078.                                 }).prop('selected', true).change();
  1079.                             }
  1080.                         },
  1081.                         error: function (data) {
  1082.                         }
  1083.                     });
  1084.                 }
  1085.             })
  1086.             var stepper = new Stepper(\$('.bs-stepper')[0]);
  1087.         </script>
  1088.         <style>
  1089.             .date-disclaimer {
  1090.                 border: 1px solid;
  1091.                 padding: 5px;
  1092.             }
  1093.             .show-info-btn {
  1094.                 cursor: pointer;
  1095.             }
  1096.             .info-text {
  1097.                 display: block;
  1098.                 border: 1px solid lightgray;
  1099.                 padding: 20px;
  1100.                 width: 100%;
  1101.                 background: white;
  1102.                 border-radius: 20px;
  1103.             }
  1104.             .webkit-none {
  1105.                 -webkit-appearance: none !important;
  1106.             }
  1107.             .tooltip-inner {
  1108.                 max-width: 350px; /* set this to your maximum fitting width */
  1109.                 width: inherit; /* will take up least amount of space */
  1110.             }
  1111.             .loading {
  1112.                 display: flex;
  1113.                 flex-direction: column;
  1114.                 justify-content: center;
  1115.                 align-items: center;
  1116.                 text-align: center;
  1117.                 min-height: 100vh;
  1118.                 z-index: 999;
  1119.                 position: fixed;
  1120.                 background-color: rgba(0,0,0,0.7);
  1121.                 opacity: 100%;
  1122.                 width: 100%;
  1123.                 height: 100%;
  1124.             }
  1125.             .h-35-px {
  1126.                 height: 35px !important;
  1127.             }
  1128.             .datepicker-disabled .ui-datepicker-next {
  1129.                 display: none;
  1130.             }
  1131.             .datepicker-disabled .ui-state-default {
  1132.                 color: lightgray;
  1133.                 cursor: default;
  1134.             }
  1135.             .ui-state-highlight, .ui-widget-content .ui-state-highlight {
  1136.                 background: none !important;
  1137.                 color: #454545 !important;
  1138.                 border: none !important;
  1139.             }
  1140.         </style>
  1141.     ";
  1142.         } else {
  1143.             // line 556
  1144.             echo "        <div class=\"card text-center my-3\">
  1145.             <div class=\"card-header\">
  1146.                 <h2>";
  1147.             // line 558
  1148.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.disabled_temporary"), "html"nulltrue);
  1149.             echo "</h2>
  1150.             </div>
  1151.             <div class=\"card-body\">
  1152.                 <a href=\"";
  1153.             // line 561
  1154.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  1155.             echo "\">";
  1156.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.back_to_store"), "html"nulltrue);
  1157.             echo "</a>
  1158.             </div>
  1159.         </div>
  1160.     ";
  1161.         }
  1162.         
  1163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1164.         
  1165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1166.     }
  1167.     // line 567
  1168.     public function block_footer($context, array $blocks = [])
  1169.     {
  1170.         $macros $this->macros;
  1171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  1173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  1175.         // line 568
  1176.         echo "    ";
  1177.         $this->loadTemplate("@templates/Front/Shop/v2/_footer.html.twig""@templates/Front/HuVignette/hu-vignette.html.twig"568)->display($context);
  1178.         
  1179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1180.         
  1181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1182.     }
  1183.     public function getTemplateName()
  1184.     {
  1185.         return "@templates/Front/HuVignette/hu-vignette.html.twig";
  1186.     }
  1187.     public function isTraitable()
  1188.     {
  1189.         return false;
  1190.     }
  1191.     public function getDebugInfo()
  1192.     {
  1193.         return array (  1245 => 568,  1235 => 567,  1218 => 561,  1212 => 558,  1208 => 556,  1102 => 453,  1098 => 452,  1094 => 451,  1086 => 445,  1083 => 444,  1073 => 440,  1069 => 439,  1061 => 438,  1058 => 437,  1053 => 436,  1051 => 435,  1039 => 425,  1034 => 423,  1024 => 415,  1020 => 414,  1015 => 411,  1010 => 409,  998 => 399,  993 => 397,  983 => 390,  967 => 377,  958 => 373,  952 => 372,  948 => 371,  943 => 368,  932 => 366,  928 => 365,  924 => 364,  919 => 362,  913 => 359,  908 => 356,  903 => 354,  893 => 346,  883 => 339,  879 => 338,  870 => 332,  864 => 329,  848 => 316,  836 => 307,  830 => 304,  824 => 301,  813 => 293,  809 => 292,  804 => 290,  800 => 289,  789 => 281,  785 => 280,  780 => 278,  776 => 277,  768 => 272,  764 => 271,  759 => 269,  755 => 268,  744 => 260,  740 => 259,  735 => 257,  731 => 256,  723 => 251,  719 => 250,  714 => 248,  710 => 247,  706 => 246,  701 => 244,  697 => 243,  688 => 236,  674 => 235,  670 => 233,  668 => 232,  662 => 229,  659 => 228,  653 => 226,  651 => 225,  646 => 224,  644 => 223,  639 => 222,  637 => 221,  632 => 220,  630 => 219,  625 => 218,  623 => 217,  619 => 216,  614 => 213,  608 => 212,  606 => 211,  601 => 210,  599 => 209,  594 => 208,  592 => 207,  587 => 206,  585 => 205,  580 => 204,  578 => 203,  570 => 202,  565 => 201,  557 => 199,  554 => 198,  537 => 197,  532 => 195,  528 => 194,  516 => 185,  505 => 177,  495 => 170,  482 => 160,  474 => 155,  469 => 153,  465 => 152,  460 => 150,  449 => 142,  443 => 139,  436 => 137,  430 => 134,  418 => 125,  411 => 121,  395 => 108,  388 => 104,  381 => 100,  377 => 99,  373 => 98,  369 => 97,  365 => 96,  361 => 95,  357 => 94,  354 => 93,  351 => 92,  341 => 91,  325 => 83,  322 => 82,  320 => 81,  309 => 73,  304 => 71,  295 => 65,  292 => 64,  282 => 63,  270 => 58,  265 => 56,  252 => 46,  248 => 45,  244 => 44,  240 => 43,  236 => 42,  232 => 41,  228 => 40,  224 => 39,  214 => 32,  206 => 28,  196 => 27,  184 => 23,  177 => 18,  167 => 17,  152 => 8,  142 => 7,  121 => 5,  110 => 60,  108 => 27,  104 => 26,  101 => 25,  99 => 17,  92 => 15,  85 => 10,  83 => 7,  80 => 6,  78 => 5,  75 => 4,  65 => 3,  42 => 1,);
  1194.     }
  1195.     public function getSourceContext()
  1196.     {
  1197.         return new Source("{% extends '@templates/Front/Shop/layout.html.twig' %}
  1198. {% block head %}
  1199.     <head>
  1200.         {% block title %} <title>{{ 'app.hu_vignette.calculator_hu_vignette'|trans }} | roviniete.ro</title> {% endblock %}
  1201.         {% block metatags %}
  1202.             <meta name=\"description\" content=\"{% if huVignetteDescriptionForSeo|length > 0 %}{{ huVignetteDescriptionForSeo.content }}{% endif %}\"/>
  1203.         {% endblock %}
  1204.         <meta charset=\"utf-8\">
  1205.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  1206.         <meta http-equiv=\"Content-Language\" content=\"ro\">
  1207.         <meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
  1208.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  1209.         <meta name=\"keywords\" content=\"{% if huVignetteKeywordsForSeo|length > 0 %}{{ huVignetteKeywordsForSeo.content }}{% endif %}\">
  1210.         {% block stylesheets %}
  1211.             <link rel=\"stylesheet\" href=\"/assets/shop/css/homepage.css\">
  1212.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bootstrap.min.css\">
  1213.             <link rel=\"stylesheet\" href=\"/assets/shop/css/vignette_shop.v1.css\">
  1214.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bs-stepper.css\">
  1215.             <link rel=\"stylesheet\" href=\"/assets/shop/css/bootstrap_select.css\">
  1216.             {{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
  1217.         {% endblock %}
  1218.         {{ sonata_block_render_event('sylius.shop.layout.head') }}
  1219.         {% block javascripts %}
  1220.             <script src=\"{{ asset('assets/shop/js/sentry-bundle.min.js') }}\"></script>
  1221.             <script>
  1222.                 if (typeof Sentry !== 'undefined') {
  1223.                     Sentry.init({
  1224.                         dsn: \"{{ sentry_dsn }}\",
  1225.                         integrations: [new Sentry.Integrations.TryCatch({
  1226.                             eventTarget: false,
  1227.                         })]
  1228.                     });
  1229.                 }
  1230.             </script>
  1231.             <script src=\"{{ asset('assets/shop/js/jquery.min.js') }}\"></script>
  1232.             <script src=\"{{ asset('assets/shop/js/bs-stepper.js') }}\"></script>
  1233.             <script src=\"{{ asset('assets/shop/js/jquery-ui.min.js') }}\"></script>
  1234.             <script src=\"{{ asset('assets/shop/js/popper.min.js') }}\"></script>
  1235.             <script src=\"{{ asset('assets/shop/js/bootstrap.min.js') }}\"></script>
  1236.             <script src=\"{{ asset('assets/shop/js/_bootstrap_select.min.js') }}\"></script>
  1237.             <script src=\"{{ asset('assets/shop/js/leftmenu.js') }}\"></script>
  1238.             {{ encore_entry_script_tags('hu-vignette') }}
  1239.             <script src=\"/bundles/fosjsrouting/js/router.js\"></script>
  1240.             <script>
  1241.                 dataLayer = [];
  1242.             </script>
  1243.             <!-- Google Tag Manager -->
  1244.             <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  1245.                         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  1246.                     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  1247.                     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  1248.                 })(window,document,'script','dataLayer','{{ gtm_code }}');</script>
  1249.             <!-- End Google Tag Manager -->
  1250.             <script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
  1251.         {% endblock %}
  1252.     </head>
  1253. {% endblock %}
  1254. {% block header %}
  1255.     <!-- Google Tag Manager (noscript) -->
  1256.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
  1257.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  1258.     <!-- End Google Tag Manager (noscript) -->
  1259.     <div id=\"loadingAvailabilitiesDiv\" class=\"loading\">
  1260.         <div class=\"card w-50\" style=\"background-color: #F1F2F3\">
  1261.             <div class=\"card-body bg-loading-card\">
  1262.                 <img src=\"{{ asset('assets/shop/images/spinner.gif') }}\"
  1263.                      style=\"width: 50px; pointer-events: none\"/>
  1264.                 <h5>{{ 'app.hu_vignette.retrieve_prices_for_category'|trans }}</h5>
  1265.             </div>
  1266.         </div>
  1267.     </div>
  1268.     <div class=\"custom-container\">
  1269.         <div style=\"max-width: 100%\">
  1270.             <div class=\"bg-white\">
  1271.                 <header>
  1272.                     {% include '@templates/Front/Shop/v2/_header.html.twig' %}
  1273.                     {{ sonata_block_render_event('sylius.shop.layout.after_header') }}
  1274.                 </header>
  1275.             </div>
  1276.         </div>
  1277.     </div>
  1278. {% endblock %}
  1279. {% block content %}
  1280.     {% if lastProductStatus.huVignetteStatus or isAdmin %}
  1281.         <script type=\"text/javascript\">
  1282.             var one_day = '{{ 'app.hu_vignette.1_day'|trans|lower }}';
  1283.             var ten_days = '{{ 'app.hu_vignette.10_days'|trans|lower }}';
  1284.             var thirty_days = '{{ 'app.hu_vignette.30_days'|trans|lower }}';
  1285.             var twelve_months = '{{ 'app.hu_vignette.12_months'|trans|lower|raw }}';
  1286.             var twelve_months_county = '{{ 'app.hu_vignette.12_months_county'|trans|lower|raw }}';
  1287.             var locale = '{{ app.request.getLocale() }}';
  1288.             var isOneYearHuVignetteAvailableThisYear = {{ isOneYearHuVignetteAvailableThisYear ? 'true' : 'false' }};
  1289.         </script>
  1290.         <div id=\"specialErrors\" class=\"alert alert-warning alert-dismissible fade show d-none\" role=\"alert\">
  1291.             <div class=\"header text-center\">
  1292.                 <h2>{{ 'app.ui.error'|trans }}</h2>
  1293.             </div>
  1294.             <p>
  1295.             <h5 class=\"text-center text-primary vignette-already-bought d-none\">
  1296.                 {{ 'app.hu_vignette.hu_vignette_available_for_choosen_date'|trans }}
  1297.             </h5>
  1298.             <h5 class=\"special-error\">
  1299.             </h5>
  1300.             <a class=\"text-center\">
  1301.             </a>
  1302.             </p>
  1303.             <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
  1304.                 <span aria-hidden=\"true\">&times;</span>
  1305.             </button>
  1306.         </div>
  1307.         <div id=\"categoryError\" class=\"alert alert-warning fade show d-none\" role=\"alert\">
  1308.             <div class=\"header text-center\">
  1309.                 <h2>{{ 'app.ui.error'|trans }}</h2>
  1310.             </div>
  1311.             <p>
  1312.             <h5 class=\"text-center text-primary\">
  1313.                 {{ 'app.ui.vignette_category_error'|trans }}
  1314.             </h5>
  1315.             <h5 class=\"special-error\">
  1316.             </h5>
  1317.             <a class=\"text-center\">
  1318.             </a>
  1319.             </p>
  1320.         </div>
  1321.         <div id=\"divNoSpecialCharacters\" class=\"alert alert-warning d-none\" role=\"alert\">
  1322.             {{ 'app.ui.no_special_characters_allowed'|trans }}
  1323.         </div>
  1324.         <div class=\"d-inline-flex mx-3\">
  1325.             <a href=\"{{ path('sylius_shop_homepage') }}\" class=\"section text-primary\" style=\"font-size: 0.8em;\">{{ 'sylius.ui.home'|trans }}</a>
  1326.             <div class=\"divider\"> /</div>
  1327.             <small class=\"section active\">{{ 'app.hu_vignette.hu_vignette'|trans }}</small>
  1328.         </div>
  1329.         <div>
  1330.             <h1 class=\"mx-3\">{{ 'app.hu_vignette.calculator_hu_vignette'|trans }}</h1>
  1331.             <div>
  1332.                 <div id=\"stepperForm\" class=\"bs-stepper linear\">
  1333.                     <div class=\"row\" style=\"padding: 0 20px 20px;\">
  1334.                         <div class=\"col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10\">
  1335.                             <div id=\"vignetteStep1Summary\" class=\"card d-none my-3\" onclick=\"stepper.previous()\">
  1336.                                 <div class=\"card-body d-flex justify-content-between align-items-center\">
  1337.                                     <div class=\"d-inline-flex justify-content-center align-items-center\">
  1338.                                         <img src=\"{{ asset('assets/shop/images/icons/ic_check_small_dark.png') }}\" style=\"width: 30px\"/>
  1339.                                         <h3>
  1340.                                             <a class=\"font-weight-bolder text-primary\">{{ 'app.hu_vignette.hu_vignette_details'|trans }}:</a>
  1341.                                             <a class=\"font-weight-bolder text-dark\">{{ 'app.ui.category'|trans }} - </a>
  1342.                                             <a id=\"categoryTitleText\">-</a>;
  1343.                                             <a class=\"font-weight-bolder text-dark\">{{ 'app.hu_vignette.availability_type'|trans }} - </a>
  1344.                                             <a id=\"availabilityTitleText\">-</a>
  1345.                                         </h3>
  1346.                                     </div>
  1347.                                     <div id=\"editVignetteStep1\">
  1348.                                         <img src=\"{{ asset('assets/shop/images/icons/ic_edit_grey.png') }}\" style=\"width: 30px\"/>
  1349.                                     </div>
  1350.                                 </div>
  1351.                             </div>
  1352.                         </div>
  1353.                     </div>
  1354.                     <div class=\"bs-stepper-header d-none\" role=\"tablist\">
  1355.                         <div id=\"divStepVignetteDetails\" class=\"step active\" data-target=\"#vignetteDetails\" onclick=\"stepper.previous()\" style=\"pointer-events: none\">
  1356.                             <button type=\"button\" class=\"step-trigger\" role=\"tab\" id=\"stepVignetteDetails\" aria-controls=\"vignetteDetails\" aria-selected=\"true\">
  1357.                                 <span class=\"bs-stepper-circle\"><a>1</a></span>
  1358.                                 <small style=\"font-size: 0.8em; letter-spacing: 1px;\" class=\"bs-stepper-label text-primary font-weight-bolder\">{{'app.hu_vignette.hu_vignette_details'|trans|upper}}</small>
  1359.                             </button>
  1360.                         </div>
  1361.                         <div class=\"bs-stepper-line\"></div>
  1362.                         <div id=\"divStepVehicleDetails\" class=\"step\" data-target=\"#vehicleDetails\" onclick=\"stepper.next()\" style=\"pointer-events: none\">
  1363.                             <button type=\"button\" class=\"step-trigger\" role=\"tab\" id=\"stepVehicleDetails\" aria-controls=\"vehicleDetails\" aria-selected=\"false\" disabled>
  1364.                                 <span class=\"inactive-step bs-stepper-circle\"><a>2</a></span>
  1365.                                 <small style=\"font-size: 0.8em; letter-spacing: 1px;\" class=\"bs-stepper-label text-black-50 font-weight-bolder\">{{'app.ui.car_data'|trans|upper}} </small>
  1366.                             </button>
  1367.                         </div>
  1368.                         <div class=\"bs-stepper-line\"></div>
  1369.                     </div>
  1370.                     <div class=\"bs-stepper-content\">
  1371.                         <form id=\"huVignetteForm\" method=\"POST\">
  1372.                             <input type=\"hidden\" value=\"1\" name=\"isHuVignette\" />
  1373.                             <input type=\"hidden\" name=\"productStatusExtraOptions\" id=\"productStatusExtraOptions\" value=\"{{ lastProductStatus.extraOptionsStatus }}\">
  1374.                             <div id=\"vignetteDetails\" role=\"tabpanel\" class=\"bs-stepper-pane fade active dstepper-block\" aria-labelledby=\"stepperFormTrigger1\">
  1375.                                 <div class=\"row my-3\">
  1376.                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10\">
  1377.                                         <div class=\"card vignette-card shadow\">
  1378.                                             <div class=\"card-body\">
  1379.                                                 <div class=\"row\">
  1380.                                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6\">
  1381.                                                         <div class=\"d-flex justify-content-between align-items-start\">
  1382.                                                             <h3 id=\"selectedCategoryText\" class=\"mb-3 font-weight-bolder\">{{'app.ui.select_car_type'|trans}}</h3>
  1383.                                                             <img class='show-info-btn' data-for=\"category\" src=\"{{ asset('assets/shop/images/icons/info.png') }}\" style=\"width: 30px\"/>
  1384.                                                         </div>
  1385.                                                         {% for category in categories %}
  1386.                                                             {% if loop.index % 2 != 0 %}
  1387.                                                                 <div class=\"d-flex justify-content-center my-2 {% if loop.index == categories|length %} w-50 {% endif %}\">
  1388.                                                             {% endif %}
  1389.                                                             <label type=\"button\" for=\"{{ category.code|lower }}\" class=\"btn btn-vignette-unselected w-100 mx-3 webkit-none\" data-value=\"front\" style=\"height: 75px !important;\">
  1390.                                                                 <input type=\"radio\" name=\"category\" data-error-message=\"{{'app.errors.no_category_selected'|trans }}\" id=\"{{ category.code|lower }}\" value=\"{{ category.wsId }}\"
  1391.                                                                        data-category=\"{% if category.wsId == category_hu_vignette_d1m_id %}
  1392.                                                                         {{ 'app.hu_vignette.category_d1m_name'|trans }}
  1393.                                                                     {% elseif category.wsId == category_hu_vignette_d1_id %}
  1394.                                                                         {{ 'app.hu_vignette.category_d1_name'|trans }}
  1395.                                                                     {% elseif category.wsId == category_hu_vignette_d2_id %}
  1396.                                                                         {{ 'app.hu_vignette.category_d2_name'|trans|raw }}
  1397.                                                                     {% elseif category.wsId == category_hu_vignette_b2_id %}
  1398.                                                                         {{ 'app.hu_vignette.category_b2_name'|trans }}
  1399.                                                                     {% elseif category.wsId == category_hu_vignette_u_id %}
  1400.                                                                         {{ 'app.hu_vignette.category_u_name'|trans|raw }}
  1401.                                                                     {% endif %}\"
  1402.                                                                        hidden>
  1403.                                                                 <div class=\"d-flex justify-content-between align-items-center mt-2\">
  1404.                                                                     <h5 class=\"text-dark font-weight-bolder\" id=\"vehicleType-{{category.code|first|lower}}\">
  1405.                                                                         {% if category.wsId == category_hu_vignette_d1m_id %}
  1406.                                                                             {{ 'app.hu_vignette.category_d1m_short_code'|trans }}
  1407.                                                                         {% elseif category.wsId == category_hu_vignette_d1_id %}
  1408.                                                                             {{ 'app.hu_vignette.category_d1_short_code'|trans }}
  1409.                                                                         {% elseif category.wsId == category_hu_vignette_d2_id %}
  1410.                                                                             {{ 'app.hu_vignette.category_d2_short_code'|trans|raw }}
  1411.                                                                         {% elseif category.wsId == category_hu_vignette_b2_id %}
  1412.                                                                             {{ 'app.hu_vignette.category_b2_short_code'|trans }}
  1413.                                                                         {% elseif category.wsId == category_hu_vignette_u_id %}
  1414.                                                                             {{ 'app.hu_vignette.category_u_short_code'|trans|raw }}
  1415.                                                                         {% endif %}
  1416.                                                                     </h5>
  1417.                                                                     <img class=\"ml-auto\" src=\"{{ (asset('assets/shop/images/icons/hu_' ~ category.code|lower) ~ '_orange.png')}}\" style=\"height: 46px\"/>
  1418.                                                                 </div>
  1419.                                                             </label>
  1420.                                                             {% if loop.index % 2 == 0 or loop.index == categories|length %}
  1421.                                                                 </div>
  1422.                                                             {% endif %}
  1423.                                                         {% endfor %}
  1424.                                                         <div class=\"d-flex justify-content-center\">
  1425.                                                         </div>
  1426.                                                     </div>
  1427.                                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 text-center\">
  1428.                                                         <div class=\"d-flex justify-content-between\">
  1429.                                                             <h3 class=\"mb-3 font-weight-bolder\">{{'app.ui.choose_validity'|trans}}</h3>
  1430.                                                             <img class=\"show-info-btn\" data-for=\"availability\" src=\"{{ asset('assets/shop/images/icons/info.png') }}\" style=\"width: 30px;height: 30px;\"/>
  1431.                                                         </div>
  1432.                                                         <div class=\"d-flex justify-content-between my-2 availability-wrapper\" data-error-message=\"{{'app.errors.no_availability_selected'|trans }}\">
  1433.                                                             <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"{{ 'app.hu_vignette.please_select_a_category_first'|trans }}\">
  1434.                                                                 <label type=\"button\" id=\"lblAv1Day\" for=\"av_1\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"{{ 'app.hu_vignette.1_day'|trans }}\" data-title=\"front\" style=\"min-height: 145px !important;\">
  1435.                                                                     <div class=\"mx-2 my-2\">
  1436.                                                                         <input type=\"radio\" name=\"availability\" id=\"av_1\" value=\"31\" data-value=\"{{ 'app.hu_vignette.1_day'|trans }}\" hidden disabled>
  1437.                                                                         <h2 id=\"txtAv1Day\" class=\"text-primary txtAvailability\">{{ 'app.hu_vignette.1_day'|trans }}</h2>
  1438.                                                                         <a id=\"txtAv1DayPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  1439.                                                                     </div>
  1440.                                                                 </label>
  1441.                                                             </div>
  1442.                                                             <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"{{ 'app.hu_vignette.please_select_a_category_first'|trans }}\">
  1443.                                                                 <label type=\"button\" id=\"lblAv10Days\" for=\"av_10\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"{{ 'app.hu_vignette.10_days'|trans }}\" data-title=\"front\" style=\"min-height: 145px !important;\">
  1444.                                                                     <div class=\"mx-2 my-2\">
  1445.                                                                         <input type=\"radio\" name=\"availability\" id=\"av_10\" value=\"1\" data-value=\"{{ 'app.hu_vignette.10_days'|trans }}\" hidden disabled>
  1446.                                                                         <h2 id=\"txtAv10Days\" class=\"text-primary txtAvailability\">{{ 'app.hu_vignette.10_days'|trans }}</h2>
  1447.                                                                         <a id=\"txtAv10DaysPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  1448.                                                                     </div>
  1449.                                                                 </label>
  1450.                                                             </div>
  1451.                                                     </div>
  1452.                                                     <div class=\"d-flex justify-content-between my-2\">
  1453.                                                         <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"{{ 'app.hu_vignette.please_select_a_category_first'|trans }}\">
  1454.                                                             <label type=\"button\" id=\"lblAv30Days\" for=\"av_30\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"{{ 'app.hu_vignette.30_days'|trans|raw }}\" data-title=\"front\" style=\"min-height: 145px !important;\">
  1455.                                                                 <div class=\"mx-2 my-2\">
  1456.                                                                     <input type=\"radio\" name=\"availability\" id=\"av_30\" value=\"2\" data-value=\"{{ 'app.hu_vignette.30_days'|trans|raw }}\" hidden disabled>
  1457.                                                                     <h2 id=\"txtAv30Days\" class=\"text-primary txtAvailability\">{{ 'app.hu_vignette.30_days'|trans|raw }}</h2>
  1458.                                                                     <a id=\"txtAv30DaysPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  1459.                                                                 </div>
  1460.                                                             </label>
  1461.                                                         </div>
  1462.                                                         <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"{{ 'app.hu_vignette.please_select_a_category_first'|trans }}\">
  1463.                                                             <label type=\"button\" id=\"lblAv12Months\" for=\"av_12\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"{{ 'app.hu_vignette.12_months'|trans|raw }}\" data-title=\"front\" style=\"min-height: 145px;\">
  1464.                                                                 <div class=\"mx-2 my-2\">
  1465.                                                                     <input type=\"radio\" name=\"availability\" id=\"av_12\" value=\"3\" data-value=\"{{ 'app.hu_vignette.12_months'|trans|raw }}\" hidden disabled>
  1466.                                                                     <h2 id=\"txtAv1Year\" class=\"text-primary txtAvailability\">{{ 'app.hu_vignette.12_months'|trans|raw }}</h2>
  1467.                                                                     <a id=\"txtAv1YearPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  1468.                                                                 </div>
  1469.                                                             </label>
  1470.                                                         </div>
  1471.                                                     </div>
  1472.                                                     <div class=\"d-flex justify-content-between my-2\">
  1473.                                                         <div data-toggle=\"tooltip\" data-placement=\"top\" class=\"w-100 mx-3 tooltip-prevent-availability hover-tooltip\" title=\"{{ 'app.hu_vignette.please_select_a_category_first'|trans }}\">
  1474.                                                             <label type=\"button\" id=\"lblAv12County\" for=\"av_12_county\" class=\"btn btn-vignette-unselected w-100 webkit-none d-flex align-items-center justify-content-center\" data-value=\"{{ 'app.hu_vignette.12_months_county'|trans|raw }}\" data-title=\"front\" style=\"min-height: 145px;\">
  1475.                                                                 <div class=\"mx-2 my-2\">
  1476.                                                                     <input type=\"radio\" name=\"availability\" id=\"av_12_county\" value=\"4\" data-value=\"{{ 'app.hu_vignette.12_months_county'|trans|raw }}\" hidden disabled>
  1477.                                                                     <h2 id=\"txtAv12County\" class=\"text-primary txtAvailability\">{{ 'app.hu_vignette.12_months_county'|trans|raw }}</h2>
  1478.                                                                     <a id=\"txtAv12CountyPrice\" class=\"txtAvailabilityPrice text-dark\"></a>
  1479.                                                                 </div>
  1480.                                                             </label>
  1481.                                                         </div>
  1482.                                                     </div>
  1483.                                                     <div id=\"selectCountiesDiv\" class=\"d-none\">
  1484.                                                         <label for=\"counties\">{{ 'app.hu_vignette.select_counties'|trans }}</label> <br/>
  1485.                                                         <select id=\"counties\" class=\"selectpicker w-100\" name=\"counties[]\" data-style=\"btn-light h-35-px\"
  1486.                                                                 multiple data-live-search=\"true\" data-done-button=\"true\" data-actions-box=\"true\" data-live-search-style=\"startsWith\"
  1487.                                                                 title=\"{{ 'app.hu_vignette.please_select_at_least_one'|trans }}\">
  1488.                                                         </select>
  1489.                                                     </div>
  1490.                                                     <h6 class=\"mt-2\">{{ 'app.hu_vignette.price_without_tax'|trans }}</h6>
  1491.                                                 </div>
  1492.                                             </div>
  1493.                                         </div>
  1494.                                     </div>
  1495.                                 </div>
  1496.                                 <div class=\"col-12 col-sm-12 col-md-12 col-lg-2 col-xl-2 d-flex align-items-center justify-content-center my-4\">
  1497.                                     <div class=\"btn-wrapper\">
  1498.                                         <button id=\"btnSubmitStep1\" type=\"button\" class=\"btn btn-primary-inactive w-100\" style=\"height: 40px\" disabled>
  1499.                                             <a>{{'app.ui.next_step'|trans}}</a>
  1500.                                         </button>
  1501.                                     </div>
  1502.                                 </div>
  1503.                             </div>
  1504.                         </div>
  1505.                         <div id=\"vehicleDetails\" role=\"tabpanel\" class=\"bs-stepper-pane fade dstepper-none\" aria-labelledby=\"stepperFormTrigger2\">
  1506.                             <div class=\"row my-3\">
  1507.                                 <div class=\"col-12 col-sm-12 col-md-12 col-lg-10 col-xl-10\">
  1508.                                     <div class=\"card vignette-card shadow\">
  1509.                                         <div class=\"card-body\">
  1510.                                             <div class=\"row\">
  1511.                                                 <div class=\"col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6\">
  1512.                                                     <h3 class=\"font-weight-bolder mb-2 text-center\">{{ 'app.ui.select_start_date'|trans}}</h3>
  1513.                                                     <div class=\"d-flex justify-content-center align-items-center\">
  1514.                                                         <input type=\"hidden\" id=\"validFrom\" name=\"validFrom\">
  1515.                                                         <div id=\"datepicker\" data-error-message = '{{'app.errors.no_date_selected'|trans }}'></div>
  1516.                                                     </div>
  1517.                                                     <div class=\"d-flex justify-content-center mt-3\">
  1518.                                                         <div class=\"d-flex\">
  1519.                                                             <div class=\"current-date-circle\" style=\"width: 18px; height: 18px\"></div>
  1520.                                                             <div>
  1521.                                                                 <a class=\"ml-2 text-dark\">{{'app.ui.current_date'|trans}}:</a> <br/>
  1522.                                                                 <h5 class=\"ml-2 text-dark\">{{ \"now\"|date(\"d/m/Y\") }}</h5>
  1523.                                                             </div>
  1524.                                                         </div>
  1525.                                                         <div id=\"divStartDatePicker\">
  1526.                                                             <div class=\"d-flex ml-4\">
  1527.                                                                 <div class=\"picked-date-circle\" style=\"width: 18px; height: 18px\"></div>
  1528.                                                                 <div>
  1529.                                                                     <a class=\"ml-2 text-dark\">{{'app.ui.start_date'|trans}}:</a> <br/>
  1530.                                                                     <h5 class=\"ml-2 text-muted\" id=\"startDatePicker\">DD/MM/YYYY</h5>
  1531.                                                                 </div>
  1532.                                                             </div>
  1533.                                                         </div>
  1534.                                                     </div>
  1535.                                                     <div class=\"date-disclaimer\">
  1536.                                                         {% autoescape false %}
  1537.                                                             {{'app.ui.date_disclaimer'|trans}}
  1538.                                                         {% endautoescape %}
  1539.                                                     </div>
  1540.                                                 </div>
  1541.                                                 <div class=\"col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6\" style=\"padding-left: 50px; padding-right: 50px\">
  1542.                                                     <h3 class=\"mb-3 font-weight-bolder\">{{'app.ui.select_car_data'|trans}}</h3>
  1543.                                                     <div class=\"row mt-3 d-flex align-items-end\">
  1544.                                                         <div class=\"col-5 col-sm-5 col-md-6 col-lg-5 col-xl-5\">
  1545.                                                             <label for=\"carCountry\" class=\"text-dark lbl-custom lbl-custom-grey d-none\">{{ 'app.ui.country_code'|trans}}</label>
  1546.                                                             <select id=\"carCountry\" name=\"carCountry\" class=\"form-control input-custom input-custom-grey\" required>
  1547.                                                                 <option value=\"\">{{ 'app.ui.country'|trans}}</option>
  1548.                                                                 {% for country in countries |sort((a, b) => a.name > b.name) %}
  1549.                                                                     <option value=\"{{ country.code }}\">{{ country.name }}</option>
  1550.                                                                 {% endfor %}
  1551.                                                             </select>
  1552.                                                         </div>
  1553.                                                         <div class=\"col-7 col-sm-7 col-md-6 col-lg-7 col-xl-7\">
  1554.                                                             <label for=\"registrationPlate\" class=\"text-dark lbl-custom lbl-custom-grey d-none\">{{'app.ui.registration_plate'|trans}}</label>
  1555.                                                             <input id=\"registrationPlate\" data-warning-message=\"{{ 'app.warning.characters_not_allowed'|trans }}\" data-error-message=\"{{'app.errors.no_plate'|trans }}\" name=\"registrationPlate\" maxlength=\"10\" type=\"text\" class=\"form-control input-custom input-custom-grey
  1556.                                                             \" placeholder=\"{{'app.ui.registration_plate'|trans}}\" oninvalid=\"this.setCustomValidity('{{ 'app.ui.please_fill_this_field'|trans }}')\"
  1557.                                                                        oninput=\"setCustomValidity('')\"
  1558.                                                                        required>
  1559.                                                             </div>
  1560.                                                             <div data-error-message = '{{ 'app.ui.invalid_registration_plate'|trans }}' id=\"registrationPlateError\"></div>
  1561.                                                         </div>
  1562.                                                         <div class=\"row mt-2\">
  1563.                                                             <div class=\"col-12\">
  1564.                                                                 <div id=\"vinBlock\">
  1565.                                                                 </div>
  1566.                                                             </div>
  1567.                                                         </div>
  1568.                                                     </div>
  1569.                                                 </div>
  1570.                                             </div>
  1571.                                         <div id=\"divPaymentNotAvailable\" class=\"alert alert-warning d-none mt-2\" role=\"alert\">
  1572.                                             {{ 'app.ui.info_payment_not_available'|trans|raw }}
  1573.                                         </div>
  1574.                                         </div>
  1575.                                     </div>
  1576.                                     <div class=\"col-12 col-sm-12 col-md-12 col-lg-2 col-xl-2 d-flex align-items-center justify-content-center my-4\">
  1577.                                         <div>
  1578.                                             <button type=\"button\" class=\"btn btn-grey btn-add-to-cart w-100 mb-3\" style=\"height: 40px\">
  1579.                                                 <a class=\"submit-button\">{{'app.ui.add_to_cart'|trans}}</a>
  1580.                                             </button>
  1581.                                             <button id=\"btnSubmitVignette\" type=\"submit\" class=\"submit-button btn btn-primary-inactive btn-submit w-100\" style=\"height: 40px\"><a>{{'app.ui.buy_now'|trans}}</a></button>
  1582.                                         </div>
  1583.                                     </div>
  1584.                                 </div>
  1585.                             </div>
  1586.                         </form>
  1587.                         <div class=\"row\">
  1588.                             <div class=\"col-6 col-sm-6 col-md-6 col-lg-5 col-xl-5\">
  1589.                                 <div class=\"info-text category\">
  1590.                                     {% autoescape false %}
  1591.                                         {{ 'app.hu_vignette.category_description'|trans }}
  1592.                                     {% endautoescape %}
  1593.                                 </div>
  1594.                                 <div class=\"card my-3\">
  1595.                                     <div class=\"card-body d-flex justify-content-between align-items-center\">
  1596.                                         <img src=\"{{ asset('assets/shop/images/hungary/nemzeti.png') }}\" style=\"max-width: 50px\"/>
  1597.                                         <h6 class=\"font-weight-normal\">{{ 'app.hu_vignette.national_payment_distributor'|trans }}</h6>
  1598.                                     </div>
  1599.                                 </div>
  1600.                             </div>
  1601.                             <div class=\"col-6 col-sm-6 col-md-6 col-lg-5 col-xl-5\">
  1602.                                 <div class=\"info-text availability\">
  1603.                                     {% autoescape false %}
  1604.                                         {{ 'app.hu_vignette.availability_description'|raw|trans }}
  1605.                                     {% endautoescape %}
  1606.                                 </div>
  1607.                             </div>
  1608.                         </div>
  1609.                     </div>
  1610.                 </div>
  1611.             </div>
  1612.         </div>
  1613.         <div class=\"bs-stepper-content\">
  1614.             <div class=\"row my-3\">
  1615.                 {% if accordionBlocksAboutHuVignette|length > 0 %}
  1616.                     {% for key, block in accordionBlocksAboutHuVignette %}
  1617.                         <div class=\"col-3 my-3\">
  1618.                             <button class=\"accordion\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapse{{ key }}\" aria-expanded=\"false\" aria-controls=\"collapse{{ key }}\">{{ block.name }}</button>
  1619.                             <div class=\"collapse\" id=\"collapse{{ key }}\">
  1620.                                 <div class=\"card card-body border\">{{ block.content|raw }}</div>
  1621.                             </div>
  1622.                         </div>
  1623.                     {% endfor %}
  1624.                 {% endif %}
  1625.             </div>
  1626.         </div>
  1627.         <script>
  1628.             \$(document).ready(function () {
  1629.                 \$('.selectpicker').selectpicker({
  1630.                     'selectAllText': '{{ 'app.ui.select_all'|trans }}',
  1631.                     'deselectAllText': '{{ 'app.ui.deselect_all'|trans }}',
  1632.                     'doneButtonText': '{{ 'app.ui.close'|trans }}',
  1633.                 });
  1634.                 \$('.show-info-btn').click(function() {
  1635.                     \$('.info-text.'+\$(this).data('for')).toggleClass('d-none');
  1636.                 });
  1637.                 \$('[data-toggle=\"tooltip\"]').not('.hover-tooltip').tooltip({
  1638.                     html:true,
  1639.                     trigger: 'hover click focus'
  1640.                 });
  1641.                 \$('.hover-tooltip').tooltip({
  1642.                     html:true,
  1643.                     trigger: 'hover'
  1644.                 });
  1645.                 let locale = getLocale();
  1646.                 function getLocale() {
  1647.                     let url = Routing.generate('app_shop_get_locale');
  1648.                     \$.ajax({
  1649.                         url: url,
  1650.                         type: 'GET',
  1651.                         async: true,
  1652.                         dataType: 'json',
  1653.                         success: function (locale) {
  1654.                             if (locale == 'ro_RO' || locale == 'ro') {
  1655.                                 \$('[name=\"carCountry\"] option').filter(function() {
  1656.                                     return (\$(this).val() == 'RO');
  1657.                                 }).prop('selected', true).change();
  1658.                             } else if (locale == 'hu') {
  1659.                                 \$('[name=\"carCountry\"] option').filter(function() {
  1660.                                     return (\$(this).val() == 'HU');
  1661.                                 }).prop('selected', true).change();
  1662.                             }
  1663.                         },
  1664.                         error: function (data) {
  1665.                         }
  1666.                     });
  1667.                 }
  1668.             })
  1669.             var stepper = new Stepper(\$('.bs-stepper')[0]);
  1670.         </script>
  1671.         <style>
  1672.             .date-disclaimer {
  1673.                 border: 1px solid;
  1674.                 padding: 5px;
  1675.             }
  1676.             .show-info-btn {
  1677.                 cursor: pointer;
  1678.             }
  1679.             .info-text {
  1680.                 display: block;
  1681.                 border: 1px solid lightgray;
  1682.                 padding: 20px;
  1683.                 width: 100%;
  1684.                 background: white;
  1685.                 border-radius: 20px;
  1686.             }
  1687.             .webkit-none {
  1688.                 -webkit-appearance: none !important;
  1689.             }
  1690.             .tooltip-inner {
  1691.                 max-width: 350px; /* set this to your maximum fitting width */
  1692.                 width: inherit; /* will take up least amount of space */
  1693.             }
  1694.             .loading {
  1695.                 display: flex;
  1696.                 flex-direction: column;
  1697.                 justify-content: center;
  1698.                 align-items: center;
  1699.                 text-align: center;
  1700.                 min-height: 100vh;
  1701.                 z-index: 999;
  1702.                 position: fixed;
  1703.                 background-color: rgba(0,0,0,0.7);
  1704.                 opacity: 100%;
  1705.                 width: 100%;
  1706.                 height: 100%;
  1707.             }
  1708.             .h-35-px {
  1709.                 height: 35px !important;
  1710.             }
  1711.             .datepicker-disabled .ui-datepicker-next {
  1712.                 display: none;
  1713.             }
  1714.             .datepicker-disabled .ui-state-default {
  1715.                 color: lightgray;
  1716.                 cursor: default;
  1717.             }
  1718.             .ui-state-highlight, .ui-widget-content .ui-state-highlight {
  1719.                 background: none !important;
  1720.                 color: #454545 !important;
  1721.                 border: none !important;
  1722.             }
  1723.         </style>
  1724.     {% else %}
  1725.         <div class=\"card text-center my-3\">
  1726.             <div class=\"card-header\">
  1727.                 <h2>{{ 'app.ui.disabled_temporary'|trans }}</h2>
  1728.             </div>
  1729.             <div class=\"card-body\">
  1730.                 <a href=\"{{ path('sylius_shop_homepage') }}\">{{ 'sylius.ui.back_to_store'|trans }}</a>
  1731.             </div>
  1732.         </div>
  1733.     {% endif %}
  1734. {% endblock %}
  1735. {% block footer %}
  1736.     {% include '@templates/Front/Shop/v2/_footer.html.twig' %}
  1737. {% endblock %}
  1738. ""@templates/Front/HuVignette/hu-vignette.html.twig""/vhosts/newrca.roviniete.ro/templates/Front/HuVignette/hu-vignette.html.twig");
  1739.     }
  1740. }