var/cache/dev/twig/00/00ab582a9a2b1d07bc5ead2c62675d26.php line 796

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* uniqskills/catalogue/landing_new/landing_partials/payment.html.twig */
  16. class __TwigTemplate_04dc64b500b63b163085d4854a0da92d extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""uniqskills/catalogue/landing_new/landing_partials/payment.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""uniqskills/catalogue/landing_new/landing_partials/payment.html.twig"));
  38.         // line 1
  39.         $context["shownProducts"] = 0;
  40.         // line 2
  41.         $context["country"] = null;
  42.         // line 3
  43.         $context["productPacksToDisplay"] = [];
  44.         // line 4
  45.         $context["productVariantsToDisplay"] = [];
  46.         // line 6
  47.         if (Twig\Extension\CoreExtension::testEmpty((isset($context["productVariants"]) || array_key_exists("productVariants"$context) ? $context["productVariants"] : (function () { throw new RuntimeError('Variable "productVariants" does not exist.'6$this->source); })()))) {
  48.             // line 7
  49.             yield "    ";
  50.             $context["productVariantsToDisplay"] = Twig\Extension\CoreExtension::merge((isset($context["productVariantsToDisplay"]) || array_key_exists("productVariantsToDisplay"$context) ? $context["productVariantsToDisplay"] : (function () { throw new RuntimeError('Variable "productVariantsToDisplay" does not exist.'7$this->source); })()), [["productVariant" => null"landingProductVariant" => null]]);
  51.         }
  52.         // line 12
  53.         yield "
  54. ";
  55.         // line 13
  56.         $context['_parent'] = $context;
  57.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'13$this->source); })()), "subscriptions", [], "any"falsefalsefalse13));
  58.         foreach ($context['_seq'] as $context["_key"] => $context["landingProductVariant"]) {
  59.             // line 14
  60.             yield "    ";
  61.             $context['_parent'] = $context;
  62.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productVariants"]) || array_key_exists("productVariants"$context) ? $context["productVariants"] : (function () { throw new RuntimeError('Variable "productVariants" does not exist.'14$this->source); })()));
  63.             foreach ($context['_seq'] as $context["_key"] => $context["productVariant"]) {
  64.                 // line 15
  65.                 yield "        ";
  66.                 if ((CoreExtension::getAttribute($this->env$this->source$context["productVariant"], "id", [], "any"falsefalsefalse15) == CoreExtension::getAttribute($this->env$this->source$context["landingProductVariant"], "subscription", [], "any"falsefalsefalse15))) {
  67.                     // line 16
  68.                     yield "            ";
  69.                     $context["productVariantsToDisplay"] = Twig\Extension\CoreExtension::merge((isset($context["productVariantsToDisplay"]) || array_key_exists("productVariantsToDisplay"$context) ? $context["productVariantsToDisplay"] : (function () { throw new RuntimeError('Variable "productVariantsToDisplay" does not exist.'16$this->source); })()), [["productVariant" =>                     // line 17
  70. $context["productVariant"], "landingProductVariant" =>                     // line 18
  71. $context["landingProductVariant"]]]);
  72.                     // line 20
  73.                     yield "        ";
  74.                 }
  75.                 // line 21
  76.                 yield "    ";
  77.             }
  78.             $_parent $context['_parent'];
  79.             unset($context['_seq'], $context['_key'], $context['productVariant'], $context['_parent']);
  80.             $context array_intersect_key($context$_parent) + $_parent;
  81.         }
  82.         $_parent $context['_parent'];
  83.         unset($context['_seq'], $context['_key'], $context['landingProductVariant'], $context['_parent']);
  84.         $context array_intersect_key($context$_parent) + $_parent;
  85.         // line 23
  86.         yield "
  87. ";
  88.         // line 24
  89.         if (CoreExtension::getAttribute($this->env$this->source, ($context["module"] ?? null), "packages", [], "any"truetruefalse24)) {
  90.             // line 25
  91.             yield "    ";
  92.             $context['_parent'] = $context;
  93.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'25$this->source); })()), "packages", [], "any"falsefalsefalse25));
  94.             foreach ($context['_seq'] as $context["_key"] => $context["landingProductPack"]) {
  95.                 // line 26
  96.                 yield "        ";
  97.                 $context['_parent'] = $context;
  98.                 $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productPacks"]) || array_key_exists("productPacks"$context) ? $context["productPacks"] : (function () { throw new RuntimeError('Variable "productPacks" does not exist.'26$this->source); })()));
  99.                 foreach ($context['_seq'] as $context["_key"] => $context["productPack"]) {
  100.                     // line 27
  101.                     yield "            ";
  102.                     if ((CoreExtension::getAttribute($this->env$this->source$context["productPack"], "id", [], "any"falsefalsefalse27) == CoreExtension::getAttribute($this->env$this->source$context["landingProductPack"], "package", [], "any"falsefalsefalse27))) {
  103.                         // line 28
  104.                         yield "                ";
  105.                         $context["productPacksToDisplay"] = Twig\Extension\CoreExtension::merge((isset($context["productPacksToDisplay"]) || array_key_exists("productPacksToDisplay"$context) ? $context["productPacksToDisplay"] : (function () { throw new RuntimeError('Variable "productPacksToDisplay" does not exist.'28$this->source); })()), [["productPack" =>                         // line 29
  106. $context["productPack"], "landingProductPack" =>                         // line 30
  107. $context["landingProductPack"]]]);
  108.                         // line 32
  109.                         yield "            ";
  110.                     }
  111.                     // line 33
  112.                     yield "        ";
  113.                 }
  114.                 $_parent $context['_parent'];
  115.                 unset($context['_seq'], $context['_key'], $context['productPack'], $context['_parent']);
  116.                 $context array_intersect_key($context$_parent) + $_parent;
  117.                 // line 34
  118.                 yield "    ";
  119.             }
  120.             $_parent $context['_parent'];
  121.             unset($context['_seq'], $context['_key'], $context['landingProductPack'], $context['_parent']);
  122.             $context array_intersect_key($context$_parent) + $_parent;
  123.         }
  124.         // line 36
  125.         yield "
  126. <section class=\"rowSignUp\"
  127.          style=\"background-image: url(";
  128.         // line 38
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/uniqskills/new_landing/images/rowSignUp_bgBottom-2-min.png"), "img_1600_width"), "html"nulltrue);
  130.         yield ");\">
  131.     <a class=\"rowSignUp_link\" name=\"";
  132.         // line 39
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'39$this->source); })()), "type", [], "any"falsefalsefalse39), "html"nulltrue);
  134.         yield "-";
  135.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'39$this->source); })()), "id", [], "any"falsefalsefalse39), "html"nulltrue);
  136.         yield "\"></a>
  137.     <div class=\"container\">
  138.         <div class=\"row\">
  139.             <div class=\"col rowSignUp__header\">
  140.                 <h2>";
  141.         // line 43
  142.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["module"] ?? null), "titleName", [], "any"truetruefalse43) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'43$this->source); })()), "titleName", [], "any"falsefalsefalse43)))) {
  143.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'43$this->source); })()), "titleName", [], "any"falsefalsefalse43);
  144.         } else {
  145.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.signInNow"), "html"nulltrue);
  146.             yield "!";
  147.         }
  148.         yield "</h2>
  149.             </div>
  150.         </div>
  151.         <div class=\"row justify-content-center\">
  152.             ";
  153.         // line 47
  154.         $context['_parent'] = $context;
  155.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productPacksToDisplay"]) || array_key_exists("productPacksToDisplay"$context) ? $context["productPacksToDisplay"] : (function () { throw new RuntimeError('Variable "productPacksToDisplay" does not exist.'47$this->source); })()));
  156.         $context['loop'] = [
  157.           'parent' => $context['_parent'],
  158.           'index0' => 0,
  159.           'index'  => 1,
  160.           'first'  => true,
  161.         ];
  162.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  163.             $length count($context['_seq']);
  164.             $context['loop']['revindex0'] = $length 1;
  165.             $context['loop']['revindex'] = $length;
  166.             $context['loop']['length'] = $length;
  167.             $context['loop']['last'] = === $length;
  168.         }
  169.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  170.             // line 48
  171.             yield "                ";
  172.             $context["landingProductPack"] = CoreExtension::getAttribute($this->env$this->source$context["item"], "landingProductPack", [], "array"falsefalsefalse48);
  173.             // line 49
  174.             yield "                ";
  175.             $context["productPack"] = CoreExtension::getAttribute($this->env$this->source$context["item"], "productPack", [], "array"falsefalsefalse49);
  176.             // line 50
  177.             yield "                ";
  178.             $context["shownProducts"] = ((isset($context["shownProducts"]) || array_key_exists("shownProducts"$context) ? $context["shownProducts"] : (function () { throw new RuntimeError('Variable "shownProducts" does not exist.'50$this->source); })()) + 1);
  179.             // line 51
  180.             yield "
  181.                 <div class=\"col-12 col-md-6 col-lg-4\">
  182.                     <div class=\"rowSignUp__modal\">
  183.                         <div class=\"rowSignUp__modal__header";
  184.             // line 54
  185.             if ((((isset($context["shownProducts"]) || array_key_exists("shownProducts"$context) ? $context["shownProducts"] : (function () { throw new RuntimeError('Variable "shownProducts" does not exist.'54$this->source); })()) % 2) == 1)) {
  186.                 yield " rowSignUp__modal__header__bluered";
  187.             }
  188.             yield "\" style=\"position: relative\">
  189.                             <div class=\"rowSignUp__modal__header__title\">
  190.                                 ";
  191.             // line 56
  192.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'56$this->source); })()), "name", [], "any"falsefalsefalse56), "html"nulltrue);
  193.             yield "
  194.                             </div>
  195.                             <div class=\"rowSignUp__modal__header__description\">
  196.                                 ";
  197.             // line 59
  198.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["productPack"] ?? null), "type", [], "any"truetruefalse59) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,             // line 60
  199. (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'60$this->source); })()), "type", [], "any"falsefalsefalse60)))) {
  200.                 // line 61
  201.                 yield "                                    ";
  202.                 if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'61$this->source); })()), "type", [], "any"falsefalsefalse61) == "bundle")) {
  203.                     // line 62
  204.                     yield "                                        ";
  205.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.packs.productPack"), "html"nulltrue);
  206.                     yield "
  207.                                     ";
  208.                 } elseif ((CoreExtension::getAttribute($this->env$this->source,                 // line 63
  209. (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'63$this->source); })()), "type", [], "any"falsefalsefalse63) == "cycle")) {
  210.                     // line 64
  211.                     yield "                                        ";
  212.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.packs.cycle"), "html"nulltrue);
  213.                     yield "
  214.                                     ";
  215.                 }
  216.                 // line 66
  217.                 yield "                                ";
  218.             }
  219.             // line 67
  220.             yield "                            </div>
  221.                             ";
  222.             // line 68
  223.             if (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductPack"]) || array_key_exists("landingProductPack"$context) ? $context["landingProductPack"] : (function () { throw new RuntimeError('Variable "landingProductPack" does not exist.'68$this->source); })()), "packageTitle", [], "any"falsefalsefalse68)) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,             // line 69
  224. (isset($context["landingProductPack"]) || array_key_exists("landingProductPack"$context) ? $context["landingProductPack"] : (function () { throw new RuntimeError('Variable "landingProductPack" does not exist.'69$this->source); })()), "packageDescription", [], "any"falsefalsefalse69)))) {
  225.                 // line 70
  226.                 yield "                                <button type=\"button\" class=\"rowSignUp__modal__header__more\">
  227.                                     ";
  228.                 // line 71
  229.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductPack"]) || array_key_exists("landingProductPack"$context) ? $context["landingProductPack"] : (function () { throw new RuntimeError('Variable "landingProductPack" does not exist.'71$this->source); })()), "packageTitle", [], "any"falsefalsefalse71), "html"nulltrue);
  230.                 yield "
  231.                                 </button>
  232.                                 <div class=\"rowSignUp__modal__header__info\">
  233.                                     <p>";
  234.                 // line 74
  235.                 yield CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductPack"]) || array_key_exists("landingProductPack"$context) ? $context["landingProductPack"] : (function () { throw new RuntimeError('Variable "landingProductPack" does not exist.'74$this->source); })()), "packageDescription", [], "any"falsefalsefalse74);
  236.                 yield "</p>
  237.                                     <button type=\"button\"
  238.                                             class=\"rowSignUp__modal__header__more rowSignUp__modal__header__more-active\">
  239.                                         ";
  240.                 // line 77
  241.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("btn.close"), "html"nulltrue);
  242.                 yield "
  243.                                     </button>
  244.                                 </div>
  245.                             ";
  246.             }
  247.             // line 81
  248.             yield "                        </div>
  249.                         ";
  250.             // line 82
  251.             $context['_parent'] = $context;
  252.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'82$this->source); })()), "courseProductPackItem", [], "any"falsefalsefalse82));
  253.             $context['loop'] = [
  254.               'parent' => $context['_parent'],
  255.               'index0' => 0,
  256.               'index'  => 1,
  257.               'first'  => true,
  258.             ];
  259.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  260.                 $length count($context['_seq']);
  261.                 $context['loop']['revindex0'] = $length 1;
  262.                 $context['loop']['revindex'] = $length;
  263.                 $context['loop']['length'] = $length;
  264.                 $context['loop']['last'] = === $length;
  265.             }
  266.             foreach ($context['_seq'] as $context["_key"] => $context["coursePackItem"]) {
  267.                 // line 83
  268.                 yield "                            ";
  269.                 $context["packCourse"] = Twig\Extension\CoreExtension::first($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["coursePackItem"], "productVariant", [], "any"falsefalsefalse83), "courses", [], "any"falsefalsefalse83));
  270.                 // line 84
  271.                 yield "                            ";
  272.                 $context["country"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["coursePackItem"], "productVariant", [], "any"falsefalsefalse84), "country", [], "any"falsefalsefalse84);
  273.                 // line 85
  274.                 yield "                            <div class=\"rowSignUp__modal__package__header\">
  275.                                 <div class=\"rowSignUp__modal__package__row\">
  276.                                     <span>
  277.                                         ";
  278.                 // line 88
  279.                 if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'88$this->source); })()), "type", [], "any"falsefalsefalse88) == "bundle")) {
  280.                     // line 89
  281.                     yield "                                            ";
  282.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product"), "html"nulltrue);
  283.                     yield "
  284.                                         ";
  285.                 } elseif ((CoreExtension::getAttribute($this->env$this->source,                 // line 90
  286. (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'90$this->source); })()), "type", [], "any"falsefalsefalse90) == "cycle")) {
  287.                     // line 91
  288.                     yield "                                            ";
  289.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.packagePart"), "html"nulltrue);
  290.                     yield "
  291.                                         ";
  292.                 }
  293.                 // line 93
  294.                 yield "                                        ";
  295.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse93), "html"nulltrue);
  296.                 yield "
  297.                                     </span>
  298.                                     <span>
  299.                                         ";
  300.                 // line 96
  301.                 if (((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'96$this->source); })()), "type", [], "any"falsefalsefalse96) == "cycle") &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["coursePackItem"], "description", [], "any"falsefalsefalse96)))) {
  302.                     // line 97
  303.                     yield "                                            ";
  304.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coursePackItem"], "description", [], "any"falsefalsefalse97), "html"nulltrue);
  305.                     yield "
  306.                                         ";
  307.                 } elseif ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,                 // line 98
  308. $context["coursePackItem"], "price", [], "any"falsefalsefalse98))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  309.                     // line 99
  310.                     yield "                                            ";
  311.                     yield from $this->load("uniqskills/catalogue/landing_price.html.twig"99)->unwrap()->yield(CoreExtension::merge($context, ["landingPriceNet" => CoreExtension::getAttribute($this->env$this->source,                     // line 100
  312. $context["coursePackItem"], "price", [], "any"falsefalsefalse100), "landingPriceGross" => CoreExtension::getAttribute($this->env$this->source,                     // line 101
  313. $context["coursePackItem"], "price", [], "any"falsefalsefalse101), "country" =>                     // line 102
  314. (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'102$this->source); })()), "rate" => "brutto""showRate" => true]));
  315.                     // line 106
  316.                     yield "                                        ";
  317.                 }
  318.                 // line 107
  319.                 yield "                                    </span>
  320.                                 </div>
  321.                                 <span class=\"rowSignUp__modal__package__course\">";
  322.                 // line 109
  323.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["packCourse"]) || array_key_exists("packCourse"$context) ? $context["packCourse"] : (function () { throw new RuntimeError('Variable "packCourse" does not exist.'109$this->source); })()), "name", [], "any"falsefalsefalse109), "html"nulltrue);
  324.                 yield "</span>
  325.                             </div>
  326.                             ";
  327.                 // line 111
  328.                 if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["coursePackItem"], "bulletPoints", [], "any"falsefalsefalse111))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  329.                     // line 112
  330.                     yield "                                <div class=\"rowSignUp__modal__list\" style=\"padding-top: 15px;\">
  331.                                     ";
  332.                     // line 113
  333.                     $context['_parent'] = $context;
  334.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["coursePackItem"], "bulletPoints", [], "any"falsefalsefalse113));
  335.                     foreach ($context['_seq'] as $context["_key"] => $context["point"]) {
  336.                         // line 114
  337.                         yield "                                        <div class=\"row rowSignUp__modal__list__element\">
  338.                                             <div ";
  339.                         // line 115
  340.                         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'115$this->source); })()), "request", [], "any"falsefalsefalse115), "locale", [], "any"falsefalsefalse115) == "en")) {
  341.                             yield "style=\"padding-left: 20px\"";
  342.                         }
  343.                         yield " class=\"col-2 rowSignUp__modal__list__element__left\">
  344.                                                 <div class=\"bgs2-rowBenefits_check\"></div>
  345.                                             </div>
  346.                                             <div class=\"col-10 rowSignUp__modal__list__element__right\">
  347.                                                 ";
  348.                         // line 119
  349.                         yield $context["point"];
  350.                         yield "
  351.                                             </div>
  352.                                         </div>
  353.                                     ";
  354.                     }
  355.                     $_parent $context['_parent'];
  356.                     unset($context['_seq'], $context['_key'], $context['point'], $context['_parent']);
  357.                     $context array_intersect_key($context$_parent) + $_parent;
  358.                     // line 123
  359.                     yield "                                </div>
  360.                             ";
  361.                 }
  362.                 // line 125
  363.                 yield "                        ";
  364.                 ++$context['loop']['index0'];
  365.                 ++$context['loop']['index'];
  366.                 $context['loop']['first'] = false;
  367.                 if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  368.                     --$context['loop']['revindex0'];
  369.                     --$context['loop']['revindex'];
  370.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  371.                 }
  372.             }
  373.             $_parent $context['_parent'];
  374.             unset($context['_seq'], $context['_key'], $context['coursePackItem'], $context['_parent'], $context['loop']);
  375.             $context array_intersect_key($context$_parent) + $_parent;
  376.             // line 126
  377.             yield "                        <div class=\"rowSignUp__modal__price\">
  378.                             <div class=\"row\">
  379.                                 <div class=\"col rowSignUp__modal__price__title\">
  380.                                     ";
  381.             // line 129
  382.             if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'129$this->source); })()), "type", [], "any"falsefalsefalse129) == "cycle")) {
  383.                 // line 130
  384.                 yield "                                        ";
  385.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.packagePrice"), "html"nulltrue);
  386.                 yield "
  387.                                     ";
  388.             } else {
  389.                 // line 132
  390.                 yield "                                        ";
  391.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.price"), "html"nulltrue);
  392.                 yield "
  393.                                     ";
  394.             }
  395.             // line 134
  396.             yield "                                </div>
  397.                             </div>
  398.                             <div class=\"row\">
  399.                                 <div class=\"col-6 rowSignUp__modal__price__noPadding\">
  400.                                     <div class=\"rowSignUp__modal__price__currentPrice\">
  401.                                         ";
  402.             // line 139
  403.             if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'139$this->source); })()), "type", [], "any"falsefalsefalse139) == "cycle")) {
  404.                 // line 140
  405.                 yield "                                            ";
  406.                 $context["firstProductPackItem"] = Twig\Extension\CoreExtension::first($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'140$this->source); })()), "productPackItem", [], "any"falsefalsefalse140));
  407.                 // line 141
  408.                 yield "                                            ";
  409.                 $context["packPriceNet"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["firstProductPackItem"]) || array_key_exists("firstProductPackItem"$context) ? $context["firstProductPackItem"] : (function () { throw new RuntimeError('Variable "firstProductPackItem" does not exist.'141$this->source); })()), "productVariant", [], "any"falsefalsefalse141), "getFullPrice", ["net"], "method"falsefalsefalse141);
  410.                 // line 142
  411.                 yield "                                            ";
  412.                 $context["packPriceGross"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["firstProductPackItem"]) || array_key_exists("firstProductPackItem"$context) ? $context["firstProductPackItem"] : (function () { throw new RuntimeError('Variable "firstProductPackItem" does not exist.'142$this->source); })()), "productVariant", [], "any"falsefalsefalse142), "getFullPrice", ["gross"], "method"falsefalsefalse142);
  413.                 // line 143
  414.                 yield "                                        ";
  415.             } else {
  416.                 // line 144
  417.                 yield "                                            ";
  418.                 $context["packPriceNet"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'144$this->source); })()), "totalPriceNet", [], "any"falsefalsefalse144);
  419.                 // line 145
  420.                 yield "                                            ";
  421.                 $context["packPriceGross"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'145$this->source); })()), "totalPriceGross", [], "any"falsefalsefalse145);
  422.                 // line 146
  423.                 yield "                                        ";
  424.             }
  425.             // line 147
  426.             yield "                                        ";
  427.             yield from $this->load("uniqskills/catalogue/landing_price.html.twig"147)->unwrap()->yield(CoreExtension::merge($context, ["landingPriceNet" =>             // line 148
  428. (isset($context["packPriceNet"]) || array_key_exists("packPriceNet"$context) ? $context["packPriceNet"] : (function () { throw new RuntimeError('Variable "packPriceNet" does not exist.'148$this->source); })()), "landingPriceGross" =>             // line 149
  429. (isset($context["packPriceGross"]) || array_key_exists("packPriceGross"$context) ? $context["packPriceGross"] : (function () { throw new RuntimeError('Variable "packPriceGross" does not exist.'149$this->source); })()), "country" =>             // line 150
  430. (isset($context["country"]) || array_key_exists("country"$context) ? $context["country"] : (function () { throw new RuntimeError('Variable "country" does not exist.'150$this->source); })()), "rate" => "brutto""showRate" => true]));
  431.             // line 154
  432.             yield "                                    </div>
  433.                                 </div>
  434.                                 <div class=\"col-6 rowSignUp__modal__price__btnGroup\">
  435.                                     ";
  436.             // line 157
  437.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'157$this->source); })()), "request", [], "any"falsefalsefalse157), "locale", [], "any"falsefalsefalse157) == "en")) {
  438.                 // line 158
  439.                 yield "                                        <a href=\"";
  440.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fmUniqskillsContactForm");
  441.                 yield "\"
  442.                                            class=\"button button-blueBackground rowSignUp__modal__price__btnGroup__btnSignUp\">";
  443.                 // line 159
  444.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.signInNow"), "html"nulltrue);
  445.                 yield "</a>
  446.                                     ";
  447.             } else {
  448.                 // line 161
  449.                 yield "                                        <button class=\"button button-blueBackground addToCart rowSignUp__modal__price__btnGroup__btnSignUp\"
  450.                                                 type=\"button\" style=\"border: 0;\"
  451.                                                 data-carturl=\"";
  452.                 // line 163
  453.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fmUniqskillsCartIndex");
  454.                 yield "\"
  455.                                                 data-addurl=\"";
  456.                 // line 164
  457.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fmProductCartFrontendAdd");
  458.                 yield "\"
  459.                                                 data-notfound=\"";
  460.                 // line 165
  461.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fmUniqskillsOrderError", ["_locale" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,                 // line 166
  462. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'166$this->source); })()), "session", [], "any"falsefalsefalse166), "get", ["userLocale""pl"], "method"falsefalsefalse166), "slugCourse" => CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'166$this->source); })()), "slug", [], "any"falsefalsefalse166)]), "html"nulltrue);
  463.                 yield "\"
  464.                                                 ";
  465.                 // line 167
  466.                 if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'167$this->source); })()), "type", [], "any"falsefalsefalse167) == "cycle")) {
  467.                     // line 168
  468.                     yield "                                                    data-cycle=\"1\"
  469.                                                 ";
  470.                 }
  471.                 // line 170
  472.                 yield "                                                data-productpackid=\"";
  473.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'170$this->source); })()), "id", [], "any"falsefalsefalse170), "html"nulltrue);
  474.                 yield "\"
  475.                                                 onclick=\"";
  476.                 // line 171
  477.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\GoogleAnalyticsExtension']->renderGaDataLayerUS($this->env"add_to_cart"CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'171$this->source); })()), "id", [], "any"falsefalsefalse171), ["isProductPack" => 1]), "html"nulltrue);
  478.                 yield "
  479.                                                         ";
  480.                 // line 172
  481.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\GoogleAnalyticsExtension']->renderGA4("add_to_cart"CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'172$this->source); })()), "id", [], "any"falsefalsefalse172), ["isProductPack" => 1]), "html"nulltrue);
  482.                 yield "
  483.                                                         \"
  484.                                                 >
  485.                                             ";
  486.                 // line 175
  487.                 if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["productPack"]) || array_key_exists("productPack"$context) ? $context["productPack"] : (function () { throw new RuntimeError('Variable "productPack" does not exist.'175$this->source); })()), "type", [], "any"falsefalsefalse175) == "cycle")) {
  488.                     // line 176
  489.                     yield "                                                ";
  490.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.nl.joinNow"), "html"nulltrue);
  491.                     yield "
  492.                                             ";
  493.                 } else {
  494.                     // line 178
  495.                     yield "                                                ";
  496.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.signInNow"), "html"nulltrue);
  497.                     yield "
  498.                                             ";
  499.                 }
  500.                 // line 180
  501.                 yield "                                        </button>
  502.                                     ";
  503.             }
  504.             // line 182
  505.             yield "                                </div>
  506.                             </div>
  507.                         </div>
  508.                     </div>
  509.                 </div>
  510.             ";
  511.             ++$context['loop']['index0'];
  512.             ++$context['loop']['index'];
  513.             $context['loop']['first'] = false;
  514.             if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  515.                 --$context['loop']['revindex0'];
  516.                 --$context['loop']['revindex'];
  517.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  518.             }
  519.         }
  520.         $_parent $context['_parent'];
  521.         unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  522.         $context array_intersect_key($context$_parent) + $_parent;
  523.         // line 188
  524.         yield "
  525.             ";
  526.         // line 189
  527.         $context["lifetimeLanding"] = false;
  528.         // line 190
  529.         yield "            ";
  530.         $context['_parent'] = $context;
  531.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["productVariantsToDisplay"]) || array_key_exists("productVariantsToDisplay"$context) ? $context["productVariantsToDisplay"] : (function () { throw new RuntimeError('Variable "productVariantsToDisplay" does not exist.'190$this->source); })()));
  532.         $context['loop'] = [
  533.           'parent' => $context['_parent'],
  534.           'index0' => 0,
  535.           'index'  => 1,
  536.           'first'  => true,
  537.         ];
  538.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  539.             $length count($context['_seq']);
  540.             $context['loop']['revindex0'] = $length 1;
  541.             $context['loop']['revindex'] = $length;
  542.             $context['loop']['length'] = $length;
  543.             $context['loop']['last'] = === $length;
  544.         }
  545.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  546.             // line 191
  547.             yield "                ";
  548.             if ((( !(null === CoreExtension::getAttribute($this->env$this->source$context["item"], "landingProductVariant", [], "array"falsefalsefalse191)) || Twig\Extension\CoreExtension::testEmpty((isset($context["productPacksToDisplay"]) || array_key_exists("productPacksToDisplay"$context) ? $context["productPacksToDisplay"] : (function () { throw new RuntimeError('Variable "productPacksToDisplay" does not exist.'191$this->source); })()))) &&  !(isset($context["lifetimeLanding"]) || array_key_exists("lifetimeLanding"$context) ? $context["lifetimeLanding"] : (function () { throw new RuntimeError('Variable "lifetimeLanding" does not exist.'191$this->source); })()))) {
  549.                 // line 192
  550.                 yield "                    ";
  551.                 $context["landingProductVariant"] = CoreExtension::getAttribute($this->env$this->source$context["item"], "landingProductVariant", [], "array"falsefalsefalse192);
  552.                 // line 193
  553.                 yield "                    ";
  554.                 $context["productVariant"] = CoreExtension::getAttribute($this->env$this->source$context["item"], "productVariant", [], "array"falsefalsefalse193);
  555.                 // line 194
  556.                 yield "                    ";
  557.                 $context["discountCode"] = null;
  558.                 // line 195
  559.                 yield "                    ";
  560.                 $context["shownProducts"] = ((isset($context["shownProducts"]) || array_key_exists("shownProducts"$context) ? $context["shownProducts"] : (function () { throw new RuntimeError('Variable "shownProducts" does not exist.'195$this->source); })()) + 1);
  561.                 // line 196
  562.                 yield "
  563.                     ";
  564.                 // line 197
  565.                 if ((CoreExtension::getAttribute($this->env$this->source, ($context["module"] ?? null), "lifeTimeAccess", [], "any"truetruefalse197) && CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'197$this->source); })()), "lifeTimeAccess", [], "any"falsefalsefalse197))) {
  566.                     // line 198
  567.                     yield "                        ";
  568.                     $context["lifetimeLanding"] = true;
  569.                     // line 199
  570.                     yield "                    ";
  571.                 }
  572.                 // line 200
  573.                 yield "
  574.                     ";
  575.                 // line 201
  576.                 if (( !Twig\Extension\CoreExtension::testEmpty(                // line 202
  577. (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'202$this->source); })())) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'202$this->source); })()), "discountCode", [], "any"falsefalsefalse202)))) {
  578.                     // line 203
  579.                     yield "                        ";
  580.                     $context['_parent'] = $context;
  581.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'203$this->source); })()), "coupon", [], "any"falsefalsefalse203));
  582.                     foreach ($context['_seq'] as $context["_key"] => $context["subscriptionCoupon"]) {
  583.                         // line 204
  584.                         yield "                            ";
  585.                         if ((CoreExtension::getAttribute($this->env$this->source$context["subscriptionCoupon"], "id", [], "any"falsefalsefalse204) == CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'204$this->source); })()), "discountCode", [], "any"falsefalsefalse204))) {
  586.                             // line 205
  587.                             yield "                                ";
  588.                             $context["discountCode"] = $context["subscriptionCoupon"];
  589.                             // line 206
  590.                             yield "                            ";
  591.                         }
  592.                         // line 207
  593.                         yield "                        ";
  594.                     }
  595.                     $_parent $context['_parent'];
  596.                     unset($context['_seq'], $context['_key'], $context['subscriptionCoupon'], $context['_parent']);
  597.                     $context array_intersect_key($context$_parent) + $_parent;
  598.                     // line 208
  599.                     yield "                    ";
  600.                 }
  601.                 // line 209
  602.                 yield "
  603.                     ";
  604.                 // line 210
  605.                 $context["installmentAmount"] = "";
  606.                 // line 211
  607.                 yield "
  608.                     ";
  609.                 // line 212
  610.                 if ((( !Twig\Extension\CoreExtension::testEmpty((isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'212$this->source); })())) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'212$this->source); })()), "installmentAmount", [], "any"falsefalsefalse212) > 1)) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'212$this->source); })()), "paymentType", [], "any"falsefalsefalse212), "slug", [], "any"falsefalsefalse212) == "partial-payment"))) {
  611.                     // line 213
  612.                     yield "                        ";
  613.                     $context["installmentAmount"] = (CoreExtension::getAttribute($this->env$this->source, (isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'213$this->source); })()), "installmentAmount", [], "any"falsefalsefalse213) . "x");
  614.                     // line 214
  615.                     yield "                    ";
  616.                 }
  617.                 // line 215
  618.                 yield "
  619.                     <div class=\"col-12 col-md-6 col-lg-4\">
  620.                         <div class=\"rowSignUp__modal\">
  621.                             <div class=\"rowSignUp__modal__header";
  622.                 // line 218
  623.                 if ((((isset($context["shownProducts"]) || array_key_exists("shownProducts"$context) ? $context["shownProducts"] : (function () { throw new RuntimeError('Variable "shownProducts" does not exist.'218$this->source); })()) % 2) == 1)) {
  624.                     yield " rowSignUp__modal__header__bluered";
  625.                 }
  626.                 yield "\">
  627.                                 <div class=\"rowSignUp__modal__header__title\">
  628.                                     ";
  629.                 // line 220
  630.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'220$this->source); })()), "name", [], "any"falsefalsefalse220), "html"nulltrue);
  631.                 yield "
  632.                                 </div>
  633.                                 ";
  634.                 // line 222
  635.                 if (( !Twig\Extension\CoreExtension::testEmpty((isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'222$this->source); })())) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["productVariant"]) || array_key_exists("productVariant"$context) ? $context["productVariant"] : (function () { throw new RuntimeError('Variable "productVariant" does not exist.'222$this->source); })()), "isRecurringSubscription", [], "any"falsefalsefalse222) != 1))) {
  636.                     // line 223
  637.                     yield "                                    <div class=\"rowSignUp__modal__header__description\">
  638.                                     ";
  639.                     // line 224
  640.                     if (((isset($context["installmentAmount"]) || array_key_exists("installmentAmount"$context) ? $context["installmentAmount"] : (function () { throw new RuntimeError('Variable "installmentAmount" does not exist.'224$this->source); })()) == "")) {
  641.                         yield " ";
  642.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.fullPayment"), "html"nulltrue);
  643.                         yield " ";
  644.                     } else {
  645.                         yield " ";
  646.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.landing.installmentPayment"), "html"nulltrue);
  647.                         yield " ";
  648.                     }
  649.                     // line 225
  650.                     yield "                                </div>
  651.                                 ";
  652.                 }
  653.                 // line 227
  654.                 yield "                            </div>
  655.                             <div class=\"rowSignUp__modal__list\">
  656.                                 ";
  657.                 // line 229
  658.                 if (((!array_key_exists("buttonToCountryNotFound"$context)) || (!(isset($context["buttonToCountryNotFound"]) || array_key_exists("buttonToCountryNotFound"$context) ? $context["buttonToCountryNotFound"] : (function () { throw new RuntimeError('Variable "buttonToCountryNotFound" does not exist.'229$this->source); })())))) {
  659.                     // line 230
  660.                     yield "                                    ";
  661.                     if ((CoreExtension::getAttribute($this->env$this->source, ($context["landingProductVariant"] ?? null), "customDescription", [], "any"truetruefalse230) &&  !Twig\Extension\CoreExtension::testEmpty(Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'230$this->source); })()), "customDescription", [], "any"falsefalsefalse230))))) {
  662.                         // line 231
  663.                         yield "                                        <div style=\"padding: 0 10px;\">
  664.                                             ";
  665.                         // line 232
  666.                         yield CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'232$this->source); })()), "customDescription", [], "any"falsefalsefalse232);
  667.                         yield "
  668.                                         </div>
  669.                                     ";
  670.                     } elseif ((CoreExtension::getAttribute($this->env$this->source,                     // line 234
  671. ($context["landingProductVariant"] ?? null), "bullets", [], "any"truetruefalse234) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'234$this->source); })()), "bullets", [], "any"falsefalsefalse234)) > 0))) {
  672.                         // line 235
  673.                         yield "                                        ";
  674.                         $context['_parent'] = $context;
  675.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'235$this->source); })()), "bullets", [], "any"falsefalsefalse235));
  676.                         foreach ($context['_seq'] as $context["_key"] => $context["point"]) {
  677.                             // line 236
  678.                             yield "                                            <div class=\"row rowSignUp__modal__list__element\">
  679.                                                 <div ";
  680.                             // line 237
  681.                             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'237$this->source); })()), "request", [], "any"falsefalsefalse237), "locale", [], "any"falsefalsefalse237) == "en")) {
  682.                                 yield "style=\"padding-left: 20px\"";
  683.                             }
  684.                             yield " class=\"col-2 rowSignUp__modal__list__element__left\">
  685.                                                     <div class=\"bgs2-rowBenefits_check\"></div>
  686.                                                 </div>
  687.                                                 <div class=\"col-10 rowSignUp__modal__list__element__right\">
  688.                                                     ";
  689.                             // line 241
  690.                             yield CoreExtension::getAttribute($this->env$this->source$context["point"], "title", [], "any"falsefalsefalse241);
  691.                             yield "
  692.                                                 </div>
  693.                                             </div>
  694.                                         ";
  695.                         }
  696.                         $_parent $context['_parent'];
  697.                         unset($context['_seq'], $context['_key'], $context['point'], $context['_parent']);
  698.                         $context array_intersect_key($context$_parent) + $_parent;
  699.                         // line 245
  700.                         yield "                                    ";
  701.                     } else {
  702.                         // line 246
  703.                         yield "                                        ";
  704.                         $context['_parent'] = $context;
  705.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'246$this->source); })()), "bulletPoints", [], "any"falsefalsefalse246));
  706.                         foreach ($context['_seq'] as $context["_key"] => $context["point"]) {
  707.                             // line 247
  708.                             yield "                                            <div ";
  709.                             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'247$this->source); })()), "request", [], "any"falsefalsefalse247), "locale", [], "any"falsefalsefalse247) == "en")) {
  710.                                 yield "style=\"padding-left: 20px\"";
  711.                             }
  712.                             yield " class=\"row rowSignUp__modal__list__element\">
  713.                                                 <div class=\"col-2 rowSignUp__modal__list__element__left\">
  714.                                                     <div class=\"bgs2-rowBenefits_check\"></div>
  715.                                                 </div>
  716.                                                 <div class=\"col-10 rowSignUp__modal__list__element__right\">
  717.                                                     ";
  718.                             // line 252
  719.                             yield CoreExtension::getAttribute($this->env$this->source$context["point"], "title", [], "any"falsefalsefalse252);
  720.                             yield "
  721.                                                 </div>
  722.                                             </div>
  723.                                         ";
  724.                         }
  725.                         $_parent $context['_parent'];
  726.                         unset($context['_seq'], $context['_key'], $context['point'], $context['_parent']);
  727.                         $context array_intersect_key($context$_parent) + $_parent;
  728.                         // line 256
  729.                         yield "                                    ";
  730.                     }
  731.                     // line 257
  732.                     yield "                                ";
  733.                 } else {
  734.                     // line 258
  735.                     yield "                                    ";
  736.                     $context['_parent'] = $context;
  737.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'258$this->source); })()), "bulletPoints", [], "any"falsefalsefalse258));
  738.                     foreach ($context['_seq'] as $context["_key"] => $context["point"]) {
  739.                         // line 259
  740.                         yield "                                        <div ";
  741.                         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'259$this->source); })()), "request", [], "any"falsefalsefalse259), "locale", [], "any"falsefalsefalse259) == "en")) {
  742.                             yield "style=\"padding-left: 20px\"";
  743.                         }
  744.                         yield " class=\"row rowSignUp__modal__list__element\">
  745.                                             <div class=\"col-2 rowSignUp__modal__list__element__left\">
  746.                                                 <div class=\"bgs2-rowBenefits_check\"></div>
  747.                                             </div>
  748.                                             <div class=\"col-10 rowSignUp__modal__list__element__right\">
  749.                                                 ";
  750.                         // line 264
  751.                         yield CoreExtension::getAttribute($this->env$this->source$context["point"], "title", [], "any"falsefalsefalse264);
  752.                         yield "
  753.                                             </div>
  754.                                         </div>
  755.                                     ";
  756.                     }
  757.                     $_parent $context['_parent'];
  758.                     unset($context['_seq'], $context['_key'], $context['point'], $context['_parent']);
  759.                     $context array_intersect_key($context$_parent) + $_parent;
  760.                     // line 268
  761.                     yield "                                ";
  762.                 }
  763.                 // line 269
  764.                 yield "                            </div>
  765.                             ";
  766.                 // line 271
  767.                 if (((isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'271$this->source); })()) &&  !(isset($context["lifetimeLanding"]) || array_key_exists("lifetimeLanding"$context) ? $context["lifetimeLanding"] : (function () { throw new RuntimeError('Variable "lifetimeLanding" does not exist.'271$this->source); })()))) {
  768.                     // line 272
  769.                     yield "                                <div class=\"rowSignUp__modal__rabat\">
  770.                                     <div class=\"row\">
  771.                                         <div class=\"col-1\"></div>
  772.                                         <div class=\"col-10\">
  773.                                             ";
  774.                     // line 276
  775.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["landingProductVariant"]) || array_key_exists("landingProductVariant"$context) ? $context["landingProductVariant"] : (function () { throw new RuntimeError('Variable "landingProductVariant" does not exist.'276$this->source); })()), "description", [], "any"falsefalsefalse276), "html"nulltrue);
  776.                     yield "
  777.                                         </div>
  778.                                     </div>
  779.                                 </div>
  780.                             ";
  781.                 }
  782.                 // line 281
  783.                 yield "
  784.                             ";
  785.                 // line 282
  786.                 yield from $this->load("uniqskills/catalogue/landing_new/landing_partials/_payment-price.html.twig"282)->unwrap()->yield($context);
  787.                 // line 283
  788.                 yield "
  789.                             ";
  790.                 // line 284
  791.                 if ((CoreExtension::getAttribute($this->env$this->source, ($context["module"] ?? null), "showContactForm", [], "any"truetruefalse284) && CoreExtension::getAttribute($this->env$this->source, (isset($context["module"]) || array_key_exists("module"$context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.'284$this->source); })()), "showContactForm", [], "any"falsefalsefalse284))) {
  792.                     // line 285
  793.                     yield "                                <div class=\"div-break\"></div>
  794.                                 <div class=\"landingContactFormBox\">
  795.                                     <div class=\"landingContactFormBox--title\">
  796.                                         <span>";
  797.                     // line 288
  798.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.form.contact.messageInfo1"), "html"nulltrue);
  799.                     yield "</span>
  800.                                         <span>";
  801.                     // line 289
  802.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.form.contact.messageInfo2"), "html"nulltrue);
  803.                     yield ":</span>
  804.                                     </div>
  805.                                     <form id=\"landingContactForm\" data-url=\"";
  806.                     // line 291
  807.                     yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fmUniqskillsAjaxLandingContactForm");
  808.                     yield "\">
  809.                                         <div class=\"form-group\">
  810.                                             <label for=\"landing-contact-name\">";
  811.                     // line 293
  812.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.form.contact.name"), "html"nulltrue);
  813.                     yield ":</label>
  814.                                             <input required name=\"landing-contact-name\" type=\"text\" class=\"form-control\" id=\"landing-contact-name\">
  815.                                         </div>
  816.                                         <div class=\"form-group\">
  817.                                             <label for=\"landing-contact-email\">";
  818.                     // line 297
  819.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.form.contact.email"), "html"nulltrue);
  820.                     yield ":</label>
  821.                                             <input required name=\"landing-contact-email\" type=\"email\" class=\"form-control\" id=\"landing-contact-email\">
  822.                                         </div>
  823.                                         <div class=\"form-group\">
  824.                                             <label for=\"landing-contact-message\">";
  825.                     // line 301
  826.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.form.contact.body"), "html"nulltrue);
  827.                     yield ":</label>
  828.                                             <textarea required name=\"landing-contact-message\" class=\"form-control\" id=\"landing-contact-message\" rows=\"3\"></textarea>
  829.                                         </div>
  830.                                         <div class=\"g-recaptcha\" data-sitekey=\"";
  831.                     // line 304
  832.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["recaptchaPublicKey"]) || array_key_exists("recaptchaPublicKey"$context) ? $context["recaptchaPublicKey"] : (function () { throw new RuntimeError('Variable "recaptchaPublicKey" does not exist.'304$this->source); })()), "html"nulltrue);
  833.                     yield "\"></div>
  834.                                         <div id=\"spinner\"></div>
  835.                                         <div class=\"recaptcha-message\"></div>
  836.                                         <div class=\"form-group\" style=\"text-align: center;\">
  837.                                             <button type=\"submit\" class=\"btn landingContactFormBox--submit\">";
  838.                     // line 308
  839.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("uniqskills.form.contact.submit"), "html"nulltrue);
  840.                     yield "</button>
  841.                                         </div>
  842.                                     </form>
  843.                                 </div>
  844.                                 <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  845.                             ";
  846.                 }
  847.                 // line 314
  848.                 yield "                        </div>
  849.                     </div>
  850.                 ";
  851.             }
  852.             // line 317
  853.             yield "            ";
  854.             ++$context['loop']['index0'];
  855.             ++$context['loop']['index'];
  856.             $context['loop']['first'] = false;
  857.             if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  858.                 --$context['loop']['revindex0'];
  859.                 --$context['loop']['revindex'];
  860.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  861.             }
  862.         }
  863.         $_parent $context['_parent'];
  864.         unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  865.         $context array_intersect_key($context$_parent) + $_parent;
  866.         // line 318
  867.         yield "        </div>
  868.     </div>
  869. </section>
  870. ";
  871.         
  872.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  873.         
  874.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  875.         yield from [];
  876.     }
  877.     /**
  878.      * @codeCoverageIgnore
  879.      */
  880.     public function getTemplateName(): string
  881.     {
  882.         return "uniqskills/catalogue/landing_new/landing_partials/payment.html.twig";
  883.     }
  884.     /**
  885.      * @codeCoverageIgnore
  886.      */
  887.     public function isTraitable(): bool
  888.     {
  889.         return false;
  890.     }
  891.     /**
  892.      * @codeCoverageIgnore
  893.      */
  894.     public function getDebugInfo(): array
  895.     {
  896.         return array (  877 => 318,  863 => 317,  858 => 314,  849 => 308,  842 => 304,  836 => 301,  829 => 297,  822 => 293,  817 => 291,  812 => 289,  808 => 288,  803 => 285,  801 => 284,  798 => 283,  796 => 282,  793 => 281,  785 => 276,  779 => 272,  777 => 271,  773 => 269,  770 => 268,  760 => 264,  749 => 259,  744 => 258,  741 => 257,  738 => 256,  728 => 252,  717 => 247,  712 => 246,  709 => 245,  699 => 241,  690 => 237,  687 => 236,  682 => 235,  680 => 234,  675 => 232,  672 => 231,  669 => 230,  667 => 229,  663 => 227,  659 => 225,  649 => 224,  646 => 223,  644 => 222,  639 => 220,  632 => 218,  627 => 215,  624 => 214,  621 => 213,  619 => 212,  616 => 211,  614 => 210,  611 => 209,  608 => 208,  602 => 207,  599 => 206,  596 => 205,  593 => 204,  588 => 203,  586 => 202,  585 => 201,  582 => 200,  579 => 199,  576 => 198,  574 => 197,  571 => 196,  568 => 195,  565 => 194,  562 => 193,  559 => 192,  556 => 191,  538 => 190,  536 => 189,  533 => 188,  514 => 182,  510 => 180,  504 => 178,  498 => 176,  496 => 175,  490 => 172,  486 => 171,  481 => 170,  477 => 168,  475 => 167,  471 => 166,  470 => 165,  466 => 164,  462 => 163,  458 => 161,  453 => 159,  448 => 158,  446 => 157,  441 => 154,  439 => 150,  438 => 149,  437 => 148,  435 => 147,  432 => 146,  429 => 145,  426 => 144,  423 => 143,  420 => 142,  417 => 141,  414 => 140,  412 => 139,  405 => 134,  399 => 132,  393 => 130,  391 => 129,  386 => 126,  372 => 125,  368 => 123,  358 => 119,  349 => 115,  346 => 114,  342 => 113,  339 => 112,  337 => 111,  332 => 109,  328 => 107,  325 => 106,  323 => 102,  322 => 101,  321 => 100,  319 => 99,  317 => 98,  312 => 97,  310 => 96,  303 => 93,  297 => 91,  295 => 90,  290 => 89,  288 => 88,  283 => 85,  280 => 84,  277 => 83,  260 => 82,  257 => 81,  250 => 77,  244 => 74,  238 => 71,  235 => 70,  233 => 69,  232 => 68,  229 => 67,  226 => 66,  220 => 64,  218 => 63,  213 => 62,  210 => 61,  208 => 60,  207 => 59,  201 => 56,  194 => 54,  189 => 51,  186 => 50,  183 => 49,  180 => 48,  163 => 47,  151 => 43,  142 => 39,  138 => 38,  134 => 36,  127 => 34,  121 => 33,  118 => 32,  116 => 30,  115 => 29,  113 => 28,  110 => 27,  105 => 26,  100 => 25,  98 => 24,  95 => 23,  85 => 21,  82 => 20,  80 => 18,  79 => 17,  77 => 16,  74 => 15,  69 => 14,  65 => 13,  62 => 12,  58 => 7,  56 => 6,  54 => 4,  52 => 3,  50 => 2,  48 => 1,);
  897.     }
  898.     public function getSourceContext(): Source
  899.     {
  900.         return new Source("{% set shownProducts = 0 %}
  901. {% set country = null %}
  902. {% set productPacksToDisplay = [] %}
  903. {% set productVariantsToDisplay = [] %}
  904. {# display price in usd if there are no productVariants for current user country #}
  905. {% if productVariants is empty %}
  906.     {% set productVariantsToDisplay = productVariantsToDisplay|merge([{
  907.         'productVariant': null,
  908.         'landingProductVariant': null
  909.     }]) %}
  910. {% endif %}
  911. {% for landingProductVariant in module.subscriptions %}
  912.     {% for productVariant in productVariants %}
  913.         {% if productVariant.id == landingProductVariant.subscription %}
  914.             {% set productVariantsToDisplay = productVariantsToDisplay|merge([{
  915.                 'productVariant': productVariant,
  916.                 'landingProductVariant': landingProductVariant
  917.             }]) %}
  918.         {% endif %}
  919.     {% endfor %}
  920. {% endfor %}
  921. {% if module.packages is defined %}
  922.     {% for landingProductPack in module.packages %}
  923.         {% for productPack in productPacks %}
  924.             {% if productPack.id == landingProductPack.package %}
  925.                 {% set productPacksToDisplay = productPacksToDisplay|merge([{
  926.                     'productPack': productPack,
  927.                     'landingProductPack': landingProductPack
  928.                 }]) %}
  929.             {% endif %}
  930.         {% endfor %}
  931.     {% endfor %}
  932. {% endif %}
  933. <section class=\"rowSignUp\"
  934.          style=\"background-image: url({{ asset('/uniqskills/new_landing/images/rowSignUp_bgBottom-2-min.png') | imagine_filter('img_1600_width') }});\">
  935.     <a class=\"rowSignUp_link\" name=\"{{ module.type }}-{{ module.id }}\"></a>
  936.     <div class=\"container\">
  937.         <div class=\"row\">
  938.             <div class=\"col rowSignUp__header\">
  939.                 <h2>{% if module.titleName is defined and module.titleName is not empty %}{{ module.titleName|raw }}{% else %}{{ 'uniqskills.landing.signInNow'|trans }}!{% endif %}</h2>
  940.             </div>
  941.         </div>
  942.         <div class=\"row justify-content-center\">
  943.             {% for item in productPacksToDisplay %}
  944.                 {% set landingProductPack = item['landingProductPack'] %}
  945.                 {% set productPack = item['productPack'] %}
  946.                 {% set shownProducts = shownProducts + 1 %}
  947.                 <div class=\"col-12 col-md-6 col-lg-4\">
  948.                     <div class=\"rowSignUp__modal\">
  949.                         <div class=\"rowSignUp__modal__header{% if shownProducts % 2 == 1 %} rowSignUp__modal__header__bluered{% endif %}\" style=\"position: relative\">
  950.                             <div class=\"rowSignUp__modal__header__title\">
  951.                                 {{ productPack.name }}
  952.                             </div>
  953.                             <div class=\"rowSignUp__modal__header__description\">
  954.                                 {% if productPack.type is defined
  955.                                     and productPack.type is not empty %}
  956.                                     {% if productPack.type == 'bundle' %}
  957.                                         {{ 'uniqskills.packs.productPack'|trans }}
  958.                                     {% elseif productPack.type == 'cycle' %}
  959.                                         {{ 'uniqskills.packs.cycle'|trans }}
  960.                                     {% endif %}
  961.                                 {% endif %}
  962.                             </div>
  963.                             {% if landingProductPack.packageTitle is not empty
  964.                                 and landingProductPack.packageDescription is not empty %}
  965.                                 <button type=\"button\" class=\"rowSignUp__modal__header__more\">
  966.                                     {{ landingProductPack.packageTitle }}
  967.                                 </button>
  968.                                 <div class=\"rowSignUp__modal__header__info\">
  969.                                     <p>{{ landingProductPack.packageDescription|raw }}</p>
  970.                                     <button type=\"button\"
  971.                                             class=\"rowSignUp__modal__header__more rowSignUp__modal__header__more-active\">
  972.                                         {{ 'btn.close'|trans }}
  973.                                     </button>
  974.                                 </div>
  975.                             {% endif %}
  976.                         </div>
  977.                         {% for coursePackItem in productPack.courseProductPackItem %}
  978.                             {% set packCourse = coursePackItem.productVariant.courses|first %}
  979.                             {% set country = coursePackItem.productVariant.country %}
  980.                             <div class=\"rowSignUp__modal__package__header\">
  981.                                 <div class=\"rowSignUp__modal__package__row\">
  982.                                     <span>
  983.                                         {% if productPack.type == 'bundle' %}
  984.                                             {{ 'product'|trans }}
  985.                                         {% elseif productPack.type == 'cycle' %}
  986.                                             {{ 'uniqskills.landing.packagePart'|trans }}
  987.                                         {% endif %}
  988.                                         {{ loop.index }}
  989.                                     </span>
  990.                                     <span>
  991.                                         {% if productPack.type == 'cycle' and coursePackItem.description is not empty %}
  992.                                             {{ coursePackItem.description }}
  993.                                         {% elseif coursePackItem.price is not empty %}
  994.                                             {% include 'uniqskills/catalogue/landing_price.html.twig' with {
  995.                                                 'landingPriceNet': coursePackItem.price,
  996.                                                 'landingPriceGross': coursePackItem.price,
  997.                                                 'country': country,
  998.                                                 'rate': 'brutto',
  999.                                                 'showRate': true
  1000.                                             } %}
  1001.                                         {% endif %}
  1002.                                     </span>
  1003.                                 </div>
  1004.                                 <span class=\"rowSignUp__modal__package__course\">{{ packCourse.name }}</span>
  1005.                             </div>
  1006.                             {% if coursePackItem.bulletPoints is not empty %}
  1007.                                 <div class=\"rowSignUp__modal__list\" style=\"padding-top: 15px;\">
  1008.                                     {% for point in coursePackItem.bulletPoints %}
  1009.                                         <div class=\"row rowSignUp__modal__list__element\">
  1010.                                             <div {% if app.request.locale == 'en' %}style=\"padding-left: 20px\"{% endif %} class=\"col-2 rowSignUp__modal__list__element__left\">
  1011.                                                 <div class=\"bgs2-rowBenefits_check\"></div>
  1012.                                             </div>
  1013.                                             <div class=\"col-10 rowSignUp__modal__list__element__right\">
  1014.                                                 {{ point|raw }}
  1015.                                             </div>
  1016.                                         </div>
  1017.                                     {% endfor %}
  1018.                                 </div>
  1019.                             {% endif %}
  1020.                         {% endfor %}
  1021.                         <div class=\"rowSignUp__modal__price\">
  1022.                             <div class=\"row\">
  1023.                                 <div class=\"col rowSignUp__modal__price__title\">
  1024.                                     {% if productPack.type == 'cycle' %}
  1025.                                         {{ 'uniqskills.landing.packagePrice'|trans }}
  1026.                                     {% else %}
  1027.                                         {{ 'uniqskills.landing.price'|trans }}
  1028.                                     {% endif %}
  1029.                                 </div>
  1030.                             </div>
  1031.                             <div class=\"row\">
  1032.                                 <div class=\"col-6 rowSignUp__modal__price__noPadding\">
  1033.                                     <div class=\"rowSignUp__modal__price__currentPrice\">
  1034.                                         {% if productPack.type == 'cycle' %}
  1035.                                             {% set firstProductPackItem = productPack.productPackItem|first %}
  1036.                                             {% set packPriceNet = firstProductPackItem.productVariant.getFullPrice('net') %}
  1037.                                             {% set packPriceGross = firstProductPackItem.productVariant.getFullPrice('gross') %}
  1038.                                         {% else %}
  1039.                                             {% set packPriceNet = productPack.totalPriceNet %}
  1040.                                             {% set packPriceGross = productPack.totalPriceGross %}
  1041.                                         {% endif %}
  1042.                                         {% include 'uniqskills/catalogue/landing_price.html.twig' with {
  1043.                                             'landingPriceNet': packPriceNet,
  1044.                                             'landingPriceGross': packPriceGross,
  1045.                                             'country': country,
  1046.                                             'rate': 'brutto',
  1047.                                             'showRate': true
  1048.                                         } %}
  1049.                                     </div>
  1050.                                 </div>
  1051.                                 <div class=\"col-6 rowSignUp__modal__price__btnGroup\">
  1052.                                     {% if app.request.locale == 'en' %}
  1053.                                         <a href=\"{{ path('fmUniqskillsContactForm') }}\"
  1054.                                            class=\"button button-blueBackground rowSignUp__modal__price__btnGroup__btnSignUp\">{{ 'uniqskills.landing.signInNow'|trans }}</a>
  1055.                                     {% else %}
  1056.                                         <button class=\"button button-blueBackground addToCart rowSignUp__modal__price__btnGroup__btnSignUp\"
  1057.                                                 type=\"button\" style=\"border: 0;\"
  1058.                                                 data-carturl=\"{{ path('fmUniqskillsCartIndex') }}\"
  1059.                                                 data-addurl=\"{{ path('fmProductCartFrontendAdd') }}\"
  1060.                                                 data-notfound=\"{{ path('fmUniqskillsOrderError',
  1061.                                                     {'_locale': app.session.get('userLocale', 'pl'), 'slugCourse': course.slug}) }}\"
  1062.                                                 {% if productPack.type == 'cycle' %}
  1063.                                                     data-cycle=\"1\"
  1064.                                                 {% endif %}
  1065.                                                 data-productpackid=\"{{ productPack.id }}\"
  1066.                                                 onclick=\"{{ gaDataLayerUS('add_to_cart', productPack.id, {'isProductPack': 1}) }}
  1067.                                                         {{ ga4('add_to_cart', productPack.id, {'isProductPack': 1}) }}
  1068.                                                         \"
  1069.                                                 >
  1070.                                             {% if productPack.type == 'cycle' %}
  1071.                                                 {{ 'uniqskills.landing.nl.joinNow'|trans }}
  1072.                                             {% else %}
  1073.                                                 {{ 'uniqskills.landing.signInNow'|trans }}
  1074.                                             {% endif %}
  1075.                                         </button>
  1076.                                     {% endif %}
  1077.                                 </div>
  1078.                             </div>
  1079.                         </div>
  1080.                     </div>
  1081.                 </div>
  1082.             {% endfor %}
  1083.             {% set lifetimeLanding = false %}
  1084.             {% for item in productVariantsToDisplay %}
  1085.                 {% if (item['landingProductVariant'] is not null or productPacksToDisplay is empty) and not lifetimeLanding %}
  1086.                     {% set landingProductVariant = item['landingProductVariant'] %}
  1087.                     {% set productVariant = item['productVariant'] %}
  1088.                     {% set discountCode = null %}
  1089.                     {% set shownProducts = shownProducts + 1 %}
  1090.                     {% if module.lifeTimeAccess is defined and module.lifeTimeAccess %}
  1091.                         {% set lifetimeLanding = true %}
  1092.                     {% endif %}
  1093.                     {% if
  1094.                         landingProductVariant is not empty and landingProductVariant.discountCode is not empty %}
  1095.                         {% for subscriptionCoupon in productVariant.coupon %}
  1096.                             {% if subscriptionCoupon.id == landingProductVariant.discountCode %}
  1097.                                 {% set discountCode = subscriptionCoupon %}
  1098.                             {% endif %}
  1099.                         {% endfor %}
  1100.                     {% endif %}
  1101.                     {% set installmentAmount = '' %}
  1102.                     {% if productVariant is not empty and productVariant.installmentAmount > 1 and productVariant.paymentType.slug == 'partial-payment' %}
  1103.                         {% set installmentAmount = productVariant.installmentAmount ~ 'x' %}
  1104.                     {% endif %}
  1105.                     <div class=\"col-12 col-md-6 col-lg-4\">
  1106.                         <div class=\"rowSignUp__modal\">
  1107.                             <div class=\"rowSignUp__modal__header{% if shownProducts % 2 == 1 %} rowSignUp__modal__header__bluered{% endif %}\">
  1108.                                 <div class=\"rowSignUp__modal__header__title\">
  1109.                                     {{ course.name }}
  1110.                                 </div>
  1111.                                 {% if productVariant is not empty and productVariant.isRecurringSubscription != 1 %}
  1112.                                     <div class=\"rowSignUp__modal__header__description\">
  1113.                                     {% if installmentAmount == '' %} {{ 'uniqskills.landing.fullPayment'|trans }} {% else %} {{ 'uniqskills.landing.installmentPayment'|trans }} {% endif %}
  1114.                                 </div>
  1115.                                 {% endif %}
  1116.                             </div>
  1117.                             <div class=\"rowSignUp__modal__list\">
  1118.                                 {% if (buttonToCountryNotFound is not defined) or (not buttonToCountryNotFound) %}
  1119.                                     {% if landingProductVariant.customDescription is defined and landingProductVariant.customDescription|trim is not empty %}
  1120.                                         <div style=\"padding: 0 10px;\">
  1121.                                             {{ landingProductVariant.customDescription|raw }}
  1122.                                         </div>
  1123.                                     {% elseif landingProductVariant.bullets is defined and landingProductVariant.bullets|length > 0 %}
  1124.                                         {% for point in landingProductVariant.bullets %}
  1125.                                             <div class=\"row rowSignUp__modal__list__element\">
  1126.                                                 <div {% if app.request.locale == 'en' %}style=\"padding-left: 20px\"{% endif %} class=\"col-2 rowSignUp__modal__list__element__left\">
  1127.                                                     <div class=\"bgs2-rowBenefits_check\"></div>
  1128.                                                 </div>
  1129.                                                 <div class=\"col-10 rowSignUp__modal__list__element__right\">
  1130.                                                     {{ point.title|raw }}
  1131.                                                 </div>
  1132.                                             </div>
  1133.                                         {% endfor %}
  1134.                                     {% else %}
  1135.                                         {% for point in module.bulletPoints %}
  1136.                                             <div {% if app.request.locale == 'en' %}style=\"padding-left: 20px\"{% endif %} class=\"row rowSignUp__modal__list__element\">
  1137.                                                 <div class=\"col-2 rowSignUp__modal__list__element__left\">
  1138.                                                     <div class=\"bgs2-rowBenefits_check\"></div>
  1139.                                                 </div>
  1140.                                                 <div class=\"col-10 rowSignUp__modal__list__element__right\">
  1141.                                                     {{ point.title|raw }}
  1142.                                                 </div>
  1143.                                             </div>
  1144.                                         {% endfor %}
  1145.                                     {% endif %}
  1146.                                 {% else %}
  1147.                                     {% for point in module.bulletPoints %}
  1148.                                         <div {% if app.request.locale == 'en' %}style=\"padding-left: 20px\"{% endif %} class=\"row rowSignUp__modal__list__element\">
  1149.                                             <div class=\"col-2 rowSignUp__modal__list__element__left\">
  1150.                                                 <div class=\"bgs2-rowBenefits_check\"></div>
  1151.                                             </div>
  1152.                                             <div class=\"col-10 rowSignUp__modal__list__element__right\">
  1153.                                                 {{ point.title|raw }}
  1154.                                             </div>
  1155.                                         </div>
  1156.                                     {% endfor %}
  1157.                                 {% endif %}
  1158.                             </div>
  1159.                             {% if landingProductVariant and not lifetimeLanding %}
  1160.                                 <div class=\"rowSignUp__modal__rabat\">
  1161.                                     <div class=\"row\">
  1162.                                         <div class=\"col-1\"></div>
  1163.                                         <div class=\"col-10\">
  1164.                                             {{ landingProductVariant.description }}
  1165.                                         </div>
  1166.                                     </div>
  1167.                                 </div>
  1168.                             {% endif %}
  1169.                             {% include 'uniqskills/catalogue/landing_new/landing_partials/_payment-price.html.twig' %}
  1170.                             {% if module.showContactForm is defined and module.showContactForm %}
  1171.                                 <div class=\"div-break\"></div>
  1172.                                 <div class=\"landingContactFormBox\">
  1173.                                     <div class=\"landingContactFormBox--title\">
  1174.                                         <span>{{ 'uniqskills.form.contact.messageInfo1'|trans }}</span>
  1175.                                         <span>{{ 'uniqskills.form.contact.messageInfo2'|trans }}:</span>
  1176.                                     </div>
  1177.                                     <form id=\"landingContactForm\" data-url=\"{{ path('fmUniqskillsAjaxLandingContactForm') }}\">
  1178.                                         <div class=\"form-group\">
  1179.                                             <label for=\"landing-contact-name\">{{ 'uniqskills.form.contact.name'|trans }}:</label>
  1180.                                             <input required name=\"landing-contact-name\" type=\"text\" class=\"form-control\" id=\"landing-contact-name\">
  1181.                                         </div>
  1182.                                         <div class=\"form-group\">
  1183.                                             <label for=\"landing-contact-email\">{{ 'uniqskills.form.contact.email'|trans }}:</label>
  1184.                                             <input required name=\"landing-contact-email\" type=\"email\" class=\"form-control\" id=\"landing-contact-email\">
  1185.                                         </div>
  1186.                                         <div class=\"form-group\">
  1187.                                             <label for=\"landing-contact-message\">{{ 'uniqskills.form.contact.body'|trans }}:</label>
  1188.                                             <textarea required name=\"landing-contact-message\" class=\"form-control\" id=\"landing-contact-message\" rows=\"3\"></textarea>
  1189.                                         </div>
  1190.                                         <div class=\"g-recaptcha\" data-sitekey=\"{{ recaptchaPublicKey }}\"></div>
  1191.                                         <div id=\"spinner\"></div>
  1192.                                         <div class=\"recaptcha-message\"></div>
  1193.                                         <div class=\"form-group\" style=\"text-align: center;\">
  1194.                                             <button type=\"submit\" class=\"btn landingContactFormBox--submit\">{{ 'uniqskills.form.contact.submit'|trans }}</button>
  1195.                                         </div>
  1196.                                     </form>
  1197.                                 </div>
  1198.                                 <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
  1199.                             {% endif %}
  1200.                         </div>
  1201.                     </div>
  1202.                 {% endif %}
  1203.             {% endfor %}
  1204.         </div>
  1205.     </div>
  1206. </section>
  1207. ""uniqskills/catalogue/landing_new/landing_partials/payment.html.twig""/app/test/global_order_system/templates/uniqskills/catalogue/landing_new/landing_partials/payment.html.twig");
  1208.     }
  1209. }