var/cache/dev/twig/25/25c5211fe9f936cbbf743a907213373d.php line 131

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* web/core/gift-card.html.twig */
  18. class __TwigTemplate_679b31275172e7d2f4568c07335cf257 extends Template
  19. {
  20. private Source $source;
  21. /**
  22. * @var array<string, MacroNamespace>
  23. */
  24. private array $macros = [];
  25. private \Twig\Runtime\EscaperRuntime $escaper;
  26. public function __construct(Environment $env)
  27. {
  28. parent::__construct($env);
  29. $this->source = $this->getSourceContext();
  30. $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31. $this->parent = false;
  32. $this->blocks = [
  33. ];
  34. }
  35. protected function doDisplay(array $context, array $blocks = []): iterable
  36. {
  37. $macros = $this->macros;
  38. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/core/gift-card.html.twig"));
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/core/gift-card.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/core/gift-card.html.twig"));
  44. // line 1
  45. yield "
  46. ";
  47. // line 3
  48. yield "<style>
  49. \t.qodef-sp-prevent-input {
  50. \t\tdisplay: none;
  51. \t}
  52. \t.qodef-sp-prevent-checkbox {
  53. \t\tdisplay: inline-block;
  54. \t\twidth: 16px;
  55. \t\theight: 16px;
  56. \t\tborder: 1px solid black;
  57. \t\tcursor: pointer;
  58. \t\tposition: relative;
  59. \t\ttransform: translateY(3px);
  60. \t}
  61. \t.qodef-sp-prevent-checkbox::before {
  62. \t\tcontent: \x27✕\x27;
  63. \t\tposition: absolute;
  64. \t\ttop: 50%;
  65. \t\tleft: 50%;
  66. \t\ttransform: translate(-50%, -50%);
  67. \t\tcolor: black;
  68. \t\tfont-size: 15px;
  69. \t\tline-height: 1;
  70. \t\topacity: 0;
  71. \t\ttransition: opacity 0.3s ease;
  72. \t}
  73. \t.qodef-sp-prevent-input:checked + .qodef-sp-prevent-checkbox::before {
  74. \t\topacity: 1;
  75. \t}
  76. \t.qodef-sp-prevent-label {
  77. \t\tdisplay: inline-block;
  78. \t\tvertical-align: middle;
  79. \t}
  80. </style>
  81. <div class=\"qodef-content-bottom\">
  82. \t<div class=\"qodef-content-bottom-inner qodef-grid\">
  83. \t\t<div class=\"widget_text widget widget_custom_html\">
  84. \t\t\t<div class=\"textwidget custom-html-widget\">
  85. \t\t\t\t<div class=\"qodef-row-grid-section-wrapper qodef-content-aligment-center custom-content-bottom\">
  86. \t\t\t\t\t<div class=\"qodef-first-section\">
  87. \t\t\t\t\t\t<div class=\"qodef-elements-holder qodef-one-column qodef-responsive-mode-768\">
  88. \t\t\t\t\t\t\t<div class=\"qodef-eh-item\">
  89. \t\t\t\t\t\t\t\t<div class=\"qodef-eh-item-inner\">
  90. \t\t\t\t\t\t\t\t\t<div class=\"qodef-eh-item-content qodef-eh-custom-7957\" style=\"padding: 0 50px;\">
  91. \t\t\t\t\t\t\t\t\t\t<h5>";
  92. // line 50
  93. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newsletter.h1", [], "web"), "html", null, true);
  94. yield "</h5>
  95. \t\t\t\t\t\t\t\t\t\t";
  96. // line 51
  97. yield (string) $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Eshop\\DefaultController::_newsletter", ["locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "locale", [], "any", false, false, false, 51), "source" => "website"]));
  98. yield "
  99. \t\t\t\t\t\t\t\t\t</div>
  100. \t\t\t\t\t\t\t\t</div>
  101. \t\t\t\t\t\t\t</div>
  102. \t\t\t\t\t\t</div>
  103. \t\t\t\t\t</div>
  104. \t\t\t\t\t<div class=\"qodef-second-section qodef-iwt clearfix qodef-iwt-icon-top qodef-iwt-icon-medium\">
  105. \t\t\t\t\t\t<div class=\"qodef-iwt-icon\">
  106. \t\t\t\t\t\t\t<a href=\"";
  107. // line 63
  108. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_gift-card");
  109. yield "\">
  110. \t\t\t\t\t\t\t\t<img src=\"";
  111. // line 64
  112. yield (string) $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Web\\DefaultController::_giftCard", ["locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 64, $this->source); })()), "request", [], "any", false, false, false, 64), "locale", [], "any", false, false, false, 64)]));
  113. yield "\" class=\"attachment-full size-full\" alt=\"\" width=\"300\">
  114. \t\t\t\t\t\t\t</a>
  115. \t\t\t\t\t\t</div>
  116. \t\t\t\t\t\t<div class=\"qodef-iwt-content\">
  117. \t\t\t\t\t\t\t<h5 class=\"qodef-iwt-title\">
  118. \t\t\t\t\t\t\t\t<span class=\"qodef-iwt-title-text\">";
  119. // line 69
  120. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("giftCards.title", [], "web"), "html", null, true);
  121. yield "</span>
  122. \t\t\t\t\t\t\t</h5>
  123. \t\t\t\t\t\t\t<p class=\"qodef-iwt-text\">";
  124. // line 71
  125. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("giftCards.desc", [], "web"), "html", null, true);
  126. yield "</p>
  127. \t\t\t\t\t\t\t<div class=\"qodef-iwt-text-holder\">
  128. \t\t\t\t\t\t\t\t<a class=\"qodef-btn-outline qodef-btn qodef-btn-medium\" href=\"";
  129. // line 73
  130. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_gift-card");
  131. yield "\" target=\"_self\" style=\"margin-top: 20px; border: 1px solid black;\">
  132. <span class=\"qodef-btn-text\">
  133. ";
  134. // line 75
  135. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("discover", [], "web"), "html", null, true);
  136. yield "
  137. </span>
  138. </a>
  139. \t\t\t\t\t\t\t</div>
  140. \t\t\t\t\t\t</div>
  141. \t\t\t\t\t</div>
  142. \t\t\t\t</div>
  143. \t\t\t</div>
  144. \t\t</div>
  145. \t</div>
  146. </div>
  147. ";
  148. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  149. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  150. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151. return; yield;
  152. }
  153. /**
  154. * @codeCoverageIgnore
  155. */
  156. public function getTemplateName(): string
  157. {
  158. return "web/core/gift-card.html.twig";
  159. }
  160. /**
  161. * @codeCoverageIgnore
  162. */
  163. public function isTraitable(): bool
  164. {
  165. return false;
  166. }
  167. /**
  168. * @codeCoverageIgnore
  169. */
  170. public function getDefaultEscapeStrategy(): string|false
  171. {
  172. return "html";
  173. }
  174. /**
  175. * @codeCoverageIgnore
  176. */
  177. public function getDebugInfo(): array
  178. {
  179. return array ( 154 => 75, 149 => 73, 144 => 71, 139 => 69, 131 => 64, 127 => 63, 112 => 51, 108 => 50, 59 => 3, 56 => 1,);
  180. }
  181. public function getSourceContext(): Source
  182. {
  183. return new Source("
  184. {% trans_default_domain \x27web\x27 %}
  185. <style>
  186. \t.qodef-sp-prevent-input {
  187. \t\tdisplay: none;
  188. \t}
  189. \t.qodef-sp-prevent-checkbox {
  190. \t\tdisplay: inline-block;
  191. \t\twidth: 16px;
  192. \t\theight: 16px;
  193. \t\tborder: 1px solid black;
  194. \t\tcursor: pointer;
  195. \t\tposition: relative;
  196. \t\ttransform: translateY(3px);
  197. \t}
  198. \t.qodef-sp-prevent-checkbox::before {
  199. \t\tcontent: \x27✕\x27;
  200. \t\tposition: absolute;
  201. \t\ttop: 50%;
  202. \t\tleft: 50%;
  203. \t\ttransform: translate(-50%, -50%);
  204. \t\tcolor: black;
  205. \t\tfont-size: 15px;
  206. \t\tline-height: 1;
  207. \t\topacity: 0;
  208. \t\ttransition: opacity 0.3s ease;
  209. \t}
  210. \t.qodef-sp-prevent-input:checked + .qodef-sp-prevent-checkbox::before {
  211. \t\topacity: 1;
  212. \t}
  213. \t.qodef-sp-prevent-label {
  214. \t\tdisplay: inline-block;
  215. \t\tvertical-align: middle;
  216. \t}
  217. </style>
  218. <div class=\"qodef-content-bottom\">
  219. \t<div class=\"qodef-content-bottom-inner qodef-grid\">
  220. \t\t<div class=\"widget_text widget widget_custom_html\">
  221. \t\t\t<div class=\"textwidget custom-html-widget\">
  222. \t\t\t\t<div class=\"qodef-row-grid-section-wrapper qodef-content-aligment-center custom-content-bottom\">
  223. \t\t\t\t\t<div class=\"qodef-first-section\">
  224. \t\t\t\t\t\t<div class=\"qodef-elements-holder qodef-one-column qodef-responsive-mode-768\">
  225. \t\t\t\t\t\t\t<div class=\"qodef-eh-item\">
  226. \t\t\t\t\t\t\t\t<div class=\"qodef-eh-item-inner\">
  227. \t\t\t\t\t\t\t\t\t<div class=\"qodef-eh-item-content qodef-eh-custom-7957\" style=\"padding: 0 50px;\">
  228. \t\t\t\t\t\t\t\t\t\t<h5>{{\x27newsletter.h1\x27|trans}}</h5>
  229. \t\t\t\t\t\t\t\t\t\t{{ render(controller(\x27App\\\\Controller\\\\Eshop\\\\DefaultController::_newsletter\x27,{ \x27locale\x27: app.request.locale, \x27source\x27 : \x27website\x27 })) }}
  230. \t\t\t\t\t\t\t\t\t</div>
  231. \t\t\t\t\t\t\t\t</div>
  232. \t\t\t\t\t\t\t</div>
  233. \t\t\t\t\t\t</div>
  234. \t\t\t\t\t</div>
  235. \t\t\t\t\t<div class=\"qodef-second-section qodef-iwt clearfix qodef-iwt-icon-top qodef-iwt-icon-medium\">
  236. \t\t\t\t\t\t<div class=\"qodef-iwt-icon\">
  237. \t\t\t\t\t\t\t<a href=\"{{ path(\x27app_web_gift-card\x27) }}\">
  238. \t\t\t\t\t\t\t\t<img src=\"{{ render(controller(\x27App\\\\Controller\\\\Web\\\\DefaultController::_giftCard\x27,{ \x27locale\x27: app.request.locale})) }}\" class=\"attachment-full size-full\" alt=\"\" width=\"300\">
  239. \t\t\t\t\t\t\t</a>
  240. \t\t\t\t\t\t</div>
  241. \t\t\t\t\t\t<div class=\"qodef-iwt-content\">
  242. \t\t\t\t\t\t\t<h5 class=\"qodef-iwt-title\">
  243. \t\t\t\t\t\t\t\t<span class=\"qodef-iwt-title-text\">{{\x27giftCards.title\x27 | trans}}</span>
  244. \t\t\t\t\t\t\t</h5>
  245. \t\t\t\t\t\t\t<p class=\"qodef-iwt-text\">{{\x27giftCards.desc\x27 | trans}}</p>
  246. \t\t\t\t\t\t\t<div class=\"qodef-iwt-text-holder\">
  247. \t\t\t\t\t\t\t\t<a class=\"qodef-btn-outline qodef-btn qodef-btn-medium\" href=\"{{ path(\x27app_web_gift-card\x27) }}\" target=\"_self\" style=\"margin-top: 20px; border: 1px solid black;\">
  248. <span class=\"qodef-btn-text\">
  249. {{ \x27discover\x27 | trans }}
  250. </span>
  251. </a>
  252. \t\t\t\t\t\t\t</div>
  253. \t\t\t\t\t\t</div>
  254. \t\t\t\t\t</div>
  255. \t\t\t\t</div>
  256. \t\t\t</div>
  257. \t\t</div>
  258. \t</div>
  259. </div>
  260. ", "web/core/gift-card.html.twig", "/var/www/templates/web/core/gift-card.html.twig");
  261. }
  262. }