<?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;
/* @ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig */
class __TwigTemplate_1a64222d83921b0425713e5b564bfe77 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig"));
// line 1
$context["hasRatingWidget"] = $this->env->getFunction('demi_ratingGetHasRatingWidgetTrustYou')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 1, $this->source); })()));
// line 2
$context["extension"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 2, $this->source); })()), "getDemiExtension", [], "method", false, false, false, 2), "getDemiEnrichAcco", [], "method", false, false, false, 2);
// line 3
$context["hasBookingLink"] = false;
// line 4
if ((((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 4, $this->source); })()) && $this->env->getTest('instanceof')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 4, $this->source); })()), "getDemiEnrichAccoObject", [], "method", false, false, false, 4), "\\Pimcore\\Model\\DataObject\\DemiEnrichAcco")) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 4, $this->source); })()), "getDemiEnrichAccoObject", [], "method", false, false, false, 4), "getBookingUrl", [], "method", false, false, false, 4))) {
// line 5
echo " ";
$context["hasBookingLink"] = true;
// line 6
echo " ";
$context["bookingLink"] = $this->env->getFunction('demi_findNiceUrl')->getCallable()(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 6, $this->source); })()), "getDemiEnrichAccoObject", [], "method", false, false, false, 6), "getBookingUrl", [], "method", false, false, false, 6));
}
// line 8
echo "
<section class=\"container\">
";
// line 10
if ( !twig_test_empty((isset($context["impressionLinks"]) || array_key_exists("impressionLinks", $context) ? $context["impressionLinks"] : (function () { throw new RuntimeError('Variable "impressionLinks" does not exist.', 10, $this->source); })()))) {
// line 11
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/impressions.mobile.html.twig", ["package" => // line 12
(isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 12, $this->source); })()), "impressionLinks" => // line 13
(isset($context["impressionLinks"]) || array_key_exists("impressionLinks", $context) ? $context["impressionLinks"] : (function () { throw new RuntimeError('Variable "impressionLinks" does not exist.', 13, $this->source); })()), "photoCount" => // line 14
(isset($context["photoCount"]) || array_key_exists("photoCount", $context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.', 14, $this->source); })()), "trackingLabel" => twig_get_attribute($this->env, $this->source, // line 15
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 15, $this->source); })()), "getId", [], "method", false, false, false, 15)]);
// line 16
echo "
";
}
// line 18
echo "
<section class=\"mt-4\" data-track-content
data-content-name=\"";
// line 21
echo (((array_key_exists("package", $context) && !(null === (isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 21, $this->source); })())))) ? ("package-") : (""));
echo "accommodation-description\">
<h2 class=\"h3 mb-2\">";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.headline.acco-details"), "html", null, true);
echo "</h2>
<div class=\"card box-shadow js-expandable expandable-block\">
<script data-cookieconsent=\"ignore\">
_config.expandable = true;
</script>
<div class=\"expandable-block__content-wrapper js-expandable__content-wrapper\">
<div class=\"card-body js-expandable__content expandable-block__content\">
<div class=\"wysiwyg\">
";
// line 30
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/acco-current-information.html.twig", ["accommodation" => (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 30, $this->source); })())]);
echo "
";
// line 31
echo twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 31, $this->source); })()), "getDescription", [0 => null, 1 => 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.', 31, $this->source); })()), "request", [], "any", false, false, false, 31), "locale", [], "any", false, false, false, 31), 2 => (isset($context["fromDate"]) || array_key_exists("fromDate", $context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.', 31, $this->source); })())], "method", false, false, false, 31);
echo "
</div>
";
// line 34
$context["marketingLogos"] = [];
// line 35
echo " ";
$context["noLogoMarketingGroups"] = [];
// line 36
echo " ";
if ( !twig_test_empty((isset($context["sortedMarketingGroups"]) || array_key_exists("sortedMarketingGroups", $context) ? $context["sortedMarketingGroups"] : (function () { throw new RuntimeError('Variable "sortedMarketingGroups" does not exist.', 36, $this->source); })()))) {
// line 37
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["sortedMarketingGroups"]) || array_key_exists("sortedMarketingGroups", $context) ? $context["sortedMarketingGroups"] : (function () { throw new RuntimeError('Variable "sortedMarketingGroups" does not exist.', 37, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["marketingGroup"]) {
// line 38
echo " ";
$context["marketingGroupId"] = twig_get_attribute($this->env, $this->source, $context["marketingGroup"], "getId", [], "method", false, false, false, 38);
// line 39
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["marketingGroup"], "getName", [0 => 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.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "locale", [], "any", false, false, false, 39)], "method", false, false, false, 39))) {
// line 40
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["marketingGroup"], "demiGetIcon", [], "method", false, false, false, 40))) {
// line 41
echo " ";
$context["marketingLogos"] = twig_array_merge((isset($context["marketingLogos"]) || array_key_exists("marketingLogos", $context) ? $context["marketingLogos"] : (function () { throw new RuntimeError('Variable "marketingLogos" does not exist.', 41, $this->source); })()), ["marketingGroupId" => ["name" => twig_get_attribute($this->env, $this->source, // line 42
$context["marketingGroup"], "getName", [0 => 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.', 42, $this->source); })()), "request", [], "any", false, false, false, 42), "locale", [], "any", false, false, false, 42)], "method", false, false, false, 42), "icon" => twig_get_attribute($this->env, $this->source, // line 43
$context["marketingGroup"], "demiGetIcon", [], "method", false, false, false, 43), "text" => twig_get_attribute($this->env, $this->source, // line 44
$context["marketingGroup"], "getTooltip", [], "method", false, false, false, 44)]]);
// line 46
echo " ";
} else {
// line 47
echo " ";
if (!twig_in_filter(twig_get_attribute($this->env, $this->source, $context["marketingGroup"], "getId", [], "method", false, false, false, 47), twig_get_array_keys_filter((isset($context["marketingLogos"]) || array_key_exists("marketingLogos", $context) ? $context["marketingLogos"] : (function () { throw new RuntimeError('Variable "marketingLogos" does not exist.', 47, $this->source); })())))) {
// line 48
echo " ";
$context["noLogoMarketingGroups"] = twig_array_merge((isset($context["noLogoMarketingGroups"]) || array_key_exists("noLogoMarketingGroups", $context) ? $context["noLogoMarketingGroups"] : (function () { throw new RuntimeError('Variable "noLogoMarketingGroups" does not exist.', 48, $this->source); })()), [0 => $context["marketingGroup"]]);
// line 49
echo " ";
}
// line 50
echo " ";
}
// line 51
echo " ";
}
// line 52
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['marketingGroup'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo "
";
// line 54
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/marketinggroups.mobile.html.twig", ["noLogoMarketingGroups" => // line 55
(isset($context["noLogoMarketingGroups"]) || array_key_exists("noLogoMarketingGroups", $context) ? $context["noLogoMarketingGroups"] : (function () { throw new RuntimeError('Variable "noLogoMarketingGroups" does not exist.', 55, $this->source); })()), "marketingLogos" => // line 56
(isset($context["marketingLogos"]) || array_key_exists("marketingLogos", $context) ? $context["marketingLogos"] : (function () { throw new RuntimeError('Variable "marketingLogos" does not exist.', 56, $this->source); })())]);
// line 57
echo "
";
}
// line 60
echo "
";
// line 61
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/classifications.html.twig", []);
echo "
</div>
</div>
";
// line 64
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Includes/elements/read-more.mobile.html.twig");
echo "
</div>
</section>
";
// line 68
if ( !twig_test_empty((isset($context["sortedHealthMeasures"]) || array_key_exists("sortedHealthMeasures", $context) ? $context["sortedHealthMeasures"] : (function () { throw new RuntimeError('Variable "sortedHealthMeasures" does not exist.', 68, $this->source); })()))) {
// line 69
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/health-and-security.mobile.html.twig", ["package" => // line 70
(isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 70, $this->source); })()), "sortedFacilities" => // line 71
(isset($context["sortedHealthMeasures"]) || array_key_exists("sortedHealthMeasures", $context) ? $context["sortedHealthMeasures"] : (function () { throw new RuntimeError('Variable "sortedHealthMeasures" does not exist.', 71, $this->source); })()), "headlineKey" => "demi.detail.headline.health-facilities"]);
// line 73
echo "
";
}
// line 75
echo "
";
// line 76
$context["hostInfo"] = $this->env->getFunction('demi_getHostInformation')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 76, $this->source); })()));
// line 77
echo " ";
$context["hostImages"] = twig_get_attribute($this->env, $this->source, (isset($context["hostInfo"]) || array_key_exists("hostInfo", $context) ? $context["hostInfo"] : (function () { throw new RuntimeError('Variable "hostInfo" does not exist.', 77, $this->source); })()), "hostImages", [], "array", false, false, false, 77);
// line 78
echo " ";
$context["hostDescriptions"] = twig_get_attribute($this->env, $this->source, (isset($context["hostInfo"]) || array_key_exists("hostInfo", $context) ? $context["hostInfo"] : (function () { throw new RuntimeError('Variable "hostInfo" does not exist.', 78, $this->source); })()), "hostDescriptions", [], "array", false, false, false, 78);
// line 79
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/hostdescriptions.mobile.html.twig", ["package" => // line 80
(isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 80, $this->source); })()), "hostImages" => // line 81
(isset($context["hostImages"]) || array_key_exists("hostImages", $context) ? $context["hostImages"] : (function () { throw new RuntimeError('Variable "hostImages" does not exist.', 81, $this->source); })()), "hostDescriptions" => // line 82
(isset($context["hostDescriptions"]) || array_key_exists("hostDescriptions", $context) ? $context["hostDescriptions"] : (function () { throw new RuntimeError('Variable "hostDescriptions" does not exist.', 82, $this->source); })())]);
// line 83
echo "
";
// line 85
$context["links"] = twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 85, $this->source); })()), "getLinks", [0 => [0 => twig_constant("Elements\\Demi\\Deskline\\Constant\\LinkTypeInterface::DESKLINE_LINK_URL"), 1 => twig_constant("Elements\\Demi\\Deskline\\Constant\\LinkTypeInterface::DESKLINE_LINK_NOTDEFINED")]], "method", false, false, false, 85);
// line 88
echo "
";
// line 89
$context["lt"] = twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 89, $this->source); })()), "getDescription", [0 => twig_constant("\\Elements\\Demi\\Deskline\\Constant\\DescriptionInterface::DESCRIPTION_SERVICE_PROVIDER_CONDITIONS"), 1 => 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.', 89, $this->source); })()), "request", [], "any", false, false, false, 89), "locale", [], "any", false, false, false, 89), 2 => (isset($context["fromDate"]) || array_key_exists("fromDate", $context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.', 89, $this->source); })())], "method", false, false, false, 89);
// line 90
echo " ";
if (twig_test_empty((isset($context["lt"]) || array_key_exists("lt", $context) ? $context["lt"] : (function () { throw new RuntimeError('Variable "lt" does not exist.', 90, $this->source); })()))) {
// line 91
echo " ";
$context["lt"] = twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 91, $this->source); })()), "getDescription", [0 => twig_constant("\\Elements\\Demi\\Deskline\\Constant\\DescriptionInterface::DESCRIPTION_SERVICE_PROVIDER_CONDITIONS"), 1 => "en", 2 => (isset($context["fromDate"]) || array_key_exists("fromDate", $context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.', 91, $this->source); })())], "method", false, false, false, 91);
// line 92
echo " ";
}
// line 93
echo "
";
// line 94
if ((( !twig_test_empty((isset($context["sortedFacilities"]) || array_key_exists("sortedFacilities", $context) ? $context["sortedFacilities"] : (function () { throw new RuntimeError('Variable "sortedFacilities" does not exist.', 94, $this->source); })())) || !twig_test_empty((isset($context["links"]) || array_key_exists("links", $context) ? $context["links"] : (function () { throw new RuntimeError('Variable "links" does not exist.', 94, $this->source); })()))) || !twig_test_empty((isset($context["lt"]) || array_key_exists("lt", $context) ? $context["lt"] : (function () { throw new RuntimeError('Variable "lt" does not exist.', 94, $this->source); })())))) {
// line 95
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/facilities.mobile.html.twig", ["package" => // line 96
(isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 96, $this->source); })()), "sortedFacilities" => // line 97
(isset($context["sortedFacilities"]) || array_key_exists("sortedFacilities", $context) ? $context["sortedFacilities"] : (function () { throw new RuntimeError('Variable "sortedFacilities" does not exist.', 97, $this->source); })()), "links" => // line 98
(isset($context["links"]) || array_key_exists("links", $context) ? $context["links"] : (function () { throw new RuntimeError('Variable "links" does not exist.', 98, $this->source); })()), "lt" => // line 99
(isset($context["lt"]) || array_key_exists("lt", $context) ? $context["lt"] : (function () { throw new RuntimeError('Variable "lt" does not exist.', 99, $this->source); })())]);
// line 100
echo "
";
}
// line 102
echo "
";
// line 103
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 103, $this->source); })()), "getDemiExtension", [], "method", false, false, false, 103))) {
// line 104
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/demiExtensions.mobile.html.twig", ["extensions" => twig_get_attribute($this->env, $this->source, // line 105
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 105, $this->source); })()), "getDemiExtension", [], "method", false, false, false, 105), "package" => // line 106
(isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 106, $this->source); })())]);
// line 107
echo "
";
}
// line 109
echo "
";
// line 110
$context["lat"] = "";
// line 111
echo " ";
$context["lng"] = "";
// line 112
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 112, $this->source); })()), "getPosition", [], "method", false, false, false, 112)) && !twig_test_empty((isset($context["address"]) || array_key_exists("address", $context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.', 112, $this->source); })())))) {
// line 113
echo " ";
$context["pos"] = twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 113, $this->source); })()), "getPosition", [], "method", false, false, false, 113);
// line 114
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["pos"]) || array_key_exists("pos", $context) ? $context["pos"] : (function () { throw new RuntimeError('Variable "pos" does not exist.', 114, $this->source); })()), "getLatitude", [], "method", false, false, false, 114)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["pos"]) || array_key_exists("pos", $context) ? $context["pos"] : (function () { throw new RuntimeError('Variable "pos" does not exist.', 114, $this->source); })()), "getLongitude", [], "method", false, false, false, 114)))) {
// line 115
echo " ";
$context["lat"] = twig_get_attribute($this->env, $this->source, (isset($context["pos"]) || array_key_exists("pos", $context) ? $context["pos"] : (function () { throw new RuntimeError('Variable "pos" does not exist.', 115, $this->source); })()), "getLatitude", [], "any", false, false, false, 115);
// line 116
echo " ";
$context["lng"] = twig_get_attribute($this->env, $this->source, (isset($context["pos"]) || array_key_exists("pos", $context) ? $context["pos"] : (function () { throw new RuntimeError('Variable "pos" does not exist.', 116, $this->source); })()), "getLongitude", [], "method", false, false, false, 116);
// line 117
echo " ";
}
// line 118
echo " ";
$context["googleMapLink"] = $this->env->getFunction('demi_getGoogleMapsUrl')->getCallable()((twig_get_attribute($this->env, $this->source, // line 119
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 119, $this->source); })()), "getName", [], "method", false, false, false, 119) . $this->env->getFunction('demi_getStars')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 119, $this->source); })()), true)), // line 120
(isset($context["address"]) || array_key_exists("address", $context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.', 120, $this->source); })()), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 121
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "locale", [], "any", false, false, false, 121), // line 122
(isset($context["lat"]) || array_key_exists("lat", $context) ? $context["lat"] : (function () { throw new RuntimeError('Variable "lat" does not exist.', 122, $this->source); })()), // line 123
(isset($context["lng"]) || array_key_exists("lng", $context) ? $context["lng"] : (function () { throw new RuntimeError('Variable "lng" does not exist.', 123, $this->source); })()), twig_get_attribute($this->env, $this->source, // line 124
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 124, $this->source); })()), "getProperty", [0 => "google_place_id"], "method", false, false, false, 124));
// line 126
echo " ";
}
// line 127
echo "
";
// line 128
if (( !twig_test_empty((isset($context["address"]) || array_key_exists("address", $context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.', 128, $this->source); })())) || !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 128, $this->source); })()), "getServiceProviderArrivalVoucher", [], "method", false, false, false, 128)))) {
// line 129
echo "
<section class=\"mt-4 accommodation-contact\" data-track-content
data-content-name=\"";
// line 131
echo (((isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 131, $this->source); })())) ? ("package-") : ("accommodation-"));
echo "contact\">
<h2 class=\"h3 mb-2\">";
// line 132
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.headline.contact-and-getting-there"), "html", null, true);
echo "</h2>
<div class=\"card box-shadow\">
<div class=\"card-body\">
";
// line 135
if ( !twig_test_empty((isset($context["address"]) || array_key_exists("address", $context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.', 135, $this->source); })()))) {
// line 136
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/contactaddress.mobile.html.twig", ["headlineText" => $this->env->getFunction('demi_getAccoNameWithStars')->getCallable()( // line 137
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 137, $this->source); })())), "address" => // line 138
(isset($context["address"]) || array_key_exists("address", $context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.', 138, $this->source); })()), "googleMapLink" => (( // line 139
array_key_exists("googleMapLink", $context)) ? ((isset($context["googleMapLink"]) || array_key_exists("googleMapLink", $context) ? $context["googleMapLink"] : (function () { throw new RuntimeError('Variable "googleMapLink" does not exist.', 139, $this->source); })())) : (null)), "trackingLabel" => twig_get_attribute($this->env, $this->source, // line 140
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 140, $this->source); })()), "getName", [], "method", false, false, false, 140), "lat" => // line 141
(isset($context["lat"]) || array_key_exists("lat", $context) ? $context["lat"] : (function () { throw new RuntimeError('Variable "lat" does not exist.', 141, $this->source); })()), "lng" => // line 142
(isset($context["lng"]) || array_key_exists("lng", $context) ? $context["lng"] : (function () { throw new RuntimeError('Variable "lng" does not exist.', 142, $this->source); })()), "acco" => // line 143
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 143, $this->source); })())]);
// line 144
echo "
";
}
// line 146
echo "
";
// line 147
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 147, $this->source); })()), "getServiceProviderArrivalVoucher", [], "method", false, false, false, 147))) {
// line 148
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/arrivalvoucher.mobile.html.twig", ["accommodation" => // line 149
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 149, $this->source); })())]);
// line 150
echo "
";
}
// line 152
echo " </div>
</div>
</section>
";
}
// line 156
echo "
";
// line 158
if (((twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 158, $this->source); })()), "getRatingSystem", [], "method", false, false, false, 158) == "TrustYou") && ((isset($context["hasRatingWidget"]) || array_key_exists("hasRatingWidget", $context) ? $context["hasRatingWidget"] : (function () { throw new RuntimeError('Variable "hasRatingWidget" does not exist.', 158, $this->source); })()) == true))) {
// line 159
echo " ";
echo twig_include($this->env, $context, "@ElementsDemiFrontend/Accommodation/includes/detail-templates/rating.mobile.html.twig", ["package" => // line 160
(isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 160, $this->source); })()), "accommodation" => // line 161
(isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 161, $this->source); })())]);
// line 162
echo "
";
}
// line 164
echo "
<div class=\"mt-4\">
";
// line 167
if ((isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 167, $this->source); })())) {
// line 168
echo " ";
$context["id"] = "booking";
// line 169
echo " ";
} else {
// line 170
echo " ";
$context["id"] = "rooms";
// line 171
echo " ";
}
// line 172
echo "
";
// line 173
if (((isset($context["hasBookingLink"]) || array_key_exists("hasBookingLink", $context) ? $context["hasBookingLink"] : (function () { throw new RuntimeError('Variable "hasBookingLink" does not exist.', 173, $this->source); })()) || (twig_get_attribute($this->env, $this->source, (isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 173, $this->source); })()), "getSystemIdentifier", [], "method", false, false, false, 173) === "Deskline"))) {
// line 174
echo " <div class=\"js-search-data__show-if-submitted \" ";
echo (((isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked", $context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.', 174, $this->source); })())) ? ("hidden") : (""));
echo " >
<a href=\"#";
// line 175
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 175, $this->source); })()), "html", null, true);
echo "\"
data-target=\"#";
// line 176
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 176, $this->source); })()), "html", null, true);
echo "\"
aria-controls=\"";
// line 177
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 177, $this->source); })()), "html", null, true);
echo "\"
class=\"btn btn-success btn-block btn-lg js-open-tab-and-scroll js-tracking--click\"
data-tracking-category=\"";
// line 179
echo (((isset($context["package"]) || array_key_exists("package", $context) ? $context["package"] : (function () { throw new RuntimeError('Variable "package" does not exist.', 179, $this->source); })())) ? ("Package detail") : ("Accommodation detail"));
echo "\"
data-tracking-action=\"click booking detail bottom\"
>
<script data-cookieconsent=\"ignore\">
_config.openTabAndSroll = true;
</script>
<span class=\"btn__icon demi-icon demi-icon-cart mr-2\" aria-hidden=\"true\"></span>
";
// line 186
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.booking-button"), "html", null, true);
echo "
</a>
<div class=\"mt-2 text-center text-success small\">
";
// line 190
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.promote-booking-speed"), "html", null, true);
echo "
</div>
</div>
";
// line 193
if ((isset($context["hasBookingLink"]) || array_key_exists("hasBookingLink", $context) ? $context["hasBookingLink"] : (function () { throw new RuntimeError('Variable "hasBookingLink" does not exist.', 193, $this->source); })())) {
// line 194
echo "
<a class=\"btn btn-success btn-block btn-lg my-3\"
href=\"";
// line 197
echo twig_escape_filter($this->env, (isset($context["bookingLink"]) || array_key_exists("bookingLink", $context) ? $context["bookingLink"] : (function () { throw new RuntimeError('Variable "bookingLink" does not exist.', 197, $this->source); })()), "html", null, true);
echo "\" target=\"_blank\">
<span class=\"demi-icon demi-icon-person btn__icon\"></span>
";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.external-booking.cta"), "html", null, true);
echo "
</a>
";
} else {
// line 202
echo " ";
$context["resultSet"] = ((array_key_exists("accommodationResultSet", $context)) ? ((isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet", $context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.', 202, $this->source); })())) : (null));
// line 203
echo " ";
if (($this->env->getFunction('demi_accoBookableOrOfferable')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation", $context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.', 203, $this->source); })()), (isset($context["resultSet"]) || array_key_exists("resultSet", $context) ? $context["resultSet"] : (function () { throw new RuntimeError('Variable "resultSet" does not exist.', 203, $this->source); })()), $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getDisableEnquiry", [])) && !twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 203, $this->source); })()), "property", [0 => "demi_hideVacancySearch"], "method", false, false, false, 203))) {
// line 204
echo " <button type=\"button\"
class=\"btn btn-success btn-block btn-lg js-overlay__toggle my-3 js-open-tab-and-scroll js-search-data__hide-if-submitted\"
data-tab-target=\"#";
// line 206
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 206, $this->source); })()), "html", null, true);
echo "\"
data-target=\"#search-overlay\" ";
// line 207
echo (((isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked", $context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.', 207, $this->source); })())) ? ("hidden") : (""));
echo ">
<span class=\"demi-icon demi-icon-person btn__icon\"></span>
";
// line 209
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.search-vacancies-button"), "html", null, true);
echo "
</button>
";
}
// line 212
echo " ";
}
// line 213
echo " ";
}
// line 214
echo " </div>
</section>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 484 => 214, 481 => 213, 478 => 212, 472 => 209, 467 => 207, 463 => 206, 459 => 204, 456 => 203, 453 => 202, 447 => 199, 442 => 197, 437 => 194, 435 => 193, 429 => 190, 422 => 186, 412 => 179, 407 => 177, 403 => 176, 399 => 175, 394 => 174, 392 => 173, 389 => 172, 386 => 171, 383 => 170, 380 => 169, 377 => 168, 375 => 167, 370 => 164, 366 => 162, 364 => 161, 363 => 160, 361 => 159, 359 => 158, 355 => 156, 349 => 152, 345 => 150, 343 => 149, 341 => 148, 339 => 147, 336 => 146, 332 => 144, 330 => 143, 329 => 142, 328 => 141, 327 => 140, 326 => 139, 325 => 138, 324 => 137, 322 => 136, 320 => 135, 314 => 132, 310 => 131, 306 => 129, 304 => 128, 301 => 127, 298 => 126, 296 => 124, 295 => 123, 294 => 122, 293 => 121, 292 => 120, 291 => 119, 289 => 118, 286 => 117, 283 => 116, 280 => 115, 277 => 114, 274 => 113, 271 => 112, 268 => 111, 266 => 110, 263 => 109, 259 => 107, 257 => 106, 256 => 105, 254 => 104, 252 => 103, 249 => 102, 245 => 100, 243 => 99, 242 => 98, 241 => 97, 240 => 96, 238 => 95, 236 => 94, 233 => 93, 230 => 92, 227 => 91, 224 => 90, 222 => 89, 219 => 88, 217 => 85, 213 => 83, 211 => 82, 210 => 81, 209 => 80, 207 => 79, 204 => 78, 201 => 77, 199 => 76, 196 => 75, 192 => 73, 190 => 71, 189 => 70, 187 => 69, 185 => 68, 178 => 64, 172 => 61, 169 => 60, 164 => 57, 162 => 56, 161 => 55, 160 => 54, 157 => 53, 151 => 52, 148 => 51, 145 => 50, 142 => 49, 139 => 48, 136 => 47, 133 => 46, 131 => 44, 130 => 43, 129 => 42, 127 => 41, 124 => 40, 121 => 39, 118 => 38, 113 => 37, 110 => 36, 107 => 35, 105 => 34, 99 => 31, 95 => 30, 84 => 22, 80 => 21, 75 => 18, 71 => 16, 69 => 15, 68 => 14, 67 => 13, 66 => 12, 64 => 11, 62 => 10, 58 => 8, 54 => 6, 51 => 5, 49 => 4, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set hasRatingWidget = demi_ratingGetHasRatingWidgetTrustYou(accommodation) %}
{% set extension = accommodation.getDemiExtension().getDemiEnrichAcco() %}
{% set hasBookingLink = false %}
{% if extension and extension.getDemiEnrichAccoObject() is instanceof(\"\\\\Pimcore\\\\Model\\\\DataObject\\\\DemiEnrichAcco\") and extension.getDemiEnrichAccoObject().getBookingUrl() %}
{% set hasBookingLink = true %}
{% set bookingLink = demi_findNiceUrl(extension.getDemiEnrichAccoObject().getBookingUrl()) %}
{% endif %}
<section class=\"container\">
{% if impressionLinks is not empty %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/impressions.mobile.html.twig\", {
\"package\": package,
'impressionLinks': impressionLinks,
\"photoCount\": photoCount,
\"trackingLabel\": accommodation.getId()
}) }}
{% endif %}
<section class=\"mt-4\" data-track-content
data-content-name=\"{{ package is defined and package is not null ? 'package-' : '' }}accommodation-description\">
<h2 class=\"h3 mb-2\">{{ 'demi.detail.headline.acco-details'|trans }}</h2>
<div class=\"card box-shadow js-expandable expandable-block\">
<script data-cookieconsent=\"ignore\">
_config.expandable = true;
</script>
<div class=\"expandable-block__content-wrapper js-expandable__content-wrapper\">
<div class=\"card-body js-expandable__content expandable-block__content\">
<div class=\"wysiwyg\">
{{ include('@ElementsDemiFrontend/Accommodation/includes/detail-templates/acco-current-information.html.twig', {'accommodation': accommodation}) }}
{{ accommodation.getDescription(null, app.request.locale, fromDate)|raw }}
</div>
{% set marketingLogos = [] %}
{% set noLogoMarketingGroups = [] %}
{% if sortedMarketingGroups is not empty %}
{% for marketingGroup in sortedMarketingGroups %}
{% set marketingGroupId = marketingGroup.getId() %}
{% if marketingGroup.getName(app.request.locale) is not empty %}
{% if marketingGroup.demiGetIcon() is not empty %}
{% set marketingLogos = marketingLogos | merge({marketingGroupId: {
'name': marketingGroup.getName(app.request.locale),
'icon': marketingGroup.demiGetIcon(),
'text': marketingGroup.getTooltip()
}}) %}
{% else %}
{% if marketingGroup.getId() not in (marketingLogos|keys) %}
{% set noLogoMarketingGroups = noLogoMarketingGroups | merge([marketingGroup]) %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/marketinggroups.mobile.html.twig\",{
\"noLogoMarketingGroups\": noLogoMarketingGroups,
\"marketingLogos\": marketingLogos
}) }}
{% endif %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/classifications.html.twig\", []) }}
</div>
</div>
{{ include('@ElementsDemiFrontend/Includes/elements/read-more.mobile.html.twig') }}
</div>
</section>
{% if sortedHealthMeasures is not empty %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/health-and-security.mobile.html.twig\", {
\"package\": package,
\"sortedFacilities\": sortedHealthMeasures,
\"headlineKey\": \"demi.detail.headline.health-facilities\"
}) }}
{% endif %}
{% set hostInfo = demi_getHostInformation(accommodation) %}
{% set hostImages = hostInfo[\"hostImages\"] %}
{% set hostDescriptions = hostInfo[\"hostDescriptions\"] %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/hostdescriptions.mobile.html.twig\", {
\"package\": package,
\"hostImages\": hostImages,
\"hostDescriptions\": hostDescriptions
}) }}
{% set links = accommodation.getLinks([
constant(\"Elements\\\\Demi\\\\Deskline\\\\Constant\\\\LinkTypeInterface::DESKLINE_LINK_URL\"),
constant(\"Elements\\\\Demi\\\\Deskline\\\\Constant\\\\LinkTypeInterface::DESKLINE_LINK_NOTDEFINED\")]) %}
{% set lt = accommodation.getDescription(constant(\"\\\\Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DescriptionInterface::DESCRIPTION_SERVICE_PROVIDER_CONDITIONS\"), app.request.locale, fromDate) %}
{% if lt is empty %}
{% set lt = accommodation.getDescription(constant(\"\\\\Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DescriptionInterface::DESCRIPTION_SERVICE_PROVIDER_CONDITIONS\"), \"en\", fromDate) %}
{% endif %}
{% if sortedFacilities is not empty or links is not empty or lt is not empty %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/facilities.mobile.html.twig\", {
\"package\": package,
\"sortedFacilities\": sortedFacilities,
\"links\": links,
\"lt\": lt
}) }}
{% endif %}
{% if accommodation.getDemiExtension() is not empty %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/demiExtensions.mobile.html.twig\", {
\"extensions\": accommodation.getDemiExtension(),
\"package\": package
}) }}
{% endif %}
{% set lat = \"\" %}
{% set lng = \"\" %}
{% if accommodation.getPosition() is not empty and address is not empty %}
{% set pos = accommodation.getPosition() %}
{% if pos.getLatitude() is not empty and pos.getLongitude() is not empty %}
{% set lat = pos.getLatitude %}
{% set lng = pos.getLongitude() %}
{% endif %}
{% set googleMapLink = demi_getGoogleMapsUrl(
accommodation.getName() ~ demi_getStars(accommodation, true),
address,
app.request.locale,
lat,
lng,
accommodation.getProperty('google_place_id')
) %}
{% endif %}
{% if address is not empty or accommodation.getServiceProviderArrivalVoucher() is not empty %}
<section class=\"mt-4 accommodation-contact\" data-track-content
data-content-name=\"{{ package ? 'package-' : 'accommodation-' }}contact\">
<h2 class=\"h3 mb-2\">{{ 'demi.detail.headline.contact-and-getting-there'|trans }}</h2>
<div class=\"card box-shadow\">
<div class=\"card-body\">
{% if address is not empty %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/contactaddress.mobile.html.twig\", {
'headlineText': demi_getAccoNameWithStars(accommodation),
'address': address,
'googleMapLink': googleMapLink is defined ? googleMapLink : null,
'trackingLabel': accommodation.getName(),
'lat': lat,
'lng': lng,
'acco': accommodation
}) }}
{% endif %}
{% if accommodation.getServiceProviderArrivalVoucher() is not empty %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/arrivalvoucher.mobile.html.twig\", {
'accommodation': accommodation
}) }}
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if accommodation.getRatingSystem() == \"TrustYou\" and hasRatingWidget == true %}
{{ include(\"@ElementsDemiFrontend/Accommodation/includes/detail-templates/rating.mobile.html.twig\", {
'package': package,
'accommodation': accommodation
}) }}
{% endif %}
<div class=\"mt-4\">
{% if package %}
{% set id = \"booking\" %}
{% else %}
{% set id = \"rooms\" %}
{% endif %}
{% if hasBookingLink or accommodation.getSystemIdentifier() is same as \"Deskline\" %}
<div class=\"js-search-data__show-if-submitted \" {{ availabilityIsChecked ? 'hidden' : '' }} >
<a href=\"#{{ id }}\"
data-target=\"#{{ id }}\"
aria-controls=\"{{ id }}\"
class=\"btn btn-success btn-block btn-lg js-open-tab-and-scroll js-tracking--click\"
data-tracking-category=\"{{ package ? 'Package detail': 'Accommodation detail' }}\"
data-tracking-action=\"click booking detail bottom\"
>
<script data-cookieconsent=\"ignore\">
_config.openTabAndSroll = true;
</script>
<span class=\"btn__icon demi-icon demi-icon-cart mr-2\" aria-hidden=\"true\"></span>
{{ \"demi.detail.booking-button\"|trans }}
</a>
<div class=\"mt-2 text-center text-success small\">
{{ \"demi.detail.promote-booking-speed\"|trans }}
</div>
</div>
{% if hasBookingLink %}
<a class=\"btn btn-success btn-block btn-lg my-3\"
href=\"{{ bookingLink }}\" target=\"_blank\">
<span class=\"demi-icon demi-icon-person btn__icon\"></span>
{{ \"demi.detail.external-booking.cta\" | trans }}
</a>
{% else %}
{% set resultSet = accommodationResultSet is defined ? accommodationResultSet : null %}
{% if demi_accoBookableOrOfferable(accommodation, resultSet ,demi_core_configuration(\"getDisableEnquiry\",[])) and not document.property(\"demi_hideVacancySearch\") %}
<button type=\"button\"
class=\"btn btn-success btn-block btn-lg js-overlay__toggle my-3 js-open-tab-and-scroll js-search-data__hide-if-submitted\"
data-tab-target=\"#{{ id }}\"
data-target=\"#search-overlay\" {{ availabilityIsChecked ? 'hidden' : '' }}>
<span class=\"demi-icon demi-icon-person btn__icon\"></span>
{{ 'demi.detail.search-vacancies-button'|trans }}
</button>
{% endif %}
{% endif %}
{% endif %}
</div>
</section>", "@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig", "/home/steiermark/www/src/Elements/Bundle/DemiFrontendBundle/Resources/views/Accommodation/includes/acco-details.mobile.html.twig");
}
}