var/cache/dev/twig/ee/ee42e9ad3ce72f7f18851eab4cd9bb0d.php line 65

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/default/shops.html.twig */
  18. class __TwigTemplate_1b34b7fbedee8598e99009b69003ccda 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->blocks = [
  32. 'title' => [$this, 'block_title'],
  33. 'keywords' => [$this, 'block_keywords'],
  34. 'description' => [$this, 'block_description'],
  35. 'javascripts' => [$this, 'block_javascripts'],
  36. 'body' => [$this, 'block_body'],
  37. ];
  38. }
  39. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  40. {
  41. // line 1
  42. return $this->parent ??= $this->load("web/base.html.twig", 1);
  43. }
  44. protected function doDisplay(array $context, array $blocks = []): iterable
  45. {
  46. $macros = $this->macros;
  47. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  48. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/shops.html.twig"));
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/shops.html.twig"));
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/shops.html.twig"));
  53. $this->parent = $this->load("web/base.html.twig", 1);
  54. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  55. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  57. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58. }
  59. // line 3
  60. /**
  61. * @return iterable<null|scalar|\Stringable>
  62. */
  63. public function block_title(array $context, array $blocks = []): iterable
  64. {
  65. $macros = $this->macros;
  66. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  67. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  68. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  70. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  72. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.title", [], "web"), "html", null, true);
  73. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  76. return; yield;
  77. }
  78. // line 4
  79. /**
  80. * @return iterable<null|scalar|\Stringable>
  81. */
  82. public function block_keywords(array $context, array $blocks = []): iterable
  83. {
  84. $macros = $this->macros;
  85. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  86. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  87. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  89. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
  91. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.keywords", [], "web"), "html", null, true);
  92. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  95. return; yield;
  96. }
  97. // line 5
  98. /**
  99. * @return iterable<null|scalar|\Stringable>
  100. */
  101. public function block_description(array $context, array $blocks = []): iterable
  102. {
  103. $macros = $this->macros;
  104. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  105. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  106. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  108. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  110. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.metaDescription", [], "web"), "html", null, true);
  111. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  114. return; yield;
  115. }
  116. // line 9
  117. /**
  118. * @return iterable<null|scalar|\Stringable>
  119. */
  120. public function block_javascripts(array $context, array $blocks = []): iterable
  121. {
  122. $macros = $this->macros;
  123. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  124. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  125. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  127. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  129. // line 10
  130. yield "
  131. <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  132. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js\"></script>
  133. <script>
  134. \$(document).ready(function () {
  135. let \$grid = \$(\x27.qodef-cg-inner\x27).isotope({
  136. itemSelector: \x27.qodef-cc-item\x27,
  137. layoutMode: \x27fitRows\x27
  138. });
  139. let forMap = JSON.parse(\x27";
  140. // line 21
  141. yield (string) $this->escaper->escape(json_encode((isset($context["forMap"]) || array_key_exists("forMap", $context) ? $context["forMap"] : (function () { throw new RuntimeError('Variable "forMap" does not exist.', 21, $this->source); })())), "js");
  142. yield "\x27);
  143. let category = \x27";
  144. // line 23
  145. yield (string) (( !(null === (isset($context["categoryActive"]) || array_key_exists("categoryActive", $context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.', 23, $this->source); })()))) ? ($this->escaper->escape((".category_" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive", $context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.', 23, $this->source); })()), "id", [], "any", false, false, false, 23)), "html", null, true)) : ("all"));
  146. yield "\x27;
  147. function filter(){
  148. if(\$(\x27.filter-vip\x27).hasClass(\x27active\x27)){
  149. if (category === \x27all\x27) {
  150. \$grid.isotope({filter: \".isVip:not(.category_8)\"});
  151. } else {
  152. \$grid.isotope({filter: category+ \x27.isVip\x27}); // Použít filtrovací kategorii
  153. }
  154. }else {
  155. if (category === \x27all\x27) {
  156. \$grid.isotope({filter: \":not(.category_8)\"}); // Zobrazit všechna data
  157. } else {
  158. \$grid.isotope({filter: category}); // Použít filtrovací kategorii
  159. }
  160. }
  161. \$(\x27.qodef-pl-filter\x27).removeClass(\x27active\x27);
  162. \$(\x27.qodef-pl-filter[data-filter=\"\x27 + category + \x27\"]\x27).addClass(\x27active\x27);
  163. // Přidání cesty do URL
  164. var newUrl = window.location.pathname + \x27?filter=\x27 + category;
  165. history.pushState(null, null, newUrl);
  166. }
  167. \$(\x27body\x27).on(\x27click\x27,\x27.filter-vip\x27,function (){
  168. \$(this).toggleClass(\x27active\x27);
  169. filter();
  170. }).on(\x27change\x27, \x27#filter-shop\x27, function () {
  171. window.location.href = \$(this).find(\x27:selected\x27).data(\x27url\x27);
  172. }).on(\x27click\x27, \x27.qodef-pl-filter\x27, function () {
  173. category = \$(this).data(\x27filter\x27);
  174. filter();
  175. /*
  176. * MAPA START
  177. */
  178. }).on(\x27mouseenter\x27, \x27#svg_map path\x27, function (e) {
  179. let data = forMap[\$(this).attr(\x27id\x27)];
  180. if (typeof data !== \x27undefined\x27) {
  181. showModal(e);
  182. }
  183. }).on(\x27mouseleave\x27, \x27#svg_map path\x27, function (e) {
  184. \$(\x27#panel-container\x27).hide();
  185. })
  186. function showModal(e) {
  187. let modal = \$(\x27#panel-container\x27);
  188. let data = forMap[\$(e.target).attr(\x27id\x27)]
  189. modal.find(\x27.vip\x27).hide();
  190. if (data[\x27vip\x27]) {
  191. modal.find(\x27.vip\x27).show();
  192. }
  193. modal.find(\x27#shop-logo\x27).attr(\x27src\x27, data[\x27logo\x27]);
  194. modal.find(\x27#param-btn\x27).attr(\x27href\x27, data[\x27url\x27]);
  195. modal.find(\x27#panel-title\x27).html(data[\x27name\x27]);
  196. modal.find(\x27#param-id\x27).html(data[\x27number\x27]);
  197. modal.find(\x27#param-phone\x27).html(data[\x27phone\x27]);
  198. modal.find(\x27#param-open-hours\x27).html(data[\x27open\x27]);
  199. modal.find(\x27#param-email\x27).html(data[\x27email\x27]);
  200. modal.css(\x27transform\x27, \x27translate(\x27 + (e.pageX - \$(\x27#svgmap-new\x27).offset().left) + \x27px, \x27 + (e.pageY - \$(\x27#svgmap-new\x27).offset().top) + \x27px) translate(-50%, -110%)\x27).show();
  201. }
  202. \$(document).on(\x27click\x27, \x27.mapa-link\x27, function (e) {
  203. e.preventDefault(); // Prevent the default link behavior
  204. let data = forMap[\$(this).attr(\x27id\x27)];
  205. if (typeof data !== \x27undefined\x27 && data[\x27url\x27]) {
  206. window.location.href = data[\x27url\x27]; // Redirect to the URL specified in data[\x27url\x27]
  207. }
  208. });
  209. filter();
  210. // JavaScript pro zavření mapa-panelu po kliknutí na křížek
  211. /* \$(document).ready(function() {
  212. \$(\x27#close-panel\x27).on(\x27click\x27, function() {
  213. \$(\x27#panel-container\x27).hide();
  214. });
  215. });*/
  216. /*
  217. * MAPA END
  218. */
  219. });
  220. </script>
  221. ";
  222. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  223. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  224. $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  225. return; yield;
  226. }
  227. // line 118
  228. /**
  229. * @return iterable<null|scalar|\Stringable>
  230. */
  231. public function block_body(array $context, array $blocks = []): iterable
  232. {
  233. $macros = $this->macros;
  234. $__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  235. $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  236. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  237. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  238. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  239. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  240. // line 119
  241. yield " ";
  242. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/header.html.twig");
  243. yield "
  244. <div class=\"qodef-content shops\">
  245. <div class=\"qodef-content-inner\">
  246. <div class=\"qodef-full-width\">
  247. <div class=\"qodef-full-width-inner\">
  248. <div class=\"qodef-grid-row\">
  249. <div class=\"qodef-page-content-holder qodef-grid-col-12\">
  250. <div class=\"qodef-row-grid-section-wrapper \">
  251. <div class=\"qodef-row-grid-section\">
  252. <div class=\"vc_column-inner\">
  253. <div class=\"wpb_wrapper\">
  254. <div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
  255. <div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
  256. <a itemprop=\"url\" href=\"";
  257. // line 132
  258. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_homepage");
  259. yield "\">";
  260. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("breadcrumb.home", [], "web"), "html", null, true);
  261. yield "</a>
  262. <span class=\"qodef-delimiter\">&nbsp; / &nbsp</span>
  263. <a itemprop=\"url\" href=\"";
  264. // line 134
  265. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_shops");
  266. yield "\">";
  267. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.title", [], "web"), "html", null, true);
  268. yield "</a>
  269. </div>
  270. </div>
  271. <div class=\"qodef-section-title-holder\" style=\"text-align: center;\">
  272. <div class=\"qodef-st-inner\">
  273. <h1 class=\"qodef-st-title\">";
  274. // line 139
  275. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.mapTitle", [], "web"), "html", null, true);
  276. yield "</h1>
  277. <p class=\"qodef-st-text\">";
  278. // line 140
  279. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.mapText", [], "web"), "html", null, true);
  280. yield "</p>
  281. </div>
  282. </div>
  283. <div id=\"svgmap-new\">
  284. <div id=\"panel-container\" class=\"mapa-panel\">
  285. <div>
  286. ";
  287. // line 154
  288. yield "
  289. <div class=\"panel-logo\">
  290. <img id=\"shop-logo\" src=\"\" alt=\"Logo\" loading=\"lazy\">
  291. <div style=\"text-align: center;\">
  292. <span class=\"vip\">
  293. <img src=\"";
  294. // line 159
  295. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/vip/vip-mark.svg"), "html", null, true);
  296. yield "\" alt=\"\" loading=\"lazy\" style=\"max-width: 50px !important;\">
  297. </span>
  298. </div>
  299. </div>
  300. ";
  301. // line 164
  302. yield " ";
  303. // line 165
  304. yield " <div class=\"panel-content\">
  305. <div class=\"contact-info\">
  306. <div id=\"panel-title\" class=\"mapa-panel-title\"></div>
  307. <div class=\"param\">
  308. <span class=\"param-label\">";
  309. // line 169
  310. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mapCenter.modal.openHour", [], "web"), "html", null, true);
  311. yield "</span>
  312. <span id=\"param-open-hours\" class=\"param-value\"></span>
  313. </div>
  314. <div class=\"param\">
  315. <span class=\"param-label\">";
  316. // line 173
  317. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mapCenter.modal.phone", [], "web"), "html", null, true);
  318. yield "</span>
  319. <span id=\"param-phone\" class=\"param-value\"></span>
  320. </div>
  321. <div class=\"param\">
  322. <span class=\"param-label\">";
  323. // line 177
  324. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mapCenter.modal.email", [], "web"), "html", null, true);
  325. yield "</span>
  326. <span id=\"param-email\" class=\"param-value\"></span>
  327. </div>
  328. </div>
  329. <a id=\"param-btn\" href=\"\">
  330. </a>
  331. </div>
  332. </div>
  333. </div>
  334. <div id=\"mapa-layer\" class=\"shops-map\">
  335. <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 1240.1 620\"
  336. xml:space=\"preserve\" id=\"svg_map\">
  337. ";
  338. // line 191
  339. $context["items"] = ["2" => "M608.1,374.5l0.5,36.6h-30.1v59.1l-29.8-0.5l1.8-99.5C550.5,370.3,574.5,375.1,608.1,374.5z", "3" => "M518.1,468.8l-1.3-22l3.5-76.5c0,0,23.7-2.3,28.8-3.8l-2.8,81.6l1,21.7L518.1,468.8z", "4" => "M490.3,373.3l-4.8,72.8l1.3,22l31.3,0.8l-1.3-22l3.5-76.5C520.4,370.3,505.3,373,490.3,373.3z", "4a" => "M465.1,466l-2-22.2l5.6-70c0,0,18.2-0.1,20.4-0.3l-3.4,72.5l1.3,22L465.1,466z", "wc" => "M449.2,374l-6.3,69.5l2,21.2l20.2,1.3l-2-22.2l5.6-70C468.6,373.8,462.8,374.5,449.2,374z", "5" => "M407,377.3l-8.3,68.5l1.8,15.9l44.5,3l-1.5-16.9l5.1-67.5C448.4,380.4,438.1,381.6,407,377.3z", "6" => "M354.7,456.7l-2.8-15.9l9.3-63.9l11.1-5.6c0,0,27.9,5.9,32.2,5.9l-5.9,68.6l1.8,15.9L354.7,456.7z", "7" => "M313.8,451.3l-3.8-21.2l9.3-52.5c0,0,21.7,2.5,38.9-6.1l0.5,5.6l-9.3,58.1l3.5,21.7L313.8,451.3z", "101" => "M311.7,451.1l-4-19.2l9.5-51.7c0,0-23.2,0.9-39.9-15.3l-67.2,42.2l5.3,18.9 C215.5,426.1,249.6,442.5,311.7,451.1z", "102" => "M197.8,327.8l71.2,0.5l5.8,20.5c0,0-3.4,10.4,2.1,15.7l-66.8,42.6l5.3,18.9 C215.5,426.1,191.5,404.6,197.8,327.8z", "8" => "M202.3,295.7l-4.3,30.1l71.5,0.8l5.3,22.2c0,0,1.5-9.3,18.9-21.7l0.5-11.6l-5.1-20.2L202.3,295.7z", "9" => "M208.7,266.2 202.3,295.7 289.3,295.2 294.3,315.4 295.6,288.1 291,265.4z", "10" => "M216,237.6l-7.3,28.5l82.4-0.8l4.5,22.7c0,0,4-26.3,5.6-29.1l-4.3-21.5H216z", "11" => "M225.8,212.9l-9.9,24.8h80.8l4.3,21.5c0,0,6.3-16.7,11.1-27l-3.3-19.5L225.8,212.9z", "13" => "M237,183.6l-10.6,27.3l83.1-0.5l3.5,20.4l2.1-3.2l-3-20.7l-6.3-7.6c0,0-5.8-4.8-6.1-15.7H237z", "103" => "M264.4,140.3l43.5,28.6s0,0,0,0h0s.1.1.1.1h0c0,.1,4.1,21.5,4.1,21.5l-5.6,8.8c-2.1-2.7-3.5-5.1-4.2-7.3-.7-2.2-1.2-5.4-1.5-9.7h0s-61.8,0-61.8,0c2.5-6.5,5.3-12.5,8.6-18,3.3-5.6,8.9-13.5,16.7-24Z", "14" => "M394.6,104.2l-5.6,43.9l1.5,24.1c0,0-7.3-5.3-26.8-4.3l-4.3-24l7.3-37.4L394.6,104.2z", "104" => "M365.4,108.4l-6.8,38.3h-.1s4.6,20.8,4.6,20.8c-7,1.1-11.9,2-14.7,2.6-5.9,1.3-10.5,3-13.9,4.3-4.1,1.7-8.9,3.8-14.4,7.7-1.5,1.1-4,3.1-7.4,6.2l-3.6-19.6.2-.3s0,0,0,0l-44.2-28.9c3.8-6.3,13.9-11.8,30.2-16.5,16.3-4.6,39.7-9.5,70.2-14.8Z", "15" => "M396.6,109.3l-6.6,45.2l1.5,18.2c0,0,5.6-0.3,13.6,5.8c0,0,7.1-1.5,16.2-3.3l-2.3-18.2l5.8-49.8L396.6,109.3z", "16" => "M453.2,105.7l-4.8,48l1.8,19.2c0,0-16.9,0.3-28.8,2.3l-1.4-18.5l4.9-49.5L453.2,105.7z", "18" => "M539.9,102.7l-2,53.1l1.3,20c0,0-24.3-6.3-88.9-2.8l-0.3-19.3l3.3-47.9L539.9,102.7z", "20" => "M542.6,102l-2.3,54.1l0.5,19.7c0,0,4,1.8,26.8-1.3l0.3-20l1.3-53.6L542.6,102z", "21" => "M572.2,105.2l-2,53.6V174c0,0,12.6-2.3,28-2.5l0.5-66.2H572.2z", "22" => "M626.3,101.5 627.8,171.7 599.4,171.4 600.5,101.2z", "23" => "M628.8,103 629.1,171.7 659.1,171.4 657.1,102.7z", "24" => "M659.1,103.2l1.5,68.1c0,0,20.1,0.3,31.3,3.9l0.4-18.7l-3-52.8L659.1,103.2z", "wc2" => "M691.9,98.9l2,53.6l-0.6,22.8c0,0,8.2-2.4,17.1-2.9l0.5-22.2l-3.5-51L691.9,98.9z", "25" => "M745.5,106.5l3.5,47.2v18.2c0,0-18.2-1.4-36.9,0.2l-1.5-66.9L745.5,106.5z", "26" => "M748.8,101.7l2.8,47.5l-0.9,22.7c0,0,24.9-1.2,54.5,2.3l1.8-23.2l-6.1-47.2L748.8,101.7z", "28" => "M849.8,115.1l6.3,39.2l-1.5,15.2c0,0-10.9,0.8-23,9.6l-25-4.3l1.5-15.9l-6.3-48L849.8,115.1z", "30" => "M873.6,109 879.9,145.4 876.4,169.9 856.2,169.2 858.7,145.4 853.1,107.3z", "105" => "M940.5,122.9l-36.6,28.8l-3.2,22l-23.1-3.8l4.3-23l-7.1-36.6C874.9,110.3,900.6,111.8,940.5,122.9z", "106" => "M902.1,174l3.8-22l36.9-28.3c0,0,27.8-5.8,53.1,58.4l-59.6,1c0,0,2.7,9-4.2,17.7 C932.1,200.8,927.1,179.5,902.1,174z", "31" => "M922.3,231.3l2.8-17.4l79.8,0.8l0.5-3.5l-9.3-27.5l-59.9-0.5c0,0,4.3,14.9-12.4,25.5l-3.3,18.2L922.3,231.3z", "32" => "M933.7,258.8l2.8-17.7h77.6l-8.1-25.3h-79.8l-3.3,16.7C922.9,232.6,930.2,241.4,933.7,258.8z", "34" => "M943.3,269.2l78.2,0.6l-7.5-28.6h-77.6l-2.8,17.7c0,0,3.5,12.6,5.6,28L943.3,269.2z", "35" => "M943.3,299.8l84.1,0.3l-5.6-29.3h-78.6l-3.8,17.7c0,0,2.8,25.5-1,36.6l3-17.7L943.3,299.8z", "107" => "M959.7,362.2l65.2,41.4c0,0,18.2-36.5,2.7-102.9l-84.3-0.9l-4.8,25.3C938.5,325,972.1,344.7,959.7,362.2z", "108" => "M920.3,379.6l9.1,52.3l-4.5,20c0,0,77.8-12.6,94.5-28.3l5.6-20l-65.2-41.4C959.7,362.2,948.1,379.1,920.3,379.6z", "37" => "M878.1,370l9.9,64.4l-4.5,23.2l41.4-5.8l3-23.5l-8.6-52.3C919.3,376.1,899.1,378.1,878.1,370z", "38" => "M840.7,461.7l2.5-19.5l-8.1-70.2c0,0,24-3.5,28.3-5.3l11.9,6.1l9.9,65.9l-1.8,18.9 C883.4,457.7,866,460.7,840.7,461.7z", "39" => "M795.3,376.3l7.3,68.5l-2.8,20.5l40.9-3.5l2.5-19.5l-8.1-70.2C835.2,372,823.1,375.1,795.3,376.3z", "40" => "M730.1,372.3l4.3,73.8l-2,22.5l67.5-3.3l2.8-20.5l-7.3-68.5C795.3,376.3,788.2,376.8,730.1,372.3z", "42" => "M657.8,369.7l1.5,100l73-1.3l2-22.5l-6.8-74.3c0,0-10.6-0.3-32.3-4.8C695.2,367,679.1,370.3,657.8,369.7z", "52" => "M392.3,254.8l-9.3,66.4l2.3,17.7c0,0,43.2,5.8,82.6,3.5l-2-18.4l6.1-69L392.3,254.8z", "50" => "M504.2,254.8l-3.8,67.7l0.8,17.9c0,0-20.7,3-33.3,2l-2-18.4l6.1-69L504.2,254.8z", "48" => "M553,254.8l-1.3,78.3c0,0-30.3,6.8-50,6.1l-1.3-16.7l3.8-67.7H553z", "47" => "M589.4,254.8l-1.3,75c0,0-29.6,2.5-36.4,3.3l1.3-78.3H589.4z", "46" => "M627.3,254.5l0.8,75c0,0-28.5-0.3-39.9,0.3l1.3-75L627.3,254.5z", "45" => "M628.3,258.1l-0.3,71.5c0,0,34.9,0,41.2,2l-2.3-74L628.3,258.1z", "86" => "M669,253l0.3,78.6c0,0,34.9,2.5,62.4,7.8l1-20.5l-4.3-64.9L669,253z", "84" => "M772.5,257.1l7.1,69.7l-1,15.9c0,0-33.1-1.3-47-3.3l0.8-15.2l-2.5-67.5L772.5,257.1z", "83" => "M774.6,255.6 780.9,324.3 778.6,342.7 815.5,342.2 816.7,323.5 809,255.4z", "81" => "M810.4,256.1 844,256.1 853.9,323.3 852.4,339.9 815.5,342.2 817.5,324.5z", "59" => "M401.1,192.2l-8.2,59.8l-0.5,2.8h30.6l-0.3-3l7.1-59.9C429.7,191.9,410.5,191.6,401.1,192.2z", "60" => "M456.5,191.4l-5.1,63.4h-28.5l6.8-62.9C429.7,191.9,436,191.1,456.5,191.4z", "61" => "M485.5,193.7l-3.8,60.9l-30.3,0.3l6.8-61.9C458.3,192.9,471.4,191.9,485.5,193.7z", "62" => "M511.1,254.5l3-60.4c0,0-10.9-2.8-27.3-1.8l-5.1,62.1H511.1z", "63" => "M541.1,198.7l-1,55.6l-29.1-1l3-59.1C514.1,194.2,529.8,194.4,541.1,198.7z", "64" => "M567.1,198 566.6,254.8 540.1,254.3 542.4,196.4z", "65" => "M568.4,201.7l-0.7,52.8l26.8,0.3l-0.5-52C593.9,202.8,583.8,202.5,568.4,201.7z", "66" => "M640.1,203.4l1.3,54.6l-13.1,0.2l-1-3.5l-31.6-0.3l-0.4-51.4C595.3,202.9,608.5,203.9,640.1,203.4z", "68" => "M670.6,197.3l-0.1,55.7H669l-0.3,4.3l-26.5,0.3v-57.3C642.2,200.2,659.4,200.2,670.6,197.3L670.6,197.3z", "69" => "M670.7,202.8l-0.3,50.3l53.1,0.3l-2.1-56.6C721.5,196.7,701.5,200.5,670.7,202.8z", "71" => "M753.3,256.3l-4.8-62.4c0,0-15.7,2.3-27.1,2.8l2.1,56.6l4.8,0.8l0.3,3L753.3,256.3z", "72" => "M776.8,192.4l6.6,62.7l-8.8,0.5l-2,1.5l-19.2-0.8l-3.5-63.2C749.8,193.2,763.4,192.1,776.8,192.4z", "73" => "M779.4,192.7 783.4,255.1 814.9,255.5 805.6,192.1z", "74" => "M808.4,190.9l7.1,57.9l-0.3,7.1l28.8,0.3l1.3-6.8l-8.1-56.6C837.2,192.7,827.4,190.4,808.4,190.9z", "80" => "M852.4,295.9l3,21.3l-3,22.7c0,0,29.3,2.3,38.9-26.3l2-17.7L852.4,295.9z", "79" => "M849.3,272.7l2.8,22.2h41.4l-2.3,18.7c0,0,9.3-26.5,8.3-40.4L849.3,272.7z", "78" => "M846.3,251l3,21.7l50.3,0.5c0,0,1-15.2-1.8-22L846.3,251z", "77" => "M843.8,230.8l2.5,20.2l51.5,0.3c0,0-2-13.9-6.1-20.2L843.8,230.8z", "76" => "M840.2,210.8l3.5,20l48,0.3c0,0-2.8-13.1-13.4-20.5L840.2,210.8z", "75" => "M838.2,193.2l2,17.7l38.1-0.3C878.4,210.6,868.8,195.7,838.2,193.2z", "58" => "M358.1,209.7l38.8,0.6l2.8-18.2c0,0-31.4-0.9-45,17.4L358.1,209.7z", "57" => "M393.1,229.5l3-18.5l-42.2-0.8c0,0-8.8,11.5-11.4,18.3L393.1,229.5z", "56" => "M342.2,229.2c0,0-5.2,11.7-6.3,20.1l54.8,0.7l2.2-19.8L342.2,229.2z", "55" => "M335.8,250.1c0,0-2.8,9.8-1.3,21.4l53.3,0.5l3-22L335.8,250.1z", "54" => "M334.7,273c0,0-1.3,8.8,3.2,21.5l47.1,0l2.8-22.5L334.7,273z", "53" => "M384.6,294.7l-2.4,21.8l3,22.5c0,0-43.8,1-47.4-44.4L384.6,294.7z"];
  340. // line 273
  341. yield "
  342. ";
  343. // line 274
  344. $context['_parent'] = $context;
  345. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 274, $this->source); })()));
  346. foreach ($context['_seq'] as $context["id"] => $context["coords"]) {
  347. // line 275
  348. yield " <path id=\"";
  349. yield (string) $this->escaper->escape($context["id"], "html", null, true);
  350. yield "\" d=\"";
  351. yield (string) $this->escaper->escape($context["coords"], "html", null, true);
  352. yield "\" class=\"mapa-link\"></path>
  353. ";
  354. }
  355. $_parent = $context['_parent'];
  356. unset($context['_seq'], $context['id'], $context['coords'], $context['_parent']);
  357. $context = array_intersect_key($context, $_parent);
  358. $context += $_parent;
  359. // line 278
  360. yield " </svg>
  361. </div>
  362. <img src=\"";
  363. // line 280
  364. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/map-center/mapa-centra_v2.jpg"), "html", null, true);
  365. yield "\" alt=\"centrum\" loading=\"lazy\">
  366. </div>
  367. </div>
  368. </div>
  369. </div>
  370. </div>
  371. <div class=\"vc_row wpb_row vc_row-fluid vc_custom_1565785245766\">
  372. <div class=\"wpb_column vc_column_container vc_col-sm-12\">
  373. <div class=\"vc_column-inner\">
  374. <div class=\"wpb_wrapper\">
  375. <div class=\"qodef-section-title-holder shops-title\">
  376. <div class=\"qodef-st-inner\">
  377. <h1 class=\"qodef-st-title\">";
  378. // line 293
  379. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.title", [], "web"), "html", null, true);
  380. yield "</h1>
  381. <p class=\"qodef-st-text\"></p>
  382. </div>
  383. </div>
  384. </div>
  385. </div>
  386. </div>
  387. </div>
  388. <div class=\"qodef-pl-filter-holder\">
  389. <div class=\"qodef-plf-inner\">
  390. <ul>
  391. <li class=\"qodef-pl-filter ";
  392. // line 304
  393. if ((null === (isset($context["categoryActive"]) || array_key_exists("categoryActive", $context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.', 304, $this->source); })()))) {
  394. yield "active";
  395. }
  396. yield "\" data-filter=\"all\">
  397. <span class=\"category-name\">";
  398. // line 305
  399. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("all", [], "web"), "html", null, true);
  400. yield "</span>
  401. </li>
  402. ";
  403. // line 307
  404. $context['_parent'] = $context;
  405. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 307, $this->source); })()));
  406. foreach ($context['_seq'] as $context["_key"] => $context["cat"]) {
  407. // line 308
  408. yield " <li class=\"qodef-pl-filter ";
  409. if (( !(null === (isset($context["categoryActive"]) || array_key_exists("categoryActive", $context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.', 308, $this->source); })())) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["categoryActive"]) || array_key_exists("categoryActive", $context) ? $context["categoryActive"] : (function () { throw new RuntimeError('Variable "categoryActive" does not exist.', 308, $this->source); })()), "id", [], "any", false, false, false, 308) == CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 308)))) {
  410. yield "active";
  411. }
  412. yield "\"
  413. data-filter=\".category_";
  414. // line 309
  415. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "id", [], "any", false, false, false, 309), "html", null, true);
  416. yield "\"
  417. >
  418. <span class=\"category-name\">";
  419. // line 311
  420. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cat"], "getName", [], "method", false, false, false, 311), "html", null, true);
  421. yield "</span>
  422. </li>
  423. ";
  424. }
  425. $_parent = $context['_parent'];
  426. unset($context['_seq'], $context['_key'], $context['cat'], $context['_parent']);
  427. $context = array_intersect_key($context, $_parent);
  428. $context += $_parent;
  429. // line 314
  430. yield " </ul>
  431. </div>
  432. </div>
  433. <div class=\"select-store shops-inputs\">
  434. <select id=\"filter-shop\">
  435. <option selected value=\"all\">";
  436. // line 319
  437. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("selectStore", [], "web"), "html", null, true);
  438. yield "</option>
  439. ";
  440. // line 320
  441. $context['_parent'] = $context;
  442. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["stores"]) || array_key_exists("stores", $context) ? $context["stores"] : (function () { throw new RuntimeError('Variable "stores" does not exist.', 320, $this->source); })()));
  443. foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
  444. // line 321
  445. yield " <option value=\"";
  446. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "id", [], "any", false, false, false, 321), "html", null, true);
  447. yield "\" data-url=\"";
  448. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_shop_detail", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["s"], "slug", [], "any", false, false, false, 321)])), "html", null, true);
  449. yield "\">";
  450. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "name", [], "any", false, false, false, 321), "html", null, true);
  451. yield "</option>
  452. ";
  453. }
  454. $_parent = $context['_parent'];
  455. unset($context['_seq'], $context['_key'], $context['s'], $context['_parent']);
  456. $context = array_intersect_key($context, $_parent);
  457. $context += $_parent;
  458. // line 323
  459. yield " </select>
  460. <!-- Přidáme data atribut data-filter=\"isVip\" -->
  461. <div class=\"qodef-btn-outline qodef-btn qodef-btn-medium filter-vip\" data-filter=\"isVip\" style=\"padding: 12px 31px !important;\">
  462. <span class=\"qodef-btn-text\">";
  463. // line 326
  464. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("stores.btnVipFilter", [], "web"), "html", null, true);
  465. yield "</span>
  466. </div>
  467. </div>
  468. <div class=\"qodef-row-grid-section-wrapper store-list\">
  469. <div class=\"qodef-row-grid-section\">
  470. <div class=\"vc_row wpb_row vc_row-fluid vc_custom_1565785278974\">
  471. <div class=\"wpb_column vc_column_container vc_col-sm-12 vc_col-has-fill\">
  472. <div class=\"vc_column-inner vc_custom_1566396044703\">
  473. <div class=\"wpb_wrapper\">
  474. <div class=\"qodef-clients-grid-holder qodef-grid-list qodef-disable-bottom-space qodef-four-columns qodef-no-space qodef-cc-hover-roll-over qodef-cg-border\">
  475. <div class=\"qodef-cg-inner qodef-outer-space\">
  476. ";
  477. // line 337
  478. $context['_parent'] = $context;
  479. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["stores"]) || array_key_exists("stores", $context) ? $context["stores"] : (function () { throw new RuntimeError('Variable "stores" does not exist.', 337, $this->source); })()));
  480. foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
  481. // line 338
  482. yield " <div class=\"qodef-cc-item qodef-item-space qodef-cci-has-link";
  483. $context['_parent'] = $context;
  484. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "category", [], "any", false, false, false, 338));
  485. foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  486. yield " category_";
  487. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["c"], "id", [], "any", false, false, false, 338), "html", null, true);
  488. }
  489. $_parent = $context['_parent'];
  490. unset($context['_seq'], $context['_key'], $context['c'], $context['_parent']);
  491. $context = array_intersect_key($context, $_parent);
  492. $context += $_parent;
  493. yield " ";
  494. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["s"], "vip", [], "any", false, false, false, 338)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  495. yield "isVip";
  496. }
  497. yield " shops-item\"
  498. data-store-id=\"";
  499. // line 339
  500. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "id", [], "any", false, false, false, 339), "html", null, true);
  501. yield "\">
  502. <a itemprop=\"url\" class=\"qodef-cc-link qodef-block-drag-link\" href=\"";
  503. // line 340
  504. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_shop_detail", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["s"], "slug", [], "any", false, false, false, 340)]), "html", null, true);
  505. yield "\"
  506. target=\"_self\">
  507. ";
  508. // line 342
  509. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["s"], "vip", [], "any", false, false, false, 342)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  510. // line 343
  511. yield " <span style=\"position: absolute;top:0;right: 0; padding-right: 20px;\">
  512. <img src=\"";
  513. // line 344
  514. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/web/vip/vip-brands.svg"), "html", null, true);
  515. yield "\" alt=\"\" style=\"max-width: 50px; position: relative; z-index: 2;\" loading=\"lazy\">
  516. </span>
  517. ";
  518. }
  519. // line 347
  520. yield " <span class=\"qodef-cc-image\">
  521. ";
  522. // line 348
  523. if ( !(null === CoreExtension::getAttribute($this->env, $this->source, $context["s"], "logo", [], "any", false, false, false, 348))) {
  524. // line 349
  525. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  526. yield (string) $this->escaper->escape($this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["s"], "logoFile"), "thumb300"), "html", null, true);
  527. yield "\" alt=\"";
  528. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "name", [], "any", false, false, false, 349), "html", null, true);
  529. yield "\" loading=\"lazy\">
  530. ";
  531. }
  532. // line 351
  533. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  534. <span class=\"qodef-cc-hover-image\">
  535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"store-name\">";
  536. // line 353
  537. yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "name", [], "any", false, false, false, 353), "html", null, true);
  538. yield "</span>
  539. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  540. </a>
  541. </div>
  542. ";
  543. }
  544. $_parent = $context['_parent'];
  545. unset($context['_seq'], $context['_key'], $context['s'], $context['_parent']);
  546. $context = array_intersect_key($context, $_parent);
  547. $context += $_parent;
  548. // line 358
  549. yield " </div>
  550. </div>
  551. </div>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. </div>
  557. </div>
  558. </div>
  559. </div>
  560. </div>
  561. ";
  562. // line 370
  563. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/gift-card.html.twig");
  564. yield "
  565. </div>
  566. </div>
  567. ";
  568. // line 373
  569. yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/footer.html.twig");
  570. yield "
  571. ";
  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. /**
  578. * @codeCoverageIgnore
  579. */
  580. public function getTemplateName(): string
  581. {
  582. return "web/default/shops.html.twig";
  583. }
  584. /**
  585. * @codeCoverageIgnore
  586. */
  587. public function isTraitable(): bool
  588. {
  589. return false;
  590. }
  591. /**
  592. * @codeCoverageIgnore
  593. */
  594. public function getDefaultEscapeStrategy(): string|false
  595. {
  596. return "html";
  597. }
  598. /**
  599. * @codeCoverageIgnore
  600. */
  601. public function getDebugInfo(): array
  602. {
  603. return array ( 658 => 373, 652 => 370, 638 => 358, 626 => 353, 622 => 351, 614 => 349, 612 => 348, 609 => 347, 603 => 344, 600 => 343, 598 => 342, 593 => 340, 589 => 339, 571 => 338, 567 => 337, 553 => 326, 548 => 323, 534 => 321, 530 => 320, 526 => 319, 519 => 314, 509 => 311, 504 => 309, 497 => 308, 493 => 307, 488 => 305, 482 => 304, 468 => 293, 452 => 280, 448 => 278, 435 => 275, 431 => 274, 428 => 273, 426 => 191, 409 => 177, 402 => 173, 395 => 169, 389 => 165, 387 => 164, 380 => 159, 373 => 154, 362 => 140, 358 => 139, 348 => 134, 341 => 132, 324 => 119, 308 => 118, 199 => 23, 194 => 21, 181 => 10, 165 => 9, 136 => 5, 107 => 4, 78 => 3, 49 => 1,);
  604. }
  605. public function getSourceContext(): Source
  606. {
  607. return new Source("{% extends \x27web/base.html.twig\x27 %}
  608. {% block title %}{{ \x27stores.title\x27 | trans }}{% endblock %}
  609. {% block keywords %}{{ \x27stores.keywords\x27 | trans }}{% endblock %}
  610. {% block description %}{{ \x27stores.metaDescription\x27 | trans }}{% endblock %}
  611. {% trans_default_domain \x27web\x27 %}
  612. {% block javascripts %}
  613. <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
  614. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js\"></script>
  615. <script>
  616. \$(document).ready(function () {
  617. let \$grid = \$(\x27.qodef-cg-inner\x27).isotope({
  618. itemSelector: \x27.qodef-cc-item\x27,
  619. layoutMode: \x27fitRows\x27
  620. });
  621. let forMap = JSON.parse(\x27{{ forMap | json_encode |e(\x27js\x27) | raw }}\x27);
  622. let category = \x27{{ categoryActive is not null?\x27.category_\x27~categoryActive.id:\x27all\x27 }}\x27;
  623. function filter(){
  624. if(\$(\x27.filter-vip\x27).hasClass(\x27active\x27)){
  625. if (category === \x27all\x27) {
  626. \$grid.isotope({filter: \".isVip:not(.category_8)\"});
  627. } else {
  628. \$grid.isotope({filter: category+ \x27.isVip\x27}); // Použít filtrovací kategorii
  629. }
  630. }else {
  631. if (category === \x27all\x27) {
  632. \$grid.isotope({filter: \":not(.category_8)\"}); // Zobrazit všechna data
  633. } else {
  634. \$grid.isotope({filter: category}); // Použít filtrovací kategorii
  635. }
  636. }
  637. \$(\x27.qodef-pl-filter\x27).removeClass(\x27active\x27);
  638. \$(\x27.qodef-pl-filter[data-filter=\"\x27 + category + \x27\"]\x27).addClass(\x27active\x27);
  639. // Přidání cesty do URL
  640. var newUrl = window.location.pathname + \x27?filter=\x27 + category;
  641. history.pushState(null, null, newUrl);
  642. }
  643. \$(\x27body\x27).on(\x27click\x27,\x27.filter-vip\x27,function (){
  644. \$(this).toggleClass(\x27active\x27);
  645. filter();
  646. }).on(\x27change\x27, \x27#filter-shop\x27, function () {
  647. window.location.href = \$(this).find(\x27:selected\x27).data(\x27url\x27);
  648. }).on(\x27click\x27, \x27.qodef-pl-filter\x27, function () {
  649. category = \$(this).data(\x27filter\x27);
  650. filter();
  651. /*
  652. * MAPA START
  653. */
  654. }).on(\x27mouseenter\x27, \x27#svg_map path\x27, function (e) {
  655. let data = forMap[\$(this).attr(\x27id\x27)];
  656. if (typeof data !== \x27undefined\x27) {
  657. showModal(e);
  658. }
  659. }).on(\x27mouseleave\x27, \x27#svg_map path\x27, function (e) {
  660. \$(\x27#panel-container\x27).hide();
  661. })
  662. function showModal(e) {
  663. let modal = \$(\x27#panel-container\x27);
  664. let data = forMap[\$(e.target).attr(\x27id\x27)]
  665. modal.find(\x27.vip\x27).hide();
  666. if (data[\x27vip\x27]) {
  667. modal.find(\x27.vip\x27).show();
  668. }
  669. modal.find(\x27#shop-logo\x27).attr(\x27src\x27, data[\x27logo\x27]);
  670. modal.find(\x27#param-btn\x27).attr(\x27href\x27, data[\x27url\x27]);
  671. modal.find(\x27#panel-title\x27).html(data[\x27name\x27]);
  672. modal.find(\x27#param-id\x27).html(data[\x27number\x27]);
  673. modal.find(\x27#param-phone\x27).html(data[\x27phone\x27]);
  674. modal.find(\x27#param-open-hours\x27).html(data[\x27open\x27]);
  675. modal.find(\x27#param-email\x27).html(data[\x27email\x27]);
  676. modal.css(\x27transform\x27, \x27translate(\x27 + (e.pageX - \$(\x27#svgmap-new\x27).offset().left) + \x27px, \x27 + (e.pageY - \$(\x27#svgmap-new\x27).offset().top) + \x27px) translate(-50%, -110%)\x27).show();
  677. }
  678. \$(document).on(\x27click\x27, \x27.mapa-link\x27, function (e) {
  679. e.preventDefault(); // Prevent the default link behavior
  680. let data = forMap[\$(this).attr(\x27id\x27)];
  681. if (typeof data !== \x27undefined\x27 && data[\x27url\x27]) {
  682. window.location.href = data[\x27url\x27]; // Redirect to the URL specified in data[\x27url\x27]
  683. }
  684. });
  685. filter();
  686. // JavaScript pro zavření mapa-panelu po kliknutí na křížek
  687. /* \$(document).ready(function() {
  688. \$(\x27#close-panel\x27).on(\x27click\x27, function() {
  689. \$(\x27#panel-container\x27).hide();
  690. });
  691. });*/
  692. /*
  693. * MAPA END
  694. */
  695. });
  696. </script>
  697. {% endblock %}
  698. {% block body %}
  699. {{ include(\x27web/core/header.html.twig\x27) }}
  700. <div class=\"qodef-content shops\">
  701. <div class=\"qodef-content-inner\">
  702. <div class=\"qodef-full-width\">
  703. <div class=\"qodef-full-width-inner\">
  704. <div class=\"qodef-grid-row\">
  705. <div class=\"qodef-page-content-holder qodef-grid-col-12\">
  706. <div class=\"qodef-row-grid-section-wrapper \">
  707. <div class=\"qodef-row-grid-section\">
  708. <div class=\"vc_column-inner\">
  709. <div class=\"wpb_wrapper\">
  710. <div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
  711. <div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
  712. <a itemprop=\"url\" href=\"{{ path(\x27app_web_homepage\x27) }}\">{{ \x27breadcrumb.home\x27| trans }}</a>
  713. <span class=\"qodef-delimiter\">&nbsp; / &nbsp</span>
  714. <a itemprop=\"url\" href=\"{{ path(\x27app_web_shops\x27) }}\">{{ \x27stores.title\x27|trans }}</a>
  715. </div>
  716. </div>
  717. <div class=\"qodef-section-title-holder\" style=\"text-align: center;\">
  718. <div class=\"qodef-st-inner\">
  719. <h1 class=\"qodef-st-title\">{{ \x27stores.mapTitle\x27|trans }}</h1>
  720. <p class=\"qodef-st-text\">{{ \x27stores.mapText\x27|trans }}</p>
  721. </div>
  722. </div>
  723. <div id=\"svgmap-new\">
  724. <div id=\"panel-container\" class=\"mapa-panel\">
  725. <div>
  726. {# <div class=\"close-icon\" id=\"close-panel\">
  727. <!-- Křížek pro zavření panelu -->
  728. <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" fill=\"white\" class=\"bi bi-x\" viewBox=\"0 0 16 16\">
  729. <path d=\"M10.354 8l3.293-3.293a1 1 0 0 0-1.414-1.414L9.94 6.586 6.647 3.293a1 1 0 0 0-1.414 1.414L8.526 8l-3.293 3.293a1 1 0 1 0 1.414 1.414L10.354 9.414l3.293 3.293a1 1 0 0 0 1.414-1.414L11.278 8l3.293-3.293a1 1 0 1 0-1.414-1.414L10.354 6.586 7.061 3.293a1 1 0 0 0-1.414 1.414L8.526 8z\"/>
  730. </svg>
  731. </div> #}
  732. <div class=\"panel-logo\">
  733. <img id=\"shop-logo\" src=\"\" alt=\"Logo\" loading=\"lazy\">
  734. <div style=\"text-align: center;\">
  735. <span class=\"vip\">
  736. <img src=\"{{ asset(\x27build/images/web/vip/vip-mark.svg\x27) }}\" alt=\"\" loading=\"lazy\" style=\"max-width: 50px !important;\">
  737. </span>
  738. </div>
  739. </div>
  740. {#ukazatel popupu#}
  741. {#<div class=\"triangle\"></div>#}
  742. <div class=\"panel-content\">
  743. <div class=\"contact-info\">
  744. <div id=\"panel-title\" class=\"mapa-panel-title\"></div>
  745. <div class=\"param\">
  746. <span class=\"param-label\">{{ \x27mapCenter.modal.openHour\x27 | trans }}</span>
  747. <span id=\"param-open-hours\" class=\"param-value\"></span>
  748. </div>
  749. <div class=\"param\">
  750. <span class=\"param-label\">{{ \x27mapCenter.modal.phone\x27 | trans }}</span>
  751. <span id=\"param-phone\" class=\"param-value\"></span>
  752. </div>
  753. <div class=\"param\">
  754. <span class=\"param-label\">{{ \x27mapCenter.modal.email\x27 | trans }}</span>
  755. <span id=\"param-email\" class=\"param-value\"></span>
  756. </div>
  757. </div>
  758. <a id=\"param-btn\" href=\"\">
  759. </a>
  760. </div>
  761. </div>
  762. </div>
  763. <div id=\"mapa-layer\" class=\"shops-map\">
  764. <svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 1240.1 620\"
  765. xml:space=\"preserve\" id=\"svg_map\">
  766. {% set items = {
  767. \x272\x27: \x27M608.1,374.5l0.5,36.6h-30.1v59.1l-29.8-0.5l1.8-99.5C550.5,370.3,574.5,375.1,608.1,374.5z\x27,
  768. \x273\x27: \x27M518.1,468.8l-1.3-22l3.5-76.5c0,0,23.7-2.3,28.8-3.8l-2.8,81.6l1,21.7L518.1,468.8z\x27,
  769. \x274\x27: \x27M490.3,373.3l-4.8,72.8l1.3,22l31.3,0.8l-1.3-22l3.5-76.5C520.4,370.3,505.3,373,490.3,373.3z\x27,
  770. \x274a\x27 : \x27M465.1,466l-2-22.2l5.6-70c0,0,18.2-0.1,20.4-0.3l-3.4,72.5l1.3,22L465.1,466z\x27,
  771. \x27wc\x27 : \x27M449.2,374l-6.3,69.5l2,21.2l20.2,1.3l-2-22.2l5.6-70C468.6,373.8,462.8,374.5,449.2,374z\x27,
  772. \x275\x27 : \x27M407,377.3l-8.3,68.5l1.8,15.9l44.5,3l-1.5-16.9l5.1-67.5C448.4,380.4,438.1,381.6,407,377.3z\x27,
  773. \x276\x27 : \x27M354.7,456.7l-2.8-15.9l9.3-63.9l11.1-5.6c0,0,27.9,5.9,32.2,5.9l-5.9,68.6l1.8,15.9L354.7,456.7z\x27,
  774. \x277\x27 : \x27M313.8,451.3l-3.8-21.2l9.3-52.5c0,0,21.7,2.5,38.9-6.1l0.5,5.6l-9.3,58.1l3.5,21.7L313.8,451.3z\x27,
  775. \x27101\x27 : \x27M311.7,451.1l-4-19.2l9.5-51.7c0,0-23.2,0.9-39.9-15.3l-67.2,42.2l5.3,18.9 C215.5,426.1,249.6,442.5,311.7,451.1z\x27,
  776. \x27102\x27 : \x27M197.8,327.8l71.2,0.5l5.8,20.5c0,0-3.4,10.4,2.1,15.7l-66.8,42.6l5.3,18.9 C215.5,426.1,191.5,404.6,197.8,327.8z\x27,
  777. \x278\x27 : \x27M202.3,295.7l-4.3,30.1l71.5,0.8l5.3,22.2c0,0,1.5-9.3,18.9-21.7l0.5-11.6l-5.1-20.2L202.3,295.7z\x27,
  778. \x279\x27 : \x27M208.7,266.2 202.3,295.7 289.3,295.2 294.3,315.4 295.6,288.1 291,265.4z\x27,
  779. \x2710\x27 : \x27M216,237.6l-7.3,28.5l82.4-0.8l4.5,22.7c0,0,4-26.3,5.6-29.1l-4.3-21.5H216z\x27,
  780. \x2711\x27 : \x27M225.8,212.9l-9.9,24.8h80.8l4.3,21.5c0,0,6.3-16.7,11.1-27l-3.3-19.5L225.8,212.9z\x27,
  781. \x2713\x27 : \x27M237,183.6l-10.6,27.3l83.1-0.5l3.5,20.4l2.1-3.2l-3-20.7l-6.3-7.6c0,0-5.8-4.8-6.1-15.7H237z\x27,
  782. \x27103\x27 : \x27M264.4,140.3l43.5,28.6s0,0,0,0h0s.1.1.1.1h0c0,.1,4.1,21.5,4.1,21.5l-5.6,8.8c-2.1-2.7-3.5-5.1-4.2-7.3-.7-2.2-1.2-5.4-1.5-9.7h0s-61.8,0-61.8,0c2.5-6.5,5.3-12.5,8.6-18,3.3-5.6,8.9-13.5,16.7-24Z\x27,
  783. \x2714\x27 : \x27M394.6,104.2l-5.6,43.9l1.5,24.1c0,0-7.3-5.3-26.8-4.3l-4.3-24l7.3-37.4L394.6,104.2z\x27,
  784. \x27104\x27 : \x27M365.4,108.4l-6.8,38.3h-.1s4.6,20.8,4.6,20.8c-7,1.1-11.9,2-14.7,2.6-5.9,1.3-10.5,3-13.9,4.3-4.1,1.7-8.9,3.8-14.4,7.7-1.5,1.1-4,3.1-7.4,6.2l-3.6-19.6.2-.3s0,0,0,0l-44.2-28.9c3.8-6.3,13.9-11.8,30.2-16.5,16.3-4.6,39.7-9.5,70.2-14.8Z\x27,
  785. \x2715\x27 : \x27M396.6,109.3l-6.6,45.2l1.5,18.2c0,0,5.6-0.3,13.6,5.8c0,0,7.1-1.5,16.2-3.3l-2.3-18.2l5.8-49.8L396.6,109.3z\x27,
  786. \x2716\x27 : \x27M453.2,105.7l-4.8,48l1.8,19.2c0,0-16.9,0.3-28.8,2.3l-1.4-18.5l4.9-49.5L453.2,105.7z\x27,
  787. \x2718\x27 : \x27M539.9,102.7l-2,53.1l1.3,20c0,0-24.3-6.3-88.9-2.8l-0.3-19.3l3.3-47.9L539.9,102.7z\x27,
  788. \x2720\x27 : \x27M542.6,102l-2.3,54.1l0.5,19.7c0,0,4,1.8,26.8-1.3l0.3-20l1.3-53.6L542.6,102z\x27,
  789. \x2721\x27 : \x27M572.2,105.2l-2,53.6V174c0,0,12.6-2.3,28-2.5l0.5-66.2H572.2z\x27,
  790. \x2722\x27 : \x27M626.3,101.5 627.8,171.7 599.4,171.4 600.5,101.2z\x27,
  791. \x2723\x27 : \x27M628.8,103 629.1,171.7 659.1,171.4 657.1,102.7z\x27,
  792. \x2724\x27 : \x27M659.1,103.2l1.5,68.1c0,0,20.1,0.3,31.3,3.9l0.4-18.7l-3-52.8L659.1,103.2z\x27,
  793. \x27wc2\x27 : \x27M691.9,98.9l2,53.6l-0.6,22.8c0,0,8.2-2.4,17.1-2.9l0.5-22.2l-3.5-51L691.9,98.9z\x27,
  794. \x2725\x27 : \x27M745.5,106.5l3.5,47.2v18.2c0,0-18.2-1.4-36.9,0.2l-1.5-66.9L745.5,106.5z\x27,
  795. \x2726\x27 : \x27M748.8,101.7l2.8,47.5l-0.9,22.7c0,0,24.9-1.2,54.5,2.3l1.8-23.2l-6.1-47.2L748.8,101.7z\x27,
  796. \x2728\x27 : \x27M849.8,115.1l6.3,39.2l-1.5,15.2c0,0-10.9,0.8-23,9.6l-25-4.3l1.5-15.9l-6.3-48L849.8,115.1z\x27,
  797. \x2730\x27 : \x27M873.6,109 879.9,145.4 876.4,169.9 856.2,169.2 858.7,145.4 853.1,107.3z\x27,
  798. \x27105\x27 : \x27M940.5,122.9l-36.6,28.8l-3.2,22l-23.1-3.8l4.3-23l-7.1-36.6C874.9,110.3,900.6,111.8,940.5,122.9z\x27,
  799. \x27106\x27 : \x27M902.1,174l3.8-22l36.9-28.3c0,0,27.8-5.8,53.1,58.4l-59.6,1c0,0,2.7,9-4.2,17.7 C932.1,200.8,927.1,179.5,902.1,174z\x27,
  800. \x2731\x27 : \x27M922.3,231.3l2.8-17.4l79.8,0.8l0.5-3.5l-9.3-27.5l-59.9-0.5c0,0,4.3,14.9-12.4,25.5l-3.3,18.2L922.3,231.3z\x27,
  801. \x2732\x27 : \x27M933.7,258.8l2.8-17.7h77.6l-8.1-25.3h-79.8l-3.3,16.7C922.9,232.6,930.2,241.4,933.7,258.8z\x27,
  802. \x2734\x27 : \x27M943.3,269.2l78.2,0.6l-7.5-28.6h-77.6l-2.8,17.7c0,0,3.5,12.6,5.6,28L943.3,269.2z\x27,
  803. \x2735\x27 : \x27M943.3,299.8l84.1,0.3l-5.6-29.3h-78.6l-3.8,17.7c0,0,2.8,25.5-1,36.6l3-17.7L943.3,299.8z\x27,
  804. \x27107\x27 : \x27M959.7,362.2l65.2,41.4c0,0,18.2-36.5,2.7-102.9l-84.3-0.9l-4.8,25.3C938.5,325,972.1,344.7,959.7,362.2z\x27,
  805. \x27108\x27 : \x27M920.3,379.6l9.1,52.3l-4.5,20c0,0,77.8-12.6,94.5-28.3l5.6-20l-65.2-41.4C959.7,362.2,948.1,379.1,920.3,379.6z\x27,
  806. \x2737\x27 : \x27M878.1,370l9.9,64.4l-4.5,23.2l41.4-5.8l3-23.5l-8.6-52.3C919.3,376.1,899.1,378.1,878.1,370z\x27,
  807. \x2738\x27 : \x27M840.7,461.7l2.5-19.5l-8.1-70.2c0,0,24-3.5,28.3-5.3l11.9,6.1l9.9,65.9l-1.8,18.9 C883.4,457.7,866,460.7,840.7,461.7z\x27,
  808. \x2739\x27 : \x27M795.3,376.3l7.3,68.5l-2.8,20.5l40.9-3.5l2.5-19.5l-8.1-70.2C835.2,372,823.1,375.1,795.3,376.3z\x27,
  809. \x2740\x27 : \x27M730.1,372.3l4.3,73.8l-2,22.5l67.5-3.3l2.8-20.5l-7.3-68.5C795.3,376.3,788.2,376.8,730.1,372.3z\x27,
  810. \x2742\x27 : \x27M657.8,369.7l1.5,100l73-1.3l2-22.5l-6.8-74.3c0,0-10.6-0.3-32.3-4.8C695.2,367,679.1,370.3,657.8,369.7z\x27,
  811. \x2752\x27 : \x27M392.3,254.8l-9.3,66.4l2.3,17.7c0,0,43.2,5.8,82.6,3.5l-2-18.4l6.1-69L392.3,254.8z\x27,
  812. \x2750\x27 : \x27M504.2,254.8l-3.8,67.7l0.8,17.9c0,0-20.7,3-33.3,2l-2-18.4l6.1-69L504.2,254.8z\x27,
  813. \x2748\x27 : \x27M553,254.8l-1.3,78.3c0,0-30.3,6.8-50,6.1l-1.3-16.7l3.8-67.7H553z\x27,
  814. \x2747\x27 : \x27M589.4,254.8l-1.3,75c0,0-29.6,2.5-36.4,3.3l1.3-78.3H589.4z\x27,
  815. \x2746\x27 : \x27M627.3,254.5l0.8,75c0,0-28.5-0.3-39.9,0.3l1.3-75L627.3,254.5z\x27,
  816. \x2745\x27 : \x27M628.3,258.1l-0.3,71.5c0,0,34.9,0,41.2,2l-2.3-74L628.3,258.1z\x27,
  817. \x2786\x27 : \x27M669,253l0.3,78.6c0,0,34.9,2.5,62.4,7.8l1-20.5l-4.3-64.9L669,253z\x27,
  818. \x2784\x27 : \x27M772.5,257.1l7.1,69.7l-1,15.9c0,0-33.1-1.3-47-3.3l0.8-15.2l-2.5-67.5L772.5,257.1z\x27,
  819. \x2783\x27 : \x27M774.6,255.6 780.9,324.3 778.6,342.7 815.5,342.2 816.7,323.5 809,255.4z\x27,
  820. \x2781\x27 : \x27M810.4,256.1 844,256.1 853.9,323.3 852.4,339.9 815.5,342.2 817.5,324.5z\x27,
  821. \x2759\x27 : \x27M401.1,192.2l-8.2,59.8l-0.5,2.8h30.6l-0.3-3l7.1-59.9C429.7,191.9,410.5,191.6,401.1,192.2z\x27,
  822. \x2760\x27 : \x27M456.5,191.4l-5.1,63.4h-28.5l6.8-62.9C429.7,191.9,436,191.1,456.5,191.4z\x27,
  823. \x2761\x27 : \x27M485.5,193.7l-3.8,60.9l-30.3,0.3l6.8-61.9C458.3,192.9,471.4,191.9,485.5,193.7z\x27,
  824. \x2762\x27 : \x27M511.1,254.5l3-60.4c0,0-10.9-2.8-27.3-1.8l-5.1,62.1H511.1z\x27,
  825. \x2763\x27 : \x27M541.1,198.7l-1,55.6l-29.1-1l3-59.1C514.1,194.2,529.8,194.4,541.1,198.7z\x27,
  826. \x2764\x27 : \x27M567.1,198 566.6,254.8 540.1,254.3 542.4,196.4z\x27,
  827. \x2765\x27 : \x27M568.4,201.7l-0.7,52.8l26.8,0.3l-0.5-52C593.9,202.8,583.8,202.5,568.4,201.7z\x27,
  828. \x2766\x27 : \x27M640.1,203.4l1.3,54.6l-13.1,0.2l-1-3.5l-31.6-0.3l-0.4-51.4C595.3,202.9,608.5,203.9,640.1,203.4z\x27,
  829. \x2768\x27 : \x27M670.6,197.3l-0.1,55.7H669l-0.3,4.3l-26.5,0.3v-57.3C642.2,200.2,659.4,200.2,670.6,197.3L670.6,197.3z\x27,
  830. \x2769\x27 : \x27M670.7,202.8l-0.3,50.3l53.1,0.3l-2.1-56.6C721.5,196.7,701.5,200.5,670.7,202.8z\x27,
  831. \x2771\x27 : \x27M753.3,256.3l-4.8-62.4c0,0-15.7,2.3-27.1,2.8l2.1,56.6l4.8,0.8l0.3,3L753.3,256.3z\x27,
  832. \x2772\x27 : \x27M776.8,192.4l6.6,62.7l-8.8,0.5l-2,1.5l-19.2-0.8l-3.5-63.2C749.8,193.2,763.4,192.1,776.8,192.4z\x27,
  833. \x2773\x27 : \x27M779.4,192.7 783.4,255.1 814.9,255.5 805.6,192.1z\x27,
  834. \x2774\x27 : \x27M808.4,190.9l7.1,57.9l-0.3,7.1l28.8,0.3l1.3-6.8l-8.1-56.6C837.2,192.7,827.4,190.4,808.4,190.9z\x27,
  835. \x2780\x27 : \x27M852.4,295.9l3,21.3l-3,22.7c0,0,29.3,2.3,38.9-26.3l2-17.7L852.4,295.9z\x27,
  836. \x2779\x27 : \x27M849.3,272.7l2.8,22.2h41.4l-2.3,18.7c0,0,9.3-26.5,8.3-40.4L849.3,272.7z\x27,
  837. \x2778\x27 : \x27M846.3,251l3,21.7l50.3,0.5c0,0,1-15.2-1.8-22L846.3,251z\x27,
  838. \x2777\x27 : \x27M843.8,230.8l2.5,20.2l51.5,0.3c0,0-2-13.9-6.1-20.2L843.8,230.8z\x27,
  839. \x2776\x27 : \x27M840.2,210.8l3.5,20l48,0.3c0,0-2.8-13.1-13.4-20.5L840.2,210.8z\x27,
  840. \x2775\x27 : \x27M838.2,193.2l2,17.7l38.1-0.3C878.4,210.6,868.8,195.7,838.2,193.2z\x27,
  841. \x2758\x27 : \x27M358.1,209.7l38.8,0.6l2.8-18.2c0,0-31.4-0.9-45,17.4L358.1,209.7z\x27,
  842. \x2757\x27 : \x27M393.1,229.5l3-18.5l-42.2-0.8c0,0-8.8,11.5-11.4,18.3L393.1,229.5z\x27,
  843. \x2756\x27 : \x27M342.2,229.2c0,0-5.2,11.7-6.3,20.1l54.8,0.7l2.2-19.8L342.2,229.2z\x27,
  844. \x2755\x27 : \x27M335.8,250.1c0,0-2.8,9.8-1.3,21.4l53.3,0.5l3-22L335.8,250.1z\x27,
  845. \x2754\x27 : \x27M334.7,273c0,0-1.3,8.8,3.2,21.5l47.1,0l2.8-22.5L334.7,273z\x27,
  846. \x2753\x27 : \x27M384.6,294.7l-2.4,21.8l3,22.5c0,0-43.8,1-47.4-44.4L384.6,294.7z\x27
  847. } %}
  848. {% for id, coords in items %}
  849. <path id=\"{{ id }}\" d=\"{{ coords }}\" class=\"mapa-link\"></path>
  850. {% endfor %}
  851. </svg>
  852. </div>
  853. <img src=\"{{ asset(\x27build/images/web/map-center/mapa-centra_v2.jpg\x27) }}\" alt=\"centrum\" loading=\"lazy\">
  854. </div>
  855. </div>
  856. </div>
  857. </div>
  858. </div>
  859. <div class=\"vc_row wpb_row vc_row-fluid vc_custom_1565785245766\">
  860. <div class=\"wpb_column vc_column_container vc_col-sm-12\">
  861. <div class=\"vc_column-inner\">
  862. <div class=\"wpb_wrapper\">
  863. <div class=\"qodef-section-title-holder shops-title\">
  864. <div class=\"qodef-st-inner\">
  865. <h1 class=\"qodef-st-title\">{{ \x27stores.title\x27 | trans }}</h1>
  866. <p class=\"qodef-st-text\"></p>
  867. </div>
  868. </div>
  869. </div>
  870. </div>
  871. </div>
  872. </div>
  873. <div class=\"qodef-pl-filter-holder\">
  874. <div class=\"qodef-plf-inner\">
  875. <ul>
  876. <li class=\"qodef-pl-filter {% if categoryActive is null %}active{% endif %}\" data-filter=\"all\">
  877. <span class=\"category-name\">{{\x27all\x27|trans}}</span>
  878. </li>
  879. {% for cat in categories %}
  880. <li class=\"qodef-pl-filter {% if categoryActive is not null and categoryActive.id == cat.id %}active{% endif %}\"
  881. data-filter=\".category_{{ cat.id }}\"
  882. >
  883. <span class=\"category-name\">{{ cat.getName() }}</span>
  884. </li>
  885. {% endfor %}
  886. </ul>
  887. </div>
  888. </div>
  889. <div class=\"select-store shops-inputs\">
  890. <select id=\"filter-shop\">
  891. <option selected value=\"all\">{{\x27selectStore\x27 | trans}}</option>
  892. {% for s in stores %}
  893. <option value=\"{{ s.id }}\" data-url=\"{{ absolute_url(path(\x27app_web_shop_detail\x27,{\x27slug\x27:s.slug})) }}\">{{ s.name }}</option>
  894. {% endfor %}
  895. </select>
  896. <!-- Přidáme data atribut data-filter=\"isVip\" -->
  897. <div class=\"qodef-btn-outline qodef-btn qodef-btn-medium filter-vip\" data-filter=\"isVip\" style=\"padding: 12px 31px !important;\">
  898. <span class=\"qodef-btn-text\">{{ \x27stores.btnVipFilter\x27 | trans }}</span>
  899. </div>
  900. </div>
  901. <div class=\"qodef-row-grid-section-wrapper store-list\">
  902. <div class=\"qodef-row-grid-section\">
  903. <div class=\"vc_row wpb_row vc_row-fluid vc_custom_1565785278974\">
  904. <div class=\"wpb_column vc_column_container vc_col-sm-12 vc_col-has-fill\">
  905. <div class=\"vc_column-inner vc_custom_1566396044703\">
  906. <div class=\"wpb_wrapper\">
  907. <div class=\"qodef-clients-grid-holder qodef-grid-list qodef-disable-bottom-space qodef-four-columns qodef-no-space qodef-cc-hover-roll-over qodef-cg-border\">
  908. <div class=\"qodef-cg-inner qodef-outer-space\">
  909. {% for s in stores %}
  910. <div class=\"qodef-cc-item qodef-item-space qodef-cci-has-link{% for c in s.category %} category_{{ c.id }}{% endfor %} {% if s.vip %}isVip{% endif %} shops-item\"
  911. data-store-id=\"{{ s.id }}\">
  912. <a itemprop=\"url\" class=\"qodef-cc-link qodef-block-drag-link\" href=\"{{ path(\x27app_web_shop_detail\x27,{\x27slug\x27:s.slug}) }}\"
  913. target=\"_self\">
  914. {% if s.vip %}
  915. <span style=\"position: absolute;top:0;right: 0; padding-right: 20px;\">
  916. <img src=\"{{ asset(\x27build/images/web/vip/vip-brands.svg\x27) }}\" alt=\"\" style=\"max-width: 50px; position: relative; z-index: 2;\" loading=\"lazy\">
  917. </span>
  918. {% endif %}
  919. <span class=\"qodef-cc-image\">
  920. {% if s.logo is not null %}
  921. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ vich_uploader_asset(s, \x27logoFile\x27)| imagine_filter(\x27thumb300\x27) }}\" alt=\"{{ s.name }}\" loading=\"lazy\">
  922. {% endif %}
  923. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  924. <span class=\"qodef-cc-hover-image\">
  925. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"store-name\">{{ s.name }}</span>
  926. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  927. </a>
  928. </div>
  929. {% endfor %}
  930. </div>
  931. </div>
  932. </div>
  933. </div>
  934. </div>
  935. </div>
  936. </div>
  937. </div>
  938. </div>
  939. </div>
  940. </div>
  941. </div>
  942. {{ include(\x27web/core/gift-card.html.twig\x27) }}
  943. </div>
  944. </div>
  945. {{ include(\x27web/core/footer.html.twig\x27) }}
  946. {% endblock %}
  947. ", "web/default/shops.html.twig", "/var/www/templates/web/default/shops.html.twig");
  948. }
  949. }