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

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