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