<?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/offer/details.html.twig */
class __TwigTemplate_debfce602e1226c7455cf784f41861747d69920e2fe10b1455143a82ecab344d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'styles' => [$this, 'block_styles'],
'messenger' => [$this, 'block_messenger'],
'ogimage' => [$this, 'block_ogimage'],
'content' => [$this, 'block_content'],
'popup' => [$this, 'block_popup'],
'brandingBanner' => [$this, 'block_brandingBanner'],
'javascripts' => [$this, 'block_javascripts'],
'RTBHouse' => [$this, 'block_RTBHouse'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "Slivki/mobile/base.html.twig";
}
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/offer/details.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/offer/details.html.twig"));
// line 1
$context["phoneNumbersWithoutGeoLocations"] = twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 1, $this->source); })()), "getPhoneNumbersWithoutGeoLocations", [], "method", false, false, false, 1);
// line 34
$context["isBatchCodesAllowed"] = (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.', 34, $this->source); })()), "user", [], "any", false, false, false, 34) && 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.', 34, $this->source); })()), "user", [], "any", false, false, false, 34), "isBatchCodesAllowed", [], "any", false, false, false, 34));
// line 2
$this->parent = $this->loadTemplate("Slivki/mobile/base.html.twig", "Slivki/mobile/offer/details.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
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 4
echo " <link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css\"/>
<link rel=\"stylesheet\" href=\"/admin/plugins/datetimepicker/css/bootstrap-datetimepicker.min.css\">
<link rel=\"stylesheet\" href=\"/admin/plugins/datatables/jquery.dataTables.min.css\"/>
<link rel=\"stylesheet\" href=\"/admin/plugins/colorpicker/bootstrap-colorpicker.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.css\">
";
// line 12
$this->displayParentBlock("styles", $context, $blocks);
echo "
<link href=\"/css/delivery.min.css?v=";
// line 13
echo twig_escape_filter($this->env, (isset($context["delivery_css_version"]) || array_key_exists("delivery_css_version", $context) ? $context["delivery_css_version"] : (function () { throw new RuntimeError('Variable "delivery_css_version" does not exist.', 13, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
<link href=\"/mobile/css/offers.min.css?v=";
// line 14
echo twig_escape_filter($this->env, (isset($context["mobile_offers_css"]) || array_key_exists("mobile_offers_css", $context) ? $context["mobile_offers_css"] : (function () { throw new RuntimeError('Variable "mobile_offers_css" does not exist.', 14, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
<link href=\"/css/foodForGift.css?v=";
// line 15
echo twig_escape_filter($this->env, (isset($context["food_for_gift_css"]) || array_key_exists("food_for_gift_css", $context) ? $context["food_for_gift_css"] : (function () { throw new RuntimeError('Variable "food_for_gift_css" does not exist.', 15, $this->source); })()), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\"
rel=\"stylesheet\">
<link href=\" /mobile/css/statistics_modal.css?v=3\" rel=\"stylesheet\" type=\"text/css\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 21
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 23
public function block_ogimage($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", "ogimage"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogimage"));
// line 24
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["detailMediaList"]) || array_key_exists("detailMediaList", $context) ? $context["detailMediaList"] : (function () { throw new RuntimeError('Variable "detailMediaList" does not exist.', 24, $this->source); })())), 0))) {
// line 25
echo " <meta property=\"og:image\"
content=\"";
// line 26
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.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "getSchemeAndHttpHost", [], "method", false, false, false, 26), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_first($this->env, (isset($context["detailMediaList"]) || array_key_exists("detailMediaList", $context) ? $context["detailMediaList"] : (function () { throw new RuntimeError('Variable "detailMediaList" does not exist.', 26, $this->source); })())), 522, 322), "html", null, true);
echo "\"/>
<meta property=\"og:image:width\" content=\"522\"/>
<meta property=\"og:image:height\" content=\"322\"/>
";
} else {
// line 30
echo " ";
$this->displayParentBlock("ogimage", $context, $blocks);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 36
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"));
// line 37
echo " ";
$context["isPickupEnabled"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["offer"] ?? null), "getOnlineOrderSettings", [], "method", false, true, false, 37), "isPickupEnabled", [], "method", true, true, false, 37)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 37, $this->source); })()), "getOnlineOrderSettings", [], "method", false, false, false, 37), "isPickupEnabled", [], "method", false, false, false, 37)) : (""));
// line 38
echo " ";
$context["isDeliveryEnabled"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["offer"] ?? null), "getOnlineOrderSettings", [], "method", false, true, false, 38), "isDeliveryEnabled", [], "method", true, true, false, 38)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 38, $this->source); })()), "getOnlineOrderSettings", [], "method", false, false, false, 38), "isDeliveryEnabled", [], "method", false, false, false, 38)) : (""));
// line 39
echo "
";
// line 40
if ((isset($context["parentCategoryList"]) || array_key_exists("parentCategoryList", $context) ? $context["parentCategoryList"] : (function () { throw new RuntimeError('Variable "parentCategoryList" does not exist.', 40, $this->source); })())) {
// line 41
echo " ";
$this->loadTemplate("Slivki/mobile/breadcrumbs.html.twig", "Slivki/mobile/offer/details.html.twig", 41)->display(twig_to_array(["parentCategoryList" => (isset($context["parentCategoryList"]) || array_key_exists("parentCategoryList", $context) ? $context["parentCategoryList"] : (function () { throw new RuntimeError('Variable "parentCategoryList" does not exist.', 41, $this->source); })()), "supplierCategoryData" => twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 41, $this->source); })()), "getSupplierCategoryData", [], "method", false, false, false, 41)]));
// line 42
echo " ";
}
// line 43
echo " ";
if (((isset($context["isPickupEnabled"]) || array_key_exists("isPickupEnabled", $context) ? $context["isPickupEnabled"] : (function () { throw new RuntimeError('Variable "isPickupEnabled" does not exist.', 43, $this->source); })()) || (isset($context["isDeliveryEnabled"]) || array_key_exists("isDeliveryEnabled", $context) ? $context["isDeliveryEnabled"] : (function () { throw new RuntimeError('Variable "isDeliveryEnabled" does not exist.', 43, $this->source); })()))) {
// line 44
echo " <input id=\"deliveryMethodEnabled\" type=\"hidden\" value=\"";
echo (((0 === twig_compare((isset($context["isDeliveryEnabled"]) || array_key_exists("isDeliveryEnabled", $context) ? $context["isDeliveryEnabled"] : (function () { throw new RuntimeError('Variable "isDeliveryEnabled" does not exist.', 44, $this->source); })()), ""))) ? ("2") : ("1"));
echo "\">
";
}
// line 46
echo " <input id=\"offerPage\" type=\"hidden\" value=\"\">
<input id=\"offerID\" type=\"hidden\" value=\"";
// line 47
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 47, $this->source); })()), "getID", [], "method", false, false, false, 47), "html", null, true);
echo "\">
<input id=\"isMedicalCenter\" type=\"hidden\"
value=\"";
// line 49
echo twig_escape_filter($this->env, ((isset($context["parentCategoryList"]) || array_key_exists("parentCategoryList", $context) ? $context["parentCategoryList"] : (function () { throw new RuntimeError('Variable "parentCategoryList" does not exist.', 49, $this->source); })()) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["parentCategoryList"]) || array_key_exists("parentCategoryList", $context) ? $context["parentCategoryList"] : (function () { throw new RuntimeError('Variable "parentCategoryList" does not exist.', 49, $this->source); })()), 0, [], "array", false, false, false, 49), "getID", [], "method", false, false, false, 49), twig_constant("Slivki\\Entity\\Category::MEDICAL_CENTER_CATEGORY_ID")))), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"stock-id\" value=\"";
// line 50
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 50, $this->source); })()), "getID", [], "method", false, false, false, 50), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"stock-link\" value=\"";
// line 51
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.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "getSchemeAndHttpHost", [], "method", false, false, false, 51) . 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.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "getRequestUri", [], "method", false, false, false, 51)), "html", null, true);
echo "\">
<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
";
// line 53
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.', 53, $this->source); })()), "user", [], "any", false, false, false, 53) && $this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->isSubscriber(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.', 53, $this->source); })()), "user", [], "any", false, false, false, 53)))) {
// line 54
echo " <input id=\"allowedCodesCountBySubscription\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, (isset($context["allowedCodesCountBySubscription"]) || array_key_exists("allowedCodesCountBySubscription", $context) ? $context["allowedCodesCountBySubscription"] : (function () { throw new RuntimeError('Variable "allowedCodesCountBySubscription" does not exist.', 54, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 56
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.', 56, $this->source); })()), "user", [], "any", false, false, false, 56)) {
// line 57
echo " <input id=\"splitTotalCodesCountByUser\" type=\"hidden\" 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.', 57, $this->source); })()), "user", [], "any", false, false, false, 57), "getCodesCountByOffer", [0 => (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 57, $this->source); })())], "method", false, false, false, 57), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"customerID\" value=\"";
// line 58
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.', 58, $this->source); })()), "user", [], "any", false, false, false, 58), "getID", [], "method", false, false, false, 58), "html", null, true);
echo "\"/>
";
}
// line 60
echo " <meta content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["metaInfo"]) || array_key_exists("metaInfo", $context) ? $context["metaInfo"] : (function () { throw new RuntimeError('Variable "metaInfo" does not exist.', 60, $this->source); })()), "metaDescription", [], "any", false, false, false, 60), "html", null, true);
echo "\"/>
<div id=\"offerDetails\">
<div class=\"collapse-more-button\"></div>
";
// line 63
$context["isOfferFavourite"] = ((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.', 63, $this->source); })()), "user", [], "any", false, false, false, 63)) ? (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.', 63, $this->source); })()), "user", [], "any", false, false, false, 63), "isOfferFavourite", [0 => (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 63, $this->source); })())], "method", false, false, false, 63)) : (false));
// line 64
echo " <div class=\"no-gutters pb-2\">
<div class=\"col-12 col-sm-4\">
<div id=\"offerImageSlider\" class=\"m-0 swiper-container\">
<div class=\"back-button\" onclick=\"history.back();\">
<img src=\"/images/back-violet.svg\"/>
</div>
";
// line 70
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.', 70, $this->source); })()), "user", [], "method", false, false, false, 70)) {
// line 71
echo " <div class=\"fovoutite-block\"
onclick=\"onFavouriteClickOffer(";
// line 72
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 72, $this->source); })()), "getID", [], "method", false, false, false, 72), "html", null, true);
echo ", ";
echo (((isset($context["isOfferFavourite"]) || array_key_exists("isOfferFavourite", $context) ? $context["isOfferFavourite"] : (function () { throw new RuntimeError('Variable "isOfferFavourite" does not exist.', 72, $this->source); })())) ? ("true") : ("false"));
echo ")\">
<img width=\"18\" height=\"18\"
src=\"";
// line 74
echo (((isset($context["isOfferFavourite"]) || array_key_exists("isOfferFavourite", $context) ? $context["isOfferFavourite"] : (function () { throw new RuntimeError('Variable "isOfferFavourite" does not exist.', 74, $this->source); })())) ? ("/images/heart_active.svg") : ("/images/heart.svg"));
echo "\"/>
</div>
";
}
// line 77
echo " ";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 77, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 77)) {
// line 78
echo " <div class=\"discount-block\">
";
// line 79
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 79, $this->source); })()), "getDiscount", [], "method", false, false, false, 79), "html", null, true);
echo "
</div>
";
}
// line 82
echo " ";
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") && !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 82, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 82))) {
// line 83
echo " <div id=\"statisticsButton\" data-toggle=\"modal\" data-target=\"#statisticOffersPopup\">
<img width=\"37\" height=\"37\" src=\"/images/statistics.png\"/>
</div>
";
}
// line 87
echo " <div class=\"swiper-wrapper\"
data-pixel=";
// line 88
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 88, $this->source); })()), "getID", [], "method", false, false, false, 88), twig_constant("Slivki\\Entity\\Offer::BETERA_OFFER_ID")))) ? ("https://amc.yandex.ru/show?cmn_id=26372&plt_id=194140&crv_id=464042&evt_t=render&ad_type=banner&rnd=%system.random%") : (""));
echo ">
";
// line 89
$context["medias"] = twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 89, $this->source); })()), "getDetailMedias", [], "method", false, false, false, 89);
// line 90
echo " ";
$context["mediaCount"] = twig_length_filter($this->env, (isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 90, $this->source); })()));
// line 91
echo " ";
if ((1 === twig_compare((isset($context["mediaCount"]) || array_key_exists("mediaCount", $context) ? $context["mediaCount"] : (function () { throw new RuntimeError('Variable "mediaCount" does not exist.', 91, $this->source); })()), 1))) {
// line 92
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 92, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
// line 93
echo " <div class=\"swiper-slide\">
";
// line 94
if (twig_get_attribute($this->env, $this->source, $context["media"], "isYoutube", [], "method", false, false, false, 94)) {
// line 95
echo " <input class=\"js-src-video\" type=\"hidden\" value=\"https://www.youtube.com/embed/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "getName", [], "method", false, false, false, 95), "html", null, true);
echo "\">
";
} else {
// line 97
echo " <img class=\"img-fluid lazyload\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "getDescription", [], "method", false, false, false, 97), "html", null, true);
echo "\"
src=\"";
// line 98
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL($context["media"], 1044, 644), "html", null, true);
echo "\"/>
";
}
// line 100
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 102
echo " ";
} elseif ((0 === twig_compare((isset($context["mediaCount"]) || array_key_exists("mediaCount", $context) ? $context["mediaCount"] : (function () { throw new RuntimeError('Variable "mediaCount" does not exist.', 102, $this->source); })()), 1))) {
// line 103
echo " <div>
<img class=\"img-fluid lazyload\" alt=\"";
// line 104
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 104, $this->source); })()), 0, [], "array", false, false, false, 104), "getDescription", [], "method", false, false, false, 104), "html", null, true);
echo "\"
src=\"";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_get_attribute($this->env, $this->source, (isset($context["medias"]) || array_key_exists("medias", $context) ? $context["medias"] : (function () { throw new RuntimeError('Variable "medias" does not exist.', 105, $this->source); })()), 0, [], "array", false, false, false, 105), 1044, 644), "html", null, true);
echo "\"/>
</div>
";
}
// line 108
echo " </div>
";
// line 109
if ((1 === twig_compare((isset($context["mediaCount"]) || array_key_exists("mediaCount", $context) ? $context["mediaCount"] : (function () { throw new RuntimeError('Variable "mediaCount" does not exist.', 109, $this->source); })()), 1))) {
// line 110
echo " <div class=\"swiper-pagination mt-2\"></div>
<div class=\"swiper-button-next\"></div>
<div class=\"swiper-button-prev\"></div>
";
}
// line 114
echo " </div>
</div>
<div class=\"container-offers\">
<div class=\"tags-offers\">
";
// line 118
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 118, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 118)) {
// line 119
echo " <div class=\"tags-offers-item\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Взято кодов <br> Всего <a>";
// line 123
echo twig_escape_filter($this->env, ((array_key_exists("multiplePoolOfferUsedCodesCount", $context)) ? ((isset($context["multiplePoolOfferUsedCodesCount"]) || array_key_exists("multiplePoolOfferUsedCodesCount", $context) ? $context["multiplePoolOfferUsedCodesCount"] : (function () { throw new RuntimeError('Variable "multiplePoolOfferUsedCodesCount" does not exist.', 123, $this->source); })())) : ((isset($context["usedCodesCount"]) || array_key_exists("usedCodesCount", $context) ? $context["usedCodesCount"] : (function () { throw new RuntimeError('Variable "usedCodesCount" does not exist.', 123, $this->source); })()))), "html", null, true);
echo "</a> </br> За сутки ";
echo twig_escape_filter($this->env, (isset($context["todayPurchaseCount"]) || array_key_exists("todayPurchaseCount", $context) ? $context["todayPurchaseCount"] : (function () { throw new RuntimeError('Variable "todayPurchaseCount" does not exist.', 123, $this->source); })()), "html", null, true);
echo " </br> За месяц ";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getOfferMonthlyPurchaseCount(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 123, $this->source); })()), "getID", [], "method", false, false, false, 123), 30), "html", null, true);
echo "\">
<img src=\"/images/offers/icon_people.svg\"/>
<p class=\"mb-0\"><a>";
// line 126
echo twig_escape_filter($this->env, ((array_key_exists("multiplePoolOfferUsedCodesCount", $context)) ? ((isset($context["multiplePoolOfferUsedCodesCount"]) || array_key_exists("multiplePoolOfferUsedCodesCount", $context) ? $context["multiplePoolOfferUsedCodesCount"] : (function () { throw new RuntimeError('Variable "multiplePoolOfferUsedCodesCount" does not exist.', 126, $this->source); })())) : ((isset($context["usedCodesCount"]) || array_key_exists("usedCodesCount", $context) ? $context["usedCodesCount"] : (function () { throw new RuntimeError('Variable "usedCodesCount" does not exist.', 126, $this->source); })()))), "html", null, true);
echo "</a></p>
</div>
";
}
// line 129
echo " <div class=\"tags-offers-item view-count\" class=\"view-count d-flex\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Просмотров </br> За сутки ";
// line 133
echo twig_escape_filter($this->env, (isset($context["todayVisitCount"]) || array_key_exists("todayVisitCount", $context) ? $context["todayVisitCount"] : (function () { throw new RuntimeError('Variable "todayVisitCount" does not exist.', 133, $this->source); })()), "html", null, true);
echo "<br> За месяц <span class='m-0'><a>";
echo twig_escape_filter($this->env, (isset($context["visitCount"]) || array_key_exists("visitCount", $context) ? $context["visitCount"] : (function () { throw new RuntimeError('Variable "visitCount" does not exist.', 133, $this->source); })()), "html", null, true);
echo "</a></span>\">
<img src=\"/images/offers/statistic_1.svg\"/>
<p class=\"mb-0\">";
// line 135
echo twig_escape_filter($this->env, (isset($context["visitCount"]) || array_key_exists("visitCount", $context) ? $context["visitCount"] : (function () { throw new RuntimeError('Variable "visitCount" does not exist.', 135, $this->source); })()), "html", null, true);
echo "</p>
</div>
";
// line 138
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 138, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 138)) {
// line 139
echo " <div class=\"tags-offers-item\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Кол-во продаж к кол-ву просмотров. <br> Конверсия за 30 дней\">
<img src=\"/images/offers/conversion.svg\"/>
<p class=\"mb-0\">";
// line 145
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getOfferConversion(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 145, $this->source); })()), "getID", [], "method", false, false, false, 145)), "html", null, true);
echo "%</p>
</div>
";
}
// line 148
echo " <div class=\"tags-offers-item rating-block\"
data-html=\"true\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-original-title=\"Рейтинг компании <br> за 90 дней\">
<span>★</span>
<p class=\"mb-0\">";
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 154, $this->source); })()), "getRating", [], "method", false, false, false, 154), "html", null, true);
echo "</p>
</div>
";
// line 156
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 156, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 156)) {
// line 157
echo " <div class=\"tags-offers-item day-to-end\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Дней до окончания <br> действия акции\">
<img src=\"/images/offers/icon_time.svg\"/>
<p class=\"mb-0\">
";
// line 165
if ((1 === twig_compare((isset($context["daysLeft"]) || array_key_exists("daysLeft", $context) ? $context["daysLeft"] : (function () { throw new RuntimeError('Variable "daysLeft" does not exist.', 165, $this->source); })()), 0))) {
// line 166
echo " ";
echo twig_escape_filter($this->env, (isset($context["daysLeft"]) || array_key_exists("daysLeft", $context) ? $context["daysLeft"] : (function () { throw new RuntimeError('Variable "daysLeft" does not exist.', 166, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->pluralFilter([0 => "день", 1 => "дня", 2 => "дней"], (isset($context["daysLeft"]) || array_key_exists("daysLeft", $context) ? $context["daysLeft"] : (function () { throw new RuntimeError('Variable "daysLeft" does not exist.', 166, $this->source); })())), "html", null, true);
echo "
";
} elseif ((0 === twig_compare( // line 167
(isset($context["daysLeft"]) || array_key_exists("daysLeft", $context) ? $context["daysLeft"] : (function () { throw new RuntimeError('Variable "daysLeft" does not exist.', 167, $this->source); })()), 0))) {
// line 168
echo " <input type=\"hidden\" id=\"daysLeft\" value=\"";
echo twig_escape_filter($this->env, (isset($context["daysLeft"]) || array_key_exists("daysLeft", $context) ? $context["daysLeft"] : (function () { throw new RuntimeError('Variable "daysLeft" does not exist.', 168, $this->source); })()), "html", null, true);
echo " \"/>
<input type=\"hidden\" id=\"hoursLeft\" value=\"";
// line 169
echo twig_escape_filter($this->env, (isset($context["hoursLeft"]) || array_key_exists("hoursLeft", $context) ? $context["hoursLeft"] : (function () { throw new RuntimeError('Variable "hoursLeft" does not exist.', 169, $this->source); })()), "html", null, true);
echo " \"/>
<input type=\"hidden\" id=\"minutesLeft\" value=\"";
// line 170
echo twig_escape_filter($this->env, (isset($context["minutesLeft"]) || array_key_exists("minutesLeft", $context) ? $context["minutesLeft"] : (function () { throw new RuntimeError('Variable "minutesLeft" does not exist.', 170, $this->source); })()), "html", null, true);
echo " \"/>
<input type=\"hidden\" id=\"secondsLeft\"
value=\"";
// line 172
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["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 172, $this->source); })()), "getActiveTill", [], "method", false, false, false, 172), "diff", [0 => twig_date_converter($this->env)], "method", false, false, false, 172), "format", [0 => "%s"], "method", false, false, false, 172), "html", null, true);
echo "\"/>
<span id=\"hours\">";
// line 173
echo twig_escape_filter($this->env, (isset($context["hoursLeft"]) || array_key_exists("hoursLeft", $context) ? $context["hoursLeft"] : (function () { throw new RuntimeError('Variable "hoursLeft" does not exist.', 173, $this->source); })()), "html", null, true);
echo " </span>час";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->pluralFilter([0 => "", 1 => "а", 2 => "ов"], (isset($context["hoursLeft"]) || array_key_exists("hoursLeft", $context) ? $context["hoursLeft"] : (function () { throw new RuntimeError('Variable "hoursLeft" does not exist.', 173, $this->source); })())), "html", null, true);
echo "
";
}
// line 175
echo " </p>
</div>
";
}
// line 178
echo " </div>
<p class=\"tittle-offers js-tittle-offer\"
style=\"color: ";
// line 180
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 180, $this->source); })()), "getTitleFontColor", [], "method", false, false, false, 180), "html", null, true);
echo ";\">";
echo twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 180, $this->source); })()), "getTitle", [], "method", false, false, false, 180);
echo "</p>
<div class=\"offers-description\">
";
// line 182
if (( !(isset($context["pastOffer"]) || array_key_exists("pastOffer", $context) ? $context["pastOffer"] : (function () { throw new RuntimeError('Variable "pastOffer" does not exist.', 182, $this->source); })()) && (1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 182, $this->source); })()), "getFreeCodesCount", [], "method", false, false, false, 182), 0)))) {
// line 183
echo " <div class=\"pb-3 d-flex border-bottom-gray\">
<div class=\"col px-0 price-services-tittle\">Стоимость:</div>
<del id=\"offerRegularPrice\"
class=\"regular-price-offer\">";
// line 186
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 186, $this->source); })()), "getRegularPrice", [], "method", false, false, false, 186), "html", null, true);
echo "</del>
<div class=\"price-services-new\">";
// line 188
echo twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 188, $this->source); })()), "getOfferPrice", [], "method", false, false, false, 188), ["(" => "<span id=\"details-offer-price\">(", ")" => ")</span>"]);
echo "</div>
<input type=\"hidden\" id=\"codeCost\" value=\"";
// line 189
echo twig_escape_filter($this->env, (isset($context["codeCost"]) || array_key_exists("codeCost", $context) ? $context["codeCost"] : (function () { throw new RuntimeError('Variable "codeCost" does not exist.', 189, $this->source); })()), "html", null, true);
echo "\">
</div>
";
} else {
// line 192
echo " <div class=\"card border-0 mt-3\">
<div class=\"card-body p-0 pl-2 text-center\">
<i class=\"slivki-icon-minus-circled text-danger d-block h1 mb-0\"></i>
Акция завершена
</div>
</div>
";
}
// line 199
echo " </div>
</div>
</div>
";
// line 202
if (((( !(isset($context["pastOffer"]) || array_key_exists("pastOffer", $context) ? $context["pastOffer"] : (function () { throw new RuntimeError('Variable "pastOffer" does not exist.', 202, $this->source); })()) && (1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 202, $this->source); })()), "getFreeCodesCount", [], "method", false, false, false, 202), 0))) && twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 202, $this->source); })()), "isOnlineOrderGiftEnabled", [], "method", false, false, false, 202)) && twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 202, $this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method", false, false, false, 202))) {
// line 203
echo " <div class=\"col my-2\">
<a class=\"button-gift\" data-toggle=\"modal\" data-target=\"#choiceGiftModal\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ЕДА В ПОДАРОК 😋</p>
<p class=\"mb-0\">Подарю сам или подарят мне</p>
</div>
</a>
</div>
";
}
// line 212
echo " ";
if ((( !(isset($context["pastOffer"]) || array_key_exists("pastOffer", $context) ? $context["pastOffer"] : (function () { throw new RuntimeError('Variable "pastOffer" does not exist.', 212, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 212, $this->source); })()), "isGiftCertificateOnlineOrderAllowedOnSite", [], "method", false, false, false, 212)) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SLIVKI_PAY_FOR_CERTIFICATE")))) {
// line 215
echo "
<div class=\"col my-2\">
";
// line 217
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.', 217, $this->source); })()), "user", [], "any", false, false, false, 217)) {
// line 218
echo " <a class=\"button-gift\" href=\"/virtual-wallet-pay\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
";
} else {
// line 228
echo " <a class=\"button-gift\" data-toggle=\"modal\" data-target=\".modal-auth\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
";
}
// line 238
echo " </div>
";
}
// line 240
echo " ";
if ((((((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 240, $this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method", false, false, false, 240) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 240, $this->source); })()), "getOnlineOrderSettings", [], "method", false, false, false, 240))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 240, $this->source); })()), "getOnlineOrderSettings", [], "method", false, false, false, 240), "allowedPaymentMethods", [], "any", false, false, false, 240), "delivery", [], "array", false, false, false, 240), 4, [], "array", false, false, false, 240), 1))) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SLIVKI_PAY"))) && !(isset($context["pastOffer"]) || array_key_exists("pastOffer", $context) ? $context["pastOffer"] : (function () { throw new RuntimeError('Variable "pastOffer" does not exist.', 240, $this->source); })())) || ((((twig_get_attribute($this->env, $this->source, // line 241
(isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 241, $this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method", false, false, false, 241) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 241, $this->source); })()), "getOnlineOrderSettings", [], "method", false, false, false, 241))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 241, $this->source); })()), "getOnlineOrderSettings", [], "method", false, false, false, 241), "allowedPaymentMethods", [], "any", false, false, false, 241), "pickup", [], "array", false, false, false, 241), 4, [], "array", false, false, false, 241), 1))) && $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::SLIVKI_PAY"))) && !(isset($context["pastOffer"]) || array_key_exists("pastOffer", $context) ? $context["pastOffer"] : (function () { throw new RuntimeError('Variable "pastOffer" does not exist.', 241, $this->source); })())))) {
// line 242
echo " <div class=\"col my-2\">
";
// line 243
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.', 243, $this->source); })()), "user", [], "any", false, false, false, 243)) {
// line 244
echo " <a class=\"button-gift\" href=\"/virtual-wallet-pay\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
";
} else {
// line 254
echo " <a class=\"button-gift\" data-toggle=\"modal\" data-target=\".modal-auth\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
";
}
// line 264
echo " </div>
";
}
// line 266
echo " <div class=\"sticky-element\">
<div class=\"sticky-anchor\"></div>
<div id=\"offerNavigation\">
<ul class=\"nav-list\">
<li class=\"nav-item\"><a href=\"#offerDescriptionTab\" class=\"nav-links active\">
Условия
</a>
</li>
<li class=\"nav-item\"><a href=\"#offerAddressTab\" class=\"nav-links \">
Контакты
</a>
</li>
<li class=\"nav-item\"><a href=\"#offerCommentTab\" class=\"nav-links\"><span></span>
Отзывы
</a>
</li>
</ul>
</div>
</div>
<div id=\"offerAccordion\" class=\"accordion mt-2 px-2\">
";
// line 286
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 286, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 286)) {
// line 287
echo " <div id=\"fixedButtonsBottom\" class=\"accordion fixed py-3\">
";
// line 288
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 288, $this->source); })()), "isBuyCodeDisable", [], "method", false, false, false, 288)) {
// line 289
echo " <div id=\"buyButtonCard\" class=\"card\">
<div class=\"card-header\">
";
// line 291
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 291, $this->source); })()), "getID", [], "method", false, false, false, 291), twig_constant("Slivki\\Entity\\Offer::BOOKING_OFFER_ID")))) {
// line 292
echo " <a href=\"#\" class=\"m-0 card-link bg-slivki\" data-toggle=\"modal\"
data-target=\"#bookingItemPopup\">
";
// line 294
(((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 294, $this->source); })()), "getBuyCodeButtonText", [], "method", false, false, false, 294) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 294, $this->source); })()), "getBuyCodeButtonText", [], "method", false, false, false, 294), "")))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 294, $this->source); })()), "getBuyCodeButtonText", [], "method", false, false, false, 294), "html", null, true))) : (print ("Забронировать номер")));
echo "
</a>
";
} else {
// line 297
echo " ";
if (( !(isset($context["pastOffer"]) || array_key_exists("pastOffer", $context) ? $context["pastOffer"] : (function () { throw new RuntimeError('Variable "pastOffer" does not exist.', 297, $this->source); })()) && (1 === twig_compare((isset($context["freeCodesCount"]) || array_key_exists("freeCodesCount", $context) ? $context["freeCodesCount"] : (function () { throw new RuntimeError('Variable "freeCodesCount" does not exist.', 297, $this->source); })()), 0)))) {
// line 298
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.', 298, $this->source); })()), "user", [], "any", false, false, false, 298)) {
// line 299
echo " <a href=\"#\" class=\"m-0 card-link bg-slivki by-code-button text-uppercase\"
onclick=\"\$('.modal-auth').modal()\">
";
// line 301
if ((isset($context["offerIsFreeForUser"]) || array_key_exists("offerIsFreeForUser", $context) ? $context["offerIsFreeForUser"] : (function () { throw new RuntimeError('Variable "offerIsFreeForUser" does not exist.', 301, $this->source); })())) {
// line 302
echo " БЕСПЛАТНЫЙ ПРОМОКОД
";
} else {
// line 304
echo " ";
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 304, $this->source); })()), "html", null, true);
echo "
";
}
// line 306
echo " </a>
";
} else {
// line 308
echo " <a href=\"javascript:void(0)\" id=\"buyCodeButtonFake\"
class=\"m-0 d-none card-link bg-slivki by-code-button\">
<img class=\"fixed-size\" width=\"14\" src=\"/images/loading-animation.gif\"
alt=\"\"/>
</a>
";
// line 313
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 313, $this->source); })()), "getID", [], "method", false, false, false, 313), twig_constant("Slivki\\Entity\\Offer::PETROL_OFFER_ID")))) {
// line 314
echo " <a href=\"#\"
onclick=\"showFakeButton(); if (window.google_tag_manager) {ga('send', 'event', 'Buy code', 'Click', '";
// line 315
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Default:details", twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 315, $this->source); })()), "getID", [], "method", false, false, false, 315)), "html", null, true);
echo "');} document.location='/oplata-promokoda-azs'\"
class=\"m-0 card-link bg-slivki by-code-button\" id=\"buyCodeButton\">
";
// line 317
if ((isset($context["offerIsFreeForUser"]) || array_key_exists("offerIsFreeForUser", $context) ? $context["offerIsFreeForUser"] : (function () { throw new RuntimeError('Variable "offerIsFreeForUser" does not exist.', 317, $this->source); })())) {
// line 318
echo " БЕСПЛАТНЫЙ ПРОМОКОД
";
} else {
// line 320
echo " ";
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 320, $this->source); })()), "html", null, true);
echo "
";
}
// line 322
echo " </a>
";
} else {
// line 324
echo " ";
if ((isset($context["isAllowedByOnlyCode"]) || array_key_exists("isAllowedByOnlyCode", $context) ? $context["isAllowedByOnlyCode"] : (function () { throw new RuntimeError('Variable "isAllowedByOnlyCode" does not exist.', 324, $this->source); })())) {
// line 325
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.', 325, $this->source); })()), "user", [], "any", false, false, false, 325) && ($this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->isSubscriber(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.', 325, $this->source); })()), "user", [], "any", false, false, false, 325)) || (isset($context["isBatchCodesAllowed"]) || array_key_exists("isBatchCodesAllowed", $context) ? $context["isBatchCodesAllowed"] : (function () { throw new RuntimeError('Variable "isBatchCodesAllowed" does not exist.', 325, $this->source); })()))) && !(isset($context["offerIsFreeForUser"]) || array_key_exists("offerIsFreeForUser", $context) ? $context["offerIsFreeForUser"] : (function () { throw new RuntimeError('Variable "offerIsFreeForUser" does not exist.', 325, $this->source); })())) && !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 325, $this->source); })()), "isBuyCodeInAppOnly", [], "method", false, false, false, 325))) {
// line 326
echo " <a href=\"#\" onclick=\"\$('#buyPromoPopup').modal()\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\">
";
// line 329
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 329, $this->source); })()), "html", null, true);
echo "
</a>
";
} else {
// line 332
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.', 332, $this->source); })()), "user", [], "any", false, false, false, 332)) {
// line 333
echo " <a href=\"#\" onclick=\"\$('.modal-auth').modal()\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\">
";
// line 336
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 336, $this->source); })()), "html", null, true);
echo "
</a>
";
}
// line 339
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 339, $this->source); })()), "isBuyCodeInAppOnly", [], "method", false, false, false, 339)) {
// line 340
echo " <a class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\"
onclick=\"\$('#byCodesAlwaysApp').modal()\">
";
// line 343
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 343, $this->source); })()), "html", null, true);
echo "
</a>
";
} elseif ( !twig_get_attribute($this->env, $this->source, // line 345
(isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 345, $this->source); })()), "isBuyCodeInAppOnly", [], "method", false, false, false, 345)) {
// line 346
echo " ";
if (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME")) || $this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_CLICK")))) {
// line 347
echo " <a href=\"#\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButtonPayMeMobile\"
data-target=\"#buyPromoPopupPayMe\"
data-toggle=\"modal\">
";
// line 352
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 352, $this->source); })()), "html", null, true);
echo "
</a>
";
} else {
// line 355
echo " <a href=\"#\"
onclick=\"if (window.google_tag_manager) {ga('send', 'event', 'Buy code', 'Click', '";
// line 356
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Default:details", twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 356, $this->source); })()), "getID", [], "method", false, false, false, 356)), "html", null, true);
echo "');} showFakeButton();ym(20933521,'reachGoal','getcode-click'); document.location='";
echo ((((0 === twig_compare((isset($context["buyCodePopup"]) || array_key_exists("buyCodePopup", $context) ? $context["buyCodePopup"] : (function () { throw new RuntimeError('Variable "buyCodePopup" does not exist.', 356, $this->source); })()), "#confirmBox")) && (isset($context["canBuyFromBalance"]) || array_key_exists("canBuyFromBalance", $context) ? $context["canBuyFromBalance"] : (function () { throw new RuntimeError('Variable "canBuyFromBalance" does not exist.', 356, $this->source); })()))) ? ("/oplata-balance/") : ("/oplata/"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 356, $this->source); })()), "getID", [], "method", false, false, false, 356), "html", null, true);
echo "'\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\">
";
// line 359
echo twig_escape_filter($this->env, (isset($context["buyButtonLabel"]) || array_key_exists("buyButtonLabel", $context) ? $context["buyButtonLabel"] : (function () { throw new RuntimeError('Variable "buyButtonLabel" does not exist.', 359, $this->source); })()), "html", null, true);
echo "
</a>
";
}
// line 362
echo " ";
}
// line 363
echo " ";
}
// line 364
echo " ";
}
// line 365
echo " ";
}
// line 366
echo " ";
}
// line 367
echo " ";
} else {
// line 368
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["categoryURL"]) || array_key_exists("categoryURL", $context) ? $context["categoryURL"] : (function () { throw new RuntimeError('Variable "categoryURL" does not exist.', 368, $this->source); })()), "html", null, true);
echo "\" class=\"m-0 card-link bg-slivki color-white\">Посмотреть
похожие предложения</a>
";
}
// line 371
echo " ";
}
// line 372
echo " </div>
</div>
";
}
// line 375
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 375, $this->source); })())), 0))) {
// line 376
echo " <div id=\"buyItemsButtonCard\" class=\"card\">
<div class=\"card-header\">
<a href=\"#\" id=\"buyItemsButton\" class=\"m-0 card-link bg-slivki\" data-toggle=\"modal\"
data-target=\"#offerItemsPopup\">
";
// line 380
(((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 380, $this->source); })()), "getBuyItemsButtonText", [], "method", false, false, false, 380) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 380, $this->source); })()), "getBuyItemsButtonText", [], "method", false, false, false, 380), "")))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 380, $this->source); })()), "getBuyItemsButtonText", [], "method", false, false, false, 380), "html", null, true))) : (print ("Оплатить сейчас по карте")));
echo "
</a>
</div>
</div>
";
}
// line 385
echo " ";
if ((array_key_exists("hasDelivery", $context) && (1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 385, $this->source); })()), "getFreeCodesCount", [], "method", false, false, false, 385), 0)))) {
// line 386
echo " <div id=\"deliveryButtonCard\" class=\"card\">
<div class=\"card-header bg-transparent\">
";
// line 388
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.', 388, $this->source); })()), "user", [], "any", false, false, false, 388)) {
// line 389
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 389, $this->source); })()), "isTireOnlineOrderAllowedOnSite", [], "method", false, false, false, 389)) {
// line 390
echo " <a id=\"deliveryBtn\" href=\"#\" onclick=\"\$('.modal-auth').modal()\"
class=\"online-zapis js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 391
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 391, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 391)) ? (" opacity-05") : (""));
echo "\">
Онлайн-запись
</a>
";
}
// line 395
echo " ";
if ((0 === twig_compare(twig_constant("Slivki\\Entity\\Offer::FREESTYLE_CERTIFICATE_OFFER_ID"), twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 395, $this->source); })()), "getID", [], "method", false, false, false, 395)))) {
// line 396
echo " <a href=\"#\" onclick=\"\$('.modal-auth').modal()\"
class=\"card-link ml-0 py-3 bg-violet text-white rounded-14 text-uppercase";
// line 397
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 397, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 397)) ? (" opacity-05") : (""));
echo "\">
ПОЛУЧИТЬ СКИДКУ ";
// line 398
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 398, $this->source); })()), "getDiscount", [], "method", false, false, false, 398), "html", null, true);
echo "
</a>
";
} else {
// line 401
echo " ";
if ((((((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 401, $this->source); })()), "isGiftCertificateOnlineOrderAllowedOnSite", [], "method", false, false, false, 401) && !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 401, $this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method", false, false, false, 401)) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 401, $this->source); })()), "getID", [], "method", false, false, false, 401), 283213))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 401, $this->source); })()), "getID", [], "method", false, false, false, 401), 288763))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 401, $this->source); })()), "getID", [], "method", false, false, false, 401), 288779))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 401, $this->source); })()), "getID", [], "method", false, false, false, 401), 288772)))) {
// line 402
echo " <a id=\"deliveryBtn\" href=\"";
echo twig_escape_filter($this->env, (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 402, $this->source); })()), "html", null, true);
echo "\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 403
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 403, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 403)) ? (" opacity-05") : (""));
echo "\">
Оплатить онлайн ";
// line 404
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 404, $this->source); })()), "getDiscount", [], "method", false, false, false, 404), "html", null, true);
echo "
</a>
";
} elseif ((((twig_get_attribute($this->env, $this->source, // line 406
(isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 406, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 406) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 406, $this->source); })()), "getID", [], "method", false, false, false, 406), 288763))) || (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 406, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 406) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 406, $this->source); })()), "getID", [], "method", false, false, false, 406), 288779)))) || (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 406, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 406) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 406, $this->source); })()), "getID", [], "method", false, false, false, 406), 288772))))) {
// line 407
echo " <a id=\"deliveryBtn\" href=\"";
echo twig_escape_filter($this->env, (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 407, $this->source); })()), "html", null, true);
echo "\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 408
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 408, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 408)) ? (" opacity-05") : (""));
echo "\">
Получить скидку ";
// line 409
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 409, $this->source); })()), "getDiscount", [], "method", false, false, false, 409), "html", null, true);
echo "
</a>
";
} elseif (( !twig_get_attribute($this->env, $this->source, // line 411
(isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 411, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 411) && !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 411, $this->source); })()), "isTireOnlineOrderAllowedOnSite", [], "method", false, false, false, 411))) {
// line 412
echo " <a id=\"deliveryBtn\" href=\"";
echo twig_escape_filter($this->env, (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 412, $this->source); })()), "html", null, true);
echo "\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 413
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 413, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 413)) ? (" opacity-05") : (""));
echo "\">
Заказать онлайн ";
// line 414
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 414, $this->source); })()), "getDiscount", [], "method", false, false, false, 414), "html", null, true);
echo "
</a>
";
}
// line 417
echo " ";
}
// line 418
echo " ";
} else {
// line 419
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 419, $this->source); })()), "isTireOnlineOrderAllowedOnSite", [], "method", false, false, false, 419)) {
// line 420
echo " <a id=\"deliveryBtn\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 420, $this->source); })()), "getOnlineRegistrationLink", [], "method", false, false, false, 420), "html", null, true);
echo "\"
class=\"online-zapis js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 421
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 421, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 421)) ? (" opacity-05") : (""));
echo "\">
Онлайн-запись
</a>
";
}
// line 425
echo " ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 425, $this->source); })()), "getID", [], "method", false, false, false, 425), twig_constant("Slivki\\Entity\\Offer::FREESTYLE_OFFER_IDS"))) {
// line 426
echo " ";
$context["deliveryBuyOnlyCodeLink"] = $this->env->getRuntime('Slivki\Twig\GetLinkOnlineOrderRuntime')->getLinkGiftCertificateOnlineOrderByOnlyCode((isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 426, $this->source); })()));
// line 427
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["deliveryBuyOnlyCodeLink"]) || array_key_exists("deliveryBuyOnlyCodeLink", $context) ? $context["deliveryBuyOnlyCodeLink"] : (function () { throw new RuntimeError('Variable "deliveryBuyOnlyCodeLink" does not exist.', 427, $this->source); })()), "html", null, true);
echo "\"
onclick=\"document.location = `";
// line 428
echo twig_escape_filter($this->env, (isset($context["deliveryBuyOnlyCodeLink"]) || array_key_exists("deliveryBuyOnlyCodeLink", $context) ? $context["deliveryBuyOnlyCodeLink"] : (function () { throw new RuntimeError('Variable "deliveryBuyOnlyCodeLink" does not exist.', 428, $this->source); })()), "html", null, true);
echo "`\"
class=\"card-link ml-0 py-3 bg-violet text-white rounded-14 text-uppercase";
// line 429
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 429, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 429)) ? (" opacity-05") : (""));
echo "\">
ПОЛУЧИТЬ СКИДКУ ";
// line 430
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 430, $this->source); })()), "getDiscount", [], "method", false, false, false, 430), "html", null, true);
echo "
</a>
";
} else {
// line 433
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 433, $this->source); })()), "isGiftCertificateOnlineOrderAllowedOnSite", [], "method", false, false, false, 433) && !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 433, $this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method", false, false, false, 433))) {
// line 434
echo " ";
if ((((((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "isGiftCertificateOnlineOrderAllowedOnSite", [], "method", false, false, false, 434) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "getID", [], "method", false, false, false, 434), 283213))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "getID", [], "method", false, false, false, 434), 288763))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "getID", [], "method", false, false, false, 434), 288779))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "getID", [], "method", false, false, false, 434), 288772))) || (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 434) && !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 434, $this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method", false, false, false, 434)))) {
// line 435
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Slivki\Twig\GetLinkOnlineOrderRuntime')->getLinkGiftCertificateOnlineOrder((isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 435, $this->source); })())), "html", null, true);
echo "\"
onclick=\"document.location = `";
// line 436
echo twig_escape_filter($this->env, $this->env->getRuntime('Slivki\Twig\GetLinkOnlineOrderRuntime')->getLinkGiftCertificateOnlineOrder((isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 436, $this->source); })())), "html", null, true);
echo "`\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 437
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 437, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 437)) ? (" opacity-05") : (""));
echo "\">
Оплатить онлайн ";
// line 438
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 438, $this->source); })()), "getDiscount", [], "method", false, false, false, 438), "html", null, true);
echo "
</a>
";
} elseif ((((twig_get_attribute($this->env, $this->source, // line 440
(isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 440, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 440) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 440, $this->source); })()), "getID", [], "method", false, false, false, 440), 288763))) || (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 440, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 440) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 440, $this->source); })()), "getID", [], "method", false, false, false, 440), 288779)))) || (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 440, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 440) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 440, $this->source); })()), "getID", [], "method", false, false, false, 440), 288772))))) {
// line 441
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Slivki\Twig\GetLinkOnlineOrderRuntime')->getLinkGiftCertificateOnlineOrder((isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 441, $this->source); })())), "html", null, true);
echo "\"
onclick=\"document.location = `";
// line 442
echo twig_escape_filter($this->env, $this->env->getRuntime('Slivki\Twig\GetLinkOnlineOrderRuntime')->getLinkGiftCertificateOnlineOrder((isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 442, $this->source); })())), "html", null, true);
echo "`\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 443
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 443, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 443)) ? (" opacity-05") : (""));
echo "\">
Получить скидку ";
// line 444
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 444, $this->source); })()), "getDiscount", [], "method", false, false, false, 444), "html", null, true);
echo "
</a>
";
}
// line 447
echo " ";
} else {
// line 448
echo " ";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 448, $this->source); })()), "isTireOnlineOrderAllowedOnSite", [], "method", false, false, false, 448)) {
// line 449
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 449, $this->source); })()), "html", null, true);
echo "\"
onclick=\"document.location = `";
// line 450
echo twig_escape_filter($this->env, (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 450, $this->source); })()), "html", null, true);
echo "`\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase";
// line 451
echo (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 451, $this->source); })()), "hasFreeCodes", [], "method", false, false, false, 451)) ? (" opacity-05") : (""));
echo "\">
Заказать онлайн ";
// line 452
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 452, $this->source); })()), "getDiscount", [], "method", false, false, false, 452), "html", null, true);
echo "
</a>
";
}
// line 455
echo " ";
}
// line 456
echo " ";
}
// line 457
echo " ";
}
// line 458
echo " </div>
</div>
";
}
// line 461
echo " </div>
";
}
// line 463
echo " <div class=\"container-offers my-0 mx-0\">
<div id=\"offerDescriptionTab\" class=\"mx-2 active\" style=\"max-height: fit-content;\">
<div class=\"offer-titles mt-2\"><h5>Условия</h5></div>
";
// line 466
if (( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 466, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 466) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 466, $this->source); })()), "getID", [], "method", false, false, false, 466), 140553)))) {
// line 467
echo " ";
$context["codeTill"] = twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 467, $this->source); })()), "getCodeActiveTill", [], "method", false, false, false, 467);
// line 468
echo " ";
$context["codeFrom"] = twig_date_modify_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 468, $this->source); })()), "getActiveTill", [], "method", false, false, false, 468), "-1 day");
// line 469
echo " ";
$context["codeFrom"] = (((1 === twig_compare((isset($context["codeFrom"]) || array_key_exists("codeFrom", $context) ? $context["codeFrom"] : (function () { throw new RuntimeError('Variable "codeFrom" does not exist.', 469, $this->source); })()), (isset($context["codeTill"]) || array_key_exists("codeTill", $context) ? $context["codeTill"] : (function () { throw new RuntimeError('Variable "codeTill" does not exist.', 469, $this->source); })())))) ? ((isset($context["codeTill"]) || array_key_exists("codeTill", $context) ? $context["codeTill"] : (function () { throw new RuntimeError('Variable "codeTill" does not exist.', 469, $this->source); })())) : ((isset($context["codeFrom"]) || array_key_exists("codeFrom", $context) ? $context["codeFrom"] : (function () { throw new RuntimeError('Variable "codeFrom" does not exist.', 469, $this->source); })())));
// line 470
echo " ";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 470, $this->source); })()), "isHideFeatures", [], "method", false, false, false, 470)) {
// line 471
echo " <p>- Получить промокод можно до ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["codeFrom"]) || array_key_exists("codeFrom", $context) ? $context["codeFrom"] : (function () { throw new RuntimeError('Variable "codeFrom" does not exist.', 471, $this->source); })()), "d.m"), "html", null, true);
echo ", воспользоваться ";
echo (((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 471, $this->source); })()), "getID", [], "method", false, false, false, 471), 134390))) ? ("до") : (""));
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["codeTill"]) || array_key_exists("codeTill", $context) ? $context["codeTill"] : (function () { throw new RuntimeError('Variable "codeTill" does not exist.', 471, $this->source); })()), "d.m.y"), "html", null, true);
echo ".
<br/>
";
}
// line 474
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 474, $this->source); })()), "isShowPriceInConditions", [], "method", false, false, false, 474) && !(isset($context["offerIsFreeForUser"]) || array_key_exists("offerIsFreeForUser", $context) ? $context["offerIsFreeForUser"] : (function () { throw new RuntimeError('Variable "offerIsFreeForUser" does not exist.', 474, $this->source); })()))) {
// line 475
echo " - Стоимость промокода: ";
echo twig_escape_filter($this->env, (isset($context["codeCost"]) || array_key_exists("codeCost", $context) ? $context["codeCost"] : (function () { throw new RuntimeError('Variable "codeCost" does not exist.', 475, $this->source); })()), "html", null, true);
echo " руб.
";
}
// line 476
echo "</p>
";
}
// line 478
echo "
";
// line 479
echo twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 479, $this->source); })()), "getConditions", [], "method", false, false, false, 479);
echo "
";
// line 481
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 481, $this->source); })()), "getID", [], "method", false, false, false, 481), 143528))) {
// line 482
echo " <br>
";
// line 483
$this->loadTemplate("Slivki/offers/table_for_pandorra_box_offer2.html.twig", "Slivki/mobile/offer/details.html.twig", 483)->display($context);
// line 484
echo " <br>
";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 485
(isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 485, $this->source); })()), "getID", [], "method", false, false, false, 485), 282234))) {
// line 486
echo " ";
$this->loadTemplate("Slivki/offers/table_for_pandorra_box_offer4.html.twig", "Slivki/mobile/offer/details.html.twig", 486)->display($context);
// line 487
echo " ";
}
// line 488
echo "
";
// line 489
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 489, $this->source); })()), "isHideFeatures", [], "method", false, false, false, 489)) {
// line 490
echo " ";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 490, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 490)) {
// line 491
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.', 491, $this->source); })())) . "/phrase_subscription_in_offer_page.html.twig"), "Slivki/mobile/offer/details.html.twig", 491)->display($context);
// line 492
echo " ";
}
// line 493
echo " <br>
<div class=\"offer-titles\"><h5>Особенности</h5></div>
<div class=\"offer-details-conditions\">
";
// line 496
if ( !twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 496, $this->source); })()), "isWithoutCodes", [], "method", false, false, false, 496)) {
// line 497
echo " - Скидка предоставляется только при наличии промокода.
";
}
// line 499
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 499, $this->source); })()), "getFeatures", [], "method", false, false, false, 499);
echo "
</div>
- Поставщик несет полную ответственность перед потребителем за достоверность информации.
";
}
// line 503
echo " <div id=\"endOfOfferCondition\"></div>
</div>
</div>
";
// line 506
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 506, $this->source); })()), "getShopMedias", [], "method", false, false, false, 506)), 0))) {
// line 507
echo " <div class=\"gallery-title offer-titles\"><h5>Галерея</h5></div>
";
}
// line 509
echo " <div class=\"my-4 screenshots ";
echo ((((0 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 509, $this->source); })()), "getShopMedias", [], "method", false, false, false, 509)), 0)) || (0 === twig_compare((isset($context["freeCodesCount"]) || array_key_exists("freeCodesCount", $context) ? $context["freeCodesCount"] : (function () { throw new RuntimeError('Variable "freeCodesCount" does not exist.', 509, $this->source); })()), 0)))) ? ("empty") : (""));
echo "\">
";
// line 510
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 510, $this->source); })()), "getShopMedias", [], "method", false, false, false, 510)), 0))) {
// line 511
echo " <div class=\"screenshot-container\">
";
// line 512
if ((twig_get_attribute($this->env, $this->source, ($context["galleryVideos"] ?? null), "getVideos", [], "method", true, true, false, 512) && (1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["galleryVideos"]) || array_key_exists("galleryVideos", $context) ? $context["galleryVideos"] : (function () { throw new RuntimeError('Variable "galleryVideos" does not exist.', 512, $this->source); })()), "getVideos", [], "method", false, false, false, 512)), 0)))) {
// line 513
echo " <div class=\"screenshot screenshot-story\" data-toggle=\"modal\"
data-target=\"#detailsStoryPopup\">
<img src=\"";
// line 515
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["galleryVideos"]) || array_key_exists("galleryVideos", $context) ? $context["galleryVideos"] : (function () { throw new RuntimeError('Variable "galleryVideos" does not exist.', 515, $this->source); })()), "getImageUrl", [], "method", false, false, false, 515), "html", null, true);
echo "\" width=\"158\"
alt=\"Видео\" border=\"0\"/>
<div class=\"screenshot-story-btn\"></div>
<div class=\"screenshot-story-tittle\">";
// line 518
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["galleryVideos"]) || array_key_exists("galleryVideos", $context) ? $context["galleryVideos"] : (function () { throw new RuntimeError('Variable "galleryVideos" does not exist.', 518, $this->source); })()), "getTitle", [], "method", false, false, false, 518), "html", null, true);
echo "</div>
</div>
";
}
// line 521
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 521, $this->source); })()), "getShopMedias", [], "method", false, false, false, 521));
foreach ($context['_seq'] as $context["_key"] => $context["media"]) {
// line 522
echo " <div class=\"screenshot\">
<a data-fancybox=\"gallery1\" href=\"";
// line 523
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL($context["media"], 0, 0), "html", null, true);
echo "\"
title=\"";
// line 524
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "getDescription", [], "method", false, false, false, 524), "html", null, true);
echo "\">
<img src=\"";
// line 525
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL($context["media"], 300, 0), "html", null, true);
echo "\" width=\"158\"
alt=\"";
// line 526
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["media"], "getDescription", [], "method", false, false, false, 526), "html", null, true);
echo "\" border=\"0\"/>
</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['media'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 530
echo " </div>
";
}
// line 532
echo " </div>
<div id=\"examplesOfWorksBlock\" class=\"examples-block-mobile\">
<div class=\"headerBlockCategory examples d-none bg-white px-0 pb-0 examples-block-mobile-header\">
<div class=\"offer-titles m-0\"><h5>Фото
работ";
// line 536
echo "</h5></div>
<div class=\"examples-works-tooltip-filter\">
<div class=\"tooltip-content\">
<div class=\"tooltip-title border-bottom-f d-flex\">Показать сначала:</div>
";
// line 540
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_constant("Slivki\\Paginator\\WorkExample\\WorkExamplePaginatorInterface::SORT"));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["sortItem"]) {
// line 541
echo " <div class=\"radio\">
<input id=\"filter";
// line 542
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" type=\"radio\" name=\"filter\"
data-direction=\"";
// line 543
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sortItem"], "direction", [], "any", false, false, false, 543), "html", null, true);
echo "\"
value=\"";
// line 544
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sortItem"], "field", [], "any", false, false, false, 544), "html", null, true);
echo "\" ";
echo ((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 544)) ? ("checked") : (""));
echo ">
<label for=\"filter";
// line 545
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" class=\"cursor-pointer\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["sortItem"], "name", [], "any", false, false, false, 545), "html", null, true);
echo "</label>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['sortItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 548
echo " <div class=\"tooltip-title border-top-f d-flex\">Диапазон цены:</div>
<div id=\"workExamplePriceRangeInputs\" class=\"price-range-inputs d-flex\">
<div class=\"price-range-input\"><input type=\"number\" placeholder=\"Цена от\" id=\"priceFrom\"
name=\"priceFrom\" min=\"0\" max=\"199\" step=\"1\"></div>
<div class=\"price-range-input\"><input type=\"number\" placeholder=\"Цена до\" id=\"priceTo\"
name=\"priceTo\" min=\"0\" max=\"200\" step=\"1\"></div>
</div>
<div id=\"workExampleRangeSlider\" class=\"range-slider\">
<div class=\"range-labels\">
<span id=\"workSimplesRangeLableStart\" class=\"range-label range-label-start\"></span>
<span>-</span>
<span id=\"workSimplesRangeLableEnd\" class=\"range-label range-label-end\"></span>
</div>
<input class=\"work-simples-input\" type=\"range\" min=\"\" value=\"0\" max=\"\" name=\"\"
id=\"startRange\">
<input class=\"work-simples-input\" type=\"range\" min=\"\" value=\"\" max=\"\" name=\"\"
id=\"finishRange\">
<div class=\"track-wrapper\">
<div class=\"track\"></div>
<div id=\"workSimplesSliderBetween\" class=\"range-between\"></div>
<div id=\"workSimplesTumbLeft\" class=\"thumb left\"></div>
<div id=\"workSimplesTumbRight\" class=\"thumb right\"></div>
</div>
</div>
<div id=\"buttonFilterBoxExamplesWork\" class=\"buttonFilterBox\">Показать</div>
</div>
<div id=\"buttonFilterBoxExamplesWork\" class=\"d-flex cursor-pointer\">Сортировка<img width=\"25\" class=\"pl-2\" src=\"/images/sort_image.svg\"/></div>
</div>
</div>
";
// line 578
$this->loadTemplate("Slivki/works-examples/examples_of_works_gallery.html.twig", "Slivki/mobile/offer/details.html.twig", 578)->display($context);
// line 579
echo " </div>
<div id=\"beautyMastersBlock\" class=\"beauty-masters-container beauty-masters-offer mob\">
<div id=\"beautyMastersHeader\"
class=\"tittleBlockCategory position-relative offer-titles mb-2 mt-0 d-none\">
<h5> ";
// line 583
echo ((((isset($context["parentCategoryList"]) || array_key_exists("parentCategoryList", $context) ? $context["parentCategoryList"] : (function () { throw new RuntimeError('Variable "parentCategoryList" does not exist.', 583, $this->source); })()) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["parentCategoryList"]) || array_key_exists("parentCategoryList", $context) ? $context["parentCategoryList"] : (function () { throw new RuntimeError('Variable "parentCategoryList" does not exist.', 583, $this->source); })()), 0, [], "array", false, false, false, 583), "getID", [], "method", false, false, false, 583), twig_constant("Slivki\\Entity\\Category::MEDICAL_CENTER_CATEGORY_ID"))))) ? ("Врачи") : ("Найти своего мастера"));
echo "</h5>
</div>
";
// line 585
$this->loadTemplate("Slivki/beauty/beauty_masters.html.twig", "Slivki/mobile/offer/details.html.twig", 585)->display($context);
// line 586
echo " </div>
<div id=\"offersDescription\" class=\"offers-conditions mt-2 js-parallax-banner-after\"
style=\"padding-bottom: 22px;\">
";
// line 589
if (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 589, $this->source); })()), "isShowProductsInOfferDescription", [], "method", false, false, false, 589)) {
// line 590
echo " <div id=\"foodItemsBlock\" class=\"my-3\">
<div class=\"offer-titles mt-2\"><h5>Описание</h5></div>
";
// line 592
if (((isset($context["isPickupEnabled"]) || array_key_exists("isPickupEnabled", $context) ? $context["isPickupEnabled"] : (function () { throw new RuntimeError('Variable "isPickupEnabled" does not exist.', 592, $this->source); })()) && (isset($context["isDeliveryEnabled"]) || array_key_exists("isDeliveryEnabled", $context) ? $context["isDeliveryEnabled"] : (function () { throw new RuntimeError('Variable "isDeliveryEnabled" does not exist.', 592, $this->source); })()))) {
// line 593
echo " <div id=\"fixedFiltersOffer\" class=\"w-auto px-2 d-flex\"
style=\"position: relative;background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5;border-radius: 8px;padding: 10px 0;\">
<div class=\"w-100 switch-delivery-pickup-block px-0 \">
<a data-type-delivery=\"1\"
class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
<p class=\"m-0\">Доставка</p>
<small>удобно👌</small>
</a>
<a data-type-delivery=\"2\"
class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
<p class=\"m-0\"> Самовывоз</p>
<small>еще дешевле🔥</small>
</a>
</div>
</div>
";
}
// line 609
echo " <div id=\"foodBlock\"></div>
<div id=\"foodOptionsBlock\"></div>
</div>
";
}
// line 613
echo " <div class=\"description\" id=\"descriptionText\">
";
// line 614
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 614, $this->source); })()), "getDescriptionList", [], "method", false, false, false, 614));
foreach ($context['_seq'] as $context["_key"] => $context["offerDescription"]) {
// line 615
echo " ";
$context["offerDescriptionSliderImages"] = twig_get_attribute($this->env, $this->source, $context["offerDescription"], "getEntityDescriptionSliderImages", [], "method", false, false, false, 615);
// line 616
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["offerDescriptionSliderImages"]) || array_key_exists("offerDescriptionSliderImages", $context) ? $context["offerDescriptionSliderImages"] : (function () { throw new RuntimeError('Variable "offerDescriptionSliderImages" does not exist.', 616, $this->source); })())), 0))) {
// line 617
echo " <div class=\"sale-description-carousel\">
<div id=\"saleDescriptionSliderFor";
// line 618
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["offerDescription"], "getID", [], "method", false, false, false, 618), "html", null, true);
echo "\"
class=\"sale-description-slider-for\">
";
// line 620
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["offerDescriptionSliderImages"]) || array_key_exists("offerDescriptionSliderImages", $context) ? $context["offerDescriptionSliderImages"] : (function () { throw new RuntimeError('Variable "offerDescriptionSliderImages" does not exist.', 620, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["offerDescriptionSliderImage"]) {
// line 621
echo " <div><img data-lazy=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["offerDescriptionSliderImage"], "getImageUrl", [], "method", false, false, false, 621), "html", null, true);
echo "\"/>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['offerDescriptionSliderImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 624
echo " </div>
</div>
";
}
// line 627
echo " ";
echo $this->extensions['Slivki\Twig\SlivkiTwigExtension']->addLazyAndLightboxImagesInDescription(twig_get_attribute($this->env, $this->source, $context["offerDescription"], "getDescription", [], "method", false, false, false, 627));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['offerDescription'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 629
echo " </div>
</div>
<div id=\"offerAddressTab\" class=\"mx-1 mt-5\">
<div class=\"offer-titles\"><h5 class=\"mb-2\">Контакты</h5></div>
<div class=\"mb-4 logo-title\">
";
// line 634
echo twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 634, $this->source); })()), "getLogo", [], "method", false, false, false, 634);
echo "
</div>
<div class=\"p-m-0\">
";
// line 637
if ((1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["geoLocations"]) || array_key_exists("geoLocations", $context) ? $context["geoLocations"] : (function () { throw new RuntimeError('Variable "geoLocations" does not exist.', 637, $this->source); })()), "count", [], "method", false, false, false, 637), 0))) {
// line 638
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["geoLocations"]) || array_key_exists("geoLocations", $context) ? $context["geoLocations"] : (function () { throw new RuntimeError('Variable "geoLocations" does not exist.', 638, $this->source); })())), 0))) {
// line 639
echo " <div class=\"geo-location-block\">
";
// line 640
$this->loadTemplate("Slivki/offers/geo_location_data.html.twig", "Slivki/mobile/offer/details.html.twig", 640)->display(twig_to_array(["offer" => (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 640, $this->source); })())]));
// line 641
echo " <div class=\"distance d-none\" style=\"display: block\">
<i class=\"slivki-icon slivki-icon-direction\"></i> <img class='ajaxLoader'
src='/images/ajax-loader-16x16.gif'
alt='Загрузка...'/><span></span>
</div>
<div id=\"offerGeoLocationData\" data-json=\"";
// line 646
echo twig_escape_filter($this->env, (isset($context["offerGeoLocationData"]) || array_key_exists("offerGeoLocationData", $context) ? $context["offerGeoLocationData"] : (function () { throw new RuntimeError('Variable "offerGeoLocationData" does not exist.', 646, $this->source); })()), "html", null, true);
echo "\"></div>
<div id=\"offerMapWrapper\" class=\"category-map-wrapper my-3\">
<div id=\"offerMap\" class=\"category-map\"></div>
<a id=\"setUserLocationBtn\" href=\"#\">Указать местоположение</a>
<div id=\"zoomIn\"></div>
<div id=\"zoomOut\"></div>
<a id=\"mapEnterFullscreen\" href=\"#\" class=\"fullscreen-map-button\">Развернуть</a>
<a id=\"mapExitFullscreen\" href=\"#\" class=\"fullscreen-map-button\">Свернуть</a>
</div>
</div>
";
}
// line 657
echo " ";
}
// line 658
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["geoLocations"]) || array_key_exists("geoLocations", $context) ? $context["geoLocations"] : (function () { throw new RuntimeError('Variable "geoLocations" does not exist.', 658, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["geoLocation"]) {
// line 659
echo " <div class=\"mb-3 my-3\">
<div class=\"sf-bold-font\">";
// line 660
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getCity", [], "method", false, false, false, 660), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getStreet", [], "method", false, false, false, 660), "html", null, true);
echo "
, ";
// line 661
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getHouse", [], "method", false, false, false, 661), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getLabel", [], "method", false, false, false, 661), "html", null, true);
echo "</div>
";
// line 662
$context["phoneNumbers"] = twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getPhoneNumbers", [], "method", false, false, false, 662);
// line 663
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["phoneNumbers"]) || array_key_exists("phoneNumbers", $context) ? $context["phoneNumbers"] : (function () { throw new RuntimeError('Variable "phoneNumbers" does not exist.', 663, $this->source); })())), 0))) {
// line 664
echo " ";
}
// line 665
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["phoneNumbers"]) || array_key_exists("phoneNumbers", $context) ? $context["phoneNumbers"] : (function () { throw new RuntimeError('Variable "phoneNumbers" does not exist.', 665, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["phoneNumber"]) {
// line 666
echo " ";
$this->loadTemplate("Slivki/mobile/offer/phone_number_btn.html.twig", "Slivki/mobile/offer/details.html.twig", 666)->display(twig_to_array(["phoneNumber" => $context["phoneNumber"], "geoLocation" => $context["geoLocation"]]));
// line 667
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['phoneNumber'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 668
echo " ";
if (((array_key_exists("geoLocation", $context) && twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getCallbackChatId", [], "method", false, false, false, 668)) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getCallbackChatId", [], "method", false, false, false, 668), "")))) {
// line 669
echo " <div class=\"callback-button\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getId", [], "method", false, false, false, 669), "html", null, true);
echo "\">Обратный звонок</div>
";
}
// line 671
echo " ";
if ((0 !== twig_compare(twig_trim_filter(twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getWorkingHours", [], "method", false, false, false, 671)), ""))) {
// line 672
echo " <div>Время работы:</div> ";
echo twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getWorkingHours", [], "method", false, false, false, 672);
echo "
";
}
// line 674
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['geoLocation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 677
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["phoneNumbersWithoutGeoLocations"]) || array_key_exists("phoneNumbersWithoutGeoLocations", $context) ? $context["phoneNumbersWithoutGeoLocations"] : (function () { throw new RuntimeError('Variable "phoneNumbersWithoutGeoLocations" does not exist.', 677, $this->source); })())), 0))) {
// line 678
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["geoLocations"]) || array_key_exists("geoLocations", $context) ? $context["geoLocations"] : (function () { throw new RuntimeError('Variable "geoLocations" does not exist.', 678, $this->source); })())), 0))) {
// line 679
echo " <br>
";
}
// line 681
echo " <div id=\"phoneOffers\" class=\"mb-2\">
<div class=\"mb-2\">
<strong>Телефон";
// line 683
echo (((1 === twig_compare(twig_length_filter($this->env, (isset($context["phoneNumbersWithoutGeoLocations"]) || array_key_exists("phoneNumbersWithoutGeoLocations", $context) ? $context["phoneNumbersWithoutGeoLocations"] : (function () { throw new RuntimeError('Variable "phoneNumbersWithoutGeoLocations" does not exist.', 683, $this->source); })())), 1))) ? ("ы") : (""));
echo ":</strong>
</div>
";
// line 685
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["phoneNumbersWithoutGeoLocations"]) || array_key_exists("phoneNumbersWithoutGeoLocations", $context) ? $context["phoneNumbersWithoutGeoLocations"] : (function () { throw new RuntimeError('Variable "phoneNumbersWithoutGeoLocations" does not exist.', 685, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["phoneNumber"]) {
// line 686
echo " ";
$this->loadTemplate("Slivki/mobile/offer/phone_number_btn.html.twig", "Slivki/mobile/offer/details.html.twig", 686)->display(twig_to_array(["phoneNumber" => $context["phoneNumber"]]));
// line 687
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['phoneNumber'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 688
echo " </div>
</div>
";
}
// line 691
echo " ";
$context["commonWoringHours"] = twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 691, $this->source); })()), "getCommonWorkingHours", [], "method", false, false, false, 691);
// line 692
echo " ";
if ((0 !== twig_compare((isset($context["commonWoringHours"]) || array_key_exists("commonWoringHours", $context) ? $context["commonWoringHours"] : (function () { throw new RuntimeError('Variable "commonWoringHours" does not exist.', 692, $this->source); })()), ""))) {
// line 693
echo " <br>
<div><strong>Время работы:</strong></div>
";
// line 695
echo (isset($context["commonWoringHours"]) || array_key_exists("commonWoringHours", $context) ? $context["commonWoringHours"] : (function () { throw new RuntimeError('Variable "commonWoringHours" does not exist.', 695, $this->source); })());
echo "
<br><br>
";
}
// line 698
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 698, $this->source); })()), "getLegal", [], "method", false, false, false, 698);
echo "
<div class=\"offer-titles offer-titles-mobile mt-0 mb-0\"><h5 class=\"mt-0 mb-0\">Написать</h5></div>
<div class=\"col px-0\">
<a class=\"tg-button offer-phone-mob btn btn-block bg-slivki text-white py-1 no-decoration my-2 d-flex justify-content-center align-items-center\"
href=\"https://t.me/";
// line 702
(((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 702, $this->source); })()), "getTelegram", [], "method", false, false, false, 702), null))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 702, $this->source); })()), "getTelegram", [], "method", false, false, false, 702), "html", null, true))) : (print ("slivkislivkiby")));
echo "\"
style=\"width: 200px\">
<img class=\"mr-2\" src=\"/images/tg.svg\" width=\"20\" height=\"18\">
<span class=\"float-right\">Telegram</span>
</a>
";
// line 707
$context["viberNumber"] = (((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 707, $this->source); })()), "getViber", [], "method", false, false, false, 707), null))) ? (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 707, $this->source); })()), "getViber", [], "method", false, false, false, 707)) : ("+375295084444"));
// line 708
echo " <a class=\"vb-button offer-phone-mob btn btn-block bg-slivki text-white py-1 no-decoration my-2 d-flex justify-content-center align-items-center\"
href='viber://chat?number=\" ";
// line 709
echo twig_escape_filter($this->env, (isset($context["viberNumber"]) || array_key_exists("viberNumber", $context) ? $context["viberNumber"] : (function () { throw new RuntimeError('Variable "viberNumber" does not exist.', 709, $this->source); })()), "html", null, true);
echo " \"'
style=\"width: 200px\">
<img class=\"mr-2\" src=\"/images/vb.svg\" width=\"20\" height=\"18\">
<span class=\"float-right\">Viber</span>
</a>
</div>
</div>
";
// line 716
$this->loadTemplate("Slivki/offers/share.html.twig", "Slivki/mobile/offer/details.html.twig", 716)->display($context);
// line 717
echo " </div>
<div id=\"offerCommentTab\" class=\"pt-2 px-0\">
<div>
";
// line 720
echo (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 720, $this->source); })());
echo "
</div>
</div>
</div>
</div>
";
// line 725
if ((isset($context["preview"]) || array_key_exists("preview", $context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.', 725, $this->source); })())) {
// line 726
echo " <input type=\"hidden\" id=\"offerPreview\" value=\"1\">
";
} else {
// line 728
echo " <input type=\"hidden\" id=\"offerPreview\" value=\"0\">
";
}
// line 730
echo " </div>
";
// line 731
if ((isset($context["showGlobalcard"]) || array_key_exists("showGlobalcard", $context) ? $context["showGlobalcard"] : (function () { throw new RuntimeError('Variable "showGlobalcard" does not exist.', 731, $this->source); })())) {
// line 732
echo " ";
$this->loadTemplate("Slivki/mobile/offer/globalcard.html.twig", "Slivki/mobile/offer/details.html.twig", 732)->display($context);
// line 733
echo " ";
} elseif ((isset($context["showGlobalcardFitness"]) || array_key_exists("showGlobalcardFitness", $context) ? $context["showGlobalcardFitness"] : (function () { throw new RuntimeError('Variable "showGlobalcardFitness" does not exist.', 733, $this->source); })())) {
// line 734
echo " ";
$this->loadTemplate("Slivki/mobile/offer/globalcard_fitness.html.twig", "Slivki/mobile/offer/details.html.twig", 734)->display($context);
// line 735
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 738
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 739
echo " ";
$this->loadTemplate("Slivki/popups/header_offers.html.twig", "Slivki/mobile/offer/details.html.twig", 739)->display($context);
// line 740
echo " ";
$this->loadTemplate("Slivki/popups/mail_offers.html.twig", "Slivki/mobile/offer/details.html.twig", 740)->display($context);
// line 741
echo " ";
$this->loadTemplate("Slivki/popups/callback.html.twig", "Slivki/mobile/offer/details.html.twig", 741)->display($context);
// line 742
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.', 742, $this->source); })())) . "/jivosite/modal_mobile.html.twig"), "Slivki/mobile/offer/details.html.twig", 742)->display($context);
// line 743
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["galleryVideos"] ?? null), "getVideos", [], "method", true, true, false, 743) && (1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["galleryVideos"]) || array_key_exists("galleryVideos", $context) ? $context["galleryVideos"] : (function () { throw new RuntimeError('Variable "galleryVideos" does not exist.', 743, $this->source); })()), "getVideos", [], "method", false, false, false, 743)), 0)))) {
// line 744
echo " ";
$this->loadTemplate("Slivki/popups/details-story-popup.html.twig", "Slivki/mobile/offer/details.html.twig", 744)->display($context);
// line 745
echo " ";
}
// line 746
echo " ";
$this->loadTemplate("Slivki/orderAsGift/foodForGift.html.twig", "Slivki/mobile/offer/details.html.twig", 746)->display(twig_array_merge($context, ["deliveryLink" => (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 746, $this->source); })())]));
// line 747
echo " ";
if ($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::PAYMENT_PAYME"))) {
// line 748
echo " ";
$this->loadTemplate("Slivki/uz/mobile/buy_promo.twig", "Slivki/mobile/offer/details.html.twig", 748)->display($context);
// line 749
echo " ";
}
// line 750
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.', 750, $this->source); })()), "user", [], "any", false, false, false, 750)) {
// line 751
echo " ";
$this->loadTemplate("Slivki/popups/rating_edit_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 751)->display($context);
// line 752
echo " ";
$this->loadTemplate("Slivki/mobile/popup/popup_subscription_limited.html.twig", "Slivki/mobile/offer/details.html.twig", 752)->display($context);
// line 753
echo " ";
$this->loadTemplate("Slivki/mobile/subscription/buy_promo_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 753)->display($context);
// line 754
echo " ";
$this->loadTemplate("Slivki/mobile/popup/confirm_subscription_card_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 754)->display(twig_array_merge($context, ["creditCards" => 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.', 754, $this->source); })()), "user", [], "any", false, false, false, 754), "getActiveCreditCards", [], "method", false, false, false, 754)]));
// line 755
echo " ";
$this->loadTemplate("Slivki/mobile/popup/buy_codes_avways_app.html.twig", "Slivki/mobile/offer/details.html.twig", 755)->display($context);
// line 756
echo " ";
$this->loadTemplate("Slivki/popups/add_favourite_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 756)->display($context);
// line 757
echo " ";
$this->loadTemplate("Slivki/popups/delete_favourite_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 757)->display($context);
// line 758
echo " ";
$this->loadTemplate("Slivki/popups/delete_comment_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 758)->display(twig_array_merge($context, ["id" => "deleteCommentConfirmPopup"]));
// line 759
echo " ";
} else {
// line 760
echo " ";
$this->loadTemplate("Slivki/popups/comment_only_registered_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 760)->display(twig_array_merge($context, ["id" => "onlyRegistered"]));
// line 761
echo " ";
}
// line 762
echo " ";
$this->loadTemplate("Slivki/popups/comment_media_block_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 762)->display($context);
// line 763
echo " ";
$this->loadTemplate("Slivki/mobile/popup/add_comment_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 763)->display($context);
// line 764
echo " ";
$this->loadTemplate("Slivki/popups/edit_comment_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 764)->display(twig_array_merge($context, ["id" => "editVoteBox"]));
// line 765
echo " ";
$this->loadTemplate("Slivki/popups/comment_censor_message.html.twig", "Slivki/mobile/offer/details.html.twig", 765)->display(twig_array_merge($context, ["id" => "commentCensorMessage"]));
// line 766
echo " ";
$this->loadTemplate("Slivki/mobile/share_block.html.twig", "Slivki/mobile/offer/details.html.twig", 766)->display($context);
// line 767
echo " ";
$this->loadTemplate("Slivki/mobile/popup/statistics_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 767)->display($context);
// line 768
echo " ";
$this->loadTemplate("Slivki/mobile/delivery/modal/details.html.twig", "Slivki/mobile/offer/details.html.twig", 768)->display(twig_array_merge($context, ["isOfferPage" => true]));
// line 769
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 769, $this->source); })())), 0))) {
// line 770
echo " ";
$this->loadTemplate("Slivki/mobile/offer/extension/item/items_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 770)->display($context);
// line 771
echo " ";
}
// line 772
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 772, $this->source); })()), "getID", [], "method", false, false, false, 772), twig_constant("Slivki\\Entity\\Offer::BOOKING_OFFER_ID")))) {
// line 773
echo " ";
$this->loadTemplate("Slivki/mobile/offer/booking_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 773)->display($context);
// line 774
echo " ";
}
// line 775
echo " ";
$this->displayParentBlock("popup", $context, $blocks);
echo "
";
// line 776
if (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 776, $this->source); })()), "isGiftCertificateOffer", [], "method", false, false, false, 776)) {
// line 777
echo " ";
$this->loadTemplate("Slivki/popups/step_buy_certificate.twig", "Slivki/mobile/offer/details.html.twig", 777)->display(twig_array_merge($context, ["deliveryLink" => (isset($context["deliveryLink"]) || array_key_exists("deliveryLink", $context) ? $context["deliveryLink"] : (function () { throw new RuntimeError('Variable "deliveryLink" does not exist.', 777, $this->source); })())]));
// line 778
echo " ";
}
// line 779
echo " ";
$this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 779)->display($context);
// line 780
echo " ";
$this->loadTemplate("Slivki/mobile/popup/contact_popup.html.twig", "Slivki/mobile/offer/details.html.twig", 780)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 782
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"));
// line 783
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.', 783, $this->source); })()), "user", [], "any", false, false, false, 783) && 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.', 783, $this->source); })()), "user", [], "any", false, false, false, 783), "hasRole", [0 => twig_constant("\\Slivki\\Entity\\UserGroup::ROLE_ADS_FREE")], "method", false, false, false, 783))) {
// line 784
echo " ";
$context["brandingBanner"] = $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getBrandingBanner($this->env, 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.', 784, $this->source); })()), "user", [], "any", false, false, false, 784), ((array_key_exists("brandingBannerCategoryIDs", $context)) ? ((isset($context["brandingBannerCategoryIDs"]) || array_key_exists("brandingBannerCategoryIDs", $context) ? $context["brandingBannerCategoryIDs"] : (function () { throw new RuntimeError('Variable "brandingBannerCategoryIDs" does not exist.', 784, $this->source); })())) : ([])), ((array_key_exists("offer", $context)) ? (twig_get_attribute($this->env, $this->source, (isset($context["offer"]) || array_key_exists("offer", $context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.', 784, $this->source); })()), "getID", [], "method", false, false, false, 784)) : ("")));
// line 785
echo " ";
if (((isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 785, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 785, $this->source); })()), "getMobileDivider", [], "method", false, false, false, 785))) {
// line 786
echo " <input type=\"hidden\" id=\"brandingBannerImage\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 786, $this->source); })()), "getMobileDivider", [], "method", false, false, false, 786), "html", null, true);
echo "\"
data-oid=\"";
// line 787
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 787, $this->source); })()), "getID", [], "method", false, false, false, 787), "html", null, true);
echo "\" data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 787, $this->source); })()), "getBannerID", [], "method", false, false, false, 787), "html", null, true);
echo "\"
data-branding=\"";
// line 788
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 788, $this->source); })()), "getBannerID", [], "method", false, false, false, 788), "html", null, true);
echo "\" data-url=\"";
echo twig_escape_filter($this->env, twig_trim_filter(twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 788, $this->source); })()), "getUrl", [], "method", false, false, false, 788)), "html", null, true);
echo "\"
data-right-side-url=\"";
// line 789
echo twig_escape_filter($this->env, twig_trim_filter(twig_get_attribute($this->env, $this->source, (isset($context["brandingBanner"]) || array_key_exists("brandingBanner", $context) ? $context["brandingBanner"] : (function () { throw new RuntimeError('Variable "brandingBanner" does not exist.', 789, $this->source); })()), "getRightSideUrl", [], "method", false, false, false, 789)), "html", null, true);
echo "\">
";
}
// line 791
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 794
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 795
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"/js/jquery.jcarousel.min.js?v=1\"></script>
<script src=\"/js/story-slider/story-slider-js.js?v=";
// line 797
echo twig_escape_filter($this->env, (isset($context["story_slider_js_version"]) || array_key_exists("story_slider_js_version", $context) ? $context["story_slider_js_version"] : (function () { throw new RuntimeError('Variable "story_slider_js_version" does not exist.', 797, $this->source); })()), "html", null, true);
echo "\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js\"
integrity=\"sha512-jNDtFf7qgU0eH/+Z42FG4fw3w7DM/9zbgNPe3wfJlCylVDTT3IgKW5r92Vy9IHa6U50vyMz5gRByIu4YIXFtaQ==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script type=\"text/javascript\">
\$(function () {
\$('#floatingBanner').addClass('offer-details-floating-banner');
});
</script>
<!-- Moment -->
<script src=\"/admin/plugins/moment/moment-with-locales.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js\"></script>
<script src=\"/js/swiper-js/swiper.min.js\"></script>
<script src=\"/js/offer-new.js?v=";
// line 811
echo twig_escape_filter($this->env, (isset($context["offer_new_js_version"]) || array_key_exists("offer_new_js_version", $context) ? $context["offer_new_js_version"] : (function () { throw new RuntimeError('Variable "offer_new_js_version" does not exist.', 811, $this->source); })()), "html", null, true);
echo "\"/>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU\" type=\"text/javascript\"></script>
<script src=\"https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js\"></script>
<script src=\"https://yastatic.net/share2/share.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/fecha/2.3.3/fecha.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js\"></script>
<!-- date-time-picker -->
<script src=\"/admin/plugins/datetimepicker/js/bootstrap-datetimepicker.min.js\"></script>
<!-- colorpicker -->
<script src=\"/admin/plugins/colorpicker/bootstrap-colorpicker.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"/mobile/js/offer.min.js?v=";
// line 827
echo twig_escape_filter($this->env, (isset($context["offer_js_version"]) || array_key_exists("offer_js_version", $context) ? $context["offer_js_version"] : (function () { throw new RuntimeError('Variable "offer_js_version" does not exist.', 827, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"/js/statistics_offer/statistics_offer.js?v=";
// line 828
echo twig_escape_filter($this->env, (isset($context["statistics_offer_js_version"]) || array_key_exists("statistics_offer_js_version", $context) ? $context["statistics_offer_js_version"] : (function () { throw new RuntimeError('Variable "statistics_offer_js_version" does not exist.', 828, $this->source); })()), "html", null, true);
echo "\"
charset=\"utf-8\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/easy-pie-chart/2.1.6/jquery.easypiechart.min.js\"
integrity=\"sha512-DHNepbIus9t4e6YoMBSJLwl+nnm0tIwMBonsQQ+W9NKN6gVVVbomJs9Ii3mQ+HzGZiU5FyJLdnAz9a63ZgZvTQ==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/easy-pie-chart/2.1.6/easypiechart.min.js\"
integrity=\"sha512-1yldf7W5suy0ko2u4OGU1qyeGrzh9+A3uyWGH4ws8MbndaWxZsgnzy6uqqBq7NUU/ImI1Js5kqDbunovCN1JqA==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"/js/ajaxupload.3.5.js?v=1\"></script>
<script src=\"/js/mobile-rating.js?v=2\"></script>
<script>
uploadPhoto('/comment/image_upload', '/comment/image_remove');
initImageRemove();
</script>
<script type=\"text/javascript\">
";
// line 843
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.', 843, $this->source); })()), "request", [], "any", false, false, false, 843), "query", [], "any", false, false, false, 843), "has", [0 => "checkOrder"], "method", false, false, false, 843)) {
// line 844
echo " initCheckOfferOrderStatus(";
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.', 844, $this->source); })()), "request", [], "any", false, false, false, 844), "get", [0 => "checkOrder"], "method", false, false, false, 844), "html", null, true);
echo ");
";
}
// line 846
echo " </script>
<script src=\"/js/offer/offerDescriptionItems.js?v=";
// line 847
echo twig_escape_filter($this->env, (isset($context["offer_description_items_js_version"]) || array_key_exists("offer_description_items_js_version", $context) ? $context["offer_description_items_js_version"] : (function () { throw new RuntimeError('Variable "offer_description_items_js_version" does not exist.', 847, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/work_examples/work_examples.js?v=";
// line 848
echo twig_escape_filter($this->env, (isset($context["work_examples_js_version"]) || array_key_exists("work_examples_js_version", $context) ? $context["work_examples_js_version"] : (function () { throw new RuntimeError('Variable "work_examples_js_version" does not exist.', 848, $this->source); })()), "html", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v=";
// line 849
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.', 849, $this->source); })()), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 852
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 853
echo " <script>
try {
(function () {
var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = [];
rtbhTags.push(\"pr_\" + hash + \"_offer_\" + document.getElementById('offerID').value);
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);
}
public function getTemplateName()
{
return "Slivki/mobile/offer/details.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2037 => 853, 2027 => 852, 2015 => 849, 2011 => 848, 2007 => 847, 2004 => 846, 1998 => 844, 1996 => 843, 1978 => 828, 1974 => 827, 1955 => 811, 1938 => 797, 1932 => 795, 1922 => 794, 1911 => 791, 1906 => 789, 1900 => 788, 1894 => 787, 1889 => 786, 1886 => 785, 1883 => 784, 1880 => 783, 1870 => 782, 1859 => 780, 1856 => 779, 1853 => 778, 1850 => 777, 1848 => 776, 1843 => 775, 1840 => 774, 1837 => 773, 1834 => 772, 1831 => 771, 1828 => 770, 1825 => 769, 1822 => 768, 1819 => 767, 1816 => 766, 1813 => 765, 1810 => 764, 1807 => 763, 1804 => 762, 1801 => 761, 1798 => 760, 1795 => 759, 1792 => 758, 1789 => 757, 1786 => 756, 1783 => 755, 1780 => 754, 1777 => 753, 1774 => 752, 1771 => 751, 1768 => 750, 1765 => 749, 1762 => 748, 1759 => 747, 1756 => 746, 1753 => 745, 1750 => 744, 1747 => 743, 1744 => 742, 1741 => 741, 1738 => 740, 1735 => 739, 1725 => 738, 1714 => 735, 1711 => 734, 1708 => 733, 1705 => 732, 1703 => 731, 1700 => 730, 1696 => 728, 1692 => 726, 1690 => 725, 1682 => 720, 1677 => 717, 1675 => 716, 1665 => 709, 1662 => 708, 1660 => 707, 1652 => 702, 1644 => 698, 1638 => 695, 1634 => 693, 1631 => 692, 1628 => 691, 1623 => 688, 1617 => 687, 1614 => 686, 1610 => 685, 1605 => 683, 1601 => 681, 1597 => 679, 1594 => 678, 1591 => 677, 1583 => 674, 1577 => 672, 1574 => 671, 1568 => 669, 1565 => 668, 1559 => 667, 1556 => 666, 1551 => 665, 1548 => 664, 1545 => 663, 1543 => 662, 1537 => 661, 1531 => 660, 1528 => 659, 1523 => 658, 1520 => 657, 1506 => 646, 1499 => 641, 1497 => 640, 1494 => 639, 1491 => 638, 1489 => 637, 1483 => 634, 1476 => 629, 1467 => 627, 1462 => 624, 1452 => 621, 1448 => 620, 1443 => 618, 1440 => 617, 1437 => 616, 1434 => 615, 1430 => 614, 1427 => 613, 1421 => 609, 1403 => 593, 1401 => 592, 1397 => 590, 1395 => 589, 1390 => 586, 1388 => 585, 1383 => 583, 1377 => 579, 1375 => 578, 1343 => 548, 1324 => 545, 1318 => 544, 1314 => 543, 1310 => 542, 1307 => 541, 1290 => 540, 1284 => 536, 1278 => 532, 1274 => 530, 1264 => 526, 1260 => 525, 1256 => 524, 1252 => 523, 1249 => 522, 1244 => 521, 1238 => 518, 1232 => 515, 1228 => 513, 1226 => 512, 1223 => 511, 1221 => 510, 1216 => 509, 1212 => 507, 1210 => 506, 1205 => 503, 1197 => 499, 1193 => 497, 1191 => 496, 1186 => 493, 1183 => 492, 1180 => 491, 1177 => 490, 1175 => 489, 1172 => 488, 1169 => 487, 1166 => 486, 1164 => 485, 1161 => 484, 1159 => 483, 1156 => 482, 1153 => 481, 1149 => 479, 1146 => 478, 1142 => 476, 1136 => 475, 1133 => 474, 1122 => 471, 1119 => 470, 1116 => 469, 1113 => 468, 1110 => 467, 1108 => 466, 1103 => 463, 1099 => 461, 1094 => 458, 1091 => 457, 1088 => 456, 1085 => 455, 1079 => 452, 1075 => 451, 1071 => 450, 1066 => 449, 1063 => 448, 1060 => 447, 1054 => 444, 1050 => 443, 1046 => 442, 1041 => 441, 1039 => 440, 1034 => 438, 1030 => 437, 1026 => 436, 1021 => 435, 1018 => 434, 1015 => 433, 1009 => 430, 1005 => 429, 1001 => 428, 996 => 427, 993 => 426, 990 => 425, 983 => 421, 978 => 420, 975 => 419, 972 => 418, 969 => 417, 963 => 414, 959 => 413, 954 => 412, 952 => 411, 947 => 409, 943 => 408, 938 => 407, 936 => 406, 931 => 404, 927 => 403, 922 => 402, 919 => 401, 913 => 398, 909 => 397, 906 => 396, 903 => 395, 896 => 391, 893 => 390, 890 => 389, 888 => 388, 884 => 386, 881 => 385, 873 => 380, 867 => 376, 864 => 375, 859 => 372, 856 => 371, 849 => 368, 846 => 367, 843 => 366, 840 => 365, 837 => 364, 834 => 363, 831 => 362, 825 => 359, 816 => 356, 813 => 355, 807 => 352, 800 => 347, 797 => 346, 795 => 345, 790 => 343, 785 => 340, 782 => 339, 776 => 336, 771 => 333, 768 => 332, 762 => 329, 757 => 326, 754 => 325, 751 => 324, 747 => 322, 741 => 320, 737 => 318, 735 => 317, 730 => 315, 727 => 314, 725 => 313, 718 => 308, 714 => 306, 708 => 304, 704 => 302, 702 => 301, 698 => 299, 695 => 298, 692 => 297, 686 => 294, 682 => 292, 680 => 291, 676 => 289, 674 => 288, 671 => 287, 669 => 286, 647 => 266, 643 => 264, 631 => 254, 619 => 244, 617 => 243, 614 => 242, 612 => 241, 610 => 240, 606 => 238, 594 => 228, 582 => 218, 580 => 217, 576 => 215, 573 => 212, 562 => 203, 560 => 202, 555 => 199, 546 => 192, 540 => 189, 536 => 188, 531 => 186, 526 => 183, 524 => 182, 517 => 180, 513 => 178, 508 => 175, 501 => 173, 497 => 172, 492 => 170, 488 => 169, 483 => 168, 481 => 167, 474 => 166, 472 => 165, 462 => 157, 460 => 156, 455 => 154, 447 => 148, 441 => 145, 433 => 139, 431 => 138, 425 => 135, 418 => 133, 412 => 129, 406 => 126, 396 => 123, 390 => 119, 388 => 118, 382 => 114, 376 => 110, 374 => 109, 371 => 108, 365 => 105, 361 => 104, 358 => 103, 355 => 102, 348 => 100, 343 => 98, 338 => 97, 332 => 95, 330 => 94, 327 => 93, 322 => 92, 319 => 91, 316 => 90, 314 => 89, 310 => 88, 307 => 87, 301 => 83, 298 => 82, 292 => 79, 289 => 78, 286 => 77, 280 => 74, 273 => 72, 270 => 71, 268 => 70, 260 => 64, 258 => 63, 251 => 60, 246 => 58, 241 => 57, 238 => 56, 232 => 54, 230 => 53, 225 => 51, 221 => 50, 217 => 49, 212 => 47, 209 => 46, 203 => 44, 200 => 43, 197 => 42, 194 => 41, 192 => 40, 189 => 39, 186 => 38, 183 => 37, 173 => 36, 159 => 30, 151 => 26, 148 => 25, 145 => 24, 135 => 23, 117 => 21, 102 => 15, 98 => 14, 94 => 13, 90 => 12, 80 => 4, 70 => 3, 59 => 2, 57 => 34, 55 => 1, 42 => 2,);
}
public function getSourceContext()
{
return new Source("{% set phoneNumbersWithoutGeoLocations = offer.getPhoneNumbersWithoutGeoLocations() %}
{% extends 'Slivki/mobile/base.html.twig' %}
{% block styles %}
<link rel=\"stylesheet\" href=\"/css/swiper/swiper.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css\"/>
<link rel=\"stylesheet\" href=\"/admin/plugins/datetimepicker/css/bootstrap-datetimepicker.min.css\">
<link rel=\"stylesheet\" href=\"/admin/plugins/datatables/jquery.dataTables.min.css\"/>
<link rel=\"stylesheet\" href=\"/admin/plugins/colorpicker/bootstrap-colorpicker.min.css\"/>
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.css\">
{{ parent() }}
<link href=\"/css/delivery.min.css?v={{ delivery_css_version }}\" rel=\"stylesheet\" type=\"text/css\"/>
<link href=\"/mobile/css/offers.min.css?v={{ mobile_offers_css }}\" rel=\"stylesheet\" type=\"text/css\"/>
<link href=\"/css/foodForGift.css?v={{ food_for_gift_css }}\" rel=\"stylesheet\" type=\"text/css\"/>
<link href=\"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\"
rel=\"stylesheet\">
<link href=\" /mobile/css/statistics_modal.css?v=3\" rel=\"stylesheet\" type=\"text/css\"/>
{% endblock %}
{% block messenger %}{% endblock %}
{% block ogimage %}
{% if detailMediaList|length > 0 %}
<meta property=\"og:image\"
content=\"{{ app.request.getSchemeAndHttpHost() }}{{ getImageURL(detailMediaList|first, 522, 322) }}\"/>
<meta property=\"og:image:width\" content=\"522\"/>
<meta property=\"og:image:height\" content=\"322\"/>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% set isBatchCodesAllowed = app.user and app.user.isBatchCodesAllowed %}
{% block content %}
{% set isPickupEnabled = offer.getOnlineOrderSettings().isPickupEnabled() is defined ? offer.getOnlineOrderSettings().isPickupEnabled() %}
{% set isDeliveryEnabled = offer.getOnlineOrderSettings().isDeliveryEnabled() is defined ? offer.getOnlineOrderSettings().isDeliveryEnabled() %}
{% if parentCategoryList %}
{% include 'Slivki/mobile/breadcrumbs.html.twig' with { 'parentCategoryList': parentCategoryList, 'supplierCategoryData': offer.getSupplierCategoryData() } only %}
{% endif %}
{% if isPickupEnabled or isDeliveryEnabled %}
<input id=\"deliveryMethodEnabled\" type=\"hidden\" value=\"{{ isDeliveryEnabled == '' ? '2' : '1' }}\">
{% endif %}
<input id=\"offerPage\" type=\"hidden\" value=\"\">
<input id=\"offerID\" type=\"hidden\" value=\"{{ offer.getID() }}\">
<input id=\"isMedicalCenter\" type=\"hidden\"
value=\"{{ parentCategoryList and parentCategoryList[0].getID() == constant('Slivki\\\\Entity\\\\Category::MEDICAL_CENTER_CATEGORY_ID') }}\">
<input type=\"hidden\" id=\"stock-id\" value=\"{{ offer.getID() }}\">
<input type=\"hidden\" id=\"stock-link\" value=\"{{ app.request.getSchemeAndHttpHost() ~ app.request.getRequestUri() }}\">
<div type=\"hidden\" id=\"mobileVersionIndicator\"></div>
{% if app.user and isSubscriber(app.user) %}
<input id=\"allowedCodesCountBySubscription\" type=\"hidden\" value=\"{{ allowedCodesCountBySubscription }}\">
{% endif %}
{% if app.user %}
<input id=\"splitTotalCodesCountByUser\" type=\"hidden\" value=\"{{ app.user.getCodesCountByOffer(offer) }}\">
<input type=\"hidden\" id=\"customerID\" value=\"{{ app.user.getID() }}\"/>
{% endif %}
<meta content=\"{{ metaInfo.metaDescription }}\"/>
<div id=\"offerDetails\">
<div class=\"collapse-more-button\"></div>
{% set isOfferFavourite = app.user ? app.user.isOfferFavourite(offer) : false %}
<div class=\"no-gutters pb-2\">
<div class=\"col-12 col-sm-4\">
<div id=\"offerImageSlider\" class=\"m-0 swiper-container\">
<div class=\"back-button\" onclick=\"history.back();\">
<img src=\"/images/back-violet.svg\"/>
</div>
{% if app.user() %}
<div class=\"fovoutite-block\"
onclick=\"onFavouriteClickOffer({{ offer.getID() }}, {{ isOfferFavourite ? 'true' : 'false' }})\">
<img width=\"18\" height=\"18\"
src=\"{{ isOfferFavourite ? '/images/heart_active.svg' : '/images/heart.svg' }}\"/>
</div>
{% endif %}
{% if not offer.isWithoutCodes() %}
<div class=\"discount-block\">
{{ offer.getDiscount() }}
</div>
{% endif %}
{% if is_granted('ROLE_ADMIN') and not offer.isWithoutCodes() %}
<div id=\"statisticsButton\" data-toggle=\"modal\" data-target=\"#statisticOffersPopup\">
<img width=\"37\" height=\"37\" src=\"/images/statistics.png\"/>
</div>
{% endif %}
<div class=\"swiper-wrapper\"
data-pixel={{ offer.getID() == constant('Slivki\\\\Entity\\\\Offer::BETERA_OFFER_ID') ? 'https://amc.yandex.ru/show?cmn_id=26372&plt_id=194140&crv_id=464042&evt_t=render&ad_type=banner&rnd=%system.random%' }}>
{% set medias = offer.getDetailMedias() %}
{% set mediaCount = medias|length %}
{% if mediaCount > 1 %}
{% for media in medias %}
<div class=\"swiper-slide\">
{% if media.isYoutube() %}
<input class=\"js-src-video\" type=\"hidden\" value=\"https://www.youtube.com/embed/{{ media.getName() }}\">
{% else %}
<img class=\"img-fluid lazyload\" alt=\"{{ media.getDescription() }}\"
src=\"{{ getImageURL(media, 1044, 644) }}\"/>
{% endif %}
</div>
{% endfor %}
{% elseif mediaCount == 1 %}
<div>
<img class=\"img-fluid lazyload\" alt=\"{{ medias[0].getDescription() }}\"
src=\"{{ getImageURL(medias[0], 1044, 644) }}\"/>
</div>
{% endif %}
</div>
{% if mediaCount > 1 %}
<div class=\"swiper-pagination mt-2\"></div>
<div class=\"swiper-button-next\"></div>
<div class=\"swiper-button-prev\"></div>
{% endif %}
</div>
</div>
<div class=\"container-offers\">
<div class=\"tags-offers\">
{% if not offer.isWithoutCodes() %}
<div class=\"tags-offers-item\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Взято кодов <br> Всего <a>{{ multiplePoolOfferUsedCodesCount is defined ? multiplePoolOfferUsedCodesCount : usedCodesCount }}</a> </br> За сутки {{ todayPurchaseCount }} </br> За месяц {{ getOfferMonthlyPurchaseCount(offer.getID(), 30) }}\">
<img src=\"/images/offers/icon_people.svg\"/>
<p class=\"mb-0\"><a>{{ multiplePoolOfferUsedCodesCount is defined ? multiplePoolOfferUsedCodesCount : usedCodesCount }}</a></p>
</div>
{% endif %}
<div class=\"tags-offers-item view-count\" class=\"view-count d-flex\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Просмотров </br> За сутки {{ todayVisitCount }}<br> За месяц <span class='m-0'><a>{{ visitCount }}</a></span>\">
<img src=\"/images/offers/statistic_1.svg\"/>
<p class=\"mb-0\">{{ visitCount }}</p>
</div>
{% if not offer.isWithoutCodes() %}
<div class=\"tags-offers-item\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Кол-во продаж к кол-ву просмотров. <br> Конверсия за 30 дней\">
<img src=\"/images/offers/conversion.svg\"/>
<p class=\"mb-0\">{{ getOfferConversion(offer.getID()) }}%</p>
</div>
{% endif %}
<div class=\"tags-offers-item rating-block\"
data-html=\"true\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-original-title=\"Рейтинг компании <br> за 90 дней\">
<span>★</span>
<p class=\"mb-0\">{{ offer.getRating() }}</p>
</div>
{% if not offer.isWithoutCodes() %}
<div class=\"tags-offers-item day-to-end\"
data-toggle=\"tooltip\"
data-placement=\"top\"
data-html=\"true\"
data-original-title=\"Дней до окончания <br> действия акции\">
<img src=\"/images/offers/icon_time.svg\"/>
<p class=\"mb-0\">
{% if daysLeft > 0 %}
{{ daysLeft }} {{ ['день', 'дня', 'дней']|plural(daysLeft) }}
{% elseif daysLeft == 0 %}
<input type=\"hidden\" id=\"daysLeft\" value=\"{{ daysLeft }} \"/>
<input type=\"hidden\" id=\"hoursLeft\" value=\"{{ hoursLeft }} \"/>
<input type=\"hidden\" id=\"minutesLeft\" value=\"{{ minutesLeft }} \"/>
<input type=\"hidden\" id=\"secondsLeft\"
value=\"{{ offer.getActiveTill().diff(date()).format('%s') }}\"/>
<span id=\"hours\">{{ hoursLeft }} </span>час{{ ['', 'а', 'ов']|plural(hoursLeft) }}
{% endif %}
</p>
</div>
{% endif %}
</div>
<p class=\"tittle-offers js-tittle-offer\"
style=\"color: {{ offer.getTitleFontColor() }};\">{{ offer.getTitle()|raw }}</p>
<div class=\"offers-description\">
{% if not pastOffer and offer.getFreeCodesCount() > 0 %}
<div class=\"pb-3 d-flex border-bottom-gray\">
<div class=\"col px-0 price-services-tittle\">Стоимость:</div>
<del id=\"offerRegularPrice\"
class=\"regular-price-offer\">{{ offer.getRegularPrice() }}</del>
<div class=\"price-services-new\">{{ offer.getOfferPrice()|replace({'(': '<span id=\"details-offer-price\">(', ')': ')</span>'})|raw }}</div>
<input type=\"hidden\" id=\"codeCost\" value=\"{{ codeCost }}\">
</div>
{% else %}
<div class=\"card border-0 mt-3\">
<div class=\"card-body p-0 pl-2 text-center\">
<i class=\"slivki-icon-minus-circled text-danger d-block h1 mb-0\"></i>
Акция завершена
</div>
</div>
{% endif %}
</div>
</div>
</div>
{% if not pastOffer and offer.getFreeCodesCount() > 0 and offer.isOnlineOrderGiftEnabled() and offer.isFoodOnlineOrderAllowedOnSite() %}
<div class=\"col my-2\">
<a class=\"button-gift\" data-toggle=\"modal\" data-target=\"#choiceGiftModal\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ЕДА В ПОДАРОК 😋</p>
<p class=\"mb-0\">Подарю сам или подарят мне</p>
</div>
</a>
</div>
{% endif %}
{% if not pastOffer and offer.isGiftCertificateOnlineOrderAllowedOnSite() and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SLIVKI_PAY_FOR_CERTIFICATE'))
%}
<div class=\"col my-2\">
{% if app.user %}
<a class=\"button-gift\" href=\"/virtual-wallet-pay\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
{% else %}
<a class=\"button-gift\" data-toggle=\"modal\" data-target=\".modal-auth\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
{% endif %}
</div>
{% endif %}
{% if offer.isFoodOnlineOrderAllowedOnSite() and offer.getOnlineOrderSettings() is not null and offer.getOnlineOrderSettings().allowedPaymentMethods['delivery'][4] == 1 and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SLIVKI_PAY')) and not pastOffer or
offer.isFoodOnlineOrderAllowedOnSite() and offer.getOnlineOrderSettings() is not null and offer.getOnlineOrderSettings().allowedPaymentMethods['pickup'][4] == 1 and isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::SLIVKI_PAY')) and not pastOffer %}
<div class=\"col my-2\">
{% if app.user %}
<a class=\"button-gift\" href=\"/virtual-wallet-pay\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
{% else %}
<a class=\"button-gift\" data-toggle=\"modal\" data-target=\".modal-auth\">
<div class=\"button-gift-text\">
<p class=\"mb-0\">ТЕПЕРЬ МОЖНО</p>
<p class=\"mb-0 color-violet\">ОПЛАТИТЬ SLIVKI.PAY</p>
</div>
<div class=\"button-gift-item-button\">
<div class=\"new\">NEW</div>
</div>
</a>
{% endif %}
</div>
{% endif %}
<div class=\"sticky-element\">
<div class=\"sticky-anchor\"></div>
<div id=\"offerNavigation\">
<ul class=\"nav-list\">
<li class=\"nav-item\"><a href=\"#offerDescriptionTab\" class=\"nav-links active\">
Условия
</a>
</li>
<li class=\"nav-item\"><a href=\"#offerAddressTab\" class=\"nav-links \">
Контакты
</a>
</li>
<li class=\"nav-item\"><a href=\"#offerCommentTab\" class=\"nav-links\"><span></span>
Отзывы
</a>
</li>
</ul>
</div>
</div>
<div id=\"offerAccordion\" class=\"accordion mt-2 px-2\">
{% if not offer.isWithoutCodes() %}
<div id=\"fixedButtonsBottom\" class=\"accordion fixed py-3\">
{% if not offer.isBuyCodeDisable() %}
<div id=\"buyButtonCard\" class=\"card\">
<div class=\"card-header\">
{% if offer.getID() == constant('Slivki\\\\Entity\\\\Offer::BOOKING_OFFER_ID') %}
<a href=\"#\" class=\"m-0 card-link bg-slivki\" data-toggle=\"modal\"
data-target=\"#bookingItemPopup\">
{{ offer.getBuyCodeButtonText() and offer.getBuyCodeButtonText() != '' ? offer.getBuyCodeButtonText() : 'Забронировать номер' }}
</a>
{% else %}
{% if not pastOffer and freeCodesCount > 0 %}
{% if not app.user %}
<a href=\"#\" class=\"m-0 card-link bg-slivki by-code-button text-uppercase\"
onclick=\"\$('.modal-auth').modal()\">
{% if offerIsFreeForUser %}
БЕСПЛАТНЫЙ ПРОМОКОД
{% else %}
{{ buyButtonLabel }}
{% endif %}
</a>
{% else %}
<a href=\"javascript:void(0)\" id=\"buyCodeButtonFake\"
class=\"m-0 d-none card-link bg-slivki by-code-button\">
<img class=\"fixed-size\" width=\"14\" src=\"/images/loading-animation.gif\"
alt=\"\"/>
</a>
{% if (offer.getID() == constant('Slivki\\\\Entity\\\\Offer::PETROL_OFFER_ID')) %}
<a href=\"#\"
onclick=\"showFakeButton(); if (window.google_tag_manager) {ga('send', 'event', 'Buy code', 'Click', '{{ getURL(\"Slivki:Default:details\", offer.getID()) }}');} document.location='/oplata-promokoda-azs'\"
class=\"m-0 card-link bg-slivki by-code-button\" id=\"buyCodeButton\">
{% if offerIsFreeForUser %}
БЕСПЛАТНЫЙ ПРОМОКОД
{% else %}
{{ buyButtonLabel }}
{% endif %}
</a>
{% else %}
{% if isAllowedByOnlyCode %}
{% if app.user and (isSubscriber(app.user) or isBatchCodesAllowed) and not offerIsFreeForUser and not offer.isBuyCodeInAppOnly() %}
<a href=\"#\" onclick=\"\$('#buyPromoPopup').modal()\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\">
{{ buyButtonLabel }}
</a>
{% else %}
{% if not app.user %}
<a href=\"#\" onclick=\"\$('.modal-auth').modal()\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\">
{{ buyButtonLabel }}
</a>
{% endif %}
{% if offer.isBuyCodeInAppOnly() %}
<a class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\"
onclick=\"\$('#byCodesAlwaysApp').modal()\">
{{ buyButtonLabel }}
</a>
{% elseif not offer.isBuyCodeInAppOnly() %}
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) or isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_CLICK')) %}
<a href=\"#\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButtonPayMeMobile\"
data-target=\"#buyPromoPopupPayMe\"
data-toggle=\"modal\">
{{ buyButtonLabel }}
</a>
{% else %}
<a href=\"#\"
onclick=\"if (window.google_tag_manager) {ga('send', 'event', 'Buy code', 'Click', '{{ getURL(\"Slivki:Default:details\", offer.getID()) }}');} showFakeButton();ym(20933521,'reachGoal','getcode-click'); document.location='{{ buyCodePopup == '#confirmBox' and canBuyFromBalance ? '/oplata-balance/' : '/oplata/' }}{{ offer.getID() }}'\"
class=\"m-0 card-link bg-slivki by-code-button text-uppercase my-1\"
id=\"buyCodeButton\">
{{ buyButtonLabel }}
</a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% else %}
<a href=\"{{ categoryURL }}\" class=\"m-0 card-link bg-slivki color-white\">Посмотреть
похожие предложения</a>
{% endif %}
{% endif %}
</div>
</div>
{% endif %}
{% if items|length > 0 %}
<div id=\"buyItemsButtonCard\" class=\"card\">
<div class=\"card-header\">
<a href=\"#\" id=\"buyItemsButton\" class=\"m-0 card-link bg-slivki\" data-toggle=\"modal\"
data-target=\"#offerItemsPopup\">
{{ offer.getBuyItemsButtonText() and offer.getBuyItemsButtonText() != '' ? offer.getBuyItemsButtonText() : 'Оплатить сейчас по карте' }}
</a>
</div>
</div>
{% endif %}
{% if hasDelivery is defined and offer.getFreeCodesCount() > 0 %}
<div id=\"deliveryButtonCard\" class=\"card\">
<div class=\"card-header bg-transparent\">
{% if not app.user %}
{% if offer.isTireOnlineOrderAllowedOnSite() %}
<a id=\"deliveryBtn\" href=\"#\" onclick=\"\$('.modal-auth').modal()\"
class=\"online-zapis js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Онлайн-запись
</a>
{% endif %}
{% if constant('Slivki\\\\Entity\\\\Offer::FREESTYLE_CERTIFICATE_OFFER_ID') == offer.getID() %}
<a href=\"#\" onclick=\"\$('.modal-auth').modal()\"
class=\"card-link ml-0 py-3 bg-violet text-white rounded-14 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
ПОЛУЧИТЬ СКИДКУ {{ offer.getDiscount() }}
</a>
{% else %}
{% if offer.isGiftCertificateOnlineOrderAllowedOnSite() and not offer.isFoodOnlineOrderAllowedOnSite() and offer.getID() != 283213 and offer.getID() != 288763 and offer.getID() != 288779 and offer.getID() != 288772 %}
<a id=\"deliveryBtn\" href=\"{{ deliveryLink }}\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Оплатить онлайн {{ offer.getDiscount() }}
</a>
{% elseif offer.isGiftCertificateOffer() and offer.getID() == 288763 or offer.isGiftCertificateOffer() and offer.getID() == 288779 or offer.isGiftCertificateOffer() and offer.getID() == 288772 %}
<a id=\"deliveryBtn\" href=\"{{ deliveryLink }}\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Получить скидку {{ offer.getDiscount() }}
</a>
{% elseif not offer.isGiftCertificateOffer() and not offer.isTireOnlineOrderAllowedOnSite() %}
<a id=\"deliveryBtn\" href=\"{{ deliveryLink }}\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Заказать онлайн {{ offer.getDiscount() }}
</a>
{% endif %}
{% endif %}
{% else %}
{% if offer.isTireOnlineOrderAllowedOnSite() %}
<a id=\"deliveryBtn\" href=\"{{ offer.getOnlineRegistrationLink() }}\"
class=\"online-zapis js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Онлайн-запись
</a>
{% endif %}
{% if offer.getID() in constant('Slivki\\\\Entity\\\\Offer::FREESTYLE_OFFER_IDS') %}
{% set deliveryBuyOnlyCodeLink = getLinkGiftCertificateOnlineOrderByOnlyCode(offer) %}
<a href=\"{{ deliveryBuyOnlyCodeLink }}\"
onclick=\"document.location = `{{ deliveryBuyOnlyCodeLink }}`\"
class=\"card-link ml-0 py-3 bg-violet text-white rounded-14 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
ПОЛУЧИТЬ СКИДКУ {{ offer.getDiscount() }}
</a>
{% else %}
{% if offer.isGiftCertificateOnlineOrderAllowedOnSite() and not offer.isFoodOnlineOrderAllowedOnSite() %}
{% if offer.isGiftCertificateOnlineOrderAllowedOnSite() and offer.getID() != 283213 and offer.getID() != 288763 and offer.getID() != 288779 and offer.getID() != 288772 or offer.isGiftCertificateOffer() and not offer.isFoodOnlineOrderAllowedOnSite() %}
<a href=\"{{ getLinkGiftCertificateOnlineOrder(offer) }}\"
onclick=\"document.location = `{{ getLinkGiftCertificateOnlineOrder(offer) }}`\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Оплатить онлайн {{ offer.getDiscount() }}
</a>
{% elseif offer.isGiftCertificateOffer() and offer.getID() == 288763 or offer.isGiftCertificateOffer() and offer.getID() == 288779 or offer.isGiftCertificateOffer() and offer.getID() == 288772 %}
<a href=\"{{ getLinkGiftCertificateOnlineOrder(offer) }}\"
onclick=\"document.location = `{{ getLinkGiftCertificateOnlineOrder(offer) }}`\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Получить скидку {{ offer.getDiscount() }}
</a>
{% endif %}
{% else %}
{% if not offer.isTireOnlineOrderAllowedOnSite() %}
<a href=\"{{ deliveryLink }}\"
onclick=\"document.location = `{{ deliveryLink }}`\"
class=\"js-buy-online card-link py-3 bg-violet text-white rounded-14 mx-0 text-uppercase{{ not offer.hasFreeCodes() ? ' opacity-05' }}\">
Заказать онлайн {{ offer.getDiscount() }}
</a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
</div>
</div>
{% endif %}
</div>
{% endif %}
<div class=\"container-offers my-0 mx-0\">
<div id=\"offerDescriptionTab\" class=\"mx-2 active\" style=\"max-height: fit-content;\">
<div class=\"offer-titles mt-2\"><h5>Условия</h5></div>
{% if not offer.isWithoutCodes() and offer.getID() != 140553 %}
{% set codeTill = offer.getCodeActiveTill() %}
{% set codeFrom = offer.getActiveTill()|date_modify('-1 day') %}
{% set codeFrom = codeFrom > codeTill ? codeTill : codeFrom %}
{% if not offer.isHideFeatures() %}
<p>- Получить промокод можно до {{ codeFrom|date('d.m') }}, воспользоваться {{ offer.getID() != 134390 ? 'до' }} {{ codeTill|date('d.m.y') }}.
<br/>
{% endif %}
{% if offer.isShowPriceInConditions() and not offerIsFreeForUser %}
- Стоимость промокода: {{ codeCost }} руб.
{% endif %}</p>
{% endif %}
{{ offer.getConditions()|raw }}
{# Таблица с прейскурантом для акции с квестами \"Ящик Пандоры\" #}
{% if offer.getID() == 143528 %}
<br>
{% include 'Slivki/offers/table_for_pandorra_box_offer2.html.twig' %}
<br>
{% elseif offer.getID() == 282234 %}
{% include 'Slivki/offers/table_for_pandorra_box_offer4.html.twig' %}
{% endif %}
{% if not offer.isHideFeatures() %}
{% if not offer.isWithoutCodes() %}
{% include \"Slivki#{regional_template_path}/phrase_subscription_in_offer_page.html.twig\" %}
{% endif %}
<br>
<div class=\"offer-titles\"><h5>Особенности</h5></div>
<div class=\"offer-details-conditions\">
{% if not offer.isWithoutCodes() %}
- Скидка предоставляется только при наличии промокода.
{% endif %}
{{ offer.getFeatures()|raw }}
</div>
- Поставщик несет полную ответственность перед потребителем за достоверность информации.
{% endif %}
<div id=\"endOfOfferCondition\"></div>
</div>
</div>
{% if offer.getShopMedias()|length > 0 %}
<div class=\"gallery-title offer-titles\"><h5>Галерея</h5></div>
{% endif %}
<div class=\"my-4 screenshots {{ offer.getShopMedias()|length == 0 or freeCodesCount == 0 ? 'empty' }}\">
{% if offer.getShopMedias()|length > 0 %}
<div class=\"screenshot-container\">
{% if galleryVideos.getVideos() is defined and galleryVideos.getVideos()|length > 0 %}
<div class=\"screenshot screenshot-story\" data-toggle=\"modal\"
data-target=\"#detailsStoryPopup\">
<img src=\"{{ galleryVideos.getImageUrl() }}\" width=\"158\"
alt=\"Видео\" border=\"0\"/>
<div class=\"screenshot-story-btn\"></div>
<div class=\"screenshot-story-tittle\">{{ galleryVideos.getTitle() }}</div>
</div>
{% endif %}
{% for media in offer.getShopMedias() %}
<div class=\"screenshot\">
<a data-fancybox=\"gallery1\" href=\"{{ getImageURL(media, 0, 0) }}\"
title=\"{{ media.getDescription() }}\">
<img src=\"{{ getImageURL(media, 300, 0) }}\" width=\"158\"
alt=\"{{ media.getDescription() }}\" border=\"0\"/>
</a>
</div>
{% endfor %}
</div>
{% endif %}
</div>
<div id=\"examplesOfWorksBlock\" class=\"examples-block-mobile\">
<div class=\"headerBlockCategory examples d-none bg-white px-0 pb-0 examples-block-mobile-header\">
<div class=\"offer-titles m-0\"><h5>Фото
работ{# <div class=\"example-of-works-count-container\"><span>1234</span></div> #}</h5></div>
<div class=\"examples-works-tooltip-filter\">
<div class=\"tooltip-content\">
<div class=\"tooltip-title border-bottom-f d-flex\">Показать сначала:</div>
{% for key,sortItem in constant('Slivki\\\\Paginator\\\\WorkExample\\\\WorkExamplePaginatorInterface::SORT') %}
<div class=\"radio\">
<input id=\"filter{{ key }}\" type=\"radio\" name=\"filter\"
data-direction=\"{{ sortItem.direction }}\"
value=\"{{ sortItem.field }}\" {{ loop.first ? 'checked' }}>
<label for=\"filter{{ key }}\" class=\"cursor-pointer\">{{ sortItem.name }}</label>
</div>
{% endfor %}
<div class=\"tooltip-title border-top-f d-flex\">Диапазон цены:</div>
<div id=\"workExamplePriceRangeInputs\" class=\"price-range-inputs d-flex\">
<div class=\"price-range-input\"><input type=\"number\" placeholder=\"Цена от\" id=\"priceFrom\"
name=\"priceFrom\" min=\"0\" max=\"199\" step=\"1\"></div>
<div class=\"price-range-input\"><input type=\"number\" placeholder=\"Цена до\" id=\"priceTo\"
name=\"priceTo\" min=\"0\" max=\"200\" step=\"1\"></div>
</div>
<div id=\"workExampleRangeSlider\" class=\"range-slider\">
<div class=\"range-labels\">
<span id=\"workSimplesRangeLableStart\" class=\"range-label range-label-start\"></span>
<span>-</span>
<span id=\"workSimplesRangeLableEnd\" class=\"range-label range-label-end\"></span>
</div>
<input class=\"work-simples-input\" type=\"range\" min=\"\" value=\"0\" max=\"\" name=\"\"
id=\"startRange\">
<input class=\"work-simples-input\" type=\"range\" min=\"\" value=\"\" max=\"\" name=\"\"
id=\"finishRange\">
<div class=\"track-wrapper\">
<div class=\"track\"></div>
<div id=\"workSimplesSliderBetween\" class=\"range-between\"></div>
<div id=\"workSimplesTumbLeft\" class=\"thumb left\"></div>
<div id=\"workSimplesTumbRight\" class=\"thumb right\"></div>
</div>
</div>
<div id=\"buttonFilterBoxExamplesWork\" class=\"buttonFilterBox\">Показать</div>
</div>
<div id=\"buttonFilterBoxExamplesWork\" class=\"d-flex cursor-pointer\">Сортировка<img width=\"25\" class=\"pl-2\" src=\"/images/sort_image.svg\"/></div>
</div>
</div>
{% include 'Slivki/works-examples/examples_of_works_gallery.html.twig' %}
</div>
<div id=\"beautyMastersBlock\" class=\"beauty-masters-container beauty-masters-offer mob\">
<div id=\"beautyMastersHeader\"
class=\"tittleBlockCategory position-relative offer-titles mb-2 mt-0 d-none\">
<h5> {{ parentCategoryList and parentCategoryList[0].getID() == constant('Slivki\\\\Entity\\\\Category::MEDICAL_CENTER_CATEGORY_ID') ? 'Врачи' : 'Найти своего мастера' }}</h5>
</div>
{% include 'Slivki/beauty/beauty_masters.html.twig' %}
</div>
<div id=\"offersDescription\" class=\"offers-conditions mt-2 js-parallax-banner-after\"
style=\"padding-bottom: 22px;\">
{% if offer.isShowProductsInOfferDescription() %}
<div id=\"foodItemsBlock\" class=\"my-3\">
<div class=\"offer-titles mt-2\"><h5>Описание</h5></div>
{% if isPickupEnabled and isDeliveryEnabled %}
<div id=\"fixedFiltersOffer\" class=\"w-auto px-2 d-flex\"
style=\"position: relative;background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5;border-radius: 8px;padding: 10px 0;\">
<div class=\"w-100 switch-delivery-pickup-block px-0 \">
<a data-type-delivery=\"1\"
class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
<p class=\"m-0\">Доставка</p>
<small>удобно👌</small>
</a>
<a data-type-delivery=\"2\"
class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
<p class=\"m-0\"> Самовывоз</p>
<small>еще дешевле🔥</small>
</a>
</div>
</div>
{% endif %}
<div id=\"foodBlock\"></div>
<div id=\"foodOptionsBlock\"></div>
</div>
{% endif %}
<div class=\"description\" id=\"descriptionText\">
{% for offerDescription in offer.getDescriptionList() %}
{% set offerDescriptionSliderImages = offerDescription.getEntityDescriptionSliderImages() %}
{% if offerDescriptionSliderImages|length > 0 %}
<div class=\"sale-description-carousel\">
<div id=\"saleDescriptionSliderFor{{ offerDescription.getID() }}\"
class=\"sale-description-slider-for\">
{% for offerDescriptionSliderImage in offerDescriptionSliderImages %}
<div><img data-lazy=\"{{ offerDescriptionSliderImage.getImageUrl() }}\"/>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{{ addLazyAndLightboxImagesInDescription(offerDescription.getDescription())|raw }}
{% endfor %}
</div>
</div>
<div id=\"offerAddressTab\" class=\"mx-1 mt-5\">
<div class=\"offer-titles\"><h5 class=\"mb-2\">Контакты</h5></div>
<div class=\"mb-4 logo-title\">
{{ offer.getLogo()|raw }}
</div>
<div class=\"p-m-0\">
{% if geoLocations.count() > 0 %}
{% if geoLocations|length > 0 %}
<div class=\"geo-location-block\">
{% include 'Slivki/offers/geo_location_data.html.twig' with {'offer': offer} only %}
<div class=\"distance d-none\" style=\"display: block\">
<i class=\"slivki-icon slivki-icon-direction\"></i> <img class='ajaxLoader'
src='/images/ajax-loader-16x16.gif'
alt='Загрузка...'/><span></span>
</div>
<div id=\"offerGeoLocationData\" data-json=\"{{ offerGeoLocationData }}\"></div>
<div id=\"offerMapWrapper\" class=\"category-map-wrapper my-3\">
<div id=\"offerMap\" class=\"category-map\"></div>
<a id=\"setUserLocationBtn\" href=\"#\">Указать местоположение</a>
<div id=\"zoomIn\"></div>
<div id=\"zoomOut\"></div>
<a id=\"mapEnterFullscreen\" href=\"#\" class=\"fullscreen-map-button\">Развернуть</a>
<a id=\"mapExitFullscreen\" href=\"#\" class=\"fullscreen-map-button\">Свернуть</a>
</div>
</div>
{% endif %}
{% endif %}
{% for geoLocation in geoLocations %}
<div class=\"mb-3 my-3\">
<div class=\"sf-bold-font\">{{ geoLocation.getCity() }}, {{ geoLocation.getStreet() }}
, {{ geoLocation.getHouse() }} {{ geoLocation.getLabel() }}</div>
{% set phoneNumbers = geoLocation.getPhoneNumbers() %}
{% if phoneNumbers|length > 0 %}
{% endif %}
{% for phoneNumber in phoneNumbers %}
{% include 'Slivki/mobile/offer/phone_number_btn.html.twig' with {'phoneNumber': phoneNumber, 'geoLocation': geoLocation} only %}
{% endfor %}
{% if geoLocation is defined and geoLocation.getCallbackChatId() and geoLocation.getCallbackChatId() != '' %}
<div class=\"callback-button\" data-id=\"{{ geoLocation.getId() }}\">Обратный звонок</div>
{% endif %}
{% if geoLocation.getWorkingHours()|trim != '' %}
<div>Время работы:</div> {{ geoLocation.getWorkingHours()|raw }}
{% endif %}
</div>
{% endfor %}
{% if phoneNumbersWithoutGeoLocations|length > 0 %}
{% if geoLocations|length > 0 %}
<br>
{% endif %}
<div id=\"phoneOffers\" class=\"mb-2\">
<div class=\"mb-2\">
<strong>Телефон{{ phoneNumbersWithoutGeoLocations|length > 1 ? 'ы' }}:</strong>
</div>
{% for phoneNumber in phoneNumbersWithoutGeoLocations %}
{% include 'Slivki/mobile/offer/phone_number_btn.html.twig' with {'phoneNumber': phoneNumber} only %}
{% endfor %}
</div>
</div>
{% endif %}
{% set commonWoringHours = offer.getCommonWorkingHours() %}
{% if commonWoringHours != '' %}
<br>
<div><strong>Время работы:</strong></div>
{{ commonWoringHours|raw }}
<br><br>
{% endif %}
{{ offer.getLegal()|raw }}
<div class=\"offer-titles offer-titles-mobile mt-0 mb-0\"><h5 class=\"mt-0 mb-0\">Написать</h5></div>
<div class=\"col px-0\">
<a class=\"tg-button offer-phone-mob btn btn-block bg-slivki text-white py-1 no-decoration my-2 d-flex justify-content-center align-items-center\"
href=\"https://t.me/{{ offer.getTelegram() != null ? offer.getTelegram() : 'slivkislivkiby' }}\"
style=\"width: 200px\">
<img class=\"mr-2\" src=\"/images/tg.svg\" width=\"20\" height=\"18\">
<span class=\"float-right\">Telegram</span>
</a>
{% set viberNumber = offer.getViber() != null ? offer.getViber() : '+375295084444' %}
<a class=\"vb-button offer-phone-mob btn btn-block bg-slivki text-white py-1 no-decoration my-2 d-flex justify-content-center align-items-center\"
href='viber://chat?number=\" {{ viberNumber }} \"'
style=\"width: 200px\">
<img class=\"mr-2\" src=\"/images/vb.svg\" width=\"20\" height=\"18\">
<span class=\"float-right\">Viber</span>
</a>
</div>
</div>
{% include 'Slivki/offers/share.html.twig' %}
</div>
<div id=\"offerCommentTab\" class=\"pt-2 px-0\">
<div>
{{ comments|raw }}
</div>
</div>
</div>
</div>
{% if preview %}
<input type=\"hidden\" id=\"offerPreview\" value=\"1\">
{% else %}
<input type=\"hidden\" id=\"offerPreview\" value=\"0\">
{% endif %}
</div>
{% if showGlobalcard %}
{% include 'Slivki/mobile/offer/globalcard.html.twig' %}
{% elseif showGlobalcardFitness %}
{% include 'Slivki/mobile/offer/globalcard_fitness.html.twig' %}
{% endif %}
{% endblock %}
{% block popup %}
{% include 'Slivki/popups/header_offers.html.twig' %}
{% include 'Slivki/popups/mail_offers.html.twig' %}
{% include 'Slivki/popups/callback.html.twig' %}
{% include \"Slivki#{regional_template_path}/jivosite/modal_mobile.html.twig\" %}
{% if galleryVideos.getVideos() is defined and galleryVideos.getVideos()|length > 0 %}
{% include 'Slivki/popups/details-story-popup.html.twig' %}
{% endif %}
{% include 'Slivki/orderAsGift/foodForGift.html.twig' with {'deliveryLink': deliveryLink} %}
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::PAYMENT_PAYME')) %}
{% include 'Slivki/uz/mobile/buy_promo.twig' %}
{% endif %}
{% if app.user %}
{% include 'Slivki/popups/rating_edit_popup.html.twig' %}
{% include 'Slivki/mobile/popup/popup_subscription_limited.html.twig' %}
{% include 'Slivki/mobile/subscription/buy_promo_popup.html.twig' %}
{% include 'Slivki/mobile/popup/confirm_subscription_card_popup.html.twig' with {'creditCards': app.user.getActiveCreditCards()} %}
{% include 'Slivki/mobile/popup/buy_codes_avways_app.html.twig' %}
{% include 'Slivki/popups/add_favourite_popup.html.twig' %}
{% include 'Slivki/popups/delete_favourite_popup.html.twig' %}
{% include 'Slivki/popups/delete_comment_popup.html.twig' with {id: 'deleteCommentConfirmPopup'} %}
{% else %}
{% include 'Slivki/popups/comment_only_registered_popup.html.twig' with {'id': 'onlyRegistered'} %}
{% endif %}
{% include 'Slivki/popups/comment_media_block_popup.html.twig' %}
{% include 'Slivki/mobile/popup/add_comment_popup.html.twig' %}
{% include 'Slivki/popups/edit_comment_popup.html.twig' with {'id': 'editVoteBox'} %}
{% include 'Slivki/popups/comment_censor_message.html.twig' with {'id': 'commentCensorMessage'} %}
{% include 'Slivki/mobile/share_block.html.twig' %}
{% include 'Slivki/mobile/popup/statistics_popup.html.twig' %}
{% include 'Slivki/mobile/delivery/modal/details.html.twig' with {'isOfferPage': true} %}
{% if items|length > 0 %}
{% include 'Slivki/mobile/offer/extension/item/items_popup.html.twig' %}
{% endif %}
{% if offer.getID() == constant('Slivki\\\\Entity\\\\Offer::BOOKING_OFFER_ID') %}
{% include 'Slivki/mobile/offer/booking_popup.html.twig' %}
{% endif %}
{{ parent() }}
{% if offer.isGiftCertificateOffer() %}
{% include 'Slivki/popups/step_buy_certificate.twig' with {'deliveryLink': deliveryLink} %}
{% endif %}
{% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
{% include 'Slivki/mobile/popup/contact_popup.html.twig' %}
{% endblock %}
{% block brandingBanner %}
{% if not (app.user and app.user.hasRole(constant('\\\\Slivki\\\\Entity\\\\UserGroup::ROLE_ADS_FREE'))) %}
{% set brandingBanner = getBrandingBanner(app.user, brandingBannerCategoryIDs is defined ? brandingBannerCategoryIDs : [], offer is defined ? offer.getID()) %}
{% if brandingBanner and brandingBanner.getMobileDivider() %}
<input type=\"hidden\" id=\"brandingBannerImage\" value=\"{{ brandingBanner.getMobileDivider() }}\"
data-oid=\"{{ brandingBanner.getID() }}\" data-id=\"{{ brandingBanner.getBannerID() }}\"
data-branding=\"{{ brandingBanner.getBannerID() }}\" data-url=\"{{ brandingBanner.getUrl()|trim }}\"
data-right-side-url=\"{{ brandingBanner.getRightSideUrl()|trim }}\">
{% endif %}
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src=\"/js/jquery.jcarousel.min.js?v=1\"></script>
<script src=\"/js/story-slider/story-slider-js.js?v={{ story_slider_js_version }}\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js\"
integrity=\"sha512-jNDtFf7qgU0eH/+Z42FG4fw3w7DM/9zbgNPe3wfJlCylVDTT3IgKW5r92Vy9IHa6U50vyMz5gRByIu4YIXFtaQ==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script type=\"text/javascript\">
\$(function () {
\$('#floatingBanner').addClass('offer-details-floating-banner');
});
</script>
<!-- Moment -->
<script src=\"/admin/plugins/moment/moment-with-locales.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js\"></script>
<script src=\"/js/swiper-js/swiper.min.js\"></script>
<script src=\"/js/offer-new.js?v={{ offer_new_js_version }}\"/>
<script src=\"https://api-maps.yandex.ru/2.1/?lang=ru_RU\" type=\"text/javascript\"></script>
<script src=\"https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js\"></script>
<script src=\"https://yastatic.net/share2/share.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.countdown/2.2.0/jquery.countdown.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/fecha/2.3.3/fecha.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js\"></script>
<!-- date-time-picker -->
<script src=\"/admin/plugins/datetimepicker/js/bootstrap-datetimepicker.min.js\"></script>
<!-- colorpicker -->
<script src=\"/admin/plugins/colorpicker/bootstrap-colorpicker.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"/mobile/js/offer.min.js?v={{ offer_js_version }}\"></script>
<script type=\"text/javascript\" src=\"/js/statistics_offer/statistics_offer.js?v={{ statistics_offer_js_version }}\"
charset=\"utf-8\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/easy-pie-chart/2.1.6/jquery.easypiechart.min.js\"
integrity=\"sha512-DHNepbIus9t4e6YoMBSJLwl+nnm0tIwMBonsQQ+W9NKN6gVVVbomJs9Ii3mQ+HzGZiU5FyJLdnAz9a63ZgZvTQ==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/easy-pie-chart/2.1.6/easypiechart.min.js\"
integrity=\"sha512-1yldf7W5suy0ko2u4OGU1qyeGrzh9+A3uyWGH4ws8MbndaWxZsgnzy6uqqBq7NUU/ImI1Js5kqDbunovCN1JqA==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
<script src=\"/js/ajaxupload.3.5.js?v=1\"></script>
<script src=\"/js/mobile-rating.js?v=2\"></script>
<script>
uploadPhoto('/comment/image_upload', '/comment/image_remove');
initImageRemove();
</script>
<script type=\"text/javascript\">
{% if app.request.query.has('checkOrder') %}
initCheckOfferOrderStatus({{ app.request.get('checkOrder') }});
{% endif %}
</script>
<script src=\"/js/offer/offerDescriptionItems.js?v={{ offer_description_items_js_version }}\"></script>
<script type=\"module\" src=\"/js/work_examples/work_examples.js?v={{ work_examples_js_version }}\"></script>
<script type=\"module\" src=\"/js/beauty/masters.js?v={{ beauty_masters_js_version }}\"></script>
{% endblock %}
{% block RTBHouse %}
<script>
try {
(function () {
var prefix = \"\", hash = \"TS5TS2S9bdSbgKBA4Q2H\", rtbhTags = [];
rtbhTags.push(\"pr_\" + hash + \"_offer_\" + document.getElementById('offerID').value);
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 %}", "Slivki/mobile/offer/details.html.twig", "/mnt/data/virtwww/test/templates/Slivki/mobile/offer/details.html.twig");
}
}