<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Slivki/mobile/base.html.twig */
class __TwigTemplate_7a32ec6d2afaa7bc6943aeb0e1fdaf0106a8af003588c089f655b7b434cc3ae1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'styles' => [$this, 'block_styles'],
'favicon' => [$this, 'block_favicon'],
'linkToStore' => [$this, 'block_linkToStore'],
'linkToPartner' => [$this, 'block_linkToPartner'],
'messenger' => [$this, 'block_messenger'],
'headerBanner' => [$this, 'block_headerBanner'],
'header' => [$this, 'block_header'],
'topContent' => [$this, 'block_topContent'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'popup' => [$this, 'block_popup'],
'brandingBanner' => [$this, 'block_brandingBanner'],
'floatingMobileBanner' => [$this, 'block_floatingMobileBanner'],
'javascripts' => [$this, 'block_javascripts'],
'RTBHouse' => [$this, 'block_RTBHouse'],
'metrikaEvent' => [$this, 'block_metrikaEvent'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/base.html.twig"));
// line 1
$context["metaInfo"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMetaInfo();
// line 2
$context["path"] = twig_urlencode_filter(twig_get_attribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "requestUri", [], "any", false, false, false, 2));
// line 3
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "query", [], "any", false, false, false, 3), "get", [0 => "path"], "method", false, false, false, 3)) {
// line 4
echo " ";
$context["path"] = twig_urlencode_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "query", [], "any", false, false, false, 4), "get", [0 => "path"], "method", false, false, false, 4));
}
// line 6
if ((0 !== 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"))) {
// line 7
echo " ";
$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); })()));
} else {
// line 9
echo " ";
$context["path"] = "";
}
// line 11
echo "<!DOCTYPE html>
<html lang=\"ru\">
<head>
";
// line 14
$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);
// line 15
echo " <link href=\"/css/flowersHotLent.css?v=";
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", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v=";
// line 16
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", null, true);
echo "\" type=\"text/css\"/>
";
// line 17
$this->displayBlock('meta', $context, $blocks);
// line 18
echo " <link href=\"/css/bootstrap4.3.1.min.css\" rel=\"stylesheet\">
<link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
<link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
<link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/css/intTelInput.css?v=2\" />
<link rel=\"stylesheet\" href=\"/css/slick.min.css\"/>
<link rel=\"stylesheet\" href=\"/css/slick-theme.min.css\" />
<link rel=\"stylesheet\" href=\"/css/jquery.toast.min.css\" />
<link href=\" /css/universal-parallax.min.css \" rel=\"stylesheet\">
";
// line 29
$this->displayBlock('styles', $context, $blocks);
// line 37
echo " ";
$this->displayBlock('favicon', $context, $blocks);
// line 54
echo " <meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
<link rel=\"manifest\" href=\"/manifest.json?v=0\">
<script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
<!-- TikTok Code -->
<script>
!function (w, d, t) {
w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=[\"page\",\"track\",\"identify\",\"instances\",\"debug\",\"on\",\"off\",\"once\",\"ready\",\"alias\",\"group\",\"enableCookie\",\"disableCookie\"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++
)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i=\"https://analytics.tiktok.com/i18n/pixel/events.js\";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement(\"script\");n.type=\"text/javascript\",n.async=!0,n.src=i+\"?sdkid=\"+e+\"&lib=\"+t;e=document.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(n,e)};
ttq.load('CAEQUGBC77U9MLGRE66G');
ttq.page();
}(window, document, 'ttq');
</script>
<!-- End TikTok Code -->
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', \${currentCity.getID() > 1 ? '675534651528670' : '1202694461570299'});
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=1202694461570299&ev=PageView&noscript=1\"
/></noscript>
<!-- End Meta Pixel Code -->
<noscript>
<img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1884900258504761&ev=PageView&noscript=1\" style=\"display: none;\"/>
</noscript>
<!-- End Facebook Pixel Code -->
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-167315-4IspB';</script>
";
// line 93
if (array_key_exists("fitnessOffer", $context)) {
// line 94
echo " <script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1615676305118909');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1615676305118909&ev=PageView&noscript=1\"/></noscript>
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-170417-8Uj6y';</script>
";
}
// line 109
echo " <script>
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
var d = document,
h = d.getElementsByTagName('head')[0],
s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
h.appendChild(s);
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
";
// line 123
$context["currentCity"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCity();
// line 124
echo "
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-978097094\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-978097094');
</script>
";
// line 134
if (( !array_key_exists("category", $context) && !array_key_exists("offer", $context))) {
// line 135
echo " <script src=\"/js/smart-app-banner.js\"></script>
<script type=\"text/javascript\">
new SmartBanner({
daysHidden: 15, // days to hide banner after close button is clicked (defaults to 15)
daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
title: 'Slivki - промокоды и скидки',
author: 'Slivki',
button: 'Посмотреть',
store: {
ios: 'On the App Store',
android: 'В Google Play',
windows: 'In Windows store'
},
price: {
ios: 'FREE',
android: 'FREE',
windows: 'FREE'
}
// , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
, icon: '/images/app-icon.png' // full path to icon image if not using website icon image
// , force: 'ios' // Uncomment for platform emulation
});
</script>
";
}
// line 160
echo "</head>
";
// line 161
$context["bodyClass"] = "";
// line 162
if (( !array_key_exists("noToken", $context) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
// line 163
echo " ";
$context["bodyClass"] = "a-u";
}
// line 165
echo "<body class=\"";
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.', 165, $this->source); })()), "html", null, true);
echo "\">
";
// line 166
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.', 166, $this->source); })()), "debug", [], "any", false, false, false, 166)) {
// line 167
echo " <input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
";
}
// line 169
echo "<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-185332166-1', 'auto');
ga('send', 'pageview');
";
// line 176
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.', 176, $this->source); })()), "user", [], "any", false, false, false, 176)) {
// line 177
echo " ga('set', 'userId', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 177, $this->source); })()), "user", [], "any", false, false, false, 177), "getID", [], "method", false, false, false, 177), "html", null, true);
echo "');
";
}
// line 179
echo "</script>
";
// line 180
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.', 180, $this->source); })()), "user", [], "any", false, false, false, 180)) {
// line 181
echo " <input type=\"hidden\" id=\"customerID\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "user", [], "any", false, false, false, 181), "getID", [], "method", false, false, false, 181), "html", null, true);
echo "\"/>
";
// line 182
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, 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.', 182, $this->source); })()), "user", [], "any", false, false, false, 182), "getEmail", [], "method", false, false, false, 182), ""))) {
// line 183
echo " <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 183, $this->source); })()), "user", [], "any", false, false, false, 183), "getEmail", [], "method", false, false, false, 183), "html", null, true);
echo "\">
";
} else {
// line 185
echo " <input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 185, $this->source); })()), "user", [], "any", false, false, false, 185), "getPhone", [], "method", false, false, false, 185), "html", null, true);
echo "\">
";
}
}
// line 188
echo "<input type=\"hidden\" id=\"serverTime\" value=\"";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y-m-d H:i:s"), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"cityID\" value=\"";
// line 189
echo twig_escape_filter($this->env, 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.', 189, $this->source); })()), "getID", [], "method", false, false, false, 189), "html", null, true);
echo "\">
<input id=\"cityName\" type=\"hidden\" value=\"";
// line 190
((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.', 190, $this->source); })()), "getID", [], "method", false, false, false, 190), [0 => twig_constant("Slivki\\Entity\\City::DEFAULT_CITY_ID"), 1 => 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.', 190, $this->source); })()), "getID", [], "method", false, false, false, 190)), "html", null, true))));
echo "\"/>
<input type=\"hidden\" id=\"rtbhUID\" value=\"";
// line 191
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.', 191, $this->source); })()), "user", [], "any", false, false, false, 191)), "html", null, true);
echo "\">
<input id=\"userId\" type=\"hidden\" value=\" ";
// line 192
(( !(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.', 192, $this->source); })()), "user", [], "any", false, false, false, 192))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 192, $this->source); })()), "user", [], "any", false, false, false, 192), "ID", [], "any", false, false, false, 192), "html", null, true))) : (print (null)));
echo "\">
<input id=\"metricaUrl\" type=\"hidden\" value=\" ";
// line 193
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.', 193, $this->source); })()), "html", null, true);
echo "/api/v1/metric\">
";
// line 194
$context["geoIpLocation"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getIPLocationData();
// line 195
echo "<input type=\"hidden\" id=\"geoIpLatitude\" value=\"";
echo twig_escape_filter($this->env, twig_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.', 195, $this->source); })()), 0, [], "array", false, false, false, 195), "html", null, true);
echo "\"/>
<input type=\"hidden\" id=\"geoIpLongitude\" value=\"";
// line 196
echo twig_escape_filter($this->env, twig_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.', 196, $this->source); })()), 1, [], "array", false, false, false, 196), "html", null, true);
echo "\"/>
";
// line 197
$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.', 197, $this->source); })()), "user", [], "any", false, false, false, 197)) ? ($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.', 197, $this->source); })()), "user", [], "any", false, false, false, 197))) : (null));
// line 198
echo "
";
// line 199
$this->displayBlock('linkToStore', $context, $blocks);
// line 211
echo "
";
// line 212
$this->displayBlock('linkToPartner', $context, $blocks);
// line 221
echo "
";
// line 222
$this->displayBlock('messenger', $context, $blocks);
// line 226
$this->displayBlock('headerBanner', $context, $blocks);
// line 233
$this->displayBlock('header', $context, $blocks);
// line 274
echo "<main id=\"content\" class=\"container-fluid\">
<div id=\"topContent\" class=\"row no-gutters\">
<div class=\"col-12\">
";
// line 277
$this->displayBlock('topContent', $context, $blocks);
// line 278
echo " </div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12\">
";
// line 282
$this->displayBlock('content', $context, $blocks);
// line 283
echo " </div>
</div>
</main>
";
// line 286
$this->displayBlock('footer', $context, $blocks);
// line 289
echo "<nav id=\"sidebarMenu\">
";
// line 290
$context["landingUrl"] = "/subscription-landing?utm_source=main_menu";
// line 291
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 291, $this->source); })()), "user", [], "any", false, false, false, 291)) {
// line 292
echo " ";
$context["landingUrl"] = "/profile/subscription/manage?utm_source=main_menu";
// line 293
echo " ";
}
// line 294
echo " <div class=\"row sf-font h-100\">
<div class=\"col-10 bg-white px-0 side-bar-menu\">
";
// line 296
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 296, $this->source); })()), "user", [], "any", false, false, false, 296) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 297
echo " <div class=\"col w-fit-content my-3 ml-3\">
<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>
<p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
</div>
";
}
// line 302
echo " <div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
";
// line 303
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.', 303, $this->source); })()), "user", [], "any", false, false, false, 303)) {
// line 304
echo " <a class=\"w-100\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
echo "\">
<div id=\"userTopInfo\" class=\"user-info\">
<p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
<p id=\"username\">";
// line 307
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, 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.', 307, $this->source); })()), "user", [], "any", false, false, false, 307), "getPhone", [], "method", false, false, false, 307)) ? (("***" . twig_slice($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->phoneFilter(twig_get_attribute($this->env, $this->source, 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.', 307, $this->source); })()), "user", [], "any", false, false, false, 307), "getPhone", [], "method", false, false, false, 307)), 3, null))) : (twig_get_attribute($this->env, $this->source, 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.', 307, $this->source); })()), "user", [], "any", false, false, false, 307), "getEmail", [], "method", false, false, false, 307))), "html", null, true);
echo "</p>
";
// line 308
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
// line 309
echo " <a class=\"text-danger pl-2\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage")), "html", null, true);
echo "\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
";
}
// line 311
echo " </div>
</a>
";
} else {
// line 314
echo " <i class=\"slivki-icon-user-o user-avatar\"></i>
<a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
";
}
// line 317
echo " </div>
<ul class=\"list-unstyled menu-list__wrapper\">
";
// line 319
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.', 319, $this->source); })()), "user", [], "any", false, false, false, 319) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::REPLENISHMENT_BALANCE")))) {
// line 320
echo " <li>
<a href=";
// line 321
echo (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) ? ("/profile/oplata-pay") : ("/oplata"));
echo ">
<img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
<lable style=\"font-weight: bold; font-size: 16px\">
<span id=\"balance\">";
// line 324
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 324, $this->source); })()), "user", [], "any", false, false, false, 324), "getFullBalance", [], "method", false, false, false, 324), 2, ",", ""), "html", null, true);
echo "</span> р";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) {
echo "/<span id=\"balance\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 324, $this->source); })()), "user", [], "any", false, false, false, 324), "virtualWalletAmount", [], "any", false, false, false, 324) + twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 324, $this->source); })()), "user", [], "any", false, false, false, 324), "virtualWalletCashBack", [], "any", false, false, false, 324)), 2, ",", ""), "html", null, true);
echo "</span> р";
}
// line 325
echo " </lable>
<br>
<a href=";
// line 327
echo (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT"))) ? ("/profile/oplata-pay") : ("/oplata"));
echo " class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
</a>
</li>
<li><a href=\"";
// line 330
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
echo "#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
";
}
// line 332
echo " ";
$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.', 332, $this->source); })())) . "/select_city_opener.html.twig"), "Slivki/mobile/base.html.twig", 332)->display($context);
// line 333
echo " ";
$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.', 333, $this->source); })())) . "/translate_block.html.twig"), "Slivki/mobile/base.html.twig", 333)->display($context);
// line 334
echo " ";
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.', 334, $this->source); })()), "user", [], "any", false, false, false, 334) || ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 334, $this->source); })()), "user", [], "any", false, false, false, 334) && !(null === (isset($context["subscription"]) || array_key_exists("subscription", $context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.', 334, $this->source); })()))) && (0 === 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.', 334, $this->source); })()), "status", [], "any", false, false, false, 334), twig_constant("Slivki\\Bundle\\SubscriptionBundle\\Enum\\SubscriptionStatus::CANCELED"))))))) {
// line 335
echo " <li>
<a href=\"";
// line 336
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.', 336, $this->source); })()), "html", null, true);
echo "\">
<div class=\"d-flex subscription-button-sidebar\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col\">
<div class=\"text-violet\">ПОДПИСКА</div>
<div>1 промокод 5 копеек</div>
</div>
</div>
</a>
</li>
";
}
// line 347
echo " <li class=\"bg-light-gray menu-list__title\">
Интересное на сайте
</li>
";
// line 351
if ((1 === twig_compare(twig_length_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getActiveSubCategories(0)), 1))) {
// line 352
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>
";
} else {
// line 354
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getCurrentCityURL(), "html", null, true);
echo "\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
";
}
// line 356
echo " ";
$context["menuItem"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getTestMenuItem(2);
// line 357
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SALES"))) {
// line 358
echo " <li><a href=\"";
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.', 358, $this->source); })()), "html", null, true);
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sales");
echo "\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
";
}
// line 360
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::FLIERS"))) {
// line 361
echo " <li><a href=\"";
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", null, true);
echo "\"><img class=\"side-bar-menu-icons\" alt=\"Листовки\" src=\"/images/listovki.svg\">Листовки</a></li>
";
}
// line 363
echo " ";
if ( !$this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
// line 364
echo " <li class=\"py-2\">
<a href=\"";
// line 365
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.', 365, $this->source); })()), "html", null, true);
echo "\">
<div class=\"d-flex pl-2\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col pl-2\">
<div>Подписка</div>
</div>
</div>
</a>
</li>
";
}
// line 375
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>
";
// line 376
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.', 376, $this->source); })()), "user", [], "any", false, false, false, 376) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN_USER"))) {
// line 377
echo " <li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
<li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
<li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
";
}
// line 381
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 381, $this->source); })()), "user", [], "any", false, false, false, 381) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 382
echo " <li class=\"mar-b-5\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("partner");
echo "\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
";
}
// line 384
echo " </ul>
</div>
<div class=\"col-2 bg-modal px-0 sidebar-overlay\">
<div class=\"sidebar-close__wrapper\">
<i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
</div>
</div>
</div>
</nav>
";
// line 393
$this->displayBlock('popup', $context, $blocks);
// line 408
$this->displayBlock('brandingBanner', $context, $blocks);
// line 409
$this->displayBlock('floatingMobileBanner', $context, $blocks);
// line 414
$this->loadTemplate("Slivki/mobile/popup/confirm_popup.html.twig", "Slivki/mobile/base.html.twig", 414)->display($context);
// line 415
$this->loadTemplate("Slivki/delivery/modal/questions.html.twig", "Slivki/mobile/base.html.twig", 415)->display($context);
// line 416
$this->loadTemplate("Slivki/mobile/popup/alert_popup.html.twig", "Slivki/mobile/base.html.twig", 416)->display($context);
// line 417
$this->loadTemplate("Slivki/popups/examples_of_works_popup_small.html.twig", "Slivki/mobile/base.html.twig", 417)->display($context);
// line 418
$this->loadTemplate("Slivki/popups/examples_of_works_popup.html.twig", "Slivki/mobile/base.html.twig", 418)->display($context);
// line 419
$this->loadTemplate("Slivki/mobile/popup/new_alert_popup.html.twig", "Slivki/mobile/base.html.twig", 419)->display($context);
// line 420
$this->loadTemplate("Slivki/mobile/popup/mail_popup.html.twig", "Slivki/mobile/base.html.twig", 420)->display($context);
// line 421
$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.', 421, $this->source); })())) . "/popup/info_message_popup.html.twig"), "Slivki/mobile/base.html.twig", 421)->display($context);
// line 422
$this->loadTemplate("Slivki/beauty/beauty_master_popup.html.twig", "Slivki/mobile/base.html.twig", 422)->display($context);
// line 423
$this->loadTemplate("Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig", "Slivki/mobile/base.html.twig", 423)->display($context);
// line 424
$this->loadTemplate("Slivki/add_batch_codes/error.html.twig", "Slivki/mobile/base.html.twig", 424)->display($context);
// line 425
$this->loadTemplate("Slivki/add_batch_codes/success.html.twig", "Slivki/mobile/base.html.twig", 425)->display($context);
// line 426
$this->loadTemplate("Slivki/add_batch_codes/auth.html.twig", "Slivki/mobile/base.html.twig", 426)->display($context);
// line 427
echo "<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
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)})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(20933521, \"init\", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>
<noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script src=\"/js/jquery-3.3.1.min.js\"></script>
";
// line 442
$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.', 442, $this->source); })()), "getCoordinate", [], "method", false, false, false, 442);
// line 443
echo "<input type=\"hidden\" id=\"cityCoord\" value=\"[";
echo twig_escape_filter($this->env, twig_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.', 443, $this->source); })()), "getLatitude", [], "method", false, false, false, 443), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_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.', 443, $this->source); })()), "getLongitude", [], "method", false, false, false, 443), "html", null, true);
echo "]\">
";
// line 444
$this->displayBlock('javascripts', $context, $blocks);
// line 493
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 493, $this->source); })()), "user", [], "any", false, false, false, 493) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 493, $this->source); })()), "user", [], "any", false, false, false, 493), "isGeoLocationAccepted", [], "method", false, false, false, 493), null)))) {
// line 494
echo " <input type=\"hidden\" id=\"storeGeoLocationData\"/>
";
}
// line 496
echo "<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
<div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
";
// line 498
$this->displayBlock('RTBHouse', $context, $blocks);
// line 518
$this->displayBlock('metrikaEvent', $context, $blocks);
// line 519
echo "</body>
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 17
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_styles($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 30
echo " <link href=\"/mobile/css/style.min.css?v=";
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.', 30, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"/css/new_popup.css?v=";
// line 31
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.', 31, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
";
// line 32
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 32, $this->source); })()), "request", [], "any", false, false, false, 32), "getPathInfo", [], "method", false, false, false, 32), "/profile"))) {
// line 33
echo " <link href=\"/css/crt-fonts.css?v=";
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.', 33, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
";
}
// line 36
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 37
public function block_favicon($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favicon"));
// line 38
echo " <link type=\"image/x-icon\" rel=\"shortcut icon\" href=\"/images/favicon/favicon.ico\">
<link type=\"image/png\" sizes=\"72x72\" rel=\"icon\" href=\"/images/favicon/android-icon-72x72.png\">
<link type=\"image/png\" sizes=\"96x96\" rel=\"icon\" href=\"/images/favicon/android-icon-96x96.png\">
<link type=\"image/png\" sizes=\"144x144\" rel=\"icon\" href=\"/images/favicon/android-icon-144x144.png\">
<link type=\"image/png\" sizes=\"192x192\" rel=\"icon\" href=\"/images/favicon/android-icon-192x192.png\">
<link type=\"image/png\" sizes=\"512x512\" rel=\"icon\" href=\"/images/favicon/android-icon-512x512.png\">
<link sizes=\"57x57\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-57x57.png\">
<link sizes=\"60x60\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-60x60.png\">
<link sizes=\"72x72\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-72x72.png\">
<link sizes=\"76x76\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-76x76.png\">
<link sizes=\"114x114\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-114x114.png\">
<link sizes=\"120x120\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-120x120.png\">
<link sizes=\"144x144\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-144x144.png\">
<link sizes=\"152x152\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-152x152.png\">
<link sizes=\"180x180\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-180x180.png\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 199
public function block_linkToStore($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToStore"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToStore"));
// line 200
echo " ";
if (((array_key_exists("category", $context) && (0 !== 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.', 200, $this->source); })()), "getID", [], "method", false, false, false, 200), 4))) || (array_key_exists("offer", $context) && (0 !== 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.', 200, $this->source); })()), "getID", [], "method", false, false, false, 200), 4))))) {
// line 201
echo " <div id=\"linkToStore\" class=\"d-flex\">
<img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\">
<div class=\"col pl-0\">
<p class=\"sf-bold-font\">Slivki: промокоды и скидки</p>
<p>В приложении</p>
</div>
<div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 212
public function block_linkToPartner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToPartner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkToPartner"));
// line 213
echo " ";
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.', 213, $this->source); })()), "user", [], "any", false, false, false, 213) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPPLIER"))) {
// line 214
echo " <div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
<div>Здравствуйте, <span class=\"sf-bold-font\">";
// line 215
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 215, $this->source); })()), "user", [], "any", false, false, false, 215), "getFirstName", [], "method", false, false, false, 215), "html", null, true);
echo "!</span></div>
<div>Здесь вы можете проверить промокод</div>
<a class=\"d-block text-white font-weight-bold bg-violet text-white rounded-14 py-2 px-3 text-uppercase mt-2\" href=\"";
// line 217
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.', 217, $this->source); })()), "html", null, true);
echo "/partner\">перейти в кабинет партнера</a>
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 222
public function block_messenger($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messenger"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messenger"));
// line 223
echo " ";
$this->loadTemplate("Slivki/jivosite/button_mobile.html.twig", "Slivki/mobile/base.html.twig", 223)->display($context);
// line 224
echo " ";
$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.', 224, $this->source); })())) . "/jivosite/modal_mobile.html.twig"), "Slivki/mobile/base.html.twig", 224)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 226
public function block_headerBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headerBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headerBanner"));
// line 227
echo " ";
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.', 227, $this->source); })()), "user", [], "any", false, false, false, 227) && twig_get_attribute($this->env, $this->source, 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.', 227, $this->source); })()), "user", [], "any", false, false, false, 227), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 227))) {
// line 228
echo " <div id=\"headerBanner\" class=\"head-banner-container\">
";
// line 229
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.', 229, $this->source); })())) : ([])), true, true);
echo "
</div>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 233
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 234
echo "<div id=\"headerWrapper\">
<div id=\"header\" class=\"";
// line 235
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 235, $this->source); })()), "request", [], "any", false, false, false, 235), "get", [0 => "_route"], "method", false, false, false, 235), "deliveryOrder"))) ? ("no-fixed") : (""));
echo "\">
<nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
<a class=\"navbar-brand mx-3\" href=\"";
// line 237
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.', 237, $this->source); })()), "html", null, true);
echo "\"><img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\"></a>
<div class=\"navbar-collapse collapse\">
<form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"";
// line 239
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.', 239, $this->source); })()), "html", null, true);
echo "/search\">
<div class=\"input-group\">
<input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Я ищу...\" value=\"";
// line 241
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 241, $this->source); })()), "request", [], "any", false, false, false, 241), "query", [], "any", false, false, false, 241), "get", [0 => "text", 1 => ""], "method", false, false, false, 241), "html", null, true);
echo "\">
<button class=\"input-group-append button-search-landing\" type=\"submit\">
<img alt=\"\" src=\"/images/searchNewWhite.svg\" />
</button>
<button class=\"voice-search-btn\" type=\"button\"></button>
";
// line 246
$this->loadTemplate("search_equalizer.html.twig", "Slivki/mobile/base.html.twig", 246)->display(twig_to_array(["barCount" => 36, "barPadding" => 6]));
// line 247
echo " </div>
<input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"";
// line 248
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 248, $this->source); })()), "request", [], "any", false, false, false, 248), "query", [], "any", false, false, false, 248), "get", [0 => "sortBy", 1 => "default"], "method", false, false, false, 248), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"";
// line 249
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 249, $this->source); })()), "request", [], "any", false, false, false, 249), "query", [], "any", false, false, false, 249), "get", [0 => "distance", 1 => "0"], "method", false, false, false, 249), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\" value=\"false\"/>
</form>
<ul class=\"list-unstyled navbar-nav\">
";
// line 253
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.', 253, $this->source); })()), "user", [], "any", false, false, false, 253)) {
// line 254
echo " <li class=\"nav-item focus-tel\">
<a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
</li>
";
} else {
// line 258
echo " <li class=\"nav-item d-none d-sm-block\">
<a id=\"headerUserName\" class=\"nav-link\" href=\"";
// line 259
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 259, $this->source); })()), "user", [], "any", false, false, false, 259), "getFirstName", [], "method", false, false, false, 259), "html", null, true);
echo "</a>
</li>
";
}
// line 262
echo " <li class=\"nav-item\">
<a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
<i class=\"slivki-icon-menu text-black\"></i>
</a>
</li>
</ul>
</div>
</nav>
";
// line 270
$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.', 270, $this->source); })())) . "/header_menu.html.twig"), "Slivki/mobile/base.html.twig", 270)->display($context);
// line 271
echo " </div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 277
public function block_topContent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topContent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 282
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 286
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 287
echo " ";
$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.', 287, $this->source); })())) . "/footer.html.twig"), "Slivki/mobile/base.html.twig", 287)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 393
public function block_popup($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
// line 394
echo " ";
$this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig", "Slivki/mobile/base.html.twig", 394)->display($context);
// line 395
echo " ";
echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getMainMenu($this->env, false, false);
echo "
";
// line 396
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 396, $this->source); })()), "session", [], "any", false, false, false, 396), "flashbag", [], "any", false, false, false, 396), "get", [0 => "showMogilevMailingBonusPopup"], "method", false, false, false, 396)), 0))) {
// line 397
echo " ";
$this->loadTemplate("Slivki/mobile/popup/mogilev_mailing_popup.html.twig", "Slivki/mobile/base.html.twig", 397)->display($context);
// line 398
echo " ";
}
// line 399
echo " ";
$this->loadTemplate("Slivki/mobile/select_city.html.twig", "Slivki/mobile/base.html.twig", 399)->display($context);
// line 400
echo " ";
$this->loadTemplate("Slivki/mobile/popup/push.html.twig", "Slivki/mobile/base.html.twig", 400)->display($context);
// line 401
echo " ";
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.', 401, $this->source); })()), "user", [], "any", false, false, false, 401)) {
// line 402
echo " ";
$this->loadTemplate("Slivki/mobile/popup/login.html.twig", "Slivki/mobile/base.html.twig", 402)->display($context);
// line 403
echo " ";
$this->loadTemplate("Slivki/mobile/popup/restore_password.html.twig", "Slivki/mobile/base.html.twig", 403)->display($context);
// line 404
echo " ";
$this->loadTemplate("Slivki/mobile/popup/succes_restore_password.html.twig", "Slivki/mobile/base.html.twig", 404)->display($context);
// line 405
echo " ";
}
// line 406
echo " ";
$this->loadTemplate("Slivki/popups/deep_links_popup.html.twig", "Slivki/mobile/base.html.twig", 406)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 408
public function block_brandingBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "brandingBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "brandingBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 409
public function block_floatingMobileBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "floatingMobileBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "floatingMobileBanner"));
// line 410
echo " ";
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.', 410, $this->source); })()), "user", [], "any", false, false, false, 410) && twig_get_attribute($this->env, $this->source, 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.', 410, $this->source); })()), "user", [], "any", false, false, false, 410), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 410))) {
// line 411
echo " ";
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.', 411, $this->source); })())) : ([])));
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 444
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 445
echo " <script src=\"/js/menuAim/main.min.js\"></script>
";
// line 447
echo " <script src=\"/js/jquery-ui-1.8.16.custom.min.js\"></script>
<script src=\"/mobile/js/parallax.js\"></script>
<script src=\"/js/voices/app.js?v=4\"></script>
<script src=\"/js/voices/recorder.js\"></script>
<script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
<script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
<script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
<script src=\"/js/swiper-js/swiper.min.js\"></script>
<script src=\"/mobile/js/paralax.min.js\"></script>
<script src=\"/js/slick.min.js\"></script>
<script src=\"/js/jquery.mobile-events.min.js\"></script>
<script src=\"/js/popper.min.js\"></script>
<script src=\"/js/js.cookie.min.js\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
<script src=\"/js/jquery.lazyload.min.js?v=2\"></script>
<script src=\"/js/lottie_light.min.js\"></script>
<script src=\"/js/jquery.maskedinput.min.js\"></script>
<script src=\"/js/jquery.inputmask.min.js\"></script>
<script src=\"/js/helper.js?v=";
// line 465
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.', 465, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/captcha/main.js?v=2\"></script>
<script type=\"text/javascript\" src=\"/js/jquery.cookie.js\"></script>
<script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
<script src=\"/js/jquery.matchHeight-min.js\"></script>
<script src=\"/js/intlTelInput-jquery.min.js\"></script>
<script src=\"/js/utils.min.js\"></script>
<script src=\"/js/recaptcha_api.js\"></script>
<script src=\"/js/common.min.js?v=";
// line 473
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.', 473, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/time_block_category/main.js?v=";
// line 474
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.', 474, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/mobile/js/script.min.js?v=";
// line 475
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.', 475, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script src=\"/js/gtranslate.js\"></script>
<script src=\"/js/subscription.js?v=";
// line 478
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.', 478, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v=";
// line 481
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.', 481, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/moment.min.js\"></script>
<script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v=";
// line 483
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.', 483, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v=";
// line 484
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.', 484, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v=";
// line 486
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.', 486, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
<script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v=";
// line 488
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.', 488, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v=";
// line 489
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.', 489, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/oplati/main.js?v=";
// line 490
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.', 490, $this->source); })()), "html", null, true);
echo "\" />
<script src=\"/js/jquery.toast.min.js\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 498
public function block_RTBHouse($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "RTBHouse"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "RTBHouse"));
// line 499
echo " <script>
try{ (function() {
var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value);
var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) {
lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";
for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);}
rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid);
var ifr = document.createElement(\"iframe\"),
sr = encodeURIComponent(document.referrer ? document.referrer : \"\"),
su = encodeURIComponent(document.location.href ? document.location.href : \"\"),
ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);}
ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp;
ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\");
ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\");
ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\");
ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);}
else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});}
})();} catch(e) {} </script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 518
public function block_metrikaEvent($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metrikaEvent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metrikaEvent"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Slivki/mobile/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1287 => 518, 1259 => 499, 1249 => 498, 1236 => 490, 1232 => 489, 1228 => 488, 1223 => 486, 1218 => 484, 1214 => 483, 1209 => 481, 1203 => 478, 1197 => 475, 1193 => 474, 1189 => 473, 1178 => 465, 1158 => 447, 1155 => 445, 1145 => 444, 1131 => 411, 1128 => 410, 1118 => 409, 1100 => 408, 1089 => 406, 1086 => 405, 1083 => 404, 1080 => 403, 1077 => 402, 1074 => 401, 1071 => 400, 1068 => 399, 1065 => 398, 1062 => 397, 1060 => 396, 1055 => 395, 1052 => 394, 1042 => 393, 1031 => 287, 1021 => 286, 1003 => 282, 985 => 277, 973 => 271, 971 => 270, 961 => 262, 953 => 259, 950 => 258, 944 => 254, 942 => 253, 935 => 249, 931 => 248, 928 => 247, 926 => 246, 918 => 241, 913 => 239, 908 => 237, 903 => 235, 900 => 234, 890 => 233, 876 => 229, 873 => 228, 870 => 227, 860 => 226, 849 => 224, 846 => 223, 836 => 222, 822 => 217, 817 => 215, 814 => 214, 811 => 213, 801 => 212, 782 => 201, 779 => 200, 769 => 199, 744 => 38, 734 => 37, 724 => 36, 717 => 33, 715 => 32, 711 => 31, 706 => 30, 696 => 29, 678 => 17, 667 => 519, 665 => 518, 663 => 498, 659 => 496, 655 => 494, 653 => 493, 651 => 444, 644 => 443, 642 => 442, 625 => 427, 623 => 426, 621 => 425, 619 => 424, 617 => 423, 615 => 422, 613 => 421, 611 => 420, 609 => 419, 607 => 418, 605 => 417, 603 => 416, 601 => 415, 599 => 414, 597 => 409, 595 => 408, 593 => 393, 582 => 384, 576 => 382, 573 => 381, 567 => 377, 565 => 376, 562 => 375, 549 => 365, 546 => 364, 543 => 363, 537 => 361, 534 => 360, 527 => 358, 524 => 357, 521 => 356, 515 => 354, 511 => 352, 509 => 351, 503 => 347, 489 => 336, 486 => 335, 483 => 334, 480 => 333, 477 => 332, 472 => 330, 466 => 327, 462 => 325, 454 => 324, 448 => 321, 445 => 320, 443 => 319, 439 => 317, 434 => 314, 429 => 311, 423 => 309, 421 => 308, 417 => 307, 410 => 304, 408 => 303, 405 => 302, 398 => 297, 396 => 296, 392 => 294, 389 => 293, 386 => 292, 383 => 291, 381 => 290, 378 => 289, 376 => 286, 371 => 283, 369 => 282, 363 => 278, 361 => 277, 356 => 274, 354 => 233, 352 => 226, 350 => 222, 347 => 221, 345 => 212, 342 => 211, 340 => 199, 337 => 198, 335 => 197, 331 => 196, 326 => 195, 324 => 194, 320 => 193, 316 => 192, 312 => 191, 308 => 190, 304 => 189, 299 => 188, 292 => 185, 286 => 183, 284 => 182, 279 => 181, 277 => 180, 274 => 179, 268 => 177, 266 => 176, 257 => 169, 253 => 167, 251 => 166, 246 => 165, 242 => 163, 240 => 162, 238 => 161, 235 => 160, 208 => 135, 206 => 134, 194 => 124, 192 => 123, 176 => 109, 159 => 94, 157 => 93, 116 => 54, 113 => 37, 111 => 29, 98 => 18, 96 => 17, 92 => 16, 87 => 15, 85 => 14, 80 => 11, 76 => 9, 72 => 7, 70 => 6, 66 => 4, 64 => 3, 62 => 2, 60 => 1,);
}
public function getSourceContext()
{
return new Source("{% set metaInfo = getMetaInfo() %}
{% set path = app.request.requestUri|url_encode %}
{% if app.request.query.get('path') %}
{% set path = app.request.query.get('path')|url_encode %}
{% endif %}
{% if path != '%2F' %}
{% set path = '?path=' ~ path %}
{% else %}
{% set path = '' %}
{% endif %}
<!DOCTYPE html>
<html lang=\"ru\">
<head>
{% include \"Slivki#{regional_template_path}/mobile/meta_block.html.twig\" %}
<link href=\"/css/flowersHotLent.css?v={{ flowers_hot_lent_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/beauty/beauty-masters.css?v={{ beauty_masters_css_version }}\" type=\"text/css\"/>
{% block meta %}{% endblock %}
<link href=\"/css/bootstrap4.3.1.min.css\" rel=\"stylesheet\">
<link href=\"/js/jgallery-1.5.5/dist/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />
<link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
<link href=\"/css/jform-styler/vanillaSelectBox.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/css/botstrap-dropdowns-v3/dropdowns.css\"/>
<link href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"/css/intTelInput.css?v=2\" />
<link rel=\"stylesheet\" href=\"/css/slick.min.css\"/>
<link rel=\"stylesheet\" href=\"/css/slick-theme.min.css\" />
<link rel=\"stylesheet\" href=\"/css/jquery.toast.min.css\" />
<link href=\" /css/universal-parallax.min.css \" rel=\"stylesheet\">
{% block styles %}
<link href=\"/mobile/css/style.min.css?v={{ mobile_style_css_version }}\" rel=\"stylesheet\">
<link href=\"/css/new_popup.css?v={{ new_popup_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
{% if app.request.getPathInfo() == '/profile' %}
<link href=\"/css/crt-fonts.css?v={{ crt_fonts_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"/css/certificate-creator/certificate-creator.css\" rel=\"stylesheet\" type=\"text/css\" />
{% endif %}
{% endblock %}
{% block favicon %}
<link type=\"image/x-icon\" rel=\"shortcut icon\" href=\"/images/favicon/favicon.ico\">
<link type=\"image/png\" sizes=\"72x72\" rel=\"icon\" href=\"/images/favicon/android-icon-72x72.png\">
<link type=\"image/png\" sizes=\"96x96\" rel=\"icon\" href=\"/images/favicon/android-icon-96x96.png\">
<link type=\"image/png\" sizes=\"144x144\" rel=\"icon\" href=\"/images/favicon/android-icon-144x144.png\">
<link type=\"image/png\" sizes=\"192x192\" rel=\"icon\" href=\"/images/favicon/android-icon-192x192.png\">
<link type=\"image/png\" sizes=\"512x512\" rel=\"icon\" href=\"/images/favicon/android-icon-512x512.png\">
<link sizes=\"57x57\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-57x57.png\">
<link sizes=\"60x60\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-60x60.png\">
<link sizes=\"72x72\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-72x72.png\">
<link sizes=\"76x76\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-76x76.png\">
<link sizes=\"114x114\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-114x114.png\">
<link sizes=\"120x120\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-120x120.png\">
<link sizes=\"144x144\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-144x144.png\">
<link sizes=\"152x152\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-152x152.png\">
<link sizes=\"180x180\" rel=\"apple-touch-icon\" href=\"/images/favicon/apple-touch-icon-180x180.png\">
{% endblock %}
<meta name=\"google-site-verification\" content=\"LZdJyY-ROJZoDrU1Akiha-FF7W_PmSiN4mJRSyWexog\" />
<link rel=\"manifest\" href=\"/manifest.json?v=0\">
<script src=\"//code-eu1.jivosite.com/widget/nNpsUw68ys\" async></script>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU&apikey=ced3d85f-6a99-4208-93d6-b578ba5e8f8a\"></script>
<!-- TikTok Code -->
<script>
!function (w, d, t) {
w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=[\"page\",\"track\",\"identify\",\"instances\",\"debug\",\"on\",\"off\",\"once\",\"ready\",\"alias\",\"group\",\"enableCookie\",\"disableCookie\"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++
)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i=\"https://analytics.tiktok.com/i18n/pixel/events.js\";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};n=document.createElement(\"script\");n.type=\"text/javascript\",n.async=!0,n.src=i+\"?sdkid=\"+e+\"&lib=\"+t;e=document.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(n,e)};
ttq.load('CAEQUGBC77U9MLGRE66G');
ttq.page();
}(window, document, 'ttq');
</script>
<!-- End TikTok Code -->
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', \${currentCity.getID() > 1 ? '675534651528670' : '1202694461570299'});
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\"
src=\"https://www.facebook.com/tr?id=1202694461570299&ev=PageView&noscript=1\"
/></noscript>
<!-- End Meta Pixel Code -->
<noscript>
<img height=\"1\" width=\"1\" src=\"https://www.facebook.com/tr?id=1884900258504761&ev=PageView&noscript=1\" style=\"display: none;\"/>
</noscript>
<!-- End Facebook Pixel Code -->
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-167315-4IspB';</script>
{% if fitnessOffer is defined %}
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1615676305118909');
fbq('track', 'PageView');
</script>
<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=1615676305118909&ev=PageView&noscript=1\"/></noscript>
<script type=\"text/javascript\">(window.Image ? (new Image()) : document.createElement('img')).src = 'https://vk.com/rtrg?p=VK-RTRG-170417-8Uj6y';</script>
{% endif %}
<script>
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (userAgent.indexOf('FBAN') == -1 && userAgent.indexOf('FBAV') == -1 && userAgent.indexOf('Instagram') == -1 &&
userAgent.indexOf('Skype') == -1 && userAgent.indexOf('Viber') == -1 && userAgent.indexOf('WhatsApp') == -1) {
var d = document,
h = d.getElementsByTagName('head')[0],
s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//cdn.sendpulse.com/js/push/260be6a77276a4d176159328b4b7175c_1.js?v=0';
h.appendChild(s);
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
{% set currentCity = getCurrentCity() %}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=AW-978097094\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-978097094');
</script>
{% if category is not defined and offer is not defined %}
<script src=\"/js/smart-app-banner.js\"></script>
<script type=\"text/javascript\">
new SmartBanner({
daysHidden: 15, // days to hide banner after close button is clicked (defaults to 15)
daysReminder: 90, // days to hide banner after \"VIEW\" button is clicked (defaults to 90)
appStoreLanguage: 'ru', // language code for the App Store (defaults to user's browser language)
title: 'Slivki - промокоды и скидки',
author: 'Slivki',
button: 'Посмотреть',
store: {
ios: 'On the App Store',
android: 'В Google Play',
windows: 'In Windows store'
},
price: {
ios: 'FREE',
android: 'FREE',
windows: 'FREE'
}
// , theme: '' // put platform type ('ios', 'android', etc.) here to force single theme on all device
, icon: '/images/app-icon.png' // full path to icon image if not using website icon image
// , force: 'ios' // Uncomment for platform emulation
});
</script>
{% endif %}
</head>
{% set bodyClass = '' %}
{% if noToken is not defined and is_granted('ROLE_ADMIN_USER') %}
{% set bodyClass = 'a-u' %}
{% endif %}
<body class=\"{{ bodyClass }}\">
{% if app.debug %}
<input type=\"hidden\" id=\"debugMode\" value=\"1\"/>
{% endif %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-185332166-1', 'auto');
ga('send', 'pageview');
{% if app.user %}
ga('set', 'userId', '{{ app.user.getID() }}');
{% endif %}
</script>
{% if app.user %}
<input type=\"hidden\" id=\"customerID\" value=\"{{ app.user.getID() }}\"/>
{% if app.user.getEmail() != '' %}
<input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getEmail() }}\">
{% else %}
<input class=\"sp_push_custom_data\" type=\"hidden\" name=\"email\" value=\"{{ app.user.getPhone() }}\">
{% endif %}
{% endif %}
<input type=\"hidden\" id=\"serverTime\" value=\"{{ 'now'|date('Y-m-d H:i:s') }}\">
<input type=\"hidden\" id=\"cityID\" value=\"{{ currentCity.getID() }}\">
<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()) }}\"/>
<input type=\"hidden\" id=\"rtbhUID\" value=\"{{ getRTBHouseUID(app.user) }}\">
<input id=\"userId\" type=\"hidden\" value=\" {{ app.user is not null ? app.user.ID : null }}\">
<input id=\"metricaUrl\" type=\"hidden\" value=\" {{ slivki_metrica_url }}/api/v1/metric\">
{% set geoIpLocation = getIPLocationData() %}
<input type=\"hidden\" id=\"geoIpLatitude\" value=\"{{ geoIpLocation[0] }}\"/>
<input type=\"hidden\" id=\"geoIpLongitude\" value=\"{{ geoIpLocation[1] }}\"/>
{% set subscription = app.user ? getSubscription(app.user) : null %}
{% block linkToStore %}
{% if category is defined and currentCity.getID() != 4 or offer is defined and currentCity.getID() != 4 %}
<div id=\"linkToStore\" class=\"d-flex\">
<img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\">
<div class=\"col pl-0\">
<p class=\"sf-bold-font\">Slivki: промокоды и скидки</p>
<p>В приложении</p>
</div>
<div id=\"deepLinksHeader\" class=\"button-store-index-page\">Открыть</div>
</div>
{% endif %}
{% endblock %}
{% block linkToPartner %}
{% if app.user and is_granted('ROLE_SUPPLIER') %}
<div class=\"bg-gray text-violet text-center py-3 px-4 sf-font font-size-14\">
<div>Здравствуйте, <span class=\"sf-bold-font\">{{ app.user.getFirstName() }}!</span></div>
<div>Здесь вы можете проверить промокод</div>
<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>
</div>
{% endif %}
{% endblock %}
{% block messenger %}
{% include 'Slivki/jivosite/button_mobile.html.twig' %}
{% include \"Slivki#{regional_template_path}/jivosite/modal_mobile.html.twig\" %}
{% endblock %}
{% block headerBanner %}
{% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
<div id=\"headerBanner\" class=\"head-banner-container\">
{{ getTopSiteBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [], true, true) }}
</div>
{% endif %}
{% endblock %}
{% block header %}
<div id=\"headerWrapper\">
<div id=\"header\" class=\"{{ app.request.get('_route') == 'deliveryOrder' ? 'no-fixed' }}\">
<nav id=\"headerTop\" class=\"navbar navbar-expand p-0\">
<a class=\"navbar-brand mx-3\" href=\"{{ base_url }}\"><img src=\"/images/logo/logo_mob.svg\" height=\"35\" alt=\"\"></a>
<div class=\"navbar-collapse collapse\">
<form id=\"headerSearchForm\" class=\"d-inline w-100\" action=\"{{ base_url }}/search\">
<div class=\"input-group\">
<input id=\"headerSearchInput\" name=\"text\" type=\"text\" class=\"search-input form-control py-1\" placeholder=\"Я ищу...\" value=\"{{ app.request.query.get('text', '') }}\">
<button class=\"input-group-append button-search-landing\" type=\"submit\">
<img alt=\"\" src=\"/images/searchNewWhite.svg\" />
</button>
<button class=\"voice-search-btn\" type=\"button\"></button>
{% include 'search_equalizer.html.twig' with {'barCount': 36, 'barPadding': 6} only %}
</div>
<input type=\"hidden\" name=\"sortBy\" id=\"sortBy\" value=\"{{ app.request.query.get('sortBy', 'default') }}\">
<input type=\"hidden\" name=\"distance\" id=\"distance\" value=\"{{ app.request.query.get('distance', '0') }}\">
<input type=\"hidden\" name=\"isVoice\" id=\"searchByVoice\" value=\"false\"/>
</form>
<ul class=\"list-unstyled navbar-nav\">
{% if not app.user %}
<li class=\"nav-item focus-tel\">
<a href=\"#\" class=\"nav-link\" data-toggle=\"modal\" data-target=\".modal-auth\">Войти</a>
</li>
{% else %}
<li class=\"nav-item d-none d-sm-block\">
<a id=\"headerUserName\" class=\"nav-link\" href=\"{{ path('profile') }}\">{{ app.user.getFirstName() }}</a>
</li>
{% endif %}
<li class=\"nav-item\">
<a class=\"nav-link p-0\" href=\"#\" id=\"sidebarMenuLink\">
<i class=\"slivki-icon-menu text-black\"></i>
</a>
</li>
</ul>
</div>
</nav>
{% include \"Slivki/mobile/#{regional_template_path}/header_menu.html.twig\" %}
</div>
</div>
{% endblock %}
<main id=\"content\" class=\"container-fluid\">
<div id=\"topContent\" class=\"row no-gutters\">
<div class=\"col-12\">
{% block topContent %}{% endblock %}
</div>
</div>
<div class=\"row no-gutters\">
<div class=\"col-12\">
{% block content %}{% endblock %}
</div>
</div>
</main>
{% block footer %}
{% include \"Slivki/mobile#{regional_template_path}/footer.html.twig\" %}
{% endblock %}
<nav id=\"sidebarMenu\">
{% set landingUrl = '/subscription-landing?utm_source=main_menu' %}
{% if app.user %}
{% set landingUrl = '/profile/subscription/manage?utm_source=main_menu' %}
{% endif %}
<div class=\"row sf-font h-100\">
<div class=\"col-10 bg-white px-0 side-bar-menu\">
{% if app.user and is_granted('ROLE_SUPPLIER') %}
<div class=\"col w-fit-content my-3 ml-3\">
<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>
<p class=\"text-violet sf-font mb-0 mt-1\">Войдите для проверки промокода</p>
</div>
{% endif %}
<div class=\"bg-light-gray p-2 d-flex user-info__wrapper\">
{% if app.user %}
<a class=\"w-100\" href=\"{{ path('profile') }}\">
<div id=\"userTopInfo\" class=\"user-info\">
<p class=\"user-info__title\"><strong>Личный кабинет</strong></p>
<p id=\"username\">{{ app.user.getPhone() ? '***' ~ app.user.getPhone()|phone[3:] : app.user.getEmail() }}</p>
{% if is_granted('IS_IMPERSONATOR') %}
<a class=\"text-danger pl-2\" href=\"{{ impersonation_exit_path(path('homepage')) }}\"><i class=\"slivki-icon-off text-danger p-0\"></i> Вернутся в свой акк</a>
{% endif %}
</div>
</a>
{% else %}
<i class=\"slivki-icon-user-o user-avatar\"></i>
<a href=\"#\" data-toggle=\"modal\" data-target=\".modal-auth\" class=\"my-auto\">Вход/Регистрация</a></li>
{% endif %}
</div>
<ul class=\"list-unstyled menu-list__wrapper\">
{% if app.user and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::REPLENISHMENT_BALANCE')) %}
<li>
<a href={{ isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT')) ? '/profile/oplata-pay' : '/oplata'}}>
<img class=\"side-bar-menu-icons\" alt=\"Баланс\" src=\"/images/money.svg\">
<lable style=\"font-weight: bold; font-size: 16px\">
<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 %}
</lable>
<br>
<a href={{ isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::VIRTUAL_WALLET_REPLENISHMENT')) ? '/profile/oplata-pay' : '/oplata'}} class=\"text-violet\" style=\"margin-left: 0.5rem;\">Пополнить и получить бонус</a>
</a>
</li>
<li><a href=\"{{ path('profile') }}#profilePromocodesTab\"><img class=\"side-bar-menu-icons\" src=\"/images/promo-code.svg\" alt=\"Промокод\">Мои промокоды</a></li>
{% endif %}
{% include \"Slivki/mobile#{regional_template_path}/select_city_opener.html.twig\" %}
{% include \"Slivki/mobile#{regional_template_path}/translate_block.html.twig\" %}
{% 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'))) %}
<li>
<a href=\"{{ landingUrl }}\">
<div class=\"d-flex subscription-button-sidebar\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col\">
<div class=\"text-violet\">ПОДПИСКА</div>
<div>1 промокод 5 копеек</div>
</div>
</div>
</a>
</li>
{% endif %}
<li class=\"bg-light-gray menu-list__title\">
Интересное на сайте
</li>
{% if getActiveSubCategories(0)|length > 1 %}
<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>
{% else %}
<li><a href=\"{{ getCurrentCityURL() }}\" role=\"button\"><i class=\"slivki-icon-percentage\"></i>Категории</a></li>
{% endif %}
{% set menuItem = getTestMenuItem(2) %}
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SALES')) %}
<li><a href=\"{{ base_url }}{{ path('sales') }}\"><img class=\"side-bar-menu-icons\" alt=\"Новости\" src=\"/images/new-news.svg\">Новости скидок</a></li>
{% endif %}
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::FLIERS')) %}
<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>
{% endif %}
{% if not isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) %}
<li class=\"py-2\">
<a href=\"{{ landingUrl }}\">
<div class=\"d-flex pl-2\">
<div class=\"icon-lightning align-self-center\"></div>
<div class=\"col pl-2\">
<div>Подписка</div>
</div>
</div>
</a>
</li>
{% endif %}
<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>
{% if app.user and is_granted('ROLE_ADMIN_USER') %}
<li><a href=\"/admin\"><img class=\"side-bar-menu-icons\" alt=\"Администрирование\" src=\"/images/admin-new-icon.svg\">Администрирование</a></li>
<li><a href=\"/admin/past_offers\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие акции</a></li>
<li><a href=\"/admin/past_sales\"><img class=\"side-bar-menu-icons\" alt=\"Прошедшее\" src=\"/images/past-new.svg\">Прошедшие НС</a></li>
{% endif %}
{% if app.user and is_granted('ROLE_SUPPLIER') %}
<li class=\"mar-b-5\"><a href=\"{{ path('partner') }}\"><img class=\"side-bar-menu-icons\" src=\"/images/partner.svg\" alt=\"Кабинет партнера\">Кабинет партнера</a></li>
{% endif %}
</ul>
</div>
<div class=\"col-2 bg-modal px-0 sidebar-overlay\">
<div class=\"sidebar-close__wrapper\">
<i id=\"sidebarOverlay\" class=\"slivki-icon-close-thin sidebar-close\" data-dismiss=\"modal\"></i>
</div>
</div>
</div>
</nav>
{% block popup %}
{% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
{{ getMainMenu(false, false) }}
{% if app.session.flashbag.get(\"showMogilevMailingBonusPopup\")|length > 0 %}
{% include 'Slivki/mobile/popup/mogilev_mailing_popup.html.twig' %}
{% endif %}
{% include 'Slivki/mobile/select_city.html.twig' %}
{% include 'Slivki/mobile/popup/push.html.twig' %}
{% if not app.user %}
{% include 'Slivki/mobile/popup/login.html.twig' %}
{% include 'Slivki/mobile/popup/restore_password.html.twig'%}
{% include 'Slivki/mobile/popup/succes_restore_password.html.twig'%}
{% endif %}
{% include 'Slivki/popups/deep_links_popup.html.twig' %}
{% endblock %}
{% block brandingBanner %}{% endblock %}
{% block floatingMobileBanner %}
{% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
{{ getMobileFloatingBanner(brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [])|raw }}
{% endif %}
{% endblock %}
{% include 'Slivki/mobile/popup/confirm_popup.html.twig' %}
{% include 'Slivki/delivery/modal/questions.html.twig' %}
{% include 'Slivki/mobile/popup/alert_popup.html.twig' %}
{% include 'Slivki/popups/examples_of_works_popup_small.html.twig' %}
{% include 'Slivki/popups/examples_of_works_popup.html.twig' %}
{% include 'Slivki/mobile/popup/new_alert_popup.html.twig' %}
{% include 'Slivki/mobile/popup/mail_popup.html.twig' %}
{% include \"Slivki/mobile#{regional_template_path}/popup/info_message_popup.html.twig\" %}
{% include 'Slivki/beauty/beauty_master_popup.html.twig' %}
{% include 'Slivki/mobile/payment/oplati/oplati_renew_codes.html.twig' %}
{% include 'Slivki/add_batch_codes/error.html.twig' %}
{% include 'Slivki/add_batch_codes/success.html.twig' %}
{% include 'Slivki/add_batch_codes/auth.html.twig' %}
<!-- Yandex.Metrika counter -->
<script type=\"text/javascript\" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
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)})
(window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");
ym(20933521, \"init\", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>
<noscript><div><img src=\"https://mc.yandex.ru/watch/20933521\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script src=\"/js/jquery-3.3.1.min.js\"></script>
{% set coordinate = currentCity.getCoordinate() %}
<input type=\"hidden\" id=\"cityCoord\" value=\"[{{ coordinate.getLatitude() }}, {{ coordinate.getLongitude() }}]\">
{% block javascripts %}
<script src=\"/js/menuAim/main.min.js\"></script>
{# <script src=\"/js/jquery-ui.min.js\"></script>#}
<script src=\"/js/jquery-ui-1.8.16.custom.min.js\"></script>
<script src=\"/mobile/js/parallax.js\"></script>
<script src=\"/js/voices/app.js?v=4\"></script>
<script src=\"/js/voices/recorder.js\"></script>
<script src=\"/js/bodyScrollLock.min.js?v=1\"></script>
<script type=\"module\" src=\"/js/botsrap-custom-dropdowns/custom-dropdowns.js\"></script>
<script src=\"/js/jform-styler/vanillaSelectBox.min.js\"></script>
<script src=\"/js/swiper-js/swiper.min.js\"></script>
<script src=\"/mobile/js/paralax.min.js\"></script>
<script src=\"/js/slick.min.js\"></script>
<script src=\"/js/jquery.mobile-events.min.js\"></script>
<script src=\"/js/popper.min.js\"></script>
<script src=\"/js/js.cookie.min.js\"></script>
<script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js\"></script>
<script src=\"/js/jquery.lazyload.min.js?v=2\"></script>
<script src=\"/js/lottie_light.min.js\"></script>
<script src=\"/js/jquery.maskedinput.min.js\"></script>
<script src=\"/js/jquery.inputmask.min.js\"></script>
<script src=\"/js/helper.js?v={{ helper_version_js }}\"></script>
<script src=\"/js/captcha/main.js?v=2\"></script>
<script type=\"text/javascript\" src=\"/js/jquery.cookie.js\"></script>
<script src=\"https://yastatic.net/pcode/adfox/loader.js\" crossorigin=\"anonymous\"></script>
<script src=\"/js/jquery.matchHeight-min.js\"></script>
<script src=\"/js/intlTelInput-jquery.min.js\"></script>
<script src=\"/js/utils.min.js\"></script>
<script src=\"/js/recaptcha_api.js\"></script>
<script src=\"/js/common.min.js?v={{ common_js_version }}\"></script>
<script type=\"module\" src=\"/js/time_block_category/main.js?v={{ time_block_category_js }}\"></script>
<script src=\"/mobile/js/script.min.js?v={{ mobile_script_js_version }}\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script src=\"/js/gtranslate.js\"></script>
<script src=\"/js/subscription.js?v={{ subscription_js_version }}\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=1\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/flowersCategoryCarousel.js?v={{ flowers_category_carousel_js_version }}\"></script>
<script src=\"/js/moment.min.js\"></script>
<script type=\"module\" src=\"/js/family_subscription/api_family_subscription.js?v={{ family_subscription_js_version }}\"></script>
<script type=\"module\" src=\"/js/family_subscription/family_subscription.js?v={{ family_subscription_js_version }}\"></script>
<script src=\"//translate.google.com/translate_a/element.js?cb=TranslateInit\"></script>
<script type=\"module\" src=\"/js/work_examples/api_work_examples.js?v={{ api_work_examples_js_version }}\"></script>
<script src=\"/js/maps_index_page/roundedControlls.js?v=5\"></script>
<script type=\"module\" src=\"/js/beauty/mainMapBeauty.js?v={{ main_map_beauty_js_version }}\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v={{ beauty_masters_js_version }}\"></script>
<script type=\"module\" src=\"/js/oplati/main.js?v={{ oplati_js_version }}\" />
<script src=\"/js/jquery.toast.min.js\"></script>
{% endblock %}
{% if app.user and app.user.isGeoLocationAccepted() == null %}
<input type=\"hidden\" id=\"storeGeoLocationData\"/>
{% endif %}
<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
<div type=\"hidden\" id=\"newMobileVersionIndicator\"></div>
{% block RTBHouse %}
<script>
try{ (function() {
var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = []; rtbhTags.push(\"pr_\"+hash+\"\"); rtbhTags.push(\"pr_\"+hash+\"_uid_\"+document.getElementById('rtbhUID').value);
var key = \"__rtbhouse.lid\", lid = window.localStorage.getItem(key); if (!lid) {
lid = \"\"; var pool = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";
for (var i = 0; i < 20; i++) lid += pool.charAt(Math.floor(Math.random() * pool.length)); window.localStorage.setItem(key, lid);}
rtbhTags.push(\"pr_\"+hash+\"_lid_\" + lid);
var ifr = document.createElement(\"iframe\"),
sr = encodeURIComponent(document.referrer ? document.referrer : \"\"),
su = encodeURIComponent(document.location.href ? document.location.href : \"\"),
ifrSrc = \"https://\"+prefix+\"creativecdn.com/tags?type=iframe\", tmstmp = encodeURIComponent(\"\" + Date.now()); for(var i=0; i<rtbhTags.length; i++) {ifrSrc += \"&id=\" + encodeURIComponent(rtbhTags[i]);}
ifrSrc += \"&su=\" + su + \"&sr=\" + sr + \"&ts=\" + tmstmp;
ifr.setAttribute(\"src\", ifrSrc); ifr.setAttribute(\"width\", \"1\");
ifr.setAttribute(\"height\", \"1\"); ifr.setAttribute(\"scrolling\", \"no\");
ifr.setAttribute(\"frameBorder\", \"0\"); ifr.setAttribute(\"style\", \"display:none\");
ifr.setAttribute(\"referrerpolicy\", \"no-referrer-when-downgrade\"); if(document.body){document.body.appendChild(ifr);}
else{window.addEventListener('DOMContentLoaded', function(){document.body.appendChild(ifr);});}
})();} catch(e) {} </script>
{% endblock %}
{% block metrikaEvent %}{% endblock %}
</body>
</html>", "Slivki/mobile/base.html.twig", "/mnt/data/virtwww/test/templates/Slivki/mobile/base.html.twig");
}
}