var/cache/dev/twig/6a/6a0af779a3ff32d2e600d6eb31724d50.php line 385

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/base.html.twig */
  18. class __TwigTemplate_011205b30411ec933a664f755ed411fa 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. 'title' => [$this, 'block_title'],
  34. 'keywords' => [$this, 'block_keywords'],
  35. 'description' => [$this, 'block_description'],
  36. 'body' => [$this, 'block_body'],
  37. 'javascripts' => [$this, 'block_javascripts'],
  38. ];
  39. }
  40. protected function doDisplay(array $context, array $blocks = []): iterable
  41. {
  42. $macros = $this->macros;
  43. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  44. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/base.html.twig"));
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/base.html.twig"));
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/base.html.twig"));
  49. // line 2
  50. yield "<!DOCTYPE html>
  51. <html lang=\"";
  52. // line 3
  53. yield (string) $this->escaper->escape(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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), "html", null, true);
  54. yield "\">
  55. <head>
  56. <meta charset=\"UTF-8\">
  57. <meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=yes\">
  58. <title>";
  59. // line 7
  60. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  61. yield " | ";
  62. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("domain", [], "web"), "html", null, true);
  63. yield "</title>
  64. ";
  65. // line 8
  66. yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("web");
  67. yield "
  68. <meta name=\"keywords\" content=\"";
  69. // line 9
  70. yield from $this->unwrap()->yieldBlock('keywords', $context, $blocks);
  71. yield "\">
  72. <meta name=\"author\" content=\"Able. | www.able.cz\">
  73. <meta name=\"description\" content=\"";
  74. // line 11
  75. yield from $this->unwrap()->yieldBlock('description', $context, $blocks);
  76. yield "\">
  77. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:title\" content=\"";
  78. // line 13
  79. yield from $this->unwrap()->yieldBlock("title", $context, $blocks);
  80. yield "\">
  81. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:description\" content=\"";
  82. // line 14
  83. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.description", [], "web"), "html", null, true);
  84. yield "\">
  85. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:type\" content=\"website\">
  86. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:image\"
  87. content=\"";
  88. // line 17
  89. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/fb.png")), "html", null, true);
  90. yield "\">
  91. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:image:secure_url\"
  92. content=\"";
  93. // line 19
  94. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/fb.png")), "html", null, true);
  95. yield "\">
  96. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:locale\" content=\"cs_CZ\">
  97. <meta property=\"og:latitude\" content=\"48.762618\">
  98. <meta property=\"og:longitude\" content=\"16.061932\">
  99. <meta property=\"og:street-address\" content=\"";
  100. // line 24
  101. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.address", [], "web"), "html", null, true);
  102. yield "\">
  103. <meta property=\"og:locality\" content=\"";
  104. // line 25
  105. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.locality", [], "web"), "html", null, true);
  106. yield "\">
  107. <meta property=\"og:postal-code\" content=\"669 02\">
  108. <meta property=\"og:country-name\" content=\"";
  109. // line 27
  110. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.country", [], "web"), "html", null, true);
  111. yield "\">
  112. <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  113. // line 29
  114. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/favicon/apple-touch-icon.png"), "html", null, true);
  115. yield "\">
  116. <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  117. // line 30
  118. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/favicon/favicon-32x32.png"), "html", null, true);
  119. yield "\">
  120. <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  121. // line 31
  122. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/favicon/favicon-16x16.png"), "html", null, true);
  123. yield "\">
  124. <link rel=\"manifest\" href=\"";
  125. // line 32
  126. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/favicon/site.webmanifest"), "html", null, true);
  127. yield "\">
  128. <link rel=\"mask-icon\" href=\"";
  129. // line 33
  130. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/favicon/safari-pinned-tab.svg"), "html", null, true);
  131. yield "\" color=\"#5bbad5\">
  132. <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  133. <meta name=\"theme-color\" content=\"#ffffff\">
  134. <link rel=\"stylesheet\" id=\"nille-select-google-fonts-css\"
  135. href=\"https://fonts.googleapis.com/css?family=Muli%3A300%2C400%2C500%2C600%2C700%2C900%7CCormorant%3A300%2C400%2C500%2C600%2C700%2C900&#038;subset=latin-ext&#038;ver=1.0.0\"
  136. type=\"text/css\"
  137. media=\"all\">
  138. <link href=\"https://fonts.googleapis.com/css?family=Roboto:400\" rel=\"stylesheet\" property=\"stylesheet\" media=\"all\"
  139. type=\"text/css\">
  140. <!-- Redirect Script -->
  141. <script>
  142. (function () {
  143. const host = location.hostname.replace(/^www\\./, \x27\x27);
  144. const lang = (navigator.language || \x27\x27).toLowerCase().split(\x27-\x27)[0];
  145. if (host === \x27freeport.cz\x27 && lang === \x27de\x27 && location.pathname === \x27/\x27) {
  146. if (!sessionStorage.getItem(\x27langRedirected\x27)) {
  147. sessionStorage.setItem(\x27langRedirected\x27, \x271\x27);
  148. location.replace(\x27https://www.freeport.at/\x27);
  149. }
  150. }
  151. })();
  152. </script>
  153. <script type=\"text/javascript\" src=\"https://apis.google.com/js/platform.js\"
  154. id=\"nille-membership-google-plus-api-js\"></script>
  155. <script>
  156. var qodefGlobalVars = {
  157. \"vars\": {
  158. \"qodefAddForAdminBar\": 0,
  159. \"qodefElementAppearAmount\": -100,
  160. \"qodefAjaxUrl\": \".\\/wp-admin\\/admin-ajax.php\",
  161. \"sliderNavPrevArrow\": \"lnr lnr-chevron-left\",
  162. \"sliderNavNextArrow\": \"lnr lnr-chevron-right\",
  163. \"ppExpand\": \"Expand the image\",
  164. \"ppNext\": \"Next\",
  165. \"ppPrev\": \"Previous\",
  166. \"ppClose\": \"Close\",
  167. \"qodefStickyHeaderHeight\": 0,
  168. \"qodefStickyHeaderTransparencyHeight\": 70,
  169. \"qodefTopBarHeight\": 0,
  170. \"qodefLogoAreaHeight\": 0,
  171. \"qodefMenuAreaHeight\": 90,
  172. \"qodefMobileHeaderHeight\": 70
  173. }
  174. };
  175. var qodefPerPageVars = {
  176. \"vars\": {
  177. \"qodefMobileHeaderHeight\": 70,
  178. \"qodefStickyScrollAmount\": 0,
  179. \"qodefHeaderTransparencyHeight\": 0,
  180. \"qodefHeaderVerticalWidth\": 0
  181. }
  182. };
  183. function htmlDecode(value) {
  184. var textArea = document.createElement(\x27textarea\x27);
  185. textArea.innerHTML = value;
  186. return textArea.value;
  187. }
  188. </script>
  189. ";
  190. // line 100
  191. if (((CoreExtension::getAttribute($this->env, $this->source, 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.', 100, $this->source); })()), "request", [], "any", false, false, false, 100), "cookies", [], "any", false, false, false, 100), "get", ["cookieControlPrefs"], "method", false, false, false, 100) == "") || ($this->extensions['App\Twig\AppExtension']->cookieResult(CoreExtension::getAttribute($this->env, $this->source, 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.', 100, $this->source); })()), "request", [], "any", false, false, false, 100), "cookies", [], "any", false, false, false, 100), "get", ["cookieControlPrefs"], "method", false, false, false, 100)) == ""))) {
  192. // line 101
  193. yield " ";
  194. if ((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.', 101, $this->source); })()), "request", [], "any", false, false, false, 101), "locale", [], "any", false, false, false, 101) == "cs")) {
  195. // line 102
  196. yield "
  197. <!-- Google Tag Manager -->
  198. <script>(function (w, d, s, l, i) {
  199. w[l] = w[l] || [];
  200. w[l].push({
  201. \x27gtm.start\x27:
  202. new Date().getTime(), event: \x27gtm.js\x27
  203. });
  204. var f = d.getElementsByTagName(s)[0],
  205. j = d.createElement(s), dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  206. j.async = true;
  207. j.src =
  208. \x27//www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  209. f.parentNode.insertBefore(j, f);
  210. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-MTRMJ5\x27);</script>
  211. <!-- End Google Tag Manager -->
  212. <script>(function (w, d, s, l, i) {
  213. w[l] = w[l] || [];
  214. w[l].push({\x27gtm.start\x27: new Date().getTime(), event: \x27gtm.js\x27});
  215. var f = d.getElementsByTagName(s)[0], j = d.createElement(s),
  216. dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  217. j.async = true;
  218. j.src = \x27https://www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  219. f.parentNode.insertBefore(j, f);
  220. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-MV325WR\x27);</script>
  221. ";
  222. } else {
  223. // line 129
  224. yield " <!-- Google Tag Manager -->
  225. <script>(function (w, d, s, l, i) {
  226. w[l] = w[l] || [];
  227. w[l].push({
  228. \x27gtm.start\x27:
  229. new Date().getTime(), event: \x27gtm.js\x27
  230. });
  231. var f = d.getElementsByTagName(s)[0],
  232. j = d.createElement(s), dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  233. j.async = true;
  234. j.src =
  235. \x27//www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  236. f.parentNode.insertBefore(j, f);
  237. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-MHBZ9X\x27);</script>
  238. <!-- End Google Tag Manager -->
  239. <script>(function (w, d, s, l, i) {
  240. w[l] = w[l] || [];
  241. w[l].push({\x27gtm.start\x27: new Date().getTime(), event: \x27gtm.js\x27});
  242. var f = d.getElementsByTagName(s)[0], j = d.createElement(s),
  243. dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  244. j.async = true;
  245. j.src = \x27https://www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  246. f.parentNode.insertBefore(j, f);
  247. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-KFMCZNQ\x27);</script>
  248. ";
  249. }
  250. // line 156
  251. yield " ";
  252. }
  253. // line 157
  254. yield "
  255. ";
  256. // line 170
  257. yield "</head>
  258. <body class=\"page-template page-template-full-width page-template-full-width-php page page-id-300 theme-nille nille-core-1.2 qodef-social-login-1.0.1 woocommerce-js nille-ver-1.4.1 qodef-grid-1300 qodef-empty-google-api qodef-wide-dropdown-menu-content-in-grid qodef-custom-blog qodef-sticky-header-on-scroll-down-up qodef-dropdown-animate-height qodef-header-standard qodef-menu-area-shadow-disable qodef-menu-area-in-grid-shadow-disable qodef-menu-area-in-grid-border-disable qodef-logo-area-border-disable qodef-logo-area-in-grid-border-disable qodef-header-vertical-shadow-disable qodef-header-vertical-border-disable qodef-side-menu-slide-from-right qodef-custom-product qodef-woocommerce-columns-3 qodef-woo-normal-space qodef-woo-pl-info-below-image qodef-woo-single-thumb-on-left-side qodef-woo-single-has-pretty-photo qodef-default-mobile-header qodef-sticky-up-mobile-header wpb-js-composer js-comp-ver-6.6.0 vc_responsive qodef-chrome qodef-fully-loaded\">
  259. ";
  260. // line 172
  261. if (((CoreExtension::getAttribute($this->env, $this->source, 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.', 172, $this->source); })()), "request", [], "any", false, false, false, 172), "cookies", [], "any", false, false, false, 172), "get", ["cookieControlPrefs"], "method", false, false, false, 172) == "") || ($this->extensions['App\Twig\AppExtension']->cookieResult(CoreExtension::getAttribute($this->env, $this->source, 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.', 172, $this->source); })()), "request", [], "any", false, false, false, 172), "cookies", [], "any", false, false, false, 172), "get", ["cookieControlPrefs"], "method", false, false, false, 172)) == ""))) {
  262. // line 173
  263. yield " ";
  264. if ((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.', 173, $this->source); })()), "request", [], "any", false, false, false, 173), "locale", [], "any", false, false, false, 173) == "cs")) {
  265. // line 174
  266. yield " <!-- Google Tag Manager -->
  267. <noscript>
  268. <iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-MTRMJ5\" height=\"0\" width=\"0\"
  269. style=\"display:none;visibility:hidden\"></iframe>
  270. </noscript>
  271. <!-- End Google Tag Manager -->
  272. <!-- Google Tag Manager (noscript) -->
  273. <noscript>
  274. <iframe src=“https://www.googletagmanager.com/ns.html?id=GTM-MV325WR”
  275. height=“0\" width=“0” style=\"display:none;visibility:hidden\"></iframe>
  276. </noscript>
  277. <!-- End Google Tag Manager (noscript) -->
  278. ";
  279. } else {
  280. // line 187
  281. yield " <noscript>
  282. <iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-MHBZ9X\"
  283. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  284. </noscript>
  285. <noscript>
  286. <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-KFMCZNQ\"
  287. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  288. </noscript>
  289. ";
  290. }
  291. }
  292. // line 198
  293. yield "
  294. <div class=\"qodef-wrapper\">
  295. <div class=\"qodef-wrapper-inner\">
  296. ";
  297. // line 205
  298. yield "
  299. <div id=\"qodef-popup-holder\"
  300. class=\"qodef-subscribe-popup-holder qodef-prevent-enable qodef-sp-prevent-cookies qodef-sp-has-image\">
  301. <div class=\"qodef-sp-table\">
  302. <div class=\"qodef-sp-table-cell\">
  303. <div class=\"qodef-sp-inner\">
  304. <a class=\"qodef-sp-close\" href=\"javascript:void(0)\">
  305. <svg version=\"1.1\" class=\"qodef-close-svg\" xmlns=\"http://www.w3.org/2000/svg\"
  306. xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewbox=\"0 0 26 26\"
  307. style=\"enable-background:new 0 0 26 26;\" xml:space=\"preserve\"><line x1=\"0.5\" y1=\"25.4\"
  308. x2=\"25.4\"
  309. y2=\"0.5\"></line>
  310. <line x1=\"25.4\" y1=\"25.5\" x2=\"0.5\" y2=\"0.6\"></line></svg>
  311. </a>
  312. <div class=\"qodef-sp-background\"
  313. style=\"background-image: url(";
  314. // line 220
  315. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/NL.jpg"), "html", null, true);
  316. yield ");\"></div>
  317. <div class=\"qodef-sp-content-container\">
  318. <h5 class=\"qodef-sp-title\">";
  319. // line 222
  320. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newsletter.h1", [], "web"), "html", null, true);
  321. yield "</h5>
  322. <div class=\"qodef-sp-subtitle\">
  323. </div>
  324. <div role=\"form\" class=\"wpcf7\" lang=\"en-US\" dir=\"ltr\">
  325. <div class=\"screen-reader-response\"></div>
  326. ";
  327. // line 240
  328. yield " ";
  329. 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.', 240, $this->source); })()), "request", [], "any", false, false, false, 240), "locale", [], "any", false, false, false, 240), "source" => "website"]));
  330. yield "
  331. </div>
  332. ";
  333. // line 261
  334. yield "
  335. </div>
  336. </div>
  337. </div>
  338. </div>
  339. </div>
  340. ";
  341. // line 280
  342. yield "
  343. ";
  344. // line 303
  345. yield "
  346. ";
  347. // line 319
  348. yield "
  349. ";
  350. // line 320
  351. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/side-menu.html.twig");
  352. yield "
  353. ";
  354. // line 321
  355. yield (string) $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Web\\DefaultController::_modal", ["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.', 321, $this->source); })()), "request", [], "any", false, false, false, 321), "locale", [], "any", false, false, false, 321)]));
  356. yield "
  357. ";
  358. // line 324
  359. yield " ";
  360. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  361. // line 325
  362. yield " <style>
  363. /* Responzivní styly pro mobilní rozlišení */
  364. @media only screen and (max-width: 1385px) {
  365. .qodef-page-footer .qodef-footer-bottom-holder .qodef-grid-col-6 {
  366. float: left;
  367. width: 50%
  368. }
  369. .qodef-page-header {
  370. display: none
  371. }
  372. }
  373. </style>
  374. ";
  375. // line 340
  376. yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("web");
  377. yield "
  378. <script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyCra5ORaJVGzW0zijMBTUhc-uYSBHe6j7o&amp;callback=initMap\"
  379. async defer></script>
  380. <script>
  381. function changeContent(contentId) {
  382. var allContent = document.querySelectorAll(\x27#sidepanel > div\x27);
  383. for (var i = 0; i < allContent.length; i++) {
  384. allContent[i].style.display = \x27none\x27;
  385. }
  386. var selectedContent = document.getElementById(contentId);
  387. selectedContent.style.display = \x27block\x27;
  388. return false; // Zabraňuje přechodu na novou stránku po kliknutí na odkaz
  389. }
  390. \$(\x27.js-modal-closed\x27).on(\x27click\x27, function () {
  391. let iid = \$(this).data(\x27id\x27);
  392. Cookies.set(\x27modal_\x27 + iid, iid, {expires: 3});
  393. \$(this).closest(\x27.modal__wrapper\x27).hide();
  394. });
  395. \$(\x27#cross-icon,#cross-icon2\x27).on(\x27click\x27, function () {
  396. // Skryjeme sidepanel
  397. \$(\x27#opening_hours\x27).hide();
  398. \$(\x27#where_to_us\x27).hide();
  399. // Odebereme třídy pro otevřený sidepanel
  400. \$(\x27.qodef-side-menu-slide-from-right.qodef-right-side-menu-opened\x27).removeClass(\x27qodef-right-side-menu-opened\x27);
  401. \$(\x27.qodef-cover\x27).removeClass(\x27opened\x27);
  402. });
  403. </script>
  404. <script>
  405. // Získáme aktuální jazyk, případně defaultní hodnotu \"cs\"
  406. const language = document.documentElement.lang || \x27cs\x27;
  407. // Podmíněně vybereme skript na základě jazyka
  408. if (language === \x27cs\x27) {
  409. var feed = new InstafeedWeb({
  410. accessToken: \x27IGAAMKrDjOK79BZAFlvdWIyb05RaHpOTDNfNTJ4WTRFbnpHcG1CN3QyZA1pjR2pKZA0prR215SWRsbnkweWRKRFgyWTJIcllJbXNjRmstWHg2clF4UFduRDEzRnVQdGxFdTBKR0ZArS2RwWEpDV203LTdCa0ZAGOXhBeXN4QkFvRFlISQZDZD\x27,
  411. limit: 6,
  412. });
  413. feed.run();
  414. } else if (language === \x27de\x27 || language === \x27en\x27) {
  415. var feed = new InstafeedWeb({
  416. accessToken: \x27IGAALI6fWoNOdBZAFpDdkNOeXpYU2Vjajg1eU0zcjZAuUk5sZATFYLW10YlBlZAWFQU2pwWGpBUGs3MEFYVGVpSE1KVXdRNFR3MEtPcjNBRXQ2dzByN2tRWlhfeURLUUtIZAEhYRlBTdERaNG9JazdWc00xeXlrQzJNRUdvQ3lzckZAIcwZDZD\x27,
  417. limit: 6,
  418. });
  419. feed.run();
  420. }
  421. </script>
  422. <script>
  423. // Funkce pro zobrazení Newsletter modal, pokud ještě nebyl zavřen
  424. function showPopupIfNotClosed() {
  425. var popupOpener = \$(\x27#qodef-popup-holder\x27);
  426. var disabledPopup = localStorage.getItem(\x27disabledPopup\x27);
  427. if (popupOpener.length && disabledPopup !== \x27yes\x27) {
  428. // Pokud popup ještě nebyl zavřen, zobrazíme ho
  429. popupOpener.show();
  430. // Dáme popupu třídu \"qodef-sp-opened\", aby se zobrazil
  431. \$(\x27body\x27).addClass(\x27qodef-sp-opened\x27);
  432. }
  433. }
  434. // Funkce pro zavření Newsletter modal a uložení stavu do localStorage
  435. function closePopup() {
  436. var popupOpener = \$(\x27#qodef-popup-holder\x27);
  437. if (popupOpener.length) {
  438. // Schováme popup
  439. popupOpener.hide();
  440. // Odebereme třídu \"qodef-sp-opened\" z body
  441. \$(\x27body\x27).removeClass(\x27qodef-sp-opened\x27);
  442. // Uložíme do localStorage, že Newsletter modal byl zavřen
  443. localStorage.setItem(\x27disabledPopup\x27, \x27yes\x27);
  444. }
  445. }
  446. // Spustíme funkci showPopupIfNotClosed po načtení stránky
  447. \$(document).ready(function () {
  448. showPopupIfNotClosed();
  449. });
  450. // Nastavíme kliknutí na křížek, aby se popup zavřel a uložil stav do localStorage
  451. \$(\x27.qodef-sp-close\x27).on(\x27click\x27, function (e) {
  452. e.preventDefault();
  453. closePopup();
  454. });
  455. </script>
  456. <script>
  457. document.addEventListener(\x27DOMContentLoaded\x27, function () {
  458. var checkbox = document.querySelector(\x27.custom-checkbox\x27);
  459. if (checkbox) {
  460. checkbox.addEventListener(\x27click\x27, function () {
  461. checkbox.classList.toggle(\x27checked\x27);
  462. });
  463. }
  464. });
  465. </script>
  466. <script type=\"text/javascript\">
  467. setTimeout(() => {
  468. \$(\x27body\x27).ihavecookies({
  469. title: \"";
  470. // line 446
  471. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.title", [], "web"), "html", null, true);
  472. yield "\",
  473. message: \"";
  474. // line 447
  475. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.message", [], "web"), "html", null, true);
  476. yield "\",
  477. link: \x27https://policies.google.com/technologies/partner-sites?hl=cs\x27,
  478. delay: 0,
  479. moreInfoLabel: \"";
  480. // line 450
  481. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.moreInfoLabel", [], "web"), "html", null, true);
  482. yield "\",
  483. acceptBtnLabel: \"";
  484. // line 451
  485. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.acceptBtnLabel", [], "web"), "html", null, true);
  486. yield "\",
  487. advancedBtnLabel: \"";
  488. // line 452
  489. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.advancedBtnLabel", [], "web"), "html", null, true);
  490. yield "\",
  491. cookieTypesTitle: \"";
  492. // line 453
  493. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.cookieTypesTitle", [], "web"), "html", null, true);
  494. yield "\",
  495. fixedCookieTypeLabel: \"";
  496. // line 454
  497. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.fixedCookieTypeLabel", [], "web"), "html", null, true);
  498. yield "\",
  499. fixedCookieTypeDesc: \"";
  500. // line 455
  501. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.fixedCookieTypeDesc", [], "web"), "html", null, true);
  502. yield "\",
  503. onAccept: () => {
  504. console.log(\x27Accept cookies clicked...\x27);
  505. },
  506. cookieTypes: [
  507. {
  508. type: \"";
  509. // line 461
  510. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.cookieTypes.analytics.title", [], "web"), "html", null, true);
  511. yield "\",
  512. value: \x27analytics\x27,
  513. description: \"";
  514. // line 463
  515. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cookies.cookieTypes.analytics.description", [], "web"), "html", null, true);
  516. yield "\"
  517. },
  518. ],
  519. });
  520. }, 1000)
  521. </script>
  522. ";
  523. // line 470
  524. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  525. // line 471
  526. yield " </div>
  527. </div>
  528. <!-- chatbot -->
  529. <style>
  530. button[aria-label=\"Open chat\"] {
  531. background-color: transparent !important;
  532. width: 77px !important;
  533. height: 95px !important;
  534. border-radius: 0 !important;
  535. box-shadow: none !important
  536. }
  537. button[aria-label=\"Open chat\"] img {
  538. border-radius: 0 !important
  539. }
  540. </style>
  541. <script>
  542. (function () {
  543. var s = document.createElement(\"script\");
  544. s.src = \"https://newai.goldenorange.cz/embed/agent-widget.js?v=\" + Date.now();
  545. s.setAttribute(\"data-pid\", \"2390\");
  546. s.setAttribute(\"data-cid\", \"EecoIlQjaX0BGZr855hZSLUz0YOf9-6RlXeYI6Y78A\");
  547. document.body.appendChild(s);
  548. })();
  549. </script>
  550. </body>
  551. </html>
  552. ";
  553. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  554. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  555. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  556. return; yield;
  557. }
  558. // line 7
  559. /**
  560. * @return iterable<null|scalar|\Stringable>
  561. */
  562. public function block_title(array $context, array $blocks = []): iterable
  563. {
  564. $macros = $this->macros;
  565. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  566. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  567. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  568. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  569. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  570. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  571. yield "Freeport";
  572. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  573. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  574. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  575. return; yield;
  576. }
  577. // line 9
  578. /**
  579. * @return iterable<null|scalar|\Stringable>
  580. */
  581. public function block_keywords(array $context, array $blocks = []): iterable
  582. {
  583. $macros = $this->macros;
  584. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  585. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  586. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  587. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  588. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  589. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  590. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.keywords", [], "web"), "html", null, true);
  591. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  592. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  593. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  594. return; yield;
  595. }
  596. // line 11
  597. /**
  598. * @return iterable<null|scalar|\Stringable>
  599. */
  600. public function block_description(array $context, array $blocks = []): iterable
  601. {
  602. $macros = $this->macros;
  603. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  604. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  605. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  606. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  607. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  608. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  609. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("meta.description", [], "web"), "html", null, true);
  610. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  611. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  612. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  613. return; yield;
  614. }
  615. // line 324
  616. /**
  617. * @return iterable<null|scalar|\Stringable>
  618. */
  619. public function block_body(array $context, array $blocks = []): iterable
  620. {
  621. $macros = $this->macros;
  622. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  623. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  624. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  625. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  626. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  627. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  628. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  629. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  630. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  631. return; yield;
  632. }
  633. // line 470
  634. /**
  635. * @return iterable<null|scalar|\Stringable>
  636. */
  637. public function block_javascripts(array $context, array $blocks = []): iterable
  638. {
  639. $macros = $this->macros;
  640. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  641. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  642. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  643. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  644. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  645. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  646. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  647. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  648. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  649. return; yield;
  650. }
  651. /**
  652. * @codeCoverageIgnore
  653. */
  654. public function getTemplateName(): string
  655. {
  656. return "web/base.html.twig";
  657. }
  658. /**
  659. * @codeCoverageIgnore
  660. */
  661. public function isTraitable(): bool
  662. {
  663. return false;
  664. }
  665. /**
  666. * @codeCoverageIgnore
  667. */
  668. public function getDefaultEscapeStrategy(): string|false
  669. {
  670. return "html";
  671. }
  672. /**
  673. * @codeCoverageIgnore
  674. */
  675. public function getDebugInfo(): array
  676. {
  677. return array ( 738 => 470, 710 => 324, 681 => 11, 652 => 9, 623 => 7, 579 => 471, 577 => 470, 567 => 463, 562 => 461, 553 => 455, 549 => 454, 545 => 453, 541 => 452, 537 => 451, 533 => 450, 527 => 447, 523 => 446, 414 => 340, 397 => 325, 394 => 324, 389 => 321, 385 => 320, 382 => 319, 379 => 303, 376 => 280, 366 => 261, 360 => 240, 350 => 222, 345 => 220, 328 => 205, 320 => 198, 307 => 187, 292 => 174, 289 => 173, 287 => 172, 283 => 170, 280 => 157, 277 => 156, 248 => 129, 219 => 102, 216 => 101, 214 => 100, 144 => 33, 140 => 32, 136 => 31, 132 => 30, 128 => 29, 123 => 27, 118 => 25, 114 => 24, 106 => 19, 101 => 17, 95 => 14, 91 => 13, 86 => 11, 81 => 9, 77 => 8, 71 => 7, 64 => 3, 61 => 2,);
  678. }
  679. public function getSourceContext(): Source
  680. {
  681. return new Source("{% trans_default_domain \x27web\x27 %}
  682. <!DOCTYPE html>
  683. <html lang=\"{{ app.request.locale }}\">
  684. <head>
  685. <meta charset=\"UTF-8\">
  686. <meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=yes\">
  687. <title>{% block title %}Freeport{% endblock %} | {{ \x27domain\x27|trans }}</title>
  688. {{ encore_entry_link_tags(\x27web\x27) }}
  689. <meta name=\"keywords\" content=\"{% block keywords %}{{ \x27meta.keywords\x27| trans }}{% endblock %}\">
  690. <meta name=\"author\" content=\"Able. | www.able.cz\">
  691. <meta name=\"description\" content=\"{% block description %}{{ \x27meta.description\x27 | trans }}{% endblock %}\">
  692. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:title\" content=\"{{ block(\x27title\x27) }}\">
  693. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:description\" content=\"{{ \x27meta.description\x27 | trans }}\">
  694. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:type\" content=\"website\">
  695. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:image\"
  696. content=\"{{ absolute_url(asset(\x27build/images/web/fb.png\x27)) }}\">
  697. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:image:secure_url\"
  698. content=\"{{ absolute_url(asset(\x27build/images/web/fb.png\x27)) }}\">
  699. <meta prefix=\"og: http:ogp.me/ns#\" property=\"og:locale\" content=\"cs_CZ\">
  700. <meta property=\"og:latitude\" content=\"48.762618\">
  701. <meta property=\"og:longitude\" content=\"16.061932\">
  702. <meta property=\"og:street-address\" content=\"{{ \x27meta.address\x27| trans }}\">
  703. <meta property=\"og:locality\" content=\"{{ \x27meta.locality\x27| trans }}\">
  704. <meta property=\"og:postal-code\" content=\"669 02\">
  705. <meta property=\"og:country-name\" content=\"{{ \x27meta.country\x27| trans }}\">
  706. <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset(\x27build/images/web/favicon/apple-touch-icon.png\x27) }}\">
  707. <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset(\x27build/images/web/favicon/favicon-32x32.png\x27) }}\">
  708. <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset(\x27build/images/web/favicon/favicon-16x16.png\x27) }}\">
  709. <link rel=\"manifest\" href=\"{{ asset(\x27build/images/web/favicon/site.webmanifest\x27) }}\">
  710. <link rel=\"mask-icon\" href=\"{{ asset(\x27build/images/web/favicon/safari-pinned-tab.svg\x27) }}\" color=\"#5bbad5\">
  711. <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  712. <meta name=\"theme-color\" content=\"#ffffff\">
  713. <link rel=\"stylesheet\" id=\"nille-select-google-fonts-css\"
  714. href=\"https://fonts.googleapis.com/css?family=Muli%3A300%2C400%2C500%2C600%2C700%2C900%7CCormorant%3A300%2C400%2C500%2C600%2C700%2C900&#038;subset=latin-ext&#038;ver=1.0.0\"
  715. type=\"text/css\"
  716. media=\"all\">
  717. <link href=\"https://fonts.googleapis.com/css?family=Roboto:400\" rel=\"stylesheet\" property=\"stylesheet\" media=\"all\"
  718. type=\"text/css\">
  719. <!-- Redirect Script -->
  720. <script>
  721. (function () {
  722. const host = location.hostname.replace(/^www\\./, \x27\x27);
  723. const lang = (navigator.language || \x27\x27).toLowerCase().split(\x27-\x27)[0];
  724. if (host === \x27freeport.cz\x27 && lang === \x27de\x27 && location.pathname === \x27/\x27) {
  725. if (!sessionStorage.getItem(\x27langRedirected\x27)) {
  726. sessionStorage.setItem(\x27langRedirected\x27, \x271\x27);
  727. location.replace(\x27https://www.freeport.at/\x27);
  728. }
  729. }
  730. })();
  731. </script>
  732. <script type=\"text/javascript\" src=\"https://apis.google.com/js/platform.js\"
  733. id=\"nille-membership-google-plus-api-js\"></script>
  734. <script>
  735. var qodefGlobalVars = {
  736. \"vars\": {
  737. \"qodefAddForAdminBar\": 0,
  738. \"qodefElementAppearAmount\": -100,
  739. \"qodefAjaxUrl\": \".\\/wp-admin\\/admin-ajax.php\",
  740. \"sliderNavPrevArrow\": \"lnr lnr-chevron-left\",
  741. \"sliderNavNextArrow\": \"lnr lnr-chevron-right\",
  742. \"ppExpand\": \"Expand the image\",
  743. \"ppNext\": \"Next\",
  744. \"ppPrev\": \"Previous\",
  745. \"ppClose\": \"Close\",
  746. \"qodefStickyHeaderHeight\": 0,
  747. \"qodefStickyHeaderTransparencyHeight\": 70,
  748. \"qodefTopBarHeight\": 0,
  749. \"qodefLogoAreaHeight\": 0,
  750. \"qodefMenuAreaHeight\": 90,
  751. \"qodefMobileHeaderHeight\": 70
  752. }
  753. };
  754. var qodefPerPageVars = {
  755. \"vars\": {
  756. \"qodefMobileHeaderHeight\": 70,
  757. \"qodefStickyScrollAmount\": 0,
  758. \"qodefHeaderTransparencyHeight\": 0,
  759. \"qodefHeaderVerticalWidth\": 0
  760. }
  761. };
  762. function htmlDecode(value) {
  763. var textArea = document.createElement(\x27textarea\x27);
  764. textArea.innerHTML = value;
  765. return textArea.value;
  766. }
  767. </script>
  768. {% if app.request.cookies.get(\x27cookieControlPrefs\x27) == \x27\x27 or app.request.cookies.get(\x27cookieControlPrefs\x27)|cookieResult == \x27\x27 %}
  769. {% if app.request.locale == \x27cs\x27 %}
  770. <!-- Google Tag Manager -->
  771. <script>(function (w, d, s, l, i) {
  772. w[l] = w[l] || [];
  773. w[l].push({
  774. \x27gtm.start\x27:
  775. new Date().getTime(), event: \x27gtm.js\x27
  776. });
  777. var f = d.getElementsByTagName(s)[0],
  778. j = d.createElement(s), dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  779. j.async = true;
  780. j.src =
  781. \x27//www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  782. f.parentNode.insertBefore(j, f);
  783. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-MTRMJ5\x27);</script>
  784. <!-- End Google Tag Manager -->
  785. <script>(function (w, d, s, l, i) {
  786. w[l] = w[l] || [];
  787. w[l].push({\x27gtm.start\x27: new Date().getTime(), event: \x27gtm.js\x27});
  788. var f = d.getElementsByTagName(s)[0], j = d.createElement(s),
  789. dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  790. j.async = true;
  791. j.src = \x27https://www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  792. f.parentNode.insertBefore(j, f);
  793. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-MV325WR\x27);</script>
  794. {% else %}
  795. <!-- Google Tag Manager -->
  796. <script>(function (w, d, s, l, i) {
  797. w[l] = w[l] || [];
  798. w[l].push({
  799. \x27gtm.start\x27:
  800. new Date().getTime(), event: \x27gtm.js\x27
  801. });
  802. var f = d.getElementsByTagName(s)[0],
  803. j = d.createElement(s), dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  804. j.async = true;
  805. j.src =
  806. \x27//www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  807. f.parentNode.insertBefore(j, f);
  808. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-MHBZ9X\x27);</script>
  809. <!-- End Google Tag Manager -->
  810. <script>(function (w, d, s, l, i) {
  811. w[l] = w[l] || [];
  812. w[l].push({\x27gtm.start\x27: new Date().getTime(), event: \x27gtm.js\x27});
  813. var f = d.getElementsByTagName(s)[0], j = d.createElement(s),
  814. dl = l != \x27dataLayer\x27 ? \x27&l=\x27 + l : \x27\x27;
  815. j.async = true;
  816. j.src = \x27https://www.googletagmanager.com/gtm.js?id=\x27 + i + dl;
  817. f.parentNode.insertBefore(j, f);
  818. })(window, document, \x27script\x27, \x27dataLayer\x27, \x27GTM-KFMCZNQ\x27);</script>
  819. {% endif %}
  820. {% endif %}
  821. {# <!-- Google Tag Manager -->
  822. <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-2L306PJ8MR\"></script>
  823. <script>
  824. window.dataLayer = window.dataLayer || [];
  825. function gtag() {
  826. dataLayer.push(arguments);
  827. }
  828. gtag(\x27js\x27, new Date());
  829. gtag(\x27config\x27, \x27G-2L306PJ8MR\x27);
  830. </script> #}
  831. </head>
  832. <body class=\"page-template page-template-full-width page-template-full-width-php page page-id-300 theme-nille nille-core-1.2 qodef-social-login-1.0.1 woocommerce-js nille-ver-1.4.1 qodef-grid-1300 qodef-empty-google-api qodef-wide-dropdown-menu-content-in-grid qodef-custom-blog qodef-sticky-header-on-scroll-down-up qodef-dropdown-animate-height qodef-header-standard qodef-menu-area-shadow-disable qodef-menu-area-in-grid-shadow-disable qodef-menu-area-in-grid-border-disable qodef-logo-area-border-disable qodef-logo-area-in-grid-border-disable qodef-header-vertical-shadow-disable qodef-header-vertical-border-disable qodef-side-menu-slide-from-right qodef-custom-product qodef-woocommerce-columns-3 qodef-woo-normal-space qodef-woo-pl-info-below-image qodef-woo-single-thumb-on-left-side qodef-woo-single-has-pretty-photo qodef-default-mobile-header qodef-sticky-up-mobile-header wpb-js-composer js-comp-ver-6.6.0 vc_responsive qodef-chrome qodef-fully-loaded\">
  833. {% if app.request.cookies.get(\x27cookieControlPrefs\x27) == \x27\x27 or app.request.cookies.get(\x27cookieControlPrefs\x27)|cookieResult == \x27\x27 %}
  834. {% if app.request.locale == \x27cs\x27 %}
  835. <!-- Google Tag Manager -->
  836. <noscript>
  837. <iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-MTRMJ5\" height=\"0\" width=\"0\"
  838. style=\"display:none;visibility:hidden\"></iframe>
  839. </noscript>
  840. <!-- End Google Tag Manager -->
  841. <!-- Google Tag Manager (noscript) -->
  842. <noscript>
  843. <iframe src=“https://www.googletagmanager.com/ns.html?id=GTM-MV325WR”
  844. height=“0\" width=“0” style=\"display:none;visibility:hidden\"></iframe>
  845. </noscript>
  846. <!-- End Google Tag Manager (noscript) -->
  847. {% else %}
  848. <noscript>
  849. <iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-MHBZ9X\"
  850. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  851. </noscript>
  852. <noscript>
  853. <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-KFMCZNQ\"
  854. height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  855. </noscript>
  856. {% endif %}
  857. {% endif %}
  858. <div class=\"qodef-wrapper\">
  859. <div class=\"qodef-wrapper-inner\">
  860. {% trans_default_domain \x27web\x27 %}
  861. <div id=\"qodef-popup-holder\"
  862. class=\"qodef-subscribe-popup-holder qodef-prevent-enable qodef-sp-prevent-cookies qodef-sp-has-image\">
  863. <div class=\"qodef-sp-table\">
  864. <div class=\"qodef-sp-table-cell\">
  865. <div class=\"qodef-sp-inner\">
  866. <a class=\"qodef-sp-close\" href=\"javascript:void(0)\">
  867. <svg version=\"1.1\" class=\"qodef-close-svg\" xmlns=\"http://www.w3.org/2000/svg\"
  868. xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewbox=\"0 0 26 26\"
  869. style=\"enable-background:new 0 0 26 26;\" xml:space=\"preserve\"><line x1=\"0.5\" y1=\"25.4\"
  870. x2=\"25.4\"
  871. y2=\"0.5\"></line>
  872. <line x1=\"25.4\" y1=\"25.5\" x2=\"0.5\" y2=\"0.6\"></line></svg>
  873. </a>
  874. <div class=\"qodef-sp-background\"
  875. style=\"background-image: url({{ asset(\x27build/images/web/NL.jpg\x27) }});\"></div>
  876. <div class=\"qodef-sp-content-container\">
  877. <h5 class=\"qodef-sp-title\">{{ \x27newsletter.h1\x27|trans }}</h5>
  878. <div class=\"qodef-sp-subtitle\">
  879. </div>
  880. <div role=\"form\" class=\"wpcf7\" lang=\"en-US\" dir=\"ltr\">
  881. <div class=\"screen-reader-response\"></div>
  882. {# <form action=\"#\" method=\"post\" class=\"wpcf7-form\" novalidate=\"novalidate\">
  883. \t\t\t\t\t\t\t\t\t\t<div class=\"custom-email\">
  884. \t\t\t\t\t\t\t\t<span class=\"wpcf7-form-control-wrap your-email\">
  885. \t\t\t\t\t\t\t\t\t<input type=\"email\" name=\"your-email\" value=\"\" size=\"40\" class=\"wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"{{\x27newsletter.placeholder\x27|trans}}\">
  886. \t\t\t\t\t\t\t\t</span>
  887. \t\t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"wpcf7-form-control wpcf7-submit qodef-btn-custom-border-hover qodef-btn-custom-hover-bg qodef-btn-custom-hover-color qodef-btn qodef-btn-medium\">
  888. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"qodef-btn-text\">{{\x27newsletter.send\x27|trans}}</span>
  889. \t\t\t\t\t\t\t\t\t\t\t</button>
  890. \t\t\t\t\t\t\t\t\t\t\t<span class=\"ajax-loader\"></span>
  891. \t\t\t\t\t\t\t\t\t\t</div>
  892. \t\t\t\t\t\t\t\t\t</form> #}
  893. {{ render(controller(\x27App\\\\Controller\\\\Eshop\\\\DefaultController::_newsletter\x27,{ \x27locale\x27: app.request.locale, \x27source\x27 : \x27website\x27 })) }}
  894. </div>
  895. {# <div class=\"qodef-sp-prevent\">
  896. <div class=\"qodef-sp-prevent-inner\" style=\"display: flex;\">
  897. \t\t\t\t\t\t\t\t\t\t<span class=\"qodef-sp-prevent-input\" data-value=\"no\">
  898. \t\t\t\t\t <svg x=\"0px\" y=\"0px\" width=\"10.656px\" height=\"10.692px\" viewbox=\"0 0 10.656 10.692\"
  899. enable-background=\"new 0 0 10.656 10.692\" xml:space=\"preserve\">
  900. \t\t\t\t\t\t\t\t\t\t<path d=\"M10.415,9.752c0.252,0.254,0.303,0.611,0.114,0.8l0,0c-0.188,0.188-0.545,0.136-0.798-0.118L0.242,0.913 C-0.011,0.658-0.062,0.3,0.127,0.111l0,0C0.316-0.075,0.673-0.023,0.926,0.23L10.415,9.752z\"></path>
  901. \t\t\t\t\t\t\t\t\t\t<path d=\"M0.229,9.779c-0.253,0.253-0.305,0.609-0.117,0.799l0,0c0.188,0.189,0.545,0.138,0.799-0.115l9.515-9.495 c0.253-0.254,0.305-0.611,0.117-0.801l0,0C10.355-0.021,9.998,0.03,9.744,0.283L0.229,9.779z\"></path>
  902. \t\t\t\t\t\t\t\t\t</svg>
  903. \t\t\t\t </span>
  904. <div>
  905. <label class=\"qodef-sp-prevent-label\">{{ \x27base.agree\x27| trans }}
  906. #}{# {{ path(\x27app_web_shop_detail\x27) }} #}{#
  907. <a class=\"qodef-sp-prevent-label\" style=\"color: white;\" href=\"{{ asset(\x27build/files/gdpr_\x27~app.request.locale~\x27.pdf\x27) }}\"
  908. target=\"_blank\"> {{ \x27newsletter.url\x27|trans }}
  909. </a>
  910. </label>
  911. </div>
  912. </div>
  913. </div> #}
  914. </div>
  915. </div>
  916. </div>
  917. </div>
  918. </div>
  919. {# <a id=\"qodef-back-to-top\" href=\"#\">#}
  920. {# <span class=\"qodef-icon-stack\">#}
  921. {#\t <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"#}
  922. {# x=\"0px\" y=\"0px\" viewbox=\"0 0 15 25\" style=\"enable-background:new 0 0 15 25;\"#}
  923. {# xml:space=\"preserve\">#}
  924. {#\t\t\t\t\t<style type=\"text/css\">.bttst0 {#}
  925. {# fill: none;#}
  926. {# stroke: #A95530;#}
  927. {# stroke-width: 0.75;#}
  928. {# stroke-miterlimit: 10;#}
  929. {# }#}
  930. {# .bttst1 {#}
  931. {# fill: #FFFFFF;#}
  932. {# stroke: #A95530;#}
  933. {# stroke-width: 0.75;#}
  934. {# stroke-miterlimit: 10;#}
  935. {# }</style>#}
  936. {#\t\t\t\t\t<line class=\"bttst0\" x1=\"7.3\" y1=\"2\" x2=\"7.3\" y2=\"24\"></line>#}
  937. {#\t\t\t\t\t<path class=\"bttst1\" d=\"M13.7,9\"></path>#}
  938. {#\t\t\t\t\t<path class=\"bttst1\" d=\"M0.6,9\"></path>#}
  939. {#\t\t\t\t\t<path class=\"bttst0\" d=\"M13.7,9\"></path>#}
  940. {#\t\t\t\t\t<path class=\"bttst0\" d=\"M14.3,1.6\"></path>#}
  941. {#\t\t\t\t\t<polyline class=\"bttst0\" points=\"14.1,9.1 7.3,2 0.6,9.1 \"></polyline>#}
  942. {#\t\t\t\t\t</svg>#}
  943. {#\t <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"#}
  944. {# x=\"0px\" y=\"0px\" viewbox=\"0 0 15 25\" style=\"enable-background:new 0 0 15 25;\"#}
  945. {# xml:space=\"preserve\">#}
  946. {#\t\t\t\t\t<style type=\"text/css\">.st00 {#}
  947. {# fill: none;#}
  948. {# stroke: #A95530;#}
  949. {# stroke-width: 0.75;#}
  950. {# stroke-miterlimit: 10;#}
  951. {# }#}
  952. {# .st11 {#}
  953. {# fill: #FFFFFF;#}
  954. {# stroke: #A95530;#}
  955. {# stroke-width: 0.75;#}
  956. {# stroke-miterlimit: 10;#}
  957. {# }</style>#}
  958. {#\t\t\t\t\t<line class=\"st00\" x1=\"7.3\" y1=\"2\" x2=\"7.3\" y2=\"24\"></line>#}
  959. {#\t\t\t\t\t<path class=\"st11\" d=\"M13.7,9\"></path>#}
  960. {#\t\t\t\t\t<path class=\"st11\" d=\"M0.6,9\"></path>#}
  961. {#\t\t\t\t\t<path class=\"st00\" d=\"M13.7,9\"></path>#}
  962. {#\t\t\t\t\t<path class=\"st00\" d=\"M14.3,1.6\"></path>#}
  963. {#\t\t\t\t\t<polyline class=\"st00\" points=\"14.1,9.1 7.3,2 0.6,9.1 \"></polyline>#}
  964. {#\t\t\t\t\t</svg>#}
  965. {# </span>#}
  966. {# </a>#}
  967. {{ include(\x27web/core/side-menu.html.twig\x27) }}
  968. {{ render(controller(\x27App\\\\Controller\\\\Web\\\\DefaultController::_modal\x27,{ \x27locale\x27: app.request.locale})) }}
  969. {# {{ include(\x27web/core/modal.html.twig\x27) }} #}
  970. {% block body %}{% endblock %}
  971. <style>
  972. /* Responzivní styly pro mobilní rozlišení */
  973. @media only screen and (max-width: 1385px) {
  974. .qodef-page-footer .qodef-footer-bottom-holder .qodef-grid-col-6 {
  975. float: left;
  976. width: 50%
  977. }
  978. .qodef-page-header {
  979. display: none
  980. }
  981. }
  982. </style>
  983. {{ encore_entry_script_tags(\x27web\x27) }}
  984. <script src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyCra5ORaJVGzW0zijMBTUhc-uYSBHe6j7o&amp;callback=initMap\"
  985. async defer></script>
  986. <script>
  987. function changeContent(contentId) {
  988. var allContent = document.querySelectorAll(\x27#sidepanel > div\x27);
  989. for (var i = 0; i < allContent.length; i++) {
  990. allContent[i].style.display = \x27none\x27;
  991. }
  992. var selectedContent = document.getElementById(contentId);
  993. selectedContent.style.display = \x27block\x27;
  994. return false; // Zabraňuje přechodu na novou stránku po kliknutí na odkaz
  995. }
  996. \$(\x27.js-modal-closed\x27).on(\x27click\x27, function () {
  997. let iid = \$(this).data(\x27id\x27);
  998. Cookies.set(\x27modal_\x27 + iid, iid, {expires: 3});
  999. \$(this).closest(\x27.modal__wrapper\x27).hide();
  1000. });
  1001. \$(\x27#cross-icon,#cross-icon2\x27).on(\x27click\x27, function () {
  1002. // Skryjeme sidepanel
  1003. \$(\x27#opening_hours\x27).hide();
  1004. \$(\x27#where_to_us\x27).hide();
  1005. // Odebereme třídy pro otevřený sidepanel
  1006. \$(\x27.qodef-side-menu-slide-from-right.qodef-right-side-menu-opened\x27).removeClass(\x27qodef-right-side-menu-opened\x27);
  1007. \$(\x27.qodef-cover\x27).removeClass(\x27opened\x27);
  1008. });
  1009. </script>
  1010. <script>
  1011. // Získáme aktuální jazyk, případně defaultní hodnotu \"cs\"
  1012. const language = document.documentElement.lang || \x27cs\x27;
  1013. // Podmíněně vybereme skript na základě jazyka
  1014. if (language === \x27cs\x27) {
  1015. var feed = new InstafeedWeb({
  1016. accessToken: \x27IGAAMKrDjOK79BZAFlvdWIyb05RaHpOTDNfNTJ4WTRFbnpHcG1CN3QyZA1pjR2pKZA0prR215SWRsbnkweWRKRFgyWTJIcllJbXNjRmstWHg2clF4UFduRDEzRnVQdGxFdTBKR0ZArS2RwWEpDV203LTdCa0ZAGOXhBeXN4QkFvRFlISQZDZD\x27,
  1017. limit: 6,
  1018. });
  1019. feed.run();
  1020. } else if (language === \x27de\x27 || language === \x27en\x27) {
  1021. var feed = new InstafeedWeb({
  1022. accessToken: \x27IGAALI6fWoNOdBZAFpDdkNOeXpYU2Vjajg1eU0zcjZAuUk5sZATFYLW10YlBlZAWFQU2pwWGpBUGs3MEFYVGVpSE1KVXdRNFR3MEtPcjNBRXQ2dzByN2tRWlhfeURLUUtIZAEhYRlBTdERaNG9JazdWc00xeXlrQzJNRUdvQ3lzckZAIcwZDZD\x27,
  1023. limit: 6,
  1024. });
  1025. feed.run();
  1026. }
  1027. </script>
  1028. <script>
  1029. // Funkce pro zobrazení Newsletter modal, pokud ještě nebyl zavřen
  1030. function showPopupIfNotClosed() {
  1031. var popupOpener = \$(\x27#qodef-popup-holder\x27);
  1032. var disabledPopup = localStorage.getItem(\x27disabledPopup\x27);
  1033. if (popupOpener.length && disabledPopup !== \x27yes\x27) {
  1034. // Pokud popup ještě nebyl zavřen, zobrazíme ho
  1035. popupOpener.show();
  1036. // Dáme popupu třídu \"qodef-sp-opened\", aby se zobrazil
  1037. \$(\x27body\x27).addClass(\x27qodef-sp-opened\x27);
  1038. }
  1039. }
  1040. // Funkce pro zavření Newsletter modal a uložení stavu do localStorage
  1041. function closePopup() {
  1042. var popupOpener = \$(\x27#qodef-popup-holder\x27);
  1043. if (popupOpener.length) {
  1044. // Schováme popup
  1045. popupOpener.hide();
  1046. // Odebereme třídu \"qodef-sp-opened\" z body
  1047. \$(\x27body\x27).removeClass(\x27qodef-sp-opened\x27);
  1048. // Uložíme do localStorage, že Newsletter modal byl zavřen
  1049. localStorage.setItem(\x27disabledPopup\x27, \x27yes\x27);
  1050. }
  1051. }
  1052. // Spustíme funkci showPopupIfNotClosed po načtení stránky
  1053. \$(document).ready(function () {
  1054. showPopupIfNotClosed();
  1055. });
  1056. // Nastavíme kliknutí na křížek, aby se popup zavřel a uložil stav do localStorage
  1057. \$(\x27.qodef-sp-close\x27).on(\x27click\x27, function (e) {
  1058. e.preventDefault();
  1059. closePopup();
  1060. });
  1061. </script>
  1062. <script>
  1063. document.addEventListener(\x27DOMContentLoaded\x27, function () {
  1064. var checkbox = document.querySelector(\x27.custom-checkbox\x27);
  1065. if (checkbox) {
  1066. checkbox.addEventListener(\x27click\x27, function () {
  1067. checkbox.classList.toggle(\x27checked\x27);
  1068. });
  1069. }
  1070. });
  1071. </script>
  1072. <script type=\"text/javascript\">
  1073. setTimeout(() => {
  1074. \$(\x27body\x27).ihavecookies({
  1075. title: \"{{ \x27cookies.title\x27|trans }}\",
  1076. message: \"{{ \x27cookies.message\x27|trans }}\",
  1077. link: \x27https://policies.google.com/technologies/partner-sites?hl=cs\x27,
  1078. delay: 0,
  1079. moreInfoLabel: \"{{ \x27cookies.moreInfoLabel\x27|trans }}\",
  1080. acceptBtnLabel: \"{{ \x27cookies.acceptBtnLabel\x27|trans }}\",
  1081. advancedBtnLabel: \"{{ \x27cookies.advancedBtnLabel\x27|trans }}\",
  1082. cookieTypesTitle: \"{{ \x27cookies.cookieTypesTitle\x27|trans }}\",
  1083. fixedCookieTypeLabel: \"{{ \x27cookies.fixedCookieTypeLabel\x27|trans }}\",
  1084. fixedCookieTypeDesc: \"{{ \x27cookies.fixedCookieTypeDesc\x27|trans }}\",
  1085. onAccept: () => {
  1086. console.log(\x27Accept cookies clicked...\x27);
  1087. },
  1088. cookieTypes: [
  1089. {
  1090. type: \"{{ \x27cookies.cookieTypes.analytics.title\x27|trans }}\",
  1091. value: \x27analytics\x27,
  1092. description: \"{{ \x27cookies.cookieTypes.analytics.description\x27|trans }}\"
  1093. },
  1094. ],
  1095. });
  1096. }, 1000)
  1097. </script>
  1098. {% block javascripts %}{% endblock %}
  1099. </div>
  1100. </div>
  1101. <!-- chatbot -->
  1102. <style>
  1103. button[aria-label=\"Open chat\"] {
  1104. background-color: transparent !important;
  1105. width: 77px !important;
  1106. height: 95px !important;
  1107. border-radius: 0 !important;
  1108. box-shadow: none !important
  1109. }
  1110. button[aria-label=\"Open chat\"] img {
  1111. border-radius: 0 !important
  1112. }
  1113. </style>
  1114. <script>
  1115. (function () {
  1116. var s = document.createElement(\"script\");
  1117. s.src = \"https://newai.goldenorange.cz/embed/agent-widget.js?v=\" + Date.now();
  1118. s.setAttribute(\"data-pid\", \"2390\");
  1119. s.setAttribute(\"data-cid\", \"EecoIlQjaX0BGZr855hZSLUz0YOf9-6RlXeYI6Y78A\");
  1120. document.body.appendChild(s);
  1121. })();
  1122. </script>
  1123. </body>
  1124. </html>
  1125. ", "web/base.html.twig", "/var/www/templates/web/base.html.twig");
  1126. }
  1127. }