var/cache/dev/twig/8e/8efd7d0a316bbc16e02f6c1521e2292f74cc7841a4c3fda136873759e822aa4a.php line 389

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Slivki/mobile/base.html.twig */
  14. class __TwigTemplate_7a32ec6d2afaa7bc6943aeb0e1fdaf0106a8af003588c089f655b7b434cc3ae1 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'meta' => [$this'block_meta'],
  25.             'styles' => [$this'block_styles'],
  26.             'favicon' => [$this'block_favicon'],
  27.             'linkToStore' => [$this'block_linkToStore'],
  28.             'linkToPartner' => [$this'block_linkToPartner'],
  29.             'messenger' => [$this'block_messenger'],
  30.             'headerBanner' => [$this'block_headerBanner'],
  31.             'header' => [$this'block_header'],
  32.             'topContent' => [$this'block_topContent'],
  33.             'content' => [$this'block_content'],
  34.             'footer' => [$this'block_footer'],
  35.             'popup' => [$this'block_popup'],
  36.             'brandingBanner' => [$this'block_brandingBanner'],
  37.             'floatingMobileBanner' => [$this'block_floatingMobileBanner'],
  38.             'javascripts' => [$this'block_javascripts'],
  39.             'RTBHouse' => [$this'block_RTBHouse'],
  40.             'metrikaEvent' => [$this'block_metrikaEvent'],
  41.         ];
  42.     }
  43.     protected function doDisplay(array $context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/mobile/base.html.twig"));
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/mobile/base.html.twig"));
  50.         // line 1
  51.         $context["metaInfo"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMetaInfo();
  52.         // line 2
  53.         $context["path"] = twig_urlencode_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "requestUri", [], "any"falsefalsefalse2));
  54.         // line 3
  55.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($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"falsefalsefalse3), "query", [], "any"falsefalsefalse3), "get", [=> "path"], "method"falsefalsefalse3)) {
  56.             // line 4
  57.             echo "    ";
  58.             $context["path"] = twig_urlencode_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "query", [], "any"falsefalsefalse4), "get", [=> "path"], "method"falsefalsefalse4));
  59.         }
  60.         // line 6
  61.         if ((!== twig_compare((isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'6$this->source); })()), "%2F"))) {
  62.             // line 7
  63.             echo "    ";
  64.             $context["path"] = ("?path=" . (isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'7$this->source); })()));
  65.         } else {
  66.             // line 9
  67.             echo "    ";
  68.             $context["path"] = "";
  69.         }
  70.         // line 11
  71.         echo "<!DOCTYPE html>
  72. <html lang=\"ru\">
  73. <head>
  74.     ";
  75.         // line 14
  76.         $this->loadTemplate((("Slivki" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'14$this->source); })())) . "/mobile/meta_block.html.twig"), "Slivki/mobile/base.html.twig"14)->display($context);
  77.         // line 15
  78.         echo "    <link href=\"/css/flowersHotLent.css?v=";
  79.         echo twig_escape_filter($this->env, (isset($context["flowers_hot_lent_css_version"]) || array_key_exists("flowers_hot_lent_css_version"$context) ? $context["flowers_hot_lent_css_version"] : (function () { throw new RuntimeError('Variable "flowers_hot_lent_css_version" does not exist.'15$this->source); })()), "html"nulltrue);
  80.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  81.     <link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v=";
  82.         // line 16
  83.         echo twig_escape_filter($this->env, (isset($context["beauty_masters_css_version"]) || array_key_exists("beauty_masters_css_version"$context) ? $context["beauty_masters_css_version"] : (function () { throw new RuntimeError('Variable "beauty_masters_css_version" does not exist.'16$this->source); })()), "html"nulltrue);
  84.         echo "\" type=\"text/css\"/>
  85.     ";
  86.         // line 17
  87.         $this->displayBlock('meta'$context$blocks);
  88.         // line 18
  89.         echo "    <link href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" rel=\"stylesheet\">
  90.     <link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
  91.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
  92.     <link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
  93.     <link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
  94.     <link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
  95.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css\" />
  96.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css\" integrity=\"sha512-yHknP1/AwR+yx26cB1y0cjvQUMvEa2PFzt1c9LlS4pRQ5NOTZFWbhBig+X9G9eYW/8m0/4OXNx8pxJ6z57x0dw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  97.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css\" integrity=\"sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  98.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  99.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  100.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  101.     ";
  102.         // line 30
  103.         $this->displayBlock('styles'$context$blocks);
  104.         // line 38
  105.         echo "    ";
  106.         $this->displayBlock('favicon'$context$blocks);
  107.         // line 43
  108.         echo "    <meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
  109.     <link rel=\"manifest\" href=\"/manifest.json?v=0\">
  110.     <script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
  111.     <script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
  112.     <script type=\"text/javascript\" src=\"";
  113.         // line 47
  114.         echo twig_escape_filter($this->env, (isset($context["slivki_metrica_url"]) || array_key_exists("slivki_metrica_url"$context) ? $context["slivki_metrica_url"] : (function () { throw new RuntimeError('Variable "slivki_metrica_url" does not exist.'47$this->source); })()), "html"nulltrue);
  115.         echo "/js/metric.js\"></script>
  116.     <script>
  117.         async function metricEvent(urlEvent, data) {
  118.             const response = await fetch(urlEvent, {
  119.                 method: 'POST',
  120.                 body: JSON.stringify(data)
  121.             });
  122.             return await response.json();
  123.         }
  124.     </script>
  125.     <!-- TikTok Code -->
  126.     <script>
  127.         !function (w, d, t) {
  128.             w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=[\"page\",\"track\",\"identify\",\"instances\",\"debug\",\"on\",\"off\",\"once\",\"ready\",\"alias\",\"group\",\"enableCookie\",\"disableCookie\"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++
  129.             )ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i=\"https://analytics.tiktok.com/i18n/pixel/events.js\";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement(\"script\");n.type=\"text/javascript\",n.async=!0,n.src=i+\"?sdkid=\"+e+\"&lib=\"+t;e=document.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(n,e)};
  130.             ttq.load('CAEQUGBC77U9MLGRE66G');
  131.             ttq.page();
  132.         }(window, document, 'ttq');
  133.     </script>
  134.     <!-- End TikTok Code -->
  135.     <!-- Meta Pixel Code -->
  136.     <script>
  137.         !function(f,b,e,v,n,t,s)
  138.         {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  139.             n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  140.             if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  141.             n.queue=[];t=b.createElement(e);t.async=!0;
  142.             t.src=v;s=b.getElementsByTagName(e)[0];
  143.             s.parentNode.insertBefore(t,s)}(window, document,'script',
  144.             'https://connect.facebook.net/en_US/fbevents.js');
  145.         fbq('init', '274301711683015');
  146.         fbq('track', 'PageView');
  147.     </script>
  148.     <noscript><img height=\"1\" width=\"1\" style=\"display:none\"
  149.                    src=\"https://www.facebook.com/tr?id=274301711683015&ev=PageView&noscript=1\"/></noscript>
  150.     <!-- End Meta Pixel Code -->
  151.     <noscript>
  152.         <img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1884900258504761&ev=PageView&noscript=1\" style=\"display: none;\"/>
  153.     </noscript>
  154.     <!-- End Facebook Pixel Code -->
  155.     <script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-167315-4IspB';</script>
  156.     ";
  157.         // line 90
  158.         if (array_key_exists("fitnessOffer"$context)) {
  159.             // line 91
  160.             echo "        <script>
  161.             !function(f,b,e,v,n,t,s)
  162.             {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  163.                 n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  164.                 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  165.                 n.queue=[];t=b.createElement(e);t.async=!0;
  166.                 t.src=v;s=b.getElementsByTagName(e)[0];
  167.                 s.parentNode.insertBefore(t,s)}(window, document,'script',
  168.                 'https://connect.facebook.net/en_US/fbevents.js');
  169.             fbq('init', '1615676305118909');
  170.             fbq('track', 'PageView');
  171.         </script>
  172.         <noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1615676305118909&ev=PageView&noscript=1\"/></noscript>
  173.         <script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-170417-8Uj6y';</script>
  174.     ";
  175.         }
  176.         // line 106
  177.         echo "    <script>
  178.         var userAgent = navigator.userAgent || navigator.vendor || window.opera;
  179.         if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
  180.             userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
  181.             var d = document,
  182.                 h = d.getElementsByTagName('head')[0],
  183.                 s = d.createElement('script');
  184.             s.type = 'text/javascript';
  185.             s.async = true;
  186.             s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
  187.             h.appendChild(s);
  188.         }
  189.     </script>
  190.     <!-- Global site tag (gtag.js) - Google Analytics -->
  191.     ";
  192.         // line 120
  193.         $context["currentCity"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCity();
  194.         // line 121
  195.         echo "    <!-- Global site tag (gtag.js) - Google Analytics -->
  196.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-185332166-1\"></script>
  197.     <script>
  198.         window.dataLayer = window.dataLayer || [];
  199.         function gtag(){dataLayer.push(arguments);}
  200.         gtag('js', new Date());
  201.         gtag('config', 'UA-185332166-1');
  202.     </script>
  203.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-VGFW27H90X\"></script>
  204.     <script>
  205.         window.dataLayer = window.dataLayer || [];
  206.         function gtag(){dataLayer.push(arguments);}
  207.         gtag('js', new Date());
  208.         gtag('config', 'G-VGFW27H90X');
  209.     </script>
  210.     ";
  211.         // line 139
  212.         if (( !array_key_exists("category"$context) &&  !array_key_exists("offer"$context))) {
  213.             // line 140
  214.             echo "        <script src=\"/js/smart-app-banner.js\"></script>
  215.         <script type=\"text/javascript\">
  216.             new SmartBanner({
  217.                 daysHidden: 15,   // days to hide banner after close button is clicked (defaults to 15)
  218.                 daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
  219.                 appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
  220.                 title: 'Slivki - промокоды и скидки',
  221.                 author: 'Slivki',
  222.                 button: 'Посмотреть',
  223.                 store: {
  224.                     ios: 'On the App Store',
  225.                     android: 'В Google Play',
  226.                     windows: 'In Windows store'
  227.                 },
  228.                 price: {
  229.                     ios: 'FREE',
  230.                     android: 'FREE',
  231.                     windows: 'FREE'
  232.                 }
  233.                 // , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
  234.                 , icon: '/images/app-icon.png' // full path to icon image if not using website icon image
  235.                 // , force: 'ios' // Uncomment for platform emulation
  236.             });
  237.         </script>
  238.     ";
  239.         }
  240.         // line 165
  241.         echo "</head>
  242. ";
  243.         // line 166
  244.         $context["bodyClass"] = "";
  245.         // line 167
  246.         if (( !array_key_exists("noToken"$context) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
  247.             // line 168
  248.             echo "    ";
  249.             $context["bodyClass"] = "a-u";
  250.         }
  251.         // line 170
  252.         echo "<body class=\"";
  253.         echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'170$this->source); })()), "html"nulltrue);
  254.         echo "\">
  255. ";
  256.         // line 171
  257.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'171$this->source); })()), "debug", [], "any"falsefalsefalse171)) {
  258.             // line 172
  259.             echo "    <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
  260. ";
  261.         }
  262.         // line 174
  263.         echo "<script>
  264.     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  265.         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  266.         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  267.     })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  268.     ga('create', 'UA-185332166-1', 'auto');
  269.     ga('send', 'pageview');
  270.     ";
  271.         // line 181
  272.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'181$this->source); })()), "user", [], "any"falsefalsefalse181)) {
  273.             // line 182
  274.             echo "        ga('set', 'userId', '";
  275.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'182$this->source); })()), "user", [], "any"falsefalsefalse182), "getID", [], "method"falsefalsefalse182), "html"nulltrue);
  276.             echo "');
  277.     ";
  278.         }
  279.         // line 184
  280.         echo "</script>
  281. ";
  282.         // line 185
  283.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'185$this->source); })()), "user", [], "any"falsefalsefalse185)) {
  284.             // line 186
  285.             echo "    <input type=\"hidden\" id=\"customerID\" value=\"";
  286.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'186$this->source); })()), "user", [], "any"falsefalsefalse186), "getID", [], "method"falsefalsefalse186), "html"nulltrue);
  287.             echo "\"/>
  288.     ";
  289.             // line 187
  290.             if ((!== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'187$this->source); })()), "user", [], "any"falsefalsefalse187), "getEmail", [], "method"falsefalsefalse187), ""))) {
  291.                 // line 188
  292.                 echo "        <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
  293.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'188$this->source); })()), "user", [], "any"falsefalsefalse188), "getEmail", [], "method"falsefalsefalse188), "html"nulltrue);
  294.                 echo "\">
  295.     ";
  296.             } else {
  297.                 // line 190
  298.                 echo "        <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
  299.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'190$this->source); })()), "user", [], "any"falsefalsefalse190), "getPhone", [], "method"falsefalsefalse190), "html"nulltrue);
  300.                 echo "\">
  301.     ";
  302.             }
  303.         }
  304.         // line 193
  305.         echo "<input type=\"hidden\" id=\"serverTime\" value=\"";
  306.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y-m-d H:i:s"), "html"nulltrue);
  307.         echo "\">
  308. <input type=\"hidden\" id=\"cityID\" value=\"";
  309.         // line 194
  310.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'194$this->source); })()), "getID", [], "method"falsefalsefalse194), "html"nulltrue);
  311.         echo "\">
  312. <input id=\"cityName\" type=\"hidden\" value=\"";
  313.         // line 195
  314.         ((twig_in_filter(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'195$this->source); })()), "getID", [], "method"falsefalsefalse195), [=> twig_constant("Slivki\\Entity\\City::DEFAULT_CITY_ID"), => twig_constant("Slivki\\Entity\\City::TASHKENT_CITY_ID")])) ? (print ("/")) : (print (twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_CITY"), twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'195$this->source); })()), "getID", [], "method"falsefalsefalse195)), "html"nulltrue))));
  315.         echo "\"/>
  316. <input type=\"hidden\" id=\"rtbhUID\" value=\"";
  317.         // line 196
  318.         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getRTBHouseUID(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'196$this->source); })()), "user", [], "any"falsefalsefalse196)), "html"nulltrue);
  319.         echo "\">
  320. <input id=\"userId\" type=\"hidden\" value=\" ";
  321.         // line 197
  322.         (( !(null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'197$this->source); })()), "user", [], "any"falsefalsefalse197))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'197$this->source); })()), "user", [], "any"falsefalsefalse197), "ID", [], "any"falsefalsefalse197), "html"nulltrue))) : (print (null)));
  323.         echo "\">
  324. <input id=\"metricaUrl\" type=\"hidden\" value=\" ";
  325.         // line 198
  326.         echo twig_escape_filter($this->env, (isset($context["slivki_metrica_url"]) || array_key_exists("slivki_metrica_url"$context) ? $context["slivki_metrica_url"] : (function () { throw new RuntimeError('Variable "slivki_metrica_url" does not exist.'198$this->source); })()), "html"nulltrue);
  327.         echo "/api/v1/metric\">
  328. ";
  329.         // line 199
  330.         $context["geoIpLocation"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getIPLocationData();
  331.         // line 200
  332.         echo "<input type=\"hidden\" id=\"geoIpLatitude\" value=\"";
  333.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["geoIpLocation"]) || array_key_exists("geoIpLocation"$context) ? $context["geoIpLocation"] : (function () { throw new RuntimeError('Variable "geoIpLocation" does not exist.'200$this->source); })()), 0, [], "array"falsefalsefalse200), "html"nulltrue);
  334.         echo "\"/>
  335. <input type=\"hidden\" id=\"geoIpLongitude\" value=\"";
  336.         // line 201
  337.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["geoIpLocation"]) || array_key_exists("geoIpLocation"$context) ? $context["geoIpLocation"] : (function () { throw new RuntimeError('Variable "geoIpLocation" does not exist.'201$this->source); })()), 1, [], "array"falsefalsefalse201), "html"nulltrue);
  338.         echo "\"/>
  339. ";
  340.         // line 202
  341.         $context["subscription"] = ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'202$this->source); })()), "user", [], "any"falsefalsefalse202)) ? ($this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->getSubscription(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'202$this->source); })()), "user", [], "any"falsefalsefalse202))) : (null));
  342.         // line 203
  343.         echo "
  344. ";
  345.         // line 204
  346.         $this->displayBlock('linkToStore'$context$blocks);
  347.         // line 216
  348.         echo "
  349. ";
  350.         // line 217
  351.         $this->displayBlock('linkToPartner'$context$blocks);
  352.         // line 226
  353.         echo "
  354. ";
  355.         // line 227
  356.         $this->displayBlock('messenger'$context$blocks);
  357.         // line 231
  358.         $this->displayBlock('headerBanner'$context$blocks);
  359.         // line 238
  360.         $this->displayBlock('header'$context$blocks);
  361.         // line 279
  362.         echo "<main id=\"content\" class=\"container-fluid\">
  363.     <div id=\"topContent\" class=\"row no-gutters\">
  364.         <div class=\"col-12\">
  365.             ";
  366.         // line 282
  367.         $this->displayBlock('topContent'$context$blocks);
  368.         // line 283
  369.         echo "        </div>
  370.     </div>
  371.     <div class=\"row no-gutters\">
  372.         <div class=\"col-12\">
  373.             ";
  374.         // line 287
  375.         $this->displayBlock('content'$context$blocks);
  376.         // line 288
  377.         echo "        </div>
  378.     </div>
  379. </main>
  380. ";
  381.         // line 291
  382.         $this->displayBlock('footer'$context$blocks);
  383.         // line 294
  384.         echo "<nav id=\"sidebarMenu\">
  385.     ";
  386.         // line 295
  387.         $context["landingUrl"] = "/subscription-landing?utm_source=main_menu";
  388.         // line 296
  389.         echo "    ";
  390.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'296$this->source); })()), "user", [], "any"falsefalsefalse296)) {
  391.             // line 297
  392.             echo "        ";
  393.             $context["landingUrl"] = "/profile/subscription/manage?utm_source=main_menu";
  394.             // line 298
  395.             echo "    ";
  396.         }
  397.         // line 299
  398.         echo "    <div class=\"row sf-font h-100\">
  399.         <div class=\"col-10 bg-white px-0 side-bar-menu\">
  400.             ";
  401.         // line 301
  402.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'301$this->source); })()), "user", [], "any"falsefalsefalse301) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
  403.             // line 302
  404.             echo "                <div class=\"col w-fit-content my-3 ml-3\">
  405.                     <a class=\"d-block text-white text-center font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"/partner\">кабинет партнера</a>
  406.                     <p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
  407.                 </div>
  408.             ";
  409.         }
  410.         // line 307
  411.         echo "            <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
  412.                 ";
  413.         // line 308
  414.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'308$this->source); })()), "user", [], "any"falsefalsefalse308)) {
  415.             // line 309
  416.             echo "                    <a class=\"w-100\" href=\"";
  417.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
  418.             echo "\">
  419.                         <div id=\"userTopInfo\" class=\"user-info\">
  420.                             <p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
  421.                             <p id=\"username\">";
  422.             // line 312
  423.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'312$this->source); })()), "user", [], "any"falsefalsefalse312), "getPhone", [], "method"falsefalsefalse312)) ? (("***" twig_slice($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->phoneFilter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'312$this->source); })()), "user", [], "any"falsefalsefalse312), "getPhone", [], "method"falsefalsefalse312)), 3null))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'312$this->source); })()), "user", [], "any"falsefalsefalse312), "getEmail", [], "method"falsefalsefalse312))), "html"nulltrue);
  424.             echo "</p>
  425.                             ";
  426.             // line 313
  427.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
  428.                 // line 314
  429.                 echo "                                <a class=\"text-danger pl-2\" href=\"";
  430.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage")), "html"nulltrue);
  431.                 echo "\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
  432.                             ";
  433.             }
  434.             // line 316
  435.             echo "                        </div>
  436.                     </a>
  437.                 ";
  438.         } else {
  439.             // line 319
  440.             echo "                    <i class=\"slivki-icon-user-o user-avatar\"></i>
  441.                     <a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
  442.                 ";
  443.         }
  444.         // line 322
  445.         echo "            </div>
  446.             <ul class=\"list-unstyled menu-list__wrapper\">
  447.                 ";
  448.         // line 324
  449.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'324$this->source); })()), "user", [], "any"falsefalsefalse324) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::REPLENISHMENT_BALANCE")))) {
  450.             // line 325
  451.             echo "                    <li>
  452.                         <a href=\"/oplata\">
  453.                             <img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
  454.                             <lable style=\"font-weight: bold; font-size: 16px\">
  455.                                 <span id=\"balance\">";
  456.             // line 329
  457.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'329$this->source); })()), "user", [], "any"falsefalsefalse329), "getFullBalance", [], "method"falsefalsefalse329), 2","""), "html"nulltrue);
  458.             echo "</span> р
  459.                             </lable>
  460.                             <br>
  461.                             <a class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
  462.                         </a>
  463.                     </li>
  464.                     <li><a href=\"";
  465.             // line 335
  466.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
  467.             echo "#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
  468.                 ";
  469.         }
  470.         // line 337
  471.         echo "                ";
  472.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'337$this->source); })())) . "/select_city_opener.html.twig"), "Slivki/mobile/base.html.twig"337)->display($context);
  473.         // line 338
  474.         echo "                ";
  475.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'338$this->source); })())) . "/translate_block.html.twig"), "Slivki/mobile/base.html.twig"338)->display($context);
  476.         // line 339
  477.         echo "                ";
  478.         if (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SUBSCRIPTION")) && ( !twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'339$this->source); })()), "user", [], "any"falsefalsefalse339) || ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'339$this->source); })()), "user", [], "any"falsefalsefalse339) &&  !(null === (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'339$this->source); })()))) && (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'339$this->source); })()), "status", [], "any"falsefalsefalse339), twig_constant("Slivki\\Bundle\\SubscriptionBundle\\Enum\\SubscriptionStatus::CANCELED"))))))) {
  479.             // line 340
  480.             echo "                    <li>
  481.                         <a href=\"";
  482.             // line 341
  483.             echo twig_escape_filter($this->env, (isset($context["landingUrl"]) || array_key_exists("landingUrl"$context) ? $context["landingUrl"] : (function () { throw new RuntimeError('Variable "landingUrl" does not exist.'341$this->source); })()), "html"nulltrue);
  484.             echo "\">
  485.                             <div class=\"d-flex subscription-button-sidebar\">
  486.                                 <div class=\"icon-lightning align-self-center\"></div>
  487.                                 <div class=\"col\">
  488.                                     <div class=\"text-violet\">ПОДПИСКА</div>
  489.                                     <div>1 промокод  5 копеек</div>
  490.                                 </div>
  491.                             </div>
  492.                         </a>
  493.                     </li>
  494.                 ";
  495.         }
  496.         // line 352
  497.         echo "                <li class=\"bg-light-gray menu-list__title\">
  498.                     Интересное на сайте
  499.                 </li>
  500.                 ";
  501.         // line 356
  502.         if ((=== twig_compare(twig_length_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveSubCategories(0)), 1))) {
  503.             // line 357
  504.             echo "                    <li><a href=\"javascript:void(0)\" role=\"button\" data-toggle=\"modal\" data-target=\"#offerCategoryMenuPopup\"><img class=\"side-bar-menu-icons\" alt=\"Промокод\" src=\"/images/category-promo.svg\">Категории</a></li>
  505.                 ";
  506.         } else {
  507.             // line 359
  508.             echo "                    <li><a href=\"";
  509.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCityURL(), "html"nulltrue);
  510.             echo "\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
  511.                 ";
  512.         }
  513.         // line 361
  514.         echo "                ";
  515.         $context["menuItem"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTestMenuItem(2);
  516.         // line 362
  517.         echo "                ";
  518.         if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SALES"))) {
  519.             // line 363
  520.             echo "                    <li><a href=\"";
  521.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'363$this->source); })()), "html"nulltrue);
  522.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sales");
  523.             echo "\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
  524.                 ";
  525.         }
  526.         // line 365
  527.         echo "                ";
  528.         if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::FLIERS"))) {
  529.             // line 366
  530.             echo "                    <li><a href=\"";
  531.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_SALE_CATEGORY"), twig_constant("Slivki\\Entity\\Category::FLIER_SALE_CATEGORY_ID")), "html"nulltrue);
  532.             echo "\"><img class=\"side-bar-menu-icons\" alt=\"Листовки\" src=\"/images/listovki.svg\">Листовки</a></li>
  533.                 ";
  534.         }
  535.         // line 368
  536.         echo "                ";
  537.         if ( !$this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
  538.             // line 369
  539.             echo "                    <li class=\"py-2\">
  540.                         <a href=\"";
  541.             // line 370
  542.             echo twig_escape_filter($this->env, (isset($context["landingUrl"]) || array_key_exists("landingUrl"$context) ? $context["landingUrl"] : (function () { throw new RuntimeError('Variable "landingUrl" does not exist.'370$this->source); })()), "html"nulltrue);
  543.             echo "\">
  544.                             <div class=\"d-flex pl-2\">
  545.                                 <div class=\"icon-lightning align-self-center\"></div>
  546.                                 <div class=\"col pl-2\">
  547.                                     <div>Подписка</div>
  548.                                 </div>
  549.                             </div>
  550.                         </a>
  551.                     </li>
  552.                 ";
  553.         }
  554.         // line 380
  555.         echo "                <li><a href=\"/moya_akciya\" onclick=\"ga('send', 'event', 'create-own-offer-button--mobile-menu', 'Click', '1');\"><img class=\"side-bar-menu-icons\" src=\"/images/add-offer.svg\" alt=\"Добавление\">Разместить свою акцию</a></li>
  556.                 ";
  557.         // line 381
  558.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'381$this->source); })()), "user", [], "any"falsefalsefalse381) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
  559.             // line 382
  560.             echo "                    <li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
  561.                     <li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
  562.                     <li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
  563.                 ";
  564.         }
  565.         // line 386
  566.         echo "                ";
  567.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'386$this->source); })()), "user", [], "any"falsefalsefalse386) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
  568.             // line 387
  569.             echo "                    <li class=\"mar-b-5\"><a href=\"";
  570.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("partner");
  571.             echo "\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
  572.                 ";
  573.         }
  574.         // line 389
  575.         echo "            </ul>
  576.         </div>
  577.         <div class=\"col-2 bg-modal px-0 sidebar-overlay\">
  578.             <div class=\"sidebar-close__wrapper\">
  579.                 <i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
  580.             </div>
  581.         </div>
  582.     </div>
  583. </nav>
  584. ";
  585.         // line 398
  586.         $this->displayBlock('popup'$context$blocks);
  587.         // line 413
  588.         $this->displayBlock('brandingBanner'$context$blocks);
  589.         // line 414
  590.         $this->displayBlock('floatingMobileBanner'$context$blocks);
  591.         // line 419
  592.         $this->loadTemplate("Slivki/mobile/popup/confirm_popup.html.twig""Slivki/mobile/base.html.twig"419)->display($context);
  593.         // line 420
  594.         $this->loadTemplate("Slivki/delivery/modal/questions.html.twig""Slivki/mobile/base.html.twig"420)->display($context);
  595.         // line 421
  596.         $this->loadTemplate("Slivki/mobile/popup/alert_popup.html.twig""Slivki/mobile/base.html.twig"421)->display($context);
  597.         // line 422
  598.         $this->loadTemplate("Slivki/popups/examples_of_works_popup_small.html.twig""Slivki/mobile/base.html.twig"422)->display($context);
  599.         // line 423
  600.         $this->loadTemplate("Slivki/popups/examples_of_works_popup.html.twig""Slivki/mobile/base.html.twig"423)->display($context);
  601.         // line 424
  602.         $this->loadTemplate("Slivki/mobile/popup/new_alert_popup.html.twig""Slivki/mobile/base.html.twig"424)->display($context);
  603.         // line 425
  604.         $this->loadTemplate("Slivki/mobile/popup/mail_popup.html.twig""Slivki/mobile/base.html.twig"425)->display($context);
  605.         // line 426
  606.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'426$this->source); })())) . "/popup/info_message_popup.html.twig"), "Slivki/mobile/base.html.twig"426)->display($context);
  607.         // line 427
  608.         $this->loadTemplate("Slivki/beauty/beauty_master_popup.html.twig""Slivki/mobile/base.html.twig"427)->display($context);
  609.         // line 428
  610.         $this->loadTemplate("Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig""Slivki/mobile/base.html.twig"428)->display($context);
  611.         // line 429
  612.         echo "
  613. <!-- Yandex.Metrika counter -->
  614. <script type=\"text/javascript\" >
  615.     (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  616.         m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  617.     (window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
  618.     ym(20933521, \"init\", {
  619.         clickmap:true,
  620.         trackLinks:true,
  621.         accurateTrackBounce:true
  622.     });
  623. </script>
  624. <noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
  625. <!-- /Yandex.Metrika counter -->
  626. <script src=\"https://code.jquery.com/jquery-3.3.1.min.js\"></script>
  627. ";
  628.         // line 445
  629.         $context["coordinate"] = twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'445$this->source); })()), "getCoordinate", [], "method"falsefalsefalse445);
  630.         // line 446
  631.         echo "<input type=\"hidden\" id=\"cityCoord\" value=\"[";
  632.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["coordinate"]) || array_key_exists("coordinate"$context) ? $context["coordinate"] : (function () { throw new RuntimeError('Variable "coordinate" does not exist.'446$this->source); })()), "getLatitude", [], "method"falsefalsefalse446), "html"nulltrue);
  633.         echo ", ";
  634.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["coordinate"]) || array_key_exists("coordinate"$context) ? $context["coordinate"] : (function () { throw new RuntimeError('Variable "coordinate" does not exist.'446$this->source); })()), "getLongitude", [], "method"falsefalsefalse446), "html"nulltrue);
  635.         echo "]\">
  636. ";
  637.         // line 447
  638.         $this->displayBlock('javascripts'$context$blocks);
  639.         // line 493
  640.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'493$this->source); })()), "user", [], "any"falsefalsefalse493) && (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'493$this->source); })()), "user", [], "any"falsefalsefalse493), "isGeoLocationAccepted", [], "method"falsefalsefalse493), null)))) {
  641.             // line 494
  642.             echo "    <input type=\"hidden\" id=\"storeGeoLocationData\"/>
  643. ";
  644.         }
  645.         // line 496
  646.         echo "<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
  647. <div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
  648. ";
  649.         // line 498
  650.         $this->displayBlock('RTBHouse'$context$blocks);
  651.         // line 518
  652.         $this->displayBlock('metrikaEvent'$context$blocks);
  653.         // line 519
  654.         echo "</body>
  655. </html>";
  656.         
  657.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  658.         
  659.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  660.     }
  661.     // line 17
  662.     public function block_meta($context, array $blocks = [])
  663.     {
  664.         $macros $this->macros;
  665.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  666.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  667.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  668.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  669.         
  670.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  671.         
  672.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  673.     }
  674.     // line 30
  675.     public function block_styles($context, array $blocks = [])
  676.     {
  677.         $macros $this->macros;
  678.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  679.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  680.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  681.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  682.         // line 31
  683.         echo "        <link href=\"/mobile/css/style.min.css?v=";
  684.         echo twig_escape_filter($this->env, (isset($context["mobile_style_css_version"]) || array_key_exists("mobile_style_css_version"$context) ? $context["mobile_style_css_version"] : (function () { throw new RuntimeError('Variable "mobile_style_css_version" does not exist.'31$this->source); })()), "html"nulltrue);
  685.         echo "\" rel=\"stylesheet\">
  686.         <link href=\"/css/new_popup.css?v=";
  687.         // line 32
  688.         echo twig_escape_filter($this->env, (isset($context["new_popup_css_version"]) || array_key_exists("new_popup_css_version"$context) ? $context["new_popup_css_version"] : (function () { throw new RuntimeError('Variable "new_popup_css_version" does not exist.'32$this->source); })()), "html"nulltrue);
  689.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  690.         ";
  691.         // line 33
  692.         if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "getPathInfo", [], "method"falsefalsefalse33), "/profile"))) {
  693.             // line 34
  694.             echo "            <link href=\"/css/crt-fonts.css?v=";
  695.             echo twig_escape_filter($this->env, (isset($context["crt_fonts_css_version"]) || array_key_exists("crt_fonts_css_version"$context) ? $context["crt_fonts_css_version"] : (function () { throw new RuntimeError('Variable "crt_fonts_css_version" does not exist.'34$this->source); })()), "html"nulltrue);
  696.             echo "\" rel=\"stylesheet\" type=\"text/css\" />
  697.             <link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
  698.         ";
  699.         }
  700.         // line 37
  701.         echo "    ";
  702.         
  703.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  704.         
  705.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  706.     }
  707.     // line 38
  708.     public function block_favicon($context, array $blocks = [])
  709.     {
  710.         $macros $this->macros;
  711.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  712.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  713.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  714.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  715.         // line 39
  716.         echo "        <!-- iPhone(first generation or 2G), iPhone 3G, iPhone 3GS -->
  717.         <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  718.         // line 40
  719.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico?v=2"), "html"nulltrue);
  720.         echo "\"/>
  721.         <!--[if IE]><link rel=\"shortcut icon\" href=\"";
  722.         // line 41
  723.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico?v=2"), "html"nulltrue);
  724.         echo "\"><![endif]-->
  725.     ";
  726.         
  727.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  728.         
  729.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  730.     }
  731.     // line 204
  732.     public function block_linkToStore($context, array $blocks = [])
  733.     {
  734.         $macros $this->macros;
  735.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  736.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToStore"));
  737.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  738.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToStore"));
  739.         // line 205
  740.         echo "    ";
  741.         if ((array_key_exists("category"$context) || array_key_exists("offer"$context))) {
  742.             // line 206
  743.             echo "        <div id=\"linkToStore\" class=\"d-flex\">
  744.             <img src=\"/images/logomob.png\" height=\"35\" alt=\"\">
  745.             <div class=\"col pl-0\">
  746.                 <p class=\"sf-bold-font\">Slivki: промокоды  и скидки</p>
  747.                 <p>В приложении</p>
  748.             </div>
  749.             <div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
  750.         </div>
  751.     ";
  752.         }
  753.         
  754.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  755.         
  756.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  757.     }
  758.     // line 217
  759.     public function block_linkToPartner($context, array $blocks = [])
  760.     {
  761.         $macros $this->macros;
  762.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  763.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToPartner"));
  764.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  765.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""linkToPartner"));
  766.         // line 218
  767.         echo "    ";
  768.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'218$this->source); })()), "user", [], "any"falsefalsefalse218) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
  769.             // line 219
  770.             echo "        <div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
  771.             <div>Здравствуйте, <span class=\"sf-bold-font\">";
  772.             // line 220
  773.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'220$this->source); })()), "user", [], "any"falsefalsefalse220), "getFirstName", [], "method"falsefalsefalse220), "html"nulltrue);
  774.             echo "!</span></div>
  775.             <div>Здесь вы можете проверить промокод</div>
  776.             <a class=\"d-block text-white font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"";
  777.             // line 222
  778.             echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'222$this->source); })()), "html"nulltrue);
  779.             echo "/partner\">перейти в кабинет партнера</a>
  780.         </div>
  781.     ";
  782.         }
  783.         
  784.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  785.         
  786.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  787.     }
  788.     // line 227
  789.     public function block_messenger($context, array $blocks = [])
  790.     {
  791.         $macros $this->macros;
  792.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  793.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  794.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  795.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  796.         // line 228
  797.         echo "    ";
  798.         $this->loadTemplate("Slivki/jivosite/button_mobile.html.twig""Slivki/mobile/base.html.twig"228)->display($context);
  799.         // line 229
  800.         echo "    ";
  801.         $this->loadTemplate((("Slivki" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'229$this->source); })())) . "/jivosite/modal_mobile.html.twig"), "Slivki/mobile/base.html.twig"229)->display($context);
  802.         
  803.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  804.         
  805.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  806.     }
  807.     // line 231
  808.     public function block_headerBanner($context, array $blocks = [])
  809.     {
  810.         $macros $this->macros;
  811.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  812.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerBanner"));
  813.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  814.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerBanner"));
  815.         // line 232
  816.         echo "    ";
  817.         if ( !(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'232$this->source); })()), "user", [], "any"falsefalsefalse232) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'232$this->source); })()), "user", [], "any"falsefalsefalse232), "hasRole", [=> twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method"falsefalsefalse232))) {
  818.             // line 233
  819.             echo "        <div id=\"headerBanner\" class=\"head-banner-container\">
  820.             ";
  821.             // line 234
  822.             echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTopSiteBanner(((array_key_exists("brandingBannerCategoryIDs"$context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs"$context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.'234$this->source); })())) : ([])), truetrue);
  823.             echo "
  824.         </div>
  825.     ";
  826.         }
  827.         
  828.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  829.         
  830.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  831.     }
  832.     // line 238
  833.     public function block_header($context, array $blocks = [])
  834.     {
  835.         $macros $this->macros;
  836.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  837.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  838.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  839.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  840.         // line 239
  841.         echo "<div id=\"headerWrapper\">
  842.     <div id=\"header\" class=\"";
  843.         // line 240
  844.         echo (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($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"falsefalsefalse240), "get", [=> "_route"], "method"falsefalsefalse240), "deliveryOrder"))) ? ("no-fixed") : (""));
  845.         echo "\">
  846.         <nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
  847.             <a class=\"navbar-brand mx-3\" href=\"";
  848.         // line 242
  849.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'242$this->source); })()), "html"nulltrue);
  850.         echo "\"><img src=\"/images/logomob.png\" height=\"26\" alt=\"\"></a>
  851.             <div class=\"navbar-collapse collapse\">
  852.                 <form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"";
  853.         // line 244
  854.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'244$this->source); })()), "html"nulltrue);
  855.         echo "/search\">
  856.                     <div class=\"input-group\">
  857.                         <input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Я ищу...\" value=\"";
  858.         // line 246
  859.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'246$this->source); })()), "request", [], "any"falsefalsefalse246), "query", [], "any"falsefalsefalse246), "get", [=> "text"=> ""], "method"falsefalsefalse246), "html"nulltrue);
  860.         echo "\">
  861.                         <button class=\"input-group-append button-search-landing\" type=\"submit\">
  862.                             <img alt=\"\" src=\"/images/searchNewWhite.svg\" />
  863.                         </button>
  864.                         <button class=\"voice-search-btn\" type=\"button\"></button>
  865.                         ";
  866.         // line 251
  867.         $this->loadTemplate("search_equalizer.html.twig""Slivki/mobile/base.html.twig"251)->display(twig_to_array(["barCount" => 36"barPadding" => 6]));
  868.         // line 252
  869.         echo "                    </div>
  870.                     <input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"";
  871.         // line 253
  872.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'253$this->source); })()), "request", [], "any"falsefalsefalse253), "query", [], "any"falsefalsefalse253), "get", [=> "sortBy"=> "default"], "method"falsefalsefalse253), "html"nulltrue);
  873.         echo "\">
  874.                     <input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"";
  875.         // line 254
  876.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'254$this->source); })()), "request", [], "any"falsefalsefalse254), "query", [], "any"falsefalsefalse254), "get", [=> "distance"=> "0"], "method"falsefalsefalse254), "html"nulltrue);
  877.         echo "\">
  878.                     <input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\"  value=\"false\"/>
  879.                 </form>
  880.                 <ul class=\"list-unstyled navbar-nav\">
  881.                     ";
  882.         // line 258
  883.         if ( !twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'258$this->source); })()), "user", [], "any"falsefalsefalse258)) {
  884.             // line 259
  885.             echo "                        <li class=\"nav-item focus-tel\">
  886.                             <a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
  887.                         </li>
  888.                     ";
  889.         } else {
  890.             // line 263
  891.             echo "                        <li class=\"nav-item d-none d-sm-block\">
  892.                             <a id=\"headerUserName\" class=\"nav-link\" href=\"";
  893.             // line 264
  894.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
  895.             echo "\">";
  896.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'264$this->source); })()), "user", [], "any"falsefalsefalse264), "getFirstName", [], "method"falsefalsefalse264), "html"nulltrue);
  897.             echo "</a>
  898.                         </li>
  899.                     ";
  900.         }
  901.         // line 267
  902.         echo "                    <li class=\"nav-item\">
  903.                         <a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
  904.                             <i class=\"slivki-icon-menu text-black\"></i>
  905.                         </a>
  906.                     </li>
  907.                 </ul>
  908.             </div>
  909.         </nav>
  910.         ";
  911.         // line 275
  912.         $this->loadTemplate((("Slivki/mobile/" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'275$this->source); })())) . "/header_menu.html.twig"), "Slivki/mobile/base.html.twig"275)->display($context);
  913.         // line 276
  914.         echo "    </div>
  915. </div>
  916. ";
  917.         
  918.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  919.         
  920.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  921.     }
  922.     // line 282
  923.     public function block_topContent($context, array $blocks = [])
  924.     {
  925.         $macros $this->macros;
  926.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  927.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topContent"));
  928.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  929.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topContent"));
  930.         
  931.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  932.         
  933.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  934.     }
  935.     // line 287
  936.     public function block_content($context, array $blocks = [])
  937.     {
  938.         $macros $this->macros;
  939.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  940.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  941.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  942.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  943.         
  944.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  945.         
  946.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  947.     }
  948.     // line 291
  949.     public function block_footer($context, array $blocks = [])
  950.     {
  951.         $macros $this->macros;
  952.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  953.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  954.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  955.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  956.         // line 292
  957.         echo "    ";
  958.         $this->loadTemplate((("Slivki/mobile" . (isset($context["regional_template_path"]) || array_key_exists("regional_template_path"$context) ? $context["regional_template_path"] : (function () { throw new RuntimeError('Variable "regional_template_path" does not exist.'292$this->source); })())) . "/footer.html.twig"), "Slivki/mobile/base.html.twig"292)->display($context);
  959.         
  960.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  961.         
  962.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  963.     }
  964.     // line 398
  965.     public function block_popup($context, array $blocks = [])
  966.     {
  967.         $macros $this->macros;
  968.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  969.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  970.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  971.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  972.         // line 399
  973.         echo "    ";
  974.         $this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig""Slivki/mobile/base.html.twig"399)->display($context);
  975.         // line 400
  976.         echo "    ";
  977.         echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMainMenu($this->envfalsefalse);
  978.         echo "
  979.     ";
  980.         // line 401
  981.         if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'401$this->source); })()), "session", [], "any"falsefalsefalse401), "flashbag", [], "any"falsefalsefalse401), "get", [=> "showMogilevMailingBonusPopup"], "method"falsefalsefalse401)), 0))) {
  982.             // line 402
  983.             echo "        ";
  984.             $this->loadTemplate("Slivki/mobile/popup/mogilev_mailing_popup.html.twig""Slivki/mobile/base.html.twig"402)->display($context);
  985.             // line 403
  986.             echo "    ";
  987.         }
  988.         // line 404
  989.         echo "    ";
  990.         $this->loadTemplate("Slivki/mobile/select_city.html.twig""Slivki/mobile/base.html.twig"404)->display($context);
  991.         // line 405
  992.         echo "    ";
  993.         $this->loadTemplate("Slivki/mobile/popup/push.html.twig""Slivki/mobile/base.html.twig"405)->display($context);
  994.         // line 406
  995.         echo "    ";
  996.         if ( !twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'406$this->source); })()), "user", [], "any"falsefalsefalse406)) {
  997.             // line 407
  998.             echo "        ";
  999.             $this->loadTemplate("Slivki/mobile/popup/login.html.twig""Slivki/mobile/base.html.twig"407)->display($context);
  1000.             // line 408
  1001.             echo "        ";
  1002.             $this->loadTemplate("Slivki/mobile/popup/restore_password.html.twig""Slivki/mobile/base.html.twig"408)->display($context);
  1003.             // line 409
  1004.             echo "        ";
  1005.             $this->loadTemplate("Slivki/mobile/popup/succes_restore_password.html.twig""Slivki/mobile/base.html.twig"409)->display($context);
  1006.             // line 410
  1007.             echo "    ";
  1008.         }
  1009.         // line 411
  1010.         echo "    ";
  1011.         $this->loadTemplate("Slivki/popups/deep_links_popup.html.twig""Slivki/mobile/base.html.twig"411)->display($context);
  1012.         
  1013.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1014.         
  1015.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1016.     }
  1017.     // line 413
  1018.     public function block_brandingBanner($context, array $blocks = [])
  1019.     {
  1020.         $macros $this->macros;
  1021.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1022.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""brandingBanner"));
  1023.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1024.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""brandingBanner"));
  1025.         
  1026.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1027.         
  1028.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1029.     }
  1030.     // line 414
  1031.     public function block_floatingMobileBanner($context, array $blocks = [])
  1032.     {
  1033.         $macros $this->macros;
  1034.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1035.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""floatingMobileBanner"));
  1036.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1037.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""floatingMobileBanner"));
  1038.         // line 415
  1039.         echo "    ";
  1040.         if ( !(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'415$this->source); })()), "user", [], "any"falsefalsefalse415) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'415$this->source); })()), "user", [], "any"falsefalsefalse415), "hasRole", [=> twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method"falsefalsefalse415))) {
  1041.             // line 416
  1042.             echo "        ";
  1043.             echo $this->env->getRuntime('Slivki\Twig\MobileFloatingBannerRuntime')->getMobileFloatingBanner(((array_key_exists("brandingBannerCategoryIDs"$context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs"$context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.'416$this->source); })())) : ([])));
  1044.             echo "
  1045.     ";
  1046.         }
  1047.         
  1048.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1049.         
  1050.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1051.     }
  1052.     // line 447
  1053.     public function block_javascripts($context, array $blocks = [])
  1054.     {
  1055.         $macros $this->macros;
  1056.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1057.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1058.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1059.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1060.         // line 448
  1061.         echo "    <script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
  1062.     <script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
  1063.     <script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
  1064.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  1065.     <script src=\"https://cdn.jsdelivr.net/npm/universal-parallax@1.3.2/dist/universal-parallax.min.js\"></script>
  1066.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js\" integrity=\"sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1067.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-touch-events/2.0.0/jquery.mobile-events.min.js\"></script>
  1068.     <script src=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js\"></script>
  1069.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\"></script>
  1070.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
  1071.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js\"></script>
  1072.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.5.9/lottie_light.min.js\"></script>
  1073.     <script src=\"/js/jquery.maskedinput.min.js\"></script>
  1074.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.5/jquery.inputmask.min.js\"></script>
  1075.     <script type=\"text/javascript\" src=\"/js/jquery.cookie.min.js?v=1\"></script>
  1076.     <script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
  1077.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js\"></script>
  1078.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/intlTelInput-jquery.min.js\"></script>
  1079.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/utils.min.js\"></script>
  1080.    <script src=\"https://www.google.com/recaptcha/api.js\"></script>
  1081.     <script src=\"/js/common.min.js?v=";
  1082.         // line 468
  1083.         echo twig_escape_filter($this->env, (isset($context["common_js_version"]) || array_key_exists("common_js_version"$context) ? $context["common_js_version"] : (function () { throw new RuntimeError('Variable "common_js_version" does not exist.'468$this->source); })()), "html"nulltrue);
  1084.         echo "\"></script>
  1085.     <script type=\"module\" src=\"/js/time_block_category/main.js?v=";
  1086.         // line 469
  1087.         echo twig_escape_filter($this->env, (isset($context["time_block_category_js"]) || array_key_exists("time_block_category_js"$context) ? $context["time_block_category_js"] : (function () { throw new RuntimeError('Variable "time_block_category_js" does not exist.'469$this->source); })()), "html"nulltrue);
  1088.         echo "\"></script>
  1089.     <script src=\"/mobile/js/script.min.js?v=";
  1090.         // line 470
  1091.         echo twig_escape_filter($this->env, (isset($context["mobile_script_js_version"]) || array_key_exists("mobile_script_js_version"$context) ? $context["mobile_script_js_version"] : (function () { throw new RuntimeError('Variable "mobile_script_js_version" does not exist.'470$this->source); })()), "html"nulltrue);
  1092.         echo "\"></script>
  1093.     <script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
  1094.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1095.     <script src=\"/js/gtranslate.js\"></script>
  1096.     <script src=\"/js/subscription.js?v=";
  1097.         // line 474
  1098.         echo twig_escape_filter($this->env, (isset($context["subscription_js_version"]) || array_key_exists("subscription_js_version"$context) ? $context["subscription_js_version"] : (function () { throw new RuntimeError('Variable "subscription_js_version" does not exist.'474$this->source); })()), "html"nulltrue);
  1099.         echo "\"></script>
  1100.     <script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
  1101.     <script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
  1102.     <script src=\"/js/jquery.sameheight.js\"></script>
  1103.     <script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v=";
  1104.         // line 478
  1105.         echo twig_escape_filter($this->env, (isset($context["flowers_category_carousel_js_version"]) || array_key_exists("flowers_category_carousel_js_version"$context) ? $context["flowers_category_carousel_js_version"] : (function () { throw new RuntimeError('Variable "flowers_category_carousel_js_version" does not exist.'478$this->source); })()), "html"nulltrue);
  1106.         echo "\"></script>
  1107.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js\"></script>
  1108.     <script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v=";
  1109.         // line 480
  1110.         echo twig_escape_filter($this->env, (isset($context["family_subscription_js_version"]) || array_key_exists("family_subscription_js_version"$context) ? $context["family_subscription_js_version"] : (function () { throw new RuntimeError('Variable "family_subscription_js_version" does not exist.'480$this->source); })()), "html"nulltrue);
  1111.         echo "\"></script>
  1112.     <script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v=";
  1113.         // line 481
  1114.         echo twig_escape_filter($this->env, (isset($context["family_subscription_js_version"]) || array_key_exists("family_subscription_js_version"$context) ? $context["family_subscription_js_version"] : (function () { throw new RuntimeError('Variable "family_subscription_js_version" does not exist.'481$this->source); })()), "html"nulltrue);
  1115.         echo "\"></script>
  1116.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1117.     <script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v=";
  1118.         // line 483
  1119.         echo twig_escape_filter($this->env, (isset($context["api_work_examples_js_version"]) || array_key_exists("api_work_examples_js_version"$context) ? $context["api_work_examples_js_version"] : (function () { throw new RuntimeError('Variable "api_work_examples_js_version" does not exist.'483$this->source); })()), "html"nulltrue);
  1120.         echo "\"></script>
  1121.     <script src=\"/js/helper.js?v=";
  1122.         // line 484
  1123.         echo twig_escape_filter($this->env, (isset($context["helper_version_js"]) || array_key_exists("helper_version_js"$context) ? $context["helper_version_js"] : (function () { throw new RuntimeError('Variable "helper_version_js" does not exist.'484$this->source); })()), "html"nulltrue);
  1124.         echo "\"></script>
  1125.     <script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
  1126.     <script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v=";
  1127.         // line 486
  1128.         echo twig_escape_filter($this->env, (isset($context["main_map_beauty_js_version"]) || array_key_exists("main_map_beauty_js_version"$context) ? $context["main_map_beauty_js_version"] : (function () { throw new RuntimeError('Variable "main_map_beauty_js_version" does not exist.'486$this->source); })()), "html"nulltrue);
  1129.         echo "\"></script>
  1130.     <script type=\"module\" src=\"/js/beauty/masters.js?v=";
  1131.         // line 487
  1132.         echo twig_escape_filter($this->env, (isset($context["beauty_masters_js_version"]) || array_key_exists("beauty_masters_js_version"$context) ? $context["beauty_masters_js_version"] : (function () { throw new RuntimeError('Variable "beauty_masters_js_version" does not exist.'487$this->source); })()), "html"nulltrue);
  1133.         echo "\"></script>
  1134.     <script type=\"module\" src=\"/js/oplati/main.js?v=";
  1135.         // line 488
  1136.         echo twig_escape_filter($this->env, (isset($context["oplati_js_version"]) || array_key_exists("oplati_js_version"$context) ? $context["oplati_js_version"] : (function () { throw new RuntimeError('Variable "oplati_js_version" does not exist.'488$this->source); })()), "html"nulltrue);
  1137.         echo "\" />
  1138.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
  1139.             integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  1140.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1141. ";
  1142.         
  1143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1144.         
  1145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1146.     }
  1147.     // line 498
  1148.     public function block_RTBHouse($context, array $blocks = [])
  1149.     {
  1150.         $macros $this->macros;
  1151.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""RTBHouse"));
  1153.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""RTBHouse"));
  1155.         // line 499
  1156.         echo "    <script>
  1157.         try{ (function() {
  1158.             var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value);
  1159.             var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) {
  1160.                 lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";
  1161.                 for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);}
  1162.             rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid);
  1163.             var ifr = document.createElement(\"iframe\"),
  1164.                 sr = encodeURIComponent(document.referrer ? document.referrer : \"\"),
  1165.                 su = encodeURIComponent(document.location.href ? document.location.href : \"\"),
  1166.                 ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);}
  1167.             ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp;
  1168.             ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\");
  1169.             ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\");
  1170.             ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\");
  1171.             ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);}
  1172.             else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});}
  1173.         })();} catch(e) {} </script>
  1174. ";
  1175.         
  1176.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1177.         
  1178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1179.     }
  1180.     // line 518
  1181.     public function block_metrikaEvent($context, array $blocks = [])
  1182.     {
  1183.         $macros $this->macros;
  1184.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metrikaEvent"));
  1186.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metrikaEvent"));
  1188.         
  1189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1190.         
  1191.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1192.     }
  1193.     public function getTemplateName()
  1194.     {
  1195.         return "Slivki/mobile/base.html.twig";
  1196.     }
  1197.     public function isTraitable()
  1198.     {
  1199.         return false;
  1200.     }
  1201.     public function getDebugInfo()
  1202.     {
  1203.         return array (  1280 => 518,  1252 => 499,  1242 => 498,  1227 => 488,  1223 => 487,  1219 => 486,  1214 => 484,  1210 => 483,  1205 => 481,  1201 => 480,  1196 => 478,  1189 => 474,  1182 => 470,  1178 => 469,  1174 => 468,  1152 => 448,  1142 => 447,  1128 => 416,  1125 => 415,  1115 => 414,  1097 => 413,  1086 => 411,  1083 => 410,  1080 => 409,  1077 => 408,  1074 => 407,  1071 => 406,  1068 => 405,  1065 => 404,  1062 => 403,  1059 => 402,  1057 => 401,  1052 => 400,  1049 => 399,  1039 => 398,  1028 => 292,  1018 => 291,  1000 => 287,  982 => 282,  970 => 276,  968 => 275,  958 => 267,  950 => 264,  947 => 263,  941 => 259,  939 => 258,  932 => 254,  928 => 253,  925 => 252,  923 => 251,  915 => 246,  910 => 244,  905 => 242,  900 => 240,  897 => 239,  887 => 238,  873 => 234,  870 => 233,  867 => 232,  857 => 231,  846 => 229,  843 => 228,  833 => 227,  819 => 222,  814 => 220,  811 => 219,  808 => 218,  798 => 217,  779 => 206,  776 => 205,  766 => 204,  754 => 41,  750 => 40,  747 => 39,  737 => 38,  727 => 37,  720 => 34,  718 => 33,  714 => 32,  709 => 31,  699 => 30,  681 => 17,  670 => 519,  668 => 518,  666 => 498,  662 => 496,  658 => 494,  656 => 493,  654 => 447,  647 => 446,  645 => 445,  627 => 429,  625 => 428,  623 => 427,  621 => 426,  619 => 425,  617 => 424,  615 => 423,  613 => 422,  611 => 421,  609 => 420,  607 => 419,  605 => 414,  603 => 413,  601 => 398,  590 => 389,  584 => 387,  581 => 386,  575 => 382,  573 => 381,  570 => 380,  557 => 370,  554 => 369,  551 => 368,  545 => 366,  542 => 365,  535 => 363,  532 => 362,  529 => 361,  523 => 359,  519 => 357,  517 => 356,  511 => 352,  497 => 341,  494 => 340,  491 => 339,  488 => 338,  485 => 337,  480 => 335,  471 => 329,  465 => 325,  463 => 324,  459 => 322,  454 => 319,  449 => 316,  443 => 314,  441 => 313,  437 => 312,  430 => 309,  428 => 308,  425 => 307,  418 => 302,  416 => 301,  412 => 299,  409 => 298,  406 => 297,  403 => 296,  401 => 295,  398 => 294,  396 => 291,  391 => 288,  389 => 287,  383 => 283,  381 => 282,  376 => 279,  374 => 238,  372 => 231,  370 => 227,  367 => 226,  365 => 217,  362 => 216,  360 => 204,  357 => 203,  355 => 202,  351 => 201,  346 => 200,  344 => 199,  340 => 198,  336 => 197,  332 => 196,  328 => 195,  324 => 194,  319 => 193,  312 => 190,  306 => 188,  304 => 187,  299 => 186,  297 => 185,  294 => 184,  288 => 182,  286 => 181,  277 => 174,  273 => 172,  271 => 171,  266 => 170,  262 => 168,  260 => 167,  258 => 166,  255 => 165,  228 => 140,  226 => 139,  206 => 121,  204 => 120,  188 => 106,  171 => 91,  169 => 90,  123 => 47,  117 => 43,  114 => 38,  112 => 30,  98 => 18,  96 => 17,  92 => 16,  87 => 15,  85 => 14,  80 => 11,  76 => 9,  72 => 7,  70 => 6,  66 => 4,  64 => 3,  62 => 2,  60 => 1,);
  1204.     }
  1205.     public function getSourceContext()
  1206.     {
  1207.         return new Source("{% set metaInfo = getMetaInfo() %}
  1208. {% set path = app.request.requestUri|url_encode %}
  1209. {% if app.request.query.get('path') %}
  1210.     {% set path = app.request.query.get('path')|url_encode %}
  1211. {% endif %}
  1212. {% if path != '%2F' %}
  1213.     {% set path = '?path=' ~ path %}
  1214. {% else %}
  1215.     {% set path = '' %}
  1216. {% endif %}
  1217. <!DOCTYPE html>
  1218. <html lang=\"ru\">
  1219. <head>
  1220.     {% include \"Slivki#{regional_template_path}/mobile/meta_block.html.twig\" %}
  1221.     <link href=\"/css/flowersHotLent.css?v={{ flowers_hot_lent_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  1222.     <link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v={{ beauty_masters_css_version }}\" type=\"text/css\"/>
  1223.     {% block meta %}{% endblock %}
  1224.     <link href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" rel=\"stylesheet\">
  1225.     <link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
  1226.     <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
  1227.     <link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
  1228.     <link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
  1229.     <link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
  1230.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css\" />
  1231.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css\" integrity=\"sha512-yHknP1/AwR+yx26cB1y0cjvQUMvEa2PFzt1c9LlS4pRQ5NOTZFWbhBig+X9G9eYW/8m0/4OXNx8pxJ6z57x0dw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  1232.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css\" integrity=\"sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  1233.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  1234.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  1235.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  1236.     {% block styles %}
  1237.         <link href=\"/mobile/css/style.min.css?v={{ mobile_style_css_version }}\" rel=\"stylesheet\">
  1238.         <link href=\"/css/new_popup.css?v={{ new_popup_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  1239.         {% if app.request.getPathInfo() == '/profile' %}
  1240.             <link href=\"/css/crt-fonts.css?v={{ crt_fonts_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  1241.             <link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
  1242.         {% endif %}
  1243.     {% endblock %}
  1244.     {% block favicon %}
  1245.         <!-- iPhone(first generation or 2G), iPhone 3G, iPhone 3GS -->
  1246.         <link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico?v=2') }}\"/>
  1247.         <!--[if IE]><link rel=\"shortcut icon\" href=\"{{ asset('favicon.ico?v=2') }}\"><![endif]-->
  1248.     {% endblock %}
  1249.     <meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
  1250.     <link rel=\"manifest\" href=\"/manifest.json?v=0\">
  1251.     <script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
  1252.     <script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
  1253.     <script type=\"text/javascript\" src=\"{{ slivki_metrica_url }}/js/metric.js\"></script>
  1254.     <script>
  1255.         async function metricEvent(urlEvent, data) {
  1256.             const response = await fetch(urlEvent, {
  1257.                 method: 'POST',
  1258.                 body: JSON.stringify(data)
  1259.             });
  1260.             return await response.json();
  1261.         }
  1262.     </script>
  1263.     <!-- TikTok Code -->
  1264.     <script>
  1265.         !function (w, d, t) {
  1266.             w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=[\"page\",\"track\",\"identify\",\"instances\",\"debug\",\"on\",\"off\",\"once\",\"ready\",\"alias\",\"group\",\"enableCookie\",\"disableCookie\"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++
  1267.             )ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i=\"https://analytics.tiktok.com/i18n/pixel/events.js\";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement(\"script\");n.type=\"text/javascript\",n.async=!0,n.src=i+\"?sdkid=\"+e+\"&lib=\"+t;e=document.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(n,e)};
  1268.             ttq.load('CAEQUGBC77U9MLGRE66G');
  1269.             ttq.page();
  1270.         }(window, document, 'ttq');
  1271.     </script>
  1272.     <!-- End TikTok Code -->
  1273.     <!-- Meta Pixel Code -->
  1274.     <script>
  1275.         !function(f,b,e,v,n,t,s)
  1276.         {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  1277.             n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  1278.             if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  1279.             n.queue=[];t=b.createElement(e);t.async=!0;
  1280.             t.src=v;s=b.getElementsByTagName(e)[0];
  1281.             s.parentNode.insertBefore(t,s)}(window, document,'script',
  1282.             'https://connect.facebook.net/en_US/fbevents.js');
  1283.         fbq('init', '274301711683015');
  1284.         fbq('track', 'PageView');
  1285.     </script>
  1286.     <noscript><img height=\"1\" width=\"1\" style=\"display:none\"
  1287.                    src=\"https://www.facebook.com/tr?id=274301711683015&ev=PageView&noscript=1\"/></noscript>
  1288.     <!-- End Meta Pixel Code -->
  1289.     <noscript>
  1290.         <img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1884900258504761&ev=PageView&noscript=1\" style=\"display: none;\"/>
  1291.     </noscript>
  1292.     <!-- End Facebook Pixel Code -->
  1293.     <script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-167315-4IspB';</script>
  1294.     {% if fitnessOffer is defined %}
  1295.         <script>
  1296.             !function(f,b,e,v,n,t,s)
  1297.             {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  1298.                 n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  1299.                 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  1300.                 n.queue=[];t=b.createElement(e);t.async=!0;
  1301.                 t.src=v;s=b.getElementsByTagName(e)[0];
  1302.                 s.parentNode.insertBefore(t,s)}(window, document,'script',
  1303.                 'https://connect.facebook.net/en_US/fbevents.js');
  1304.             fbq('init', '1615676305118909');
  1305.             fbq('track', 'PageView');
  1306.         </script>
  1307.         <noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1615676305118909&ev=PageView&noscript=1\"/></noscript>
  1308.         <script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-170417-8Uj6y';</script>
  1309.     {% endif %}
  1310.     <script>
  1311.         var userAgent = navigator.userAgent || navigator.vendor || window.opera;
  1312.         if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
  1313.             userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
  1314.             var d = document,
  1315.                 h = d.getElementsByTagName('head')[0],
  1316.                 s = d.createElement('script');
  1317.             s.type = 'text/javascript';
  1318.             s.async = true;
  1319.             s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
  1320.             h.appendChild(s);
  1321.         }
  1322.     </script>
  1323.     <!-- Global site tag (gtag.js) - Google Analytics -->
  1324.     {% set currentCity = getCurrentCity() %}
  1325.     <!-- Global site tag (gtag.js) - Google Analytics -->
  1326.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-185332166-1\"></script>
  1327.     <script>
  1328.         window.dataLayer = window.dataLayer || [];
  1329.         function gtag(){dataLayer.push(arguments);}
  1330.         gtag('js', new Date());
  1331.         gtag('config', 'UA-185332166-1');
  1332.     </script>
  1333.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-VGFW27H90X\"></script>
  1334.     <script>
  1335.         window.dataLayer = window.dataLayer || [];
  1336.         function gtag(){dataLayer.push(arguments);}
  1337.         gtag('js', new Date());
  1338.         gtag('config', 'G-VGFW27H90X');
  1339.     </script>
  1340.     {% if category is not defined and offer is not defined %}
  1341.         <script src=\"/js/smart-app-banner.js\"></script>
  1342.         <script type=\"text/javascript\">
  1343.             new SmartBanner({
  1344.                 daysHidden: 15,   // days to hide banner after close button is clicked (defaults to 15)
  1345.                 daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
  1346.                 appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
  1347.                 title: 'Slivki - промокоды и скидки',
  1348.                 author: 'Slivki',
  1349.                 button: 'Посмотреть',
  1350.                 store: {
  1351.                     ios: 'On the App Store',
  1352.                     android: 'В Google Play',
  1353.                     windows: 'In Windows store'
  1354.                 },
  1355.                 price: {
  1356.                     ios: 'FREE',
  1357.                     android: 'FREE',
  1358.                     windows: 'FREE'
  1359.                 }
  1360.                 // , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
  1361.                 , icon: '/images/app-icon.png' // full path to icon image if not using website icon image
  1362.                 // , force: 'ios' // Uncomment for platform emulation
  1363.             });
  1364.         </script>
  1365.     {% endif %}
  1366. </head>
  1367. {% set bodyClass =  '' %}
  1368. {% if noToken is not defined and is_granted('ROLE_ADMIN_USER') %}
  1369.     {% set bodyClass =  'a-u' %}
  1370. {% endif %}
  1371. <body class=\"{{ bodyClass }}\">
  1372. {% if app.debug %}
  1373.     <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
  1374. {% endif %}
  1375. <script>
  1376.     (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  1377.         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  1378.         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  1379.     })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  1380.     ga('create', 'UA-185332166-1', 'auto');
  1381.     ga('send', 'pageview');
  1382.     {% if app.user %}
  1383.         ga('set', 'userId', '{{ app.user.getID() }}');
  1384.     {% endif %}
  1385. </script>
  1386. {% if app.user %}
  1387.     <input type=\"hidden\" id=\"customerID\" value=\"{{ app.user.getID() }}\"/>
  1388.     {% if app.user.getEmail() != '' %}
  1389.         <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getEmail() }}\">
  1390.     {% else %}
  1391.         <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getPhone() }}\">
  1392.     {% endif %}
  1393. {% endif %}
  1394. <input type=\"hidden\" id=\"serverTime\" value=\"{{ 'now'|date('Y-m-d H:i:s') }}\">
  1395. <input type=\"hidden\" id=\"cityID\" value=\"{{ currentCity.getID() }}\">
  1396. <input id=\"cityName\" type=\"hidden\" value=\"{{ currentCity.getID() in [constant('Slivki\\\\Entity\\\\City::DEFAULT_CITY_ID'), constant('Slivki\\\\Entity\\\\City::TASHKENT_CITY_ID')] ? '/' : getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_CITY'), currentCity.getID()) }}\"/>
  1397. <input type=\"hidden\" id=\"rtbhUID\" value=\"{{ getRTBHouseUID(app.user) }}\">
  1398. <input id=\"userId\" type=\"hidden\" value=\" {{ app.user is not null ? app.user.ID : null }}\">
  1399. <input id=\"metricaUrl\" type=\"hidden\" value=\" {{ slivki_metrica_url }}/api/v1/metric\">
  1400. {% set geoIpLocation = getIPLocationData() %}
  1401. <input type=\"hidden\" id=\"geoIpLatitude\" value=\"{{ geoIpLocation[0] }}\"/>
  1402. <input type=\"hidden\" id=\"geoIpLongitude\" value=\"{{ geoIpLocation[1] }}\"/>
  1403. {% set subscription = app.user ? getSubscription(app.user) : null %}
  1404. {% block linkToStore %}
  1405.     {% if category is defined or offer is defined %}
  1406.         <div id=\"linkToStore\" class=\"d-flex\">
  1407.             <img src=\"/images/logomob.png\" height=\"35\" alt=\"\">
  1408.             <div class=\"col pl-0\">
  1409.                 <p class=\"sf-bold-font\">Slivki: промокоды  и скидки</p>
  1410.                 <p>В приложении</p>
  1411.             </div>
  1412.             <div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
  1413.         </div>
  1414.     {% endif %}
  1415. {% endblock %}
  1416. {% block linkToPartner %}
  1417.     {% if app.user and is_granted('ROLE_SUPPLIER') %}
  1418.         <div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
  1419.             <div>Здравствуйте, <span class=\"sf-bold-font\">{{ app.user.getFirstName() }}!</span></div>
  1420.             <div>Здесь вы можете проверить промокод</div>
  1421.             <a class=\"d-block text-white font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"{{ base_url }}/partner\">перейти в кабинет партнера</a>
  1422.         </div>
  1423.     {% endif %}
  1424. {% endblock %}
  1425. {% block messenger %}
  1426.     {% include 'Slivki/jivosite/button_mobile.html.twig' %}
  1427.     {% include \"Slivki#{regional_template_path}/jivosite/modal_mobile.html.twig\" %}
  1428. {% endblock %}
  1429. {% block headerBanner %}
  1430.     {% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
  1431.         <div id=\"headerBanner\" class=\"head-banner-container\">
  1432.             {{ getTopSiteBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [], true, true) }}
  1433.         </div>
  1434.     {% endif %}
  1435. {% endblock %}
  1436. {% block header %}
  1437. <div id=\"headerWrapper\">
  1438.     <div id=\"header\" class=\"{{ app.request.get('_route') == 'deliveryOrder' ? 'no-fixed' }}\">
  1439.         <nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
  1440.             <a class=\"navbar-brand mx-3\" href=\"{{ base_url }}\"><img src=\"/images/logomob.png\" height=\"26\" alt=\"\"></a>
  1441.             <div class=\"navbar-collapse collapse\">
  1442.                 <form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"{{ base_url }}/search\">
  1443.                     <div class=\"input-group\">
  1444.                         <input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Я ищу...\" value=\"{{ app.request.query.get('text', '') }}\">
  1445.                         <button class=\"input-group-append button-search-landing\" type=\"submit\">
  1446.                             <img alt=\"\" src=\"/images/searchNewWhite.svg\" />
  1447.                         </button>
  1448.                         <button class=\"voice-search-btn\" type=\"button\"></button>
  1449.                         {% include 'search_equalizer.html.twig' with {'barCount': 36, 'barPadding': 6} only %}
  1450.                     </div>
  1451.                     <input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"{{ app.request.query.get('sortBy', 'default') }}\">
  1452.                     <input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"{{ app.request.query.get('distance', '0') }}\">
  1453.                     <input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\"  value=\"false\"/>
  1454.                 </form>
  1455.                 <ul class=\"list-unstyled navbar-nav\">
  1456.                     {% if not app.user %}
  1457.                         <li class=\"nav-item focus-tel\">
  1458.                             <a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
  1459.                         </li>
  1460.                     {% else %}
  1461.                         <li class=\"nav-item d-none d-sm-block\">
  1462.                             <a id=\"headerUserName\" class=\"nav-link\" href=\"{{ path('profile') }}\">{{ app.user.getFirstName() }}</a>
  1463.                         </li>
  1464.                     {% endif %}
  1465.                     <li class=\"nav-item\">
  1466.                         <a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
  1467.                             <i class=\"slivki-icon-menu text-black\"></i>
  1468.                         </a>
  1469.                     </li>
  1470.                 </ul>
  1471.             </div>
  1472.         </nav>
  1473.         {% include \"Slivki/mobile/#{regional_template_path}/header_menu.html.twig\" %}
  1474.     </div>
  1475. </div>
  1476. {% endblock %}
  1477. <main id=\"content\" class=\"container-fluid\">
  1478.     <div id=\"topContent\" class=\"row no-gutters\">
  1479.         <div class=\"col-12\">
  1480.             {% block topContent %}{% endblock %}
  1481.         </div>
  1482.     </div>
  1483.     <div class=\"row no-gutters\">
  1484.         <div class=\"col-12\">
  1485.             {% block content %}{% endblock %}
  1486.         </div>
  1487.     </div>
  1488. </main>
  1489. {% block footer %}
  1490.     {% include \"Slivki/mobile#{regional_template_path}/footer.html.twig\" %}
  1491. {% endblock %}
  1492. <nav id=\"sidebarMenu\">
  1493.     {% set landingUrl = '/subscription-landing?utm_source=main_menu' %}
  1494.     {% if app.user %}
  1495.         {% set landingUrl = '/profile/subscription/manage?utm_source=main_menu' %}
  1496.     {% endif %}
  1497.     <div class=\"row sf-font h-100\">
  1498.         <div class=\"col-10 bg-white px-0 side-bar-menu\">
  1499.             {% if app.user and is_granted('ROLE_SUPPLIER') %}
  1500.                 <div class=\"col w-fit-content my-3 ml-3\">
  1501.                     <a class=\"d-block text-white text-center font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"/partner\">кабинет партнера</a>
  1502.                     <p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
  1503.                 </div>
  1504.             {% endif %}
  1505.             <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
  1506.                 {% if app.user %}
  1507.                     <a class=\"w-100\" href=\"{{ path('profile') }}\">
  1508.                         <div id=\"userTopInfo\" class=\"user-info\">
  1509.                             <p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
  1510.                             <p id=\"username\">{{ app.user.getPhone() ? '***' ~ app.user.getPhone()|phone[3:] : app.user.getEmail() }}</p>
  1511.                             {% if is_granted('IS_IMPERSONATOR') %}
  1512.                                 <a class=\"text-danger pl-2\" href=\"{{ impersonation_exit_path(path('homepage')) }}\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
  1513.                             {% endif %}
  1514.                         </div>
  1515.                     </a>
  1516.                 {% else %}
  1517.                     <i class=\"slivki-icon-user-o user-avatar\"></i>
  1518.                     <a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
  1519.                 {% endif %}
  1520.             </div>
  1521.             <ul class=\"list-unstyled menu-list__wrapper\">
  1522.                 {% if app.user and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::REPLENISHMENT_BALANCE')) %}
  1523.                     <li>
  1524.                         <a href=\"/oplata\">
  1525.                             <img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
  1526.                             <lable style=\"font-weight: bold; font-size: 16px\">
  1527.                                 <span id=\"balance\">{{ app.user.getFullBalance()|number_format(2, ',', '') }}</span> р
  1528.                             </lable>
  1529.                             <br>
  1530.                             <a class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
  1531.                         </a>
  1532.                     </li>
  1533.                     <li><a href=\"{{ path('profile') }}#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
  1534.                 {% endif %}
  1535.                 {% include \"Slivki/mobile#{regional_template_path}/select_city_opener.html.twig\" %}
  1536.                 {% include \"Slivki/mobile#{regional_template_path}/translate_block.html.twig\" %}
  1537.                 {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SUBSCRIPTION')) and (not app.user or (app.user and subscription is not null and subscription.status == constant('Slivki\\\\Bundle\\\\SubscriptionBundle\\\\Enum\\\\SubscriptionStatus::CANCELED'))) %}
  1538.                     <li>
  1539.                         <a href=\"{{ landingUrl }}\">
  1540.                             <div class=\"d-flex subscription-button-sidebar\">
  1541.                                 <div class=\"icon-lightning align-self-center\"></div>
  1542.                                 <div class=\"col\">
  1543.                                     <div class=\"text-violet\">ПОДПИСКА</div>
  1544.                                     <div>1 промокод  5 копеек</div>
  1545.                                 </div>
  1546.                             </div>
  1547.                         </a>
  1548.                     </li>
  1549.                 {% endif %}
  1550.                 <li class=\"bg-light-gray menu-list__title\">
  1551.                     Интересное на сайте
  1552.                 </li>
  1553.                 {% if getActiveSubCategories(0)|length > 1 %}
  1554.                     <li><a href=\"javascript:void(0)\" role=\"button\" data-toggle=\"modal\" data-target=\"#offerCategoryMenuPopup\"><img class=\"side-bar-menu-icons\" alt=\"Промокод\" src=\"/images/category-promo.svg\">Категории</a></li>
  1555.                 {% else %}
  1556.                     <li><a href=\"{{ getCurrentCityURL() }}\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
  1557.                 {% endif %}
  1558.                 {% set menuItem = getTestMenuItem(2) %}
  1559.                 {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SALES')) %}
  1560.                     <li><a href=\"{{ base_url }}{{ path('sales') }}\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
  1561.                 {% endif %}
  1562.                 {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::FLIERS')) %}
  1563.                     <li><a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_SALE_CATEGORY'), constant('Slivki\\\\Entity\\\\Category::FLIER_SALE_CATEGORY_ID')) }}\"><img class=\"side-bar-menu-icons\" alt=\"Листовки\" src=\"/images/listovki.svg\">Листовки</a></li>
  1564.                 {% endif %}
  1565.                 {% if not isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) %}
  1566.                     <li class=\"py-2\">
  1567.                         <a href=\"{{ landingUrl }}\">
  1568.                             <div class=\"d-flex pl-2\">
  1569.                                 <div class=\"icon-lightning align-self-center\"></div>
  1570.                                 <div class=\"col pl-2\">
  1571.                                     <div>Подписка</div>
  1572.                                 </div>
  1573.                             </div>
  1574.                         </a>
  1575.                     </li>
  1576.                 {% endif %}
  1577.                 <li><a href=\"/moya_akciya\" onclick=\"ga('send', 'event', 'create-own-offer-button--mobile-menu', 'Click', '1');\"><img class=\"side-bar-menu-icons\" src=\"/images/add-offer.svg\" alt=\"Добавление\">Разместить свою акцию</a></li>
  1578.                 {% if app.user and is_granted('ROLE_ADMIN_USER') %}
  1579.                     <li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
  1580.                     <li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
  1581.                     <li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
  1582.                 {% endif %}
  1583.                 {% if app.user and is_granted('ROLE_SUPPLIER') %}
  1584.                     <li class=\"mar-b-5\"><a href=\"{{ path('partner') }}\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
  1585.                 {% endif %}
  1586.             </ul>
  1587.         </div>
  1588.         <div class=\"col-2 bg-modal px-0 sidebar-overlay\">
  1589.             <div class=\"sidebar-close__wrapper\">
  1590.                 <i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
  1591.             </div>
  1592.         </div>
  1593.     </div>
  1594. </nav>
  1595. {% block popup %}
  1596.     {% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
  1597.     {{ getMainMenu(false, false) }}
  1598.     {% if app.session.flashbag.get(\"showMogilevMailingBonusPopup\")|length > 0 %}
  1599.         {% include 'Slivki/mobile/popup/mogilev_mailing_popup.html.twig' %}
  1600.     {% endif %}
  1601.     {% include 'Slivki/mobile/select_city.html.twig' %}
  1602.     {% include 'Slivki/mobile/popup/push.html.twig' %}
  1603.     {% if not app.user %}
  1604.         {% include 'Slivki/mobile/popup/login.html.twig' %}
  1605.         {% include 'Slivki/mobile/popup/restore_password.html.twig'%}
  1606.         {% include 'Slivki/mobile/popup/succes_restore_password.html.twig'%}
  1607.     {% endif %}
  1608.     {% include 'Slivki/popups/deep_links_popup.html.twig' %}
  1609. {% endblock %}
  1610. {% block brandingBanner %}{% endblock %}
  1611. {% block floatingMobileBanner %}
  1612.     {% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
  1613.         {{ getMobileFloatingBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [])|raw }}
  1614.     {% endif %}
  1615. {% endblock %}
  1616. {% include 'Slivki/mobile/popup/confirm_popup.html.twig' %}
  1617. {% include 'Slivki/delivery/modal/questions.html.twig' %}
  1618. {% include 'Slivki/mobile/popup/alert_popup.html.twig' %}
  1619. {% include 'Slivki/popups/examples_of_works_popup_small.html.twig' %}
  1620. {% include 'Slivki/popups/examples_of_works_popup.html.twig' %}
  1621. {% include 'Slivki/mobile/popup/new_alert_popup.html.twig' %}
  1622. {% include 'Slivki/mobile/popup/mail_popup.html.twig' %}
  1623. {% include \"Slivki/mobile#{regional_template_path}/popup/info_message_popup.html.twig\" %}
  1624. {% include 'Slivki/beauty/beauty_master_popup.html.twig' %}
  1625. {% include 'Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig' %}
  1626. <!-- Yandex.Metrika counter -->
  1627. <script type=\"text/javascript\" >
  1628.     (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  1629.         m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  1630.     (window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
  1631.     ym(20933521, \"init\", {
  1632.         clickmap:true,
  1633.         trackLinks:true,
  1634.         accurateTrackBounce:true
  1635.     });
  1636. </script>
  1637. <noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
  1638. <!-- /Yandex.Metrika counter -->
  1639. <script src=\"https://code.jquery.com/jquery-3.3.1.min.js\"></script>
  1640. {% set coordinate = currentCity.getCoordinate() %}
  1641. <input type=\"hidden\" id=\"cityCoord\" value=\"[{{ coordinate.getLatitude() }}, {{ coordinate.getLongitude() }}]\">
  1642. {% block javascripts %}
  1643.     <script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
  1644.     <script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
  1645.     <script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
  1646.     <script src=\"/js/swiper-js/swiper.min.js\"></script>
  1647.     <script src=\"https://cdn.jsdelivr.net/npm/universal-parallax@1.3.2/dist/universal-parallax.min.js\"></script>
  1648.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js\" integrity=\"sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1649.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-touch-events/2.0.0/jquery.mobile-events.min.js\"></script>
  1650.     <script src=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js\"></script>
  1651.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js\"></script>
  1652.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
  1653.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js\"></script>
  1654.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.5.9/lottie_light.min.js\"></script>
  1655.     <script src=\"/js/jquery.maskedinput.min.js\"></script>
  1656.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.5/jquery.inputmask.min.js\"></script>
  1657.     <script type=\"text/javascript\" src=\"/js/jquery.cookie.min.js?v=1\"></script>
  1658.     <script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
  1659.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js\"></script>
  1660.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/intlTelInput-jquery.min.js\"></script>
  1661.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/js/utils.min.js\"></script>
  1662.    <script src=\"https://www.google.com/recaptcha/api.js\"></script>
  1663.     <script src=\"/js/common.min.js?v={{ common_js_version }}\"></script>
  1664.     <script type=\"module\" src=\"/js/time_block_category/main.js?v={{ time_block_category_js }}\"></script>
  1665.     <script src=\"/mobile/js/script.min.js?v={{ mobile_script_js_version }}\"></script>
  1666.     <script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
  1667.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1668.     <script src=\"/js/gtranslate.js\"></script>
  1669.     <script src=\"/js/subscription.js?v={{ subscription_js_version }}\"></script>
  1670.     <script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
  1671.     <script src=\"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js\"></script>
  1672.     <script src=\"/js/jquery.sameheight.js\"></script>
  1673.     <script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v={{ flowers_category_carousel_js_version }}\"></script>
  1674.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js\"></script>
  1675.     <script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v={{ family_subscription_js_version }}\"></script>
  1676.     <script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v={{ family_subscription_js_version }}\"></script>
  1677.     <script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
  1678.     <script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v={{ api_work_examples_js_version }}\"></script>
  1679.     <script src=\"/js/helper.js?v={{ helper_version_js }}\"></script>
  1680.     <script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
  1681.     <script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v={{ main_map_beauty_js_version }}\"></script>
  1682.     <script type=\"module\" src=\"/js/beauty/masters.js?v={{ beauty_masters_js_version }}\"></script>
  1683.     <script type=\"module\" src=\"/js/oplati/main.js?v={{ oplati_js_version }}\" />
  1684.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
  1685.             integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  1686.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1687. {% endblock %}
  1688. {% if app.user and app.user.isGeoLocationAccepted() == null %}
  1689.     <input type=\"hidden\" id=\"storeGeoLocationData\"/>
  1690. {% endif %}
  1691. <div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
  1692. <div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
  1693. {% block RTBHouse %}
  1694.     <script>
  1695.         try{ (function() {
  1696.             var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value);
  1697.             var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) {
  1698.                 lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";
  1699.                 for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);}
  1700.             rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid);
  1701.             var ifr = document.createElement(\"iframe\"),
  1702.                 sr = encodeURIComponent(document.referrer ? document.referrer : \"\"),
  1703.                 su = encodeURIComponent(document.location.href ? document.location.href : \"\"),
  1704.                 ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);}
  1705.             ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp;
  1706.             ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\");
  1707.             ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\");
  1708.             ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\");
  1709.             ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);}
  1710.             else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});}
  1711.         })();} catch(e) {} </script>
  1712. {% endblock %}
  1713. {% block metrikaEvent %}{% endblock %}
  1714. </body>
  1715. </html>""Slivki/mobile/base.html.twig""/mnt/data/virtwww/slivki/templates/Slivki/mobile/base.html.twig");
  1716.     }
  1717. }