var/cache/dev/twig/9e/9e746925f8950af6131dccd7c4f5d092a0436c318033e8b3211baca3ceff8795.php line 105

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/RcaApp/Mobile/homepage.html.twig */
  14. class __TwigTemplate_18f866d9e9032b89bad2c7ab6b181d1c6090a323b289174d22a88a523e287a0a 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.             'title' => [$this'block_title'],
  24.             'metatags' => [$this'block_metatags'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'webpack_app' => [$this'block_webpack_app'],
  28.             'content' => [$this'block_content'],
  29.             'loaderContainer' => [$this'block_loaderContainer'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "@templates/Mobile/Shop/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@templates/RcaApp/Mobile/homepage.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@templates/RcaApp/Mobile/homepage.html.twig"));
  44.         $this->parent $this->loadTemplate("@templates/Mobile/Shop/layout.html.twig""@templates/RcaApp/Mobile/homepage.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         echo " Vezi oferte RCA cât ai clipi si primesti asigurarea pe email ";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 5
  66.     public function block_metatags($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  73.         // line 6
  74.         echo "    <meta name=\"description\" content=\"Site autorizat de ofertare asigurare auto RCA. Reînnoire asigurare auto RCA printr-un singur click! Afișăm toate mașinile într-un singur panou de control, și îl Alertăm Gratuit când expiră asigurarea auto RCA.\"/>
  75.     <meta name=\"keywords\" content=\"asigurare auto, asigurare RCA,  verificari asigurari auto; oferte RCA, RCA online\">
  76. ";
  77.         
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  81.     }
  82.     // line 10
  83.     public function block_stylesheets($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  90.         // line 11
  91.         echo "    ";
  92.         $this->displayParentBlock("stylesheets"$context$blocks);
  93.         echo "
  94.     ";
  95.         // line 12
  96.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("rca");
  97.         echo "
  98.     <link rel=\"stylesheet\" href=\"";
  99.         // line 13
  100.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/toast.min.css"), "html"nulltrue);
  101.         echo "\">
  102.     <link rel=\"stylesheet\" href=\"";
  103.         // line 14
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/vue-select.min.css"), "html"nulltrue);
  105.         echo "\">
  106.     <link rel=\"stylesheet\" href=\"";
  107.         // line 15
  108.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/css/ssr-carousel.css"), "html"nulltrue);
  109.         echo "\">
  110.     <style>
  111.         @media (orientation: landscape) {
  112.             .portrait-footer {
  113.                 display: none;
  114.             }
  115.             .landscape-footer {
  116.                 display: block !important;
  117.             }
  118.             .div-landscape {
  119.                 top: 0 !important;
  120.             }
  121.         }
  122.     </style>
  123. ";
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.     }
  129.     // line 31
  130.     public function block_javascripts($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  137.         // line 32
  138.         echo "    ";
  139.         $this->displayParentBlock("javascripts"$context$blocks);
  140.         echo "
  141.     ";
  142.         // line 33
  143.         $this->displayBlock('webpack_app'$context$blocks);
  144.         // line 34
  145.         echo "    ";
  146.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("rca");
  147.         echo "
  148.     <script src=\"";
  149.         // line 35
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/babel.min.js"), "html"nulltrue);
  151.         echo "\"></script>
  152.     <script src=\"";
  153.         // line 36
  154.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/float_label.js"), "html"nulltrue);
  155.         echo "\" type=\"text/babel\"></script>
  156. ";
  157.         
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  159.         
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  161.     }
  162.     // line 33
  163.     public function block_webpack_app($context, array $blocks = [])
  164.     {
  165.         $macros $this->macros;
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""webpack_app"));
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""webpack_app"));
  170.         echo "";
  171.         
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  173.         
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  175.     }
  176.     // line 39
  177.     public function block_content($context, array $blocks = [])
  178.     {
  179.         $macros $this->macros;
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  182.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  184.         // line 40
  185.         echo "    ";
  186.         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.'40$this->source); })()), "rcaStatus", [], "any"falsefalsefalse40) || (isset($context["isAdmin"]) || array_key_exists("isAdmin"$context) ? $context["isAdmin"] : (function () { throw new RuntimeError('Variable "isAdmin" does not exist.'40$this->source); })()))) {
  187.             // line 41
  188.             echo "        <script>
  189.             const roadAssistanceTranslations = '";
  190.             // line 42
  191.             echo json_encode((isset($context["roadAssistanceTranslations"]) || array_key_exists("roadAssistanceTranslations"$context) ? $context["roadAssistanceTranslations"] : (function () { throw new RuntimeError('Variable "roadAssistanceTranslations" does not exist.'42$this->source); })()));
  192.             echo "';
  193.         </script>
  194.         <div id=\"app\">
  195.             <scala-front-homepage ref=\"scalaFrontHomepage\"
  196.                     :accordion-blocks-about-rca=\"";
  197.             // line 46
  198.             echo twig_escape_filter($this->envjson_encode((isset($context["accordionBlocksAboutRca"]) || array_key_exists("accordionBlocksAboutRca"$context) ? $context["accordionBlocksAboutRca"] : (function () { throw new RuntimeError('Variable "accordionBlocksAboutRca" does not exist.'46$this->source); })())), "html"nulltrue);
  199.             echo "\"
  200.                     :history-rca=\"";
  201.             // line 47
  202.             echo twig_escape_filter($this->envjson_encode((isset($context["historyRca"]) || array_key_exists("historyRca"$context) ? $context["historyRca"] : (function () { throw new RuntimeError('Variable "historyRca" does not exist.'47$this->source); })())), "html"nulltrue);
  203.             echo "\"
  204.                     :rca-mapped-category=\"";
  205.             // line 48
  206.             echo twig_escape_filter($this->envjson_encode((isset($context["rcaMappedCategoryList"]) || array_key_exists("rcaMappedCategoryList"$context) ? $context["rcaMappedCategoryList"] : (function () { throw new RuntimeError('Variable "rcaMappedCategoryList" does not exist.'48$this->source); })())), "html"nulltrue);
  207.             echo "\"
  208.                     :vehicle-type-list=\"";
  209.             // line 49
  210.             echo twig_escape_filter($this->envjson_encode((isset($context["vehicleTypeList"]) || array_key_exists("vehicleTypeList"$context) ? $context["vehicleTypeList"] : (function () { throw new RuntimeError('Variable "vehicleTypeList" does not exist.'49$this->source); })())), "html"nulltrue);
  211.             echo "\"
  212.                     :rca-mapped-category-list=\"";
  213.             // line 50
  214.             echo twig_escape_filter($this->envjson_encode((isset($context["rcaMappedCategoryList"]) || array_key_exists("rcaMappedCategoryList"$context) ? $context["rcaMappedCategoryList"] : (function () { throw new RuntimeError('Variable "rcaMappedCategoryList" does not exist.'50$this->source); })())), "html"nulltrue);
  215.             echo "\"
  216.                     :default-make-list=\"";
  217.             // line 51
  218.             echo twig_escape_filter($this->envjson_encode((isset($context["defaultMakeList"]) || array_key_exists("defaultMakeList"$context) ? $context["defaultMakeList"] : (function () { throw new RuntimeError('Variable "defaultMakeList" does not exist.'51$this->source); })())), "html"nulltrue);
  219.             echo "\"
  220.                     :fuel-type-list=\"";
  221.             // line 52
  222.             echo twig_escape_filter($this->envjson_encode((isset($context["fuelTypeList"]) || array_key_exists("fuelTypeList"$context) ? $context["fuelTypeList"] : (function () { throw new RuntimeError('Variable "fuelTypeList" does not exist.'52$this->source); })())), "html"nulltrue);
  223.             echo "\"
  224.                     :availability-interval-list=\"";
  225.             // line 53
  226.             echo twig_escape_filter($this->envjson_encode((isset($context["availabilityIntervalList"]) || array_key_exists("availabilityIntervalList"$context) ? $context["availabilityIntervalList"] : (function () { throw new RuntimeError('Variable "availabilityIntervalList" does not exist.'53$this->source); })())), "html"nulltrue);
  227.             echo "\"
  228.                     :insurance-company-list=\"";
  229.             // line 54
  230.             echo twig_escape_filter($this->envjson_encode((isset($context["insuranceCompanyList"]) || array_key_exists("insuranceCompanyList"$context) ? $context["insuranceCompanyList"] : (function () { throw new RuntimeError('Variable "insuranceCompanyList" does not exist.'54$this->source); })())), "html"nulltrue);
  231.             echo "\"
  232.                     :availability-list=\"";
  233.             // line 55
  234.             echo twig_escape_filter($this->envjson_encode((isset($context["availabilityList"]) || array_key_exists("availabilityList"$context) ? $context["availabilityList"] : (function () { throw new RuntimeError('Variable "availabilityList" does not exist.'55$this->source); })())), "html"nulltrue);
  235.             echo "\"
  236.                     :usage-type-list=\"";
  237.             // line 56
  238.             echo twig_escape_filter($this->envjson_encode((isset($context["usageTypeList"]) || array_key_exists("usageTypeList"$context) ? $context["usageTypeList"] : (function () { throw new RuntimeError('Variable "usageTypeList" does not exist.'56$this->source); })())), "html"nulltrue);
  239.             echo "\"
  240.                     :road-assistance-default-price=\"";
  241.             // line 57
  242.             echo twig_escape_filter($this->envjson_encode((isset($context["roadAssistanceDefaultPrice"]) || array_key_exists("roadAssistanceDefaultPrice"$context) ? $context["roadAssistanceDefaultPrice"] : (function () { throw new RuntimeError('Variable "roadAssistanceDefaultPrice" does not exist.'57$this->source); })())), "html"nulltrue);
  243.             echo "\"
  244.                     :road-assistance-terms-and-conditions=\"'";
  245.             // line 58
  246.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "terms-and-conditions-road-assistance"]);
  247.             echo "'\"
  248.                     :leasing-company-list=\"";
  249.             // line 59
  250.             echo twig_escape_filter($this->envjson_encode((isset($context["leasingCompanyList"]) || array_key_exists("leasingCompanyList"$context) ? $context["leasingCompanyList"] : (function () { throw new RuntimeError('Variable "leasingCompanyList" does not exist.'59$this->source); })())), "html"nulltrue);
  251.             echo "\"
  252.                     :county-list=\"";
  253.             // line 60
  254.             echo twig_escape_filter($this->envjson_encode((isset($context["countyList"]) || array_key_exists("countyList"$context) ? $context["countyList"] : (function () { throw new RuntimeError('Variable "countyList" does not exist.'60$this->source); })())), "html"nulltrue);
  255.             echo "\"
  256.                     :url-terms-gdpr=\"'";
  257.             // line 61
  258.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show", ["slug" => "protectia-datelor-rca"]);
  259.             echo "'\"
  260.                     :hash=\"'";
  261.             // line 62
  262.             echo twig_escape_filter($this->env, (isset($context["hash"]) || array_key_exists("hash"$context) ? $context["hash"] : (function () { throw new RuntimeError('Variable "hash" does not exist.'62$this->source); })()), "html"nulltrue);
  263.             echo "'\"
  264.                     :recaptcha-site-key=\"'";
  265.             // line 63
  266.             echo twig_escape_filter($this->env, (isset($context["recaptchaSiteKey"]) || array_key_exists("recaptchaSiteKey"$context) ? $context["recaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "recaptchaSiteKey" does not exist.'63$this->source); })()), "html"nulltrue);
  267.             echo "'\"
  268.                     :last-product-status=\"";
  269.             // line 64
  270.             echo twig_escape_filter($this->envjson_encode((isset($context["lastProductStatusArray"]) || array_key_exists("lastProductStatusArray"$context) ? $context["lastProductStatusArray"] : (function () { throw new RuntimeError('Variable "lastProductStatusArray" does not exist.'64$this->source); })())), "html"nulltrue);
  271.             echo "\"
  272.                     :last-campaign-status=\"";
  273.             // line 65
  274.             echo twig_escape_filter($this->envjson_encode((isset($context["lastCampaignStatusArray"]) || array_key_exists("lastCampaignStatusArray"$context) ? $context["lastCampaignStatusArray"] : (function () { throw new RuntimeError('Variable "lastCampaignStatusArray" does not exist.'65$this->source); })())), "html"nulltrue);
  275.             echo "\"
  276.                     :old-vehicle=\"";
  277.             // line 66
  278.             (((isset($context["oldVehicle"]) || array_key_exists("oldVehicle"$context) ? $context["oldVehicle"] : (function () { throw new RuntimeError('Variable "oldVehicle" does not exist.'66$this->source); })())) ? (print (twig_escape_filter($this->envjson_encode((isset($context["oldVehicle"]) || array_key_exists("oldVehicle"$context) ? $context["oldVehicle"] : (function () { throw new RuntimeError('Variable "oldVehicle" does not exist.'66$this->source); })())), "html"nulltrue))) : (print ("{}")));
  279.             echo "\"
  280.                     :old-customer=\"";
  281.             // line 67
  282.             (((isset($context["oldCustomer"]) || array_key_exists("oldCustomer"$context) ? $context["oldCustomer"] : (function () { throw new RuntimeError('Variable "oldCustomer" does not exist.'67$this->source); })())) ? (print (twig_escape_filter($this->envjson_encode((isset($context["oldCustomer"]) || array_key_exists("oldCustomer"$context) ? $context["oldCustomer"] : (function () { throw new RuntimeError('Variable "oldCustomer" does not exist.'67$this->source); })())), "html"nulltrue))) : (print ("{}")));
  283.             echo "\"
  284.                     :old-offer=\"";
  285.             // line 68
  286.             (((isset($context["oldOffer"]) || array_key_exists("oldOffer"$context) ? $context["oldOffer"] : (function () { throw new RuntimeError('Variable "oldOffer" does not exist.'68$this->source); })())) ? (print (twig_escape_filter($this->envjson_encode((isset($context["oldOffer"]) || array_key_exists("oldOffer"$context) ? $context["oldOffer"] : (function () { throw new RuntimeError('Variable "oldOffer" does not exist.'68$this->source); })())), "html"nulltrue))) : (print ("{}")));
  287.             echo "\"
  288.                     :can-issue-road-assistance=\"";
  289.             // line 69
  290.             echo (((isset($context["canIssueRoadAssistance"]) || array_key_exists("canIssueRoadAssistance"$context) ? $context["canIssueRoadAssistance"] : (function () { throw new RuntimeError('Variable "canIssueRoadAssistance" does not exist.'69$this->source); })())) ? ("true") : ("false"));
  291.             echo "\"
  292.             >
  293.             </scala-front-homepage>
  294.         </div>
  295.         ";
  296.             // line 73
  297.             echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("vue");
  298.             echo "
  299.     ";
  300.         } else {
  301.             // line 75
  302.             echo "        <div class=\"card text-center my-3\">
  303.             <div class=\"card-header\">
  304.                 <h2>RCA ";
  305.             // line 77
  306.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.coming_soon"), "html"nulltrue);
  307.             echo "</h2>
  308.             </div>
  309.             <div class=\"card-body\">
  310.                 <a href=\"";
  311.             // line 80
  312.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_shop_vignette");
  313.             echo "\">";
  314.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.buy_vignette_online"), "html"nulltrue);
  315.             echo "</a>
  316.             </div>
  317.         </div>
  318.     ";
  319.         }
  320.         
  321.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  322.         
  323.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  324.     }
  325.     // line 86
  326.     public function block_loaderContainer($context, array $blocks = [])
  327.     {
  328.         $macros $this->macros;
  329.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderContainer"));
  331.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  332.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""loaderContainer"));
  333.         echo "";
  334.         
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  336.         
  337.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  338.     }
  339.     public function getTemplateName()
  340.     {
  341.         return "@templates/RcaApp/Mobile/homepage.html.twig";
  342.     }
  343.     public function isTraitable()
  344.     {
  345.         return false;
  346.     }
  347.     public function getDebugInfo()
  348.     {
  349.         return array (  368 => 86,  351 => 80,  345 => 77,  341 => 75,  336 => 73,  329 => 69,  325 => 68,  321 => 67,  317 => 66,  313 => 65,  309 => 64,  305 => 63,  301 => 62,  297 => 61,  293 => 60,  289 => 59,  285 => 58,  281 => 57,  277 => 56,  273 => 55,  269 => 54,  265 => 53,  261 => 52,  257 => 51,  253 => 50,  249 => 49,  245 => 48,  241 => 47,  237 => 46,  230 => 42,  227 => 41,  224 => 40,  214 => 39,  195 => 33,  183 => 36,  179 => 35,  174 => 34,  172 => 33,  167 => 32,  157 => 31,  132 => 15,  128 => 14,  124 => 13,  120 => 12,  115 => 11,  105 => 10,  93 => 6,  83 => 5,  64 => 3,  41 => 1,);
  350.     }
  351.     public function getSourceContext()
  352.     {
  353.         return new Source("{% extends '@templates/Mobile/Shop/layout.html.twig' %}
  354. {% block title %} Vezi oferte RCA cât ai clipi si primesti asigurarea pe email {% endblock %}
  355. {% block metatags %}
  356.     <meta name=\"description\" content=\"Site autorizat de ofertare asigurare auto RCA. Reînnoire asigurare auto RCA printr-un singur click! Afișăm toate mașinile într-un singur panou de control, și îl Alertăm Gratuit când expiră asigurarea auto RCA.\"/>
  357.     <meta name=\"keywords\" content=\"asigurare auto, asigurare RCA,  verificari asigurari auto; oferte RCA, RCA online\">
  358. {% endblock %}
  359. {% block stylesheets %}
  360.     {{ parent() }}
  361.     {{ encore_entry_link_tags('rca') }}
  362.     <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/toast.min.css') }}\">
  363.     <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/vue-select.min.css') }}\">
  364.     <link rel=\"stylesheet\" href=\"{{ asset('/assets/shop/css/ssr-carousel.css') }}\">
  365.     <style>
  366.         @media (orientation: landscape) {
  367.             .portrait-footer {
  368.                 display: none;
  369.             }
  370.             .landscape-footer {
  371.                 display: block !important;
  372.             }
  373.             .div-landscape {
  374.                 top: 0 !important;
  375.             }
  376.         }
  377.     </style>
  378. {% endblock %}
  379. {% block javascripts %}
  380.     {{ parent() }}
  381.     {% block webpack_app '' %}
  382.     {{ encore_entry_script_tags('rca') }}
  383.     <script src=\"{{ asset('/assets/shop/js/babel.min.js') }}\"></script>
  384.     <script src=\"{{ asset('/assets/shop/js/float_label.js') }}\" type=\"text/babel\"></script>
  385. {% endblock %}
  386. {% block content %}
  387.     {% if lastProductStatus.rcaStatus or isAdmin %}
  388.         <script>
  389.             const roadAssistanceTranslations = '{{ roadAssistanceTranslations|json_encode|raw }}';
  390.         </script>
  391.         <div id=\"app\">
  392.             <scala-front-homepage ref=\"scalaFrontHomepage\"
  393.                     :accordion-blocks-about-rca=\"{{ accordionBlocksAboutRca|json_encode }}\"
  394.                     :history-rca=\"{{ historyRca|json_encode }}\"
  395.                     :rca-mapped-category=\"{{ rcaMappedCategoryList|json_encode }}\"
  396.                     :vehicle-type-list=\"{{ vehicleTypeList|json_encode }}\"
  397.                     :rca-mapped-category-list=\"{{ rcaMappedCategoryList|json_encode }}\"
  398.                     :default-make-list=\"{{ defaultMakeList|json_encode }}\"
  399.                     :fuel-type-list=\"{{ fuelTypeList|json_encode }}\"
  400.                     :availability-interval-list=\"{{ availabilityIntervalList|json_encode }}\"
  401.                     :insurance-company-list=\"{{ insuranceCompanyList|json_encode }}\"
  402.                     :availability-list=\"{{ availabilityList|json_encode }}\"
  403.                     :usage-type-list=\"{{ usageTypeList|json_encode }}\"
  404.                     :road-assistance-default-price=\"{{ roadAssistanceDefaultPrice|json_encode }}\"
  405.                     :road-assistance-terms-and-conditions=\"'{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'terms-and-conditions-road-assistance'}) }}'\"
  406.                     :leasing-company-list=\"{{ leasingCompanyList|json_encode }}\"
  407.                     :county-list=\"{{ countyList|json_encode }}\"
  408.                     :url-terms-gdpr=\"'{{ path('bitbag_sylius_cms_plugin_shop_page_show', {'slug' : 'protectia-datelor-rca'}) }}'\"
  409.                     :hash=\"'{{ hash }}'\"
  410.                     :recaptcha-site-key=\"'{{ recaptchaSiteKey }}'\"
  411.                     :last-product-status=\"{{ lastProductStatusArray|json_encode }}\"
  412.                     :last-campaign-status=\"{{ lastCampaignStatusArray|json_encode }}\"
  413.                     :old-vehicle=\"{{ oldVehicle ? oldVehicle|json_encode : '{}' }}\"
  414.                     :old-customer=\"{{ oldCustomer ? oldCustomer|json_encode : '{}' }}\"
  415.                     :old-offer=\"{{ oldOffer ? oldOffer|json_encode : '{}' }}\"
  416.                     :can-issue-road-assistance=\"{{ canIssueRoadAssistance ? 'true' : 'false' }}\"
  417.             >
  418.             </scala-front-homepage>
  419.         </div>
  420.         {{ encore_entry_script_tags('vue') }}
  421.     {% else %}
  422.         <div class=\"card text-center my-3\">
  423.             <div class=\"card-header\">
  424.                 <h2>RCA {{ 'app.ui.coming_soon'|trans }}</h2>
  425.             </div>
  426.             <div class=\"card-body\">
  427.                 <a href=\"{{ path('app_shop_vignette') }}\">{{ 'app.ui.buy_vignette_online'|trans }}</a>
  428.             </div>
  429.         </div>
  430.     {% endif %}
  431. {% endblock %}
  432. {% block loaderContainer '' %}
  433. ""@templates/RcaApp/Mobile/homepage.html.twig""/vhosts/newrca.roviniete.ro/templates/RcaApp/Mobile/homepage.html.twig");
  434.     }
  435. }