var/cache/dev/asus-merchandising.dtv-projects.com/twig/33/33427f80a88d8c666e3125b9d4038883.php line 230

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. /* front/blank_layout.html.twig */
  16. class __TwigTemplate_819bbab72e81e26b41d1095cc94be2c8 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. 'styles_global_vendor' => [$this, 'block_styles_global_vendor'],
  30. 'styles' => [$this, 'block_styles'],
  31. 'styles_custom' => [$this, 'block_styles_custom'],
  32. 'bodyclass' => [$this, 'block_bodyclass'],
  33. 'header' => [$this, 'block_header'],
  34. 'content' => [$this, 'block_content'],
  35. 'footer' => [$this, 'block_footer'],
  36. 'gotop' => [$this, 'block_gotop'],
  37. 'scripts' => [$this, 'block_scripts'],
  38. ];
  39. }
  40. protected function doDisplay(array $context, array $blocks = []): iterable
  41. {
  42. $macros = $this->macros;
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/blank_layout.html.twig"));
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/blank_layout.html.twig"));
  47. // line 1
  48. yield "<!DOCTYPE html>
  49. <html lang=\"fr\">
  50. <head>
  51. ";
  52. // line 4
  53. yield from $this->load("front/common/layout.head_common_meta_link.html.twig", 4)->unwrap()->yield($context);
  54. // line 5
  55. yield "
  56. ";
  57. // line 6
  58. if ((($tmp = $this->extensions['App\Twig\TwigExtension']->fileExists("favicon/favicon-16x16.ico")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  59. // line 7
  60. yield " <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\"
  61. href=\"";
  62. // line 8
  63. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("static_file_folder", ["folder" => "favicon", "fileName" => "favicon-16x16.ico"]), "html", null, true);
  64. yield "?v=";
  65. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 8, $this->source); })()), "html", null, true);
  66. yield "\">
  67. ";
  68. }
  69. // line 10
  70. yield " ";
  71. if ((($tmp = $this->extensions['App\Twig\TwigExtension']->fileExists("favicon/favicon-32x132.png")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  72. // line 11
  73. yield " <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\"
  74. href=\"";
  75. // line 12
  76. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("static_file_folder", ["folder" => "favicon", "fileName" => "favicon-32x132.png"]), "html", null, true);
  77. yield "?v=";
  78. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 12, $this->source); })()), "html", null, true);
  79. yield "\">
  80. ";
  81. }
  82. // line 14
  83. yield " ";
  84. if ((($tmp = $this->extensions['App\Twig\TwigExtension']->fileExists("favicon/favicon-96x96.png")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  85. // line 15
  86. yield " <link rel=\"icon\" type=\"image/png\" sizes=\"96x96\"
  87. href=\"";
  88. // line 16
  89. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("static_file_folder", ["folder" => "favicon", "fileName" => "favicon-96x96.png"]), "html", null, true);
  90. yield "?v=";
  91. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 16, $this->source); })()), "html", null, true);
  92. yield "\">
  93. ";
  94. }
  95. // line 18
  96. yield " ";
  97. if ((($tmp = $this->extensions['App\Twig\TwigExtension']->fileExists("favicon/favicon-180x180.png")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  98. // line 19
  99. yield " <link rel=\"icon\" type=\"image/png\" sizes=\"180x8180\"
  100. href=\"";
  101. // line 20
  102. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("static_file_folder", ["folder" => "favicon", "fileName" => "favicon-180x180.png"]), "html", null, true);
  103. yield "?v=";
  104. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 20, $this->source); })()), "html", null, true);
  105. yield "\">
  106. ";
  107. }
  108. // line 22
  109. yield "
  110. <title>";
  111. // line 23
  112. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformGlobal("seo.title"), "html", null, true);
  113. yield "</title>
  114. ";
  115. // line 24
  116. yield from $this->unwrap()->yieldBlock('styles_global_vendor', $context, $blocks);
  117. // line 27
  118. yield " ";
  119. // line 28
  120. yield " ";
  121. if (($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme") && !CoreExtension::inFilter($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme"), ["", null]))) {
  122. // line 29
  123. yield " <link rel=\"stylesheet\"
  124. href=\"";
  125. // line 30
  126. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("build/assets/templates/" . $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme")) . "/scss/main.css")), "html", null, true);
  127. yield "?v=";
  128. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 30, $this->source); })()), "html", null, true);
  129. yield "\">
  130. ";
  131. }
  132. // line 32
  133. yield " <link rel=\"stylesheet\" href=\"";
  134. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_common_css_custom");
  135. yield "\">
  136. ";
  137. // line 34
  138. yield from $this->unwrap()->yieldBlock('styles', $context, $blocks);
  139. // line 37
  140. yield "
  141. ";
  142. // line 39
  143. yield " ";
  144. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("css_config.custom_css_files")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  145. // line 40
  146. yield " ";
  147. $context['_parent'] = $context;
  148. $context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("css_config.custom_css_files"));
  149. foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  150. // line 41
  151. yield " <link rel=\"stylesheet\" href=\"";
  152. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
  153. yield "?v=";
  154. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 41, $this->source); })()), "html", null, true);
  155. yield "\">
  156. ";
  157. }
  158. $_parent = $context['_parent'];
  159. unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
  160. $context = array_intersect_key($context, $_parent) + $_parent;
  161. // line 43
  162. yield " ";
  163. }
  164. // line 44
  165. yield "
  166. ";
  167. // line 46
  168. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.custom_css")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  169. // line 47
  170. yield " <style rel=\"stylesheet\">
  171. ";
  172. // line 48
  173. yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.custom_css");
  174. yield "
  175. </style>
  176. ";
  177. }
  178. // line 51
  179. yield "
  180. ";
  181. // line 53
  182. yield from $this->unwrap()->yieldBlock('styles_custom', $context, $blocks);
  183. // line 56
  184. yield "
  185. ";
  186. // line 57
  187. yield from $this->load("front/common/layout.head_common_js.html.twig", 57)->unwrap()->yield($context);
  188. // line 58
  189. yield "
  190. <script>
  191. const cdn = '";
  192. // line 60
  193. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["cdn"]) || array_key_exists("cdn", $context) ? $context["cdn"] : (function () { throw new RuntimeError('Variable "cdn" does not exist.', 60, $this->source); })()), "html", null, true);
  194. yield "';
  195. </script>
  196. </head>
  197. <body class=\"";
  198. // line 64
  199. yield from $this->unwrap()->yieldBlock('bodyclass', $context, $blocks);
  200. yield "\">
  201. <div class=\"wrapper\">
  202. ";
  203. // line 67
  204. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  205. // line 68
  206. yield "
  207. <div class=\"container mt-3\" style=\"background-color: #fff;\">
  208. ";
  209. // line 70
  210. yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
  211. // line 71
  212. yield " </div>
  213. ";
  214. // line 73
  215. yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
  216. // line 80
  217. yield " </div>
  218. ";
  219. // line 82
  220. yield from $this->unwrap()->yieldBlock('gotop', $context, $blocks);
  221. // line 87
  222. yield "
  223. ";
  224. // line 89
  225. yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
  226. // line 93
  227. yield " </body>
  228. </html>
  229. ";
  230. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  231. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  232. yield from [];
  233. }
  234. // line 24
  235. /**
  236. * @return iterable<null|scalar|\Stringable>
  237. */
  238. public function block_styles_global_vendor(array $context, array $blocks = []): iterable
  239. {
  240. $macros = $this->macros;
  241. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  242. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_global_vendor"));
  243. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  244. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_global_vendor"));
  245. // line 25
  246. yield " ";
  247. // line 26
  248. yield " ";
  249. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  250. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  251. yield from [];
  252. }
  253. // line 34
  254. /**
  255. * @return iterable<null|scalar|\Stringable>
  256. */
  257. public function block_styles(array $context, array $blocks = []): iterable
  258. {
  259. $macros = $this->macros;
  260. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
  262. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
  264. // line 35
  265. yield " ";
  266. // line 36
  267. yield " ";
  268. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  269. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  270. yield from [];
  271. }
  272. // line 53
  273. /**
  274. * @return iterable<null|scalar|\Stringable>
  275. */
  276. public function block_styles_custom(array $context, array $blocks = []): iterable
  277. {
  278. $macros = $this->macros;
  279. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  280. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_custom"));
  281. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  282. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_custom"));
  283. // line 54
  284. yield " ";
  285. // line 55
  286. yield " ";
  287. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  288. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  289. yield from [];
  290. }
  291. // line 64
  292. /**
  293. * @return iterable<null|scalar|\Stringable>
  294. */
  295. public function block_bodyclass(array $context, array $blocks = []): iterable
  296. {
  297. $macros = $this->macros;
  298. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  299. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  300. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  301. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  302. yield "document";
  303. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  304. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  305. yield from [];
  306. }
  307. // line 67
  308. /**
  309. * @return iterable<null|scalar|\Stringable>
  310. */
  311. public function block_header(array $context, array $blocks = []): iterable
  312. {
  313. $macros = $this->macros;
  314. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  315. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  316. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  317. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  318. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  319. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  320. yield from [];
  321. }
  322. // line 70
  323. /**
  324. * @return iterable<null|scalar|\Stringable>
  325. */
  326. public function block_content(array $context, array $blocks = []): iterable
  327. {
  328. $macros = $this->macros;
  329. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  330. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  331. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  332. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  333. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  334. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  335. yield from [];
  336. }
  337. // line 73
  338. /**
  339. * @return iterable<null|scalar|\Stringable>
  340. */
  341. public function block_footer(array $context, array $blocks = []): iterable
  342. {
  343. $macros = $this->macros;
  344. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  345. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  346. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  347. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  348. // line 74
  349. yield " ";
  350. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 74) && 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.', 74, $this->source); })()), "user", [], "any", false, false, false, 74))) {
  351. // line 75
  352. yield " ";
  353. yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component("common.footer", "common.footer");
  354. yield "
  355. ";
  356. } else {
  357. // line 77
  358. yield " ";
  359. yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component("security.footer", "security.footer");
  360. yield "
  361. ";
  362. }
  363. // line 79
  364. yield " ";
  365. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  366. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  367. yield from [];
  368. }
  369. // line 82
  370. /**
  371. * @return iterable<null|scalar|\Stringable>
  372. */
  373. public function block_gotop(array $context, array $blocks = []): iterable
  374. {
  375. $macros = $this->macros;
  376. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  377. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gotop"));
  378. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  379. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gotop"));
  380. // line 83
  381. yield " <a class=\"gotop btn btn-yellow d-none\">
  382. <i class=\"glyphicon glyphicon-arrow-up\"></i>
  383. </a>
  384. ";
  385. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387. yield from [];
  388. }
  389. // line 89
  390. /**
  391. * @return iterable<null|scalar|\Stringable>
  392. */
  393. public function block_scripts(array $context, array $blocks = []): iterable
  394. {
  395. $macros = $this->macros;
  396. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  397. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
  398. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  399. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
  400. // line 90
  401. yield " <script src=\"";
  402. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/js/front/jquery.min.js"), "html", null, true);
  403. yield "?v=";
  404. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 90, $this->source); })()), "html", null, true);
  405. yield "\"></script>
  406. <script src=\"";
  407. // line 91
  408. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js"), "html", null, true);
  409. yield "?v=";
  410. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 91, $this->source); })()), "html", null, true);
  411. yield "\"></script>
  412. ";
  413. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  414. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  415. yield from [];
  416. }
  417. /**
  418. * @codeCoverageIgnore
  419. */
  420. public function getTemplateName(): string
  421. {
  422. return "front/blank_layout.html.twig";
  423. }
  424. /**
  425. * @codeCoverageIgnore
  426. */
  427. public function isTraitable(): bool
  428. {
  429. return false;
  430. }
  431. /**
  432. * @codeCoverageIgnore
  433. */
  434. public function getDebugInfo(): array
  435. {
  436. return array ( 488 => 91, 481 => 90, 468 => 89, 454 => 83, 441 => 82, 430 => 79, 424 => 77, 418 => 75, 415 => 74, 402 => 73, 380 => 70, 358 => 67, 335 => 64, 324 => 55, 322 => 54, 309 => 53, 298 => 36, 296 => 35, 283 => 34, 272 => 26, 270 => 25, 257 => 24, 244 => 93, 242 => 89, 238 => 87, 236 => 82, 232 => 80, 230 => 73, 226 => 71, 224 => 70, 220 => 68, 218 => 67, 212 => 64, 205 => 60, 201 => 58, 199 => 57, 196 => 56, 194 => 53, 190 => 51, 184 => 48, 181 => 47, 179 => 46, 175 => 44, 172 => 43, 161 => 41, 156 => 40, 153 => 39, 150 => 37, 148 => 34, 142 => 32, 135 => 30, 132 => 29, 129 => 28, 127 => 27, 125 => 24, 121 => 23, 118 => 22, 111 => 20, 108 => 19, 105 => 18, 98 => 16, 95 => 15, 92 => 14, 85 => 12, 82 => 11, 79 => 10, 72 => 8, 69 => 7, 67 => 6, 64 => 5, 62 => 4, 57 => 1,);
  437. }
  438. public function getSourceContext(): Source
  439. {
  440. return new Source("<!DOCTYPE html>
  441. <html lang=\"fr\">
  442. <head>
  443. {% include \"front/common/layout.head_common_meta_link.html.twig\" %}
  444. {% if fileExists('favicon/favicon-16x16.ico') %}
  445. <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\"
  446. href=\"{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-16x16.ico'}) }}?v={{ version }}\">
  447. {% endif %}
  448. {% if fileExists('favicon/favicon-32x132.png') %}
  449. <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\"
  450. href=\"{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-32x132.png'}) }}?v={{ version }}\">
  451. {% endif %}
  452. {% if fileExists('favicon/favicon-96x96.png') %}
  453. <link rel=\"icon\" type=\"image/png\" sizes=\"96x96\"
  454. href=\"{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-96x96.png'}) }}?v={{ version }}\">
  455. {% endif %}
  456. {% if fileExists('favicon/favicon-180x180.png') %}
  457. <link rel=\"icon\" type=\"image/png\" sizes=\"180x8180\"
  458. href=\"{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-180x180.png'}) }}?v={{ version }}\">
  459. {% endif %}
  460. <title>{{ platform_global('seo.title') }}</title>
  461. {% block styles_global_vendor %}
  462. {# Styles spécifique à une page #}
  463. {% endblock styles_global_vendor %}
  464. {# Styles commun à l'ensemble du site #}
  465. {% if platform_front('theme') and platform_front('theme') not in ['', null] %}
  466. <link rel=\"stylesheet\"
  467. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/main.css') }}?v={{ version }}\">
  468. {% endif %}
  469. <link rel=\"stylesheet\" href=\"{{ path('front_common_css_custom') }}\">
  470. {% block styles %}
  471. {# Styles spécifique à une page #}
  472. {% endblock styles %}
  473. {# Style global venant du fichier platform.[projet].yaml, doit avoir la priorité absolue sur tous les autres #}
  474. {% if platform_front('css_config.custom_css_files') %}
  475. {% for file in platform_front('css_config.custom_css_files') %}
  476. <link rel=\"stylesheet\" href=\"{{ asset(file) }}?v={{ version }}\">
  477. {% endfor %}
  478. {% endif %}
  479. {% if platform_front('common.custom_css') %}
  480. <style rel=\"stylesheet\">
  481. {{ platform_front('common.custom_css')|raw }}
  482. </style>
  483. {% endif %}
  484. {% block styles_custom %}
  485. {# Styles spécifique à une page et prioritaire par rapport au css global venant de platform.[projet].yaml #}
  486. {% endblock styles_custom %}
  487. {% include \"front/common/layout.head_common_js.html.twig\" %}
  488. <script>
  489. const cdn = '{{ cdn }}';
  490. </script>
  491. </head>
  492. <body class=\"{% block bodyclass %}document{% endblock %}\">
  493. <div class=\"wrapper\">
  494. {% block header %}{% endblock header %}
  495. <div class=\"container mt-3\" style=\"background-color: #fff;\">
  496. {% block content %}{% endblock content %}
  497. </div>
  498. {% block footer %}
  499. {% if app.user is defined and app.user %}
  500. {{ component('common.footer', 'common.footer') }}
  501. {% else %}
  502. {{ component('security.footer', 'security.footer') }}
  503. {% endif %}
  504. {% endblock footer %}
  505. </div>
  506. {% block gotop %}
  507. <a class=\"gotop btn btn-yellow d-none\">
  508. <i class=\"glyphicon glyphicon-arrow-up\"></i>
  509. </a>
  510. {% endblock gotop %}
  511. {% block scripts %}
  512. <script src=\"{{ asset('build/assets/js/front/jquery.min.js') }}?v={{ version }}\"></script>
  513. <script src=\"{{ asset('build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js') }}?v={{ version }}\"></script>
  514. {% endblock scripts %}
  515. </body>
  516. </html>
  517. ", "front/blank_layout.html.twig", "/var/www/dtv-preprod/current/templates/front/blank_layout.html.twig");
  518. }
  519. }