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

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