var/cache/dev/twig/aa/aa525f4db461167e42c01e539d2bcabe.php line 69

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @ElementsDemiFrontend/Accommodation/detail.mobile.html.twig */
  14. class __TwigTemplate_a205c46307ddb6f5b2b5171713e43d12 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 18
  31.         return "@ElementsDemiFrontend/Layout/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig"));
  40.         // line 1
  41.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  42.             // line 2
  43.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsHeadTitle(), "setTitle", [$this->env->getFunction('demi_seoTitleForAcco')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'2$this->source); })()), (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'2$this->source); })())), true], "method"falsefalsetrue2);
  44.             // line 3
  45.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsHeadMeta(), "setDescription", [$this->env->getFunction('demi_seoDescriptionforAcco')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'3$this->source); })()))], "method"falsefalsetrue3);
  46.         }
  47.         // line 6
  48.         $context["destinationPackages"] = ((array_key_exists("destinationPackages"$context)) ? ((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'6$this->source); })())) : (null));
  49.         // line 11
  50.         $context["canonicalUrl"] = twig_get_attribute($this->env$this->source$this->extensions['App\Twig\LinkGenerator']->getGenerator(), "generate", [(isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'11$this->source); })()), ["canonical" => true"relative" => false"reset" => true]], "method"falsefalsetrue11);
  51.         // line 12
  52.         twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsCanonical(), "checkAllParams", [false], "method"falsefalsetrue12), "setDomain", [(isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'12$this->source); })())], "method"falsefalsetrue12);
  53.         // line 14
  54.         if ( !((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'14$this->source); })()) === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'14$this->source); })()), "request", [], "any"falsefalsetrue14), "pathInfo", [], "any"falsefalsetrue14))) {
  55.             // line 15
  56.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsRobots(), "setNoIndex", [true], "method"falsefalsetrue15);
  57.         }
  58.         // line 18
  59.         $this->parent $this->loadTemplate("@ElementsDemiFrontend/Layout/layout.html.twig""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig"18);
  60.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.     }
  66.     // line 19
  67.     public function block_content($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  74.         // line 20
  75.         echo "    ";
  76.         $this->env->getFunction('demi_paymentSetDefaultCurrency')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'20$this->source); })()));
  77.         // line 21
  78.         echo "
  79.     ";
  80.         // line 22
  81.         if ( !(isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'22$this->source); })())) {
  82.             // line 23
  83.             echo "        ";
  84.             $context["fromDate"] = null;
  85.             // line 24
  86.             echo "    ";
  87.         } else {
  88.             // line 25
  89.             echo "        ";
  90.             $context["fromDate"] = $this->env->getFunction('demi_getSearchFrom')->getCallable()();
  91.             // line 26
  92.             echo "    ";
  93.         }
  94.         // line 27
  95.         echo "
  96.     ";
  97.         // line 28
  98.         $context["resultSetPresent"] = false;
  99.         // line 29
  100.         echo "
  101.     ";
  102.         // line 30
  103.         if ((((array_key_exists("accommodationResultSet"$context) &&  !(null === (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'30$this->source); })()))) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'30$this->source); })()), "getMinPriceProductSets", [], "any"falsefalsetrue30))) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'30$this->source); })()), "getMinPriceProductSets", [], "method"falsefalsetrue30)) > 0))) {
  104.             // line 31
  105.             echo "        ";
  106.             $context["resultSetPresent"] = true;
  107.             // line 32
  108.             echo "    ";
  109.         }
  110.         // line 33
  111.         echo "
  112.     ";
  113.         // line 34
  114.         $context["ajaxUrl"] = $this->env->getFunction('demi_demiUrl')->getCallable()(["accommodation" =>         // line 35
  115. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'35$this->source); })())], "demi_acco_ajax");
  116.         // line 37
  117.         echo "
  118.     ";
  119.         // line 38
  120.         if (twig_in_filter("?", (isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'38$this->source); })()))) {
  121.             // line 39
  122.             echo "        ";
  123.             $context["parts"] = twig_split_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'39$this->source); })()), 39$this->source), "?");
  124.             // line 40
  125.             echo "        ";
  126.             $context["ajaxUrl"] = twig_get_attribute($this->env$this->source, (isset($context["parts"]) || array_key_exists("parts"$context) ? $context["parts"] : (function () { throw new RuntimeError('Variable "parts" does not exist.'40$this->source); })()), 0, [], "array"falsefalsetrue40);
  127.             // line 41
  128.             echo "    ";
  129.         }
  130.         // line 42
  131.         echo "
  132.     ";
  133.         // line 43
  134.         $context["liveDetailProductsUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'43$this->source); })()), 43$this->source) . "?ajaxRequestType=getLiveDetailProducts");
  135.         // line 44
  136.         echo "    ";
  137.         $context["corridorMatrixUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'44$this->source); })()), 44$this->source) . "?ajaxRequestType=getCorridorMatrix");
  138.         // line 45
  139.         echo "    ";
  140.         $context["productUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'45$this->source); })()), 45$this->source) . "?ajaxRequestType=getProductByIdAndMealcode");
  141.         // line 46
  142.         echo "    ";
  143.         $context["paymentInformationUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'46$this->source); })()), 46$this->source) . "?ajaxRequestType=getProductByIdAndMealcode");
  144.         // line 47
  145.         echo "
  146.     ";
  147.         // line 48
  148.         $context["address"] = 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.'48$this->source); })()), "getAddress", [], "method"falsefalsetrue48);
  149.         // line 49
  150.         echo "    ";
  151.         $context["maxRatingValue"] = (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingValue", [])) ?: (5));
  152.         // line 50
  153.         echo "    ";
  154.         $context["maxRatingNormalized"] = (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingNormalized", [])) ?: (5));
  155.         // line 51
  156.         echo "
  157.     ";
  158.         // line 52
  159.         $context["anchors"] = ["detail" => "#details""package" => "#packages""rooms" => "#rooms"];
  160.         // line 57
  161.         echo "
  162.     ";
  163.         // line 58
  164.         if ((array_key_exists("activeTab"$context) && !twig_in_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'58$this->source); })()), (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'58$this->source); })())))) {
  165.             // line 59
  166.             echo "        ";
  167.             $context["activeTab"] = "#details";
  168.             // line 60
  169.             echo "    ";
  170.         } else {
  171.             // line 61
  172.             echo "        ";
  173.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig("_initialState"), "add", [["activeTab" => (isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'61$this->source); })())]], "method"falsefalsetrue61);
  174.             // line 62
  175.             echo "    ";
  176.         }
  177.         // line 63
  178.         echo "
  179.     ";
  180.         // line 65
  181.         $context["step1Url"] = $this->env->getFunction('demi_demiUrl')->getCallable()(["path" => twig_get_attribute($this->env$this->source$this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getCheckoutPath", []), "getFullPath", [], "method"falsefalsetrue66), "controller" => "cart""action" => "step1"], "demi_checkout"true);
  182.         // line 70
  183.         echo "
  184.     ";
  185.         // line 71
  186.         $context["addToCartUrl"] = (isset($context["step1Url"]) || array_key_exists("step1Url"$context) ? $context["step1Url"] : (function () { throw new RuntimeError('Variable "step1Url" does not exist.'71$this->source); })());
  187.         // line 72
  188.         echo "
  189.     ";
  190.         // line 74
  191.         $context["imagesTypes"] = $this->env->getFunction('demi_getAccoImagesTypesAsArray')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'74$this->source); })()), 74$this->source));
  192.         // line 75
  193.         echo "
  194.     ";
  195.         // line 76
  196.         $context["classifications"] = 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.'76$this->source); })()), "getClassifications", [], "method"falsefalsetrue76);
  197.         // line 77
  198.         echo "    ";
  199.         $context["hasClassificationsWithIcons"] = false;
  200.         // line 78
  201.         echo "    ";
  202.         $context['_parent'] = $context;
  203.         $context['_seq'] = twig_ensure_traversable((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'78$this->source); })()));
  204.         foreach ($context['_seq'] as $context["_key"] => $context["classification"]) {
  205.             // line 79
  206.             echo "        ";
  207.             $context["group"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroup", [], "method"falsefalsetrue79);
  208.             // line 80
  209.             echo "        ";
  210.             if (( !twig_test_empty((isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'80$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'80$this->source); })()), "getIconSmall", [], "method"falsefalsetrue80))) {
  211.                 // line 81
  212.                 echo "            ";
  213.                 $context["hasClassificationsWithIcons"] = true;
  214.                 // line 82
  215.                 echo "        ";
  216.             }
  217.             // line 83
  218.             echo "    ";
  219.         }
  220.         $_parent $context['_parent'];
  221.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classification'], $context['_parent'], $context['loop']);
  222.         $context array_intersect_key($context$_parent) + $_parent;
  223.         // line 84
  224.         echo "
  225.     ";
  226.         // line 86
  227.         $context["jsonLdData"] = $this->env->getFunction('demi_getAccommodationJsonLdData')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'86$this->source); })()), 86$this->source), ((array_key_exists("options"$context)) ? ((isset($context["options"]) || array_key_exists("options"$context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.'86$this->source); })())) : ([])), ((array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'86$this->source); })())) : (null)));
  228.         // line 87
  229.         echo "
  230.     ";
  231.         // line 88
  232.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsonLdBundle\Twig\Extension\JsonLdExtension']->jsonLd(), "add", ["accommodation", (isset($context["jsonLdData"]) || array_key_exists("jsonLdData"$context) ? $context["jsonLdData"] : (function () { throw new RuntimeError('Variable "jsonLdData" does not exist.'88$this->source); })())], "method"falsefalsetrue88);
  233.         // line 89
  234.         echo "    ";
  235.         // line 97
  236.         echo "
  237.     <script data-cookieconsent=\"ignore\">
  238.         _config.viewType = \"object\";
  239.         _config.historyController = true;
  240.         _config.roomSelection = true;
  241.         _config.searchData = true;
  242.         _config.detailResultUrl = '";
  243.         // line 105
  244.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["liveDetailProductsUrl"]) || array_key_exists("liveDetailProductsUrl"$context) ? $context["liveDetailProductsUrl"] : (function () { throw new RuntimeError('Variable "liveDetailProductsUrl" does not exist.'105$this->source); })()), 105$this->source), "html"nulltrue);
  245.         echo "';
  246.         _config.corridorSearchUrl = '";
  247.         // line 106
  248.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["corridorMatrixUrl"]) || array_key_exists("corridorMatrixUrl"$context) ? $context["corridorMatrixUrl"] : (function () { throw new RuntimeError('Variable "corridorMatrixUrl" does not exist.'106$this->source); })()), 106$this->source), "html"nulltrue);
  249.         echo "';
  250.         _config.detailPaymentInfoUrl = '";
  251.         // line 107
  252.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["paymentInformationUrl"]) || array_key_exists("paymentInformationUrl"$context) ? $context["paymentInformationUrl"] : (function () { throw new RuntimeError('Variable "paymentInformationUrl" does not exist.'107$this->source); })()), 107$this->source), "html"nulltrue);
  253.         echo "';
  254.         _config.detailProductUrl = '";
  255.         // line 108
  256.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["productUrl"]) || array_key_exists("productUrl"$context) ? $context["productUrl"] : (function () { throw new RuntimeError('Variable "productUrl" does not exist.'108$this->source); })()), 108$this->source), "html"nulltrue);
  257.         echo "';
  258.         _config.addToCartUrl = '";
  259.         // line 109
  260.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["addToCartUrl"]) || array_key_exists("addToCartUrl"$context) ? $context["addToCartUrl"] : (function () { throw new RuntimeError('Variable "addToCartUrl" does not exist.'109$this->source); })()), 109$this->source), "html"nulltrue);
  261.         echo "';
  262.         _config.addToCartUrl = '";
  263.         // line 110
  264.         echo $this->sandbox->ensureToStringAllowed((isset($context["addToCartUrl"]) || array_key_exists("addToCartUrl"$context) ? $context["addToCartUrl"] : (function () { throw new RuntimeError('Variable "addToCartUrl" does not exist.'110$this->source); })()), 110$this->source);
  265.         echo "';
  266.         _config.cartWarningOnMultipleAccoProducts = ";
  267.         // line 111
  268.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getWarningOnMultipleAccoProducts", [])) ? ("true") : ("false"));
  269.         echo ";
  270.         _config.cartInfoUrl = '";
  271.         // line 112
  272.         echo $this->env->getFunction('demi_checkoutUrl')->getCallable()("cart""hasAccoInCart");
  273.         echo "';
  274.         _config.roomList = true;
  275.         _config.paramTabs = true;
  276.         _config.isWhitelabel = ";
  277.         // line 115
  278.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getIsWhitelabel", [])) ? ("true") : ("false"));
  279.         echo ";
  280.         _config.trackingCountingClicksUrl = '";
  281.         // line 116
  282.         echo $this->sandbox->ensureToStringAllowed((isset($context["countingClicksUriJs"]) || array_key_exists("countingClicksUriJs"$context) ? $context["countingClicksUriJs"] : (function () { throw new RuntimeError('Variable "countingClicksUriJs" does not exist.'116$this->source); })()), 116$this->source);
  283.         echo "';
  284.         _config.productData = {
  285.             id: ";
  286.         // line 118
  287.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'118$this->source); })()), "getId", [], "method"falsefalsetrue118), 118$this->source), "html"nulltrue);
  288.         echo ",
  289.             name: \"";
  290.         // line 119
  291.         echo $this->env->getFunction('demi_impressionName')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'119$this->source); })()), 119$this->source));
  292.         echo "\",
  293.             category: \"";
  294.         // line 120
  295.         echo $this->env->getFunction('demi_impressionCategory')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'120$this->source); })()), 120$this->source), null$this->sandbox->ensureToStringAllowed((isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'120$this->source); })()), 120$this->source));
  296.         echo "\",
  297.             brand: \"";
  298.         // line 121
  299.         echo $this->env->getFunction('demi_impressionBrand')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'121$this->source); })()), 121$this->source));
  300.         echo "\"
  301.         };
  302.         _config.acommodationMapHideBusinesses = ";
  303.         // line 123
  304.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMapHideBusinesses", [])) ? ("true") : ("false"));
  305.         echo ";
  306.         ";
  307.         // line 125
  308.         $context["mealtypeId"] = twig_get_attribute($this->env$this->source, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'125$this->source); })()), "getMealTypeId", [], "method"falsefalsetrue125);
  309.         // line 126
  310.         echo "        ";
  311.         if (( !twig_test_empty((isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'126$this->source); })())) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'126$this->source); })()), 0, [], "array"falsefalsetrue126)))) {
  312.             // line 127
  313.             echo "        _config.urlParams = _config.urlParams || [];
  314.         _config.urlParams.push({name: \"mealtype\", value: \"";
  315.             // line 128
  316.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'128$this->source); })()), 0, [], "array"falsefalsetrue128), 128$this->source), "html"nulltrue);
  317.             echo "\"});
  318.         ";
  319.         }
  320.         // line 130
  321.         echo "        ";
  322.         if (twig_get_attribute($this->env$this->source, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'130$this->source); })()), "getBookOnly", [], "method"falsefalsetrue130)) {
  323.             // line 131
  324.             echo "        _config.urlParams = _config.urlParams || [];
  325.         _config.urlParams.push({name: \"bookonly\", value: \"on\"});
  326.         ";
  327.         }
  328.         // line 134
  329.         echo "
  330.     </script>
  331.     ";
  332.         // line 137
  333.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/canonicalOverride.html.twig", ["object" => (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'137$this->source); })())]);
  334.         echo "
  335.     ";
  336.         // line 140
  337.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/tags/detail-acco.html.twig", ["isMobile" => false"acco" =>         // line 143
  338. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'143$this->source); })()), "searchParam" =>         // line 144
  339. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'144$this->source); })()), "accoResultSet" =>         // line 145
  340. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'145$this->source); })()), "productResultSet" =>         // line 146
  341. (isset($context["productResultSet"]) || array_key_exists("productResultSet"$context) ? $context["productResultSet"] : (function () { throw new RuntimeError('Variable "productResultSet" does not exist.'146$this->source); })()), "packages" => ((        // line 147
  342. array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'147$this->source); })())) : (null)), "sortedMarketingGroups" =>         // line 148
  343. (isset($context["sortedMarketingGroups"]) || array_key_exists("sortedMarketingGroups"$context) ? $context["sortedMarketingGroups"] : (function () { throw new RuntimeError('Variable "sortedMarketingGroups" does not exist.'148$this->source); })()), "sortedFacilities" =>         // line 149
  344. (isset($context["sortedFacilities"]) || array_key_exists("sortedFacilities"$context) ? $context["sortedFacilities"] : (function () { throw new RuntimeError('Variable "sortedFacilities" does not exist.'149$this->source); })()), "sortedHealthMeasures" =>         // line 150
  345. (isset($context["sortedHealthMeasures"]) || array_key_exists("sortedHealthMeasures"$context) ? $context["sortedHealthMeasures"] : (function () { throw new RuntimeError('Variable "sortedHealthMeasures" does not exist.'150$this->source); })()), "hasHousePackages" =>         // line 151
  346. (isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'151$this->source); })())]);
  347.         // line 153
  348.         echo "
  349.     <main id=\"main\" role=\"main\">
  350.         <div>
  351.             <div class=\"js-search-data__show-if-submitted\" ";
  352.         // line 160
  353.         echo (((isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'160$this->source); })())) ? ("") : ("hidden"));
  354.         echo ">
  355.                 ";
  356.         // line 161
  357.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/ribbon.html.twig", ["searchParam" => (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'161$this->source); })()), "showBackButton" => true"withFlag" => false]);
  358.         echo "
  359.             </div>
  360.             <div class=\"js-search-data__hide-if-submitted\" ";
  361.         // line 163
  362.         echo (((isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'163$this->source); })())) ? ("hidden") : (""));
  363.         echo ">
  364.                 ";
  365.         // line 164
  366.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/ribbon-price.html.twig", ["resultSet" => (((isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'164$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'164$this->source); })()), "getMinPriceBase", [true], "method"falsefalsetrue164)) : (null)), "accommodation" => (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'164$this->source); })())]);
  367.         echo "
  368.             </div>
  369.         </div>
  370.         <div class=\"container\">
  371.             ";
  372.         // line 169
  373.         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.'169$this->source); })()), "getIsTesthotel", [], "method"falsefalsetrue169)) {
  374.             // line 170
  375.             echo "                <div class=\"demi-test-acco-notice mb-3 text-danger\"><strong>Testbetrieb</strong> nur für Debug/aktive
  376.                     Pimcore User sichtbar
  377.                 </div>";
  378.         }
  379.         // line 173
  380.         echo "            <h1 class=\"h2 text-primary";
  381.         echo (((isset($context["hasClassificationsWithIcons"]) || array_key_exists("hasClassificationsWithIcons"$context) ? $context["hasClassificationsWithIcons"] : (function () { throw new RuntimeError('Variable "hasClassificationsWithIcons" does not exist.'173$this->source); })())) ? (" mb-1") : (""));
  382.         echo "\">";
  383.         echo $this->env->getFunction('demi_getAccoNameWithStars')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'173$this->source); })()), 173$this->source));
  384.         echo "</h1>
  385.             ";
  386.         // line 175
  387.         $context['_parent'] = $context;
  388.         $context['_seq'] = twig_ensure_traversable((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'175$this->source); })()));
  389.         foreach ($context['_seq'] as $context["_key"] => $context["classification"]) {
  390.             // line 176
  391.             echo "                <div class=\"row row--gutter-width-20 mb-2\">
  392.                     <div class=\"col col-auto\">
  393.                         ";
  394.             // line 178
  395.             $context["count"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroupAmount", [], "method"falsefalsetrue178);
  396.             // line 179
  397.             echo "                        ";
  398.             $context["group"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroup", [], "method"falsefalsetrue179);
  399.             // line 180
  400.             echo "                        ";
  401.             if ((( !twig_test_empty((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'180$this->source); })())) && twig_get_attribute($this->env$this->source$context["classification"], "getShowAsIcon", [], "method"falsefalsetrue180)) &&  !(null === twig_get_attribute($this->env$this->source$context["classification"], "demiGetIcon", [], "method"falsefalsetrue180)))) {
  402.                 // line 181
  403.                 echo "                            <span class=\"classification_holder hidden-xs\"
  404.                                   aria-label=\"";
  405.                 // line 182
  406.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'182$this->source); })()), 182$this->source), "html"nulltrue);
  407.                 echo " ";
  408.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'182$this->source); })()), "getName", [], "method"falsefalsetrue182), 182$this->source), "html"nulltrue);
  409.                 echo "\">
  410.                             ";
  411.                 // line 183
  412.                 $context['_parent'] = $context;
  413.                 $context['_seq'] = twig_ensure_traversable(range(0, (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'183$this->source); })())));
  414.                 foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  415.                     // line 184
  416.                     echo "                                ";
  417.                     $context["thumbnail"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["classification"], "demiGetIcon", [], "method"falsefalsetrue184), "getThumbnail", ["demi-classification"], "method"falsefalsetrue184);
  418.                     // line 185
  419.                     echo "                                ";
  420.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["thumbnail"]) || array_key_exists("thumbnail"$context) ? $context["thumbnail"] : (function () { throw new RuntimeError('Variable "thumbnail" does not exist.'185$this->source); })()), "getHTML", [], "method"falsefalsetrue185), 185$this->source);
  421.                     echo "
  422.                             ";
  423.                 }
  424.                 $_parent $context['_parent'];
  425.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  426.                 $context array_intersect_key($context$_parent) + $_parent;
  427.                 // line 187
  428.                 echo "                                ";
  429.                 if (twig_get_attribute($this->env$this->source$context["classification"], "getIsSuperior", [], "method"falsefalsetrue187)) {
  430.                     // line 188
  431.                     echo "                                    <span class=\"classification-superior\">S</span>
  432.                                 ";
  433.                 }
  434.                 // line 190
  435.                 echo "                        </span>
  436.                         ";
  437.             }
  438.             // line 192
  439.             echo "                    </div>
  440.                 </div>
  441.             ";
  442.         }
  443.         $_parent $context['_parent'];
  444.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classification'], $context['_parent'], $context['loop']);
  445.         $context array_intersect_key($context$_parent) + $_parent;
  446.         // line 195
  447.         echo "
  448.             <div class=\"row row--gutter-width-20 mb-2\">
  449.                 <div class=\"col col-auto\">
  450.                     ";
  451.         // line 198
  452.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'198$this->source); })()), "getCategoryNames", [2], "method"falsefalsetrue198), 198$this->source), "html"nulltrue);
  453.         echo "
  454.                 </div>
  455.                 <div class=\"col\">
  456.                     <div class=\"media text-muted\">
  457.                         ";
  458.         // line 202
  459.         if (( !(null === 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.'202$this->source); })()), "getTown", [], "method"falsefalsetrue202)) && ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'202$this->source); })()), "getTown", [], "method"falsefalsetrue202), "getNameLocalized", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'202$this->source); })()), "request", [], "any"falsefalsetrue202), "locale", [], "any"falsefalsetrue202)], "method"falsefalsetrue202)) ||  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'202$this->source); })()), "getTown", [], "method"falsefalsetrue202), "getName", [], "method"falsefalsetrue202))))) {
  460.             // line 203
  461.             echo "                            <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  462.                                  title=\"";
  463.             // line 204
  464.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  465.             echo "\" aria-label=\"";
  466.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  467.             echo "\"></div>
  468.                             <div class=\"media-body\">
  469.                                 ";
  470.             // line 206
  471.             echo twig_escape_filter($this->env, (( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'206$this->source); })()), "getTown", [], "method"falsefalsetrue206), "getNameLocalized", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'206$this->source); })()), "request", [], "any"falsefalsetrue206), "locale", [], "any"falsefalsetrue206)], "method"falsefalsetrue206))) ? (twig_get_attribute($this->env$this->sourcetwig_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.'206$this->source); })()), "getTown", [], "method"falsefalsetrue206), "getNameLocalized", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'206$this->source); })()), "request", [], "any"falsefalsetrue206), "locale", [], "any"falsefalsetrue206)], "method"falsefalsetrue206)) : (twig_get_attribute($this->env$this->sourcetwig_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.'206$this->source); })()), "getTown", [], "method"falsefalsetrue206), "getName", [], "method"falsefalsetrue206))), "html"nulltrue);
  472.             echo "
  473.                             </div>
  474.                         ";
  475.         } elseif (( !(null === twig_get_attribute($this->env$this->source,         // line 208
  476. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'208$this->source); })()), "getDistrict", [], "method"falsefalsetrue208)) && (twig_get_attribute($this->env$this->sourcetwig_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.'208$this->source); })()), "getDistrict", [], "method"falsefalsetrue208), "getNameLocalized", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'208$this->source); })()), "request", [], "any"falsefalsetrue208), "locale", [], "any"falsefalsetrue208)], "method"falsefalsetrue208) ||  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'208$this->source); })()), "getDistrict", [], "method"falsefalsetrue208), "getName", [], "method"falsefalsetrue208))))) {
  477.             // line 209
  478.             echo "                            <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  479.                                  title=\"";
  480.             // line 210
  481.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  482.             echo "\" aria-label=\"";
  483.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  484.             echo "\"></div>
  485.                             <div class=\"media-body\">
  486.                                 ";
  487.             // line 212
  488.             echo twig_escape_filter($this->env, (( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'212$this->source); })()), "getDistrict", [], "method"falsefalsetrue212), "getNameLocalized", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'212$this->source); })()), "request", [], "any"falsefalsetrue212), "locale", [], "any"falsefalsetrue212)], "method"falsefalsetrue212))) ? (twig_get_attribute($this->env$this->sourcetwig_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.'212$this->source); })()), "getDistrict", [], "method"falsefalsetrue212), "getNameLocalized", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'212$this->source); })()), "request", [], "any"falsefalsetrue212), "locale", [], "any"falsefalsetrue212)], "method"falsefalsetrue212)) : (twig_get_attribute($this->env$this->sourcetwig_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.'212$this->source); })()), "getDistrict", [], "method"falsefalsetrue212), "getName", [], "method"falsefalsetrue212))), "html"nulltrue);
  489.             echo "
  490.                             </div>
  491.                         ";
  492.         } elseif (( !(null ===         // line 214
  493. (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'214$this->source); })())) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'214$this->source); })()), "getTown", [], "any"falsefalsetrue214)))) {
  494.             // line 215
  495.             echo "                            <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  496.                                  title=\"";
  497.             // line 216
  498.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  499.             echo "\"
  500.                                  aria-label=\"";
  501.             // line 217
  502.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  503.             echo "\"></div>
  504.                             <div class=\"media-body\">
  505.                                 ";
  506.             // line 219
  507.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'219$this->source); })()), "getTown", [], "method"falsefalsetrue219), 219$this->source), "html"nulltrue);
  508.             echo "
  509.                             </div>
  510.                         ";
  511.         }
  512.         // line 222
  513.         echo "                    </div>
  514.                 </div>
  515.             </div>
  516.             <div class=\"row row--gutter-width-20 mb-2\">
  517.                 <div class=\"col\">
  518.                     ";
  519.         // line 228
  520.         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.'228$this->source); })()), "getRatingSystem", [], "method"falsefalsetrue228) == "TrustYou")) {
  521.             // line 229
  522.             echo "                        ";
  523.             $context["normalizedRating"] = $this->env->getFunction('demi_ratingGetNormalized')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'229$this->source); })()), 229$this->source), $this->sandbox->ensureToStringAllowed((isset($context["maxRatingValue"]) || array_key_exists("maxRatingValue"$context) ? $context["maxRatingValue"] : (function () { throw new RuntimeError('Variable "maxRatingValue" does not exist.'229$this->source); })()), 229$this->source), $this->sandbox->ensureToStringAllowed((isset($context["maxRatingNormalized"]) || array_key_exists("maxRatingNormalized"$context) ? $context["maxRatingNormalized"] : (function () { throw new RuntimeError('Variable "maxRatingNormalized" does not exist.'229$this->source); })()), 229$this->source));
  524.             // line 230
  525.             echo "                        ";
  526.             if ( !twig_test_empty((isset($context["normalizedRating"]) || array_key_exists("normalizedRating"$context) ? $context["normalizedRating"] : (function () { throw new RuntimeError('Variable "normalizedRating" does not exist.'230$this->source); })()))) {
  527.                 // line 231
  528.                 echo "                            <img src=\"/static/demi/debug/img/trustyou-logo.png\" alt=\"Logo Trustyou\" class=\"mb-1\">
  529.                             ";
  530.                 // line 232
  531.                 echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/rating.html.twig", ["score" =>                 // line 233
  532. (isset($context["normalizedRating"]) || array_key_exists("normalizedRating"$context) ? $context["normalizedRating"] : (function () { throw new RuntimeError('Variable "normalizedRating" does not exist.'233$this->source); })()), "text" => twig_get_attribute($this->env$this->source,                 // line 234
  533. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'234$this->source); })()), "getRatingScoreDescription", [], "method"falsefalsetrue234), "styleModifier" => "mb-1""showReviewCount" => true"ratingCount" => twig_get_attribute($this->env$this->source,                 // line 237
  534. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'237$this->source); })()), "getRatingCountDirect", [], "method"falsefalsetrue237)]);
  535.                 // line 238
  536.                 echo "
  537.                         ";
  538.             }
  539.             // line 240
  540.             echo "                    ";
  541.         }
  542.         // line 241
  543.         echo "
  544.                 </div>
  545.                 <div class=\"col col-auto\">
  546.                     ";
  547.         // line 244
  548.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig", ["logo" => twig_first($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source,         // line 245
  549. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'245$this->source); })()), "getImages", [[twig_constant("Elements\\Demi\\Deskline\\Constant\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO")]], "method"falsefalsetrue245), 245$this->source))]);
  550.         // line 246
  551.         echo "
  552.                 </div>
  553.             </div>
  554.         </div>
  555.         <figure class=\"figure my-3\">
  556.             ";
  557.         // line 252
  558.         $context["firstImage"] = 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.'252$this->source); })()), "getFirstImage", [(isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'252$this->source); })()), (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'252$this->source); })())], "method"falsefalsetrue252);
  559.         // line 253
  560.         echo "            ";
  561.         if ( !(null === (isset($context["firstImage"]) || array_key_exists("firstImage"$context) ? $context["firstImage"] : (function () { throw new RuntimeError('Variable "firstImage" does not exist.'253$this->source); })()))) {
  562.             // line 254
  563.             echo "                ";
  564.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["firstImage"]) || array_key_exists("firstImage"$context) ? $context["firstImage"] : (function () { throw new RuntimeError('Variable "firstImage" does not exist.'254$this->source); })()), "getThumbnail", ["demi-mobile-header-img"], "method"falsefalsetrue254), "getHTML", [["imgAttributes" => ["class" => "img-full-width"]]], "method"falsefalsetrue254), 254$this->source);
  565.             echo "
  566.             ";
  567.         }
  568.         // line 256
  569.         echo "
  570.             ";
  571.         // line 257
  572.         $context["images"] = 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.'257$this->source); })()), "getImages", [(isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'257$this->source); })()), (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'257$this->source); })()), true], "method"falsefalsetrue257);
  573.         // line 258
  574.         echo "            ";
  575.         $context["photoCount"] = twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["images"]) || array_key_exists("images"$context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.'258$this->source); })()), 258$this->source));
  576.         // line 259
  577.         echo "            ";
  578.         if (((isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'259$this->source); })()) > 1)) {
  579.             // line 260
  580.             echo "
  581.                 <div class=\"figure__item figure__item--right figure__item--bottom m-3\">
  582.                     <button class=\"btn btn-primary js-overlay__toggle js-tracking--click-piwik\"
  583.                             data-target=\"#";
  584.             // line 263
  585.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'263$this->source); })()), "getId", [], "method"falsefalsetrue263), 263$this->source), "html"nulltrue);
  586.             echo "-imgs-overlay\"
  587.                             data-tracking-category=\"Gallery\"
  588.                             data-tracking-action=\"open\">
  589.                         ";
  590.             // line 266
  591.             $context["galleryString"] = ((((isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'266$this->source); })()) > 1)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.images-gallery-button")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.image-gallery-button")));
  592.             // line 267
  593.             echo "                        ";
  594.             $context["galleryString"] = twig_replace_filter($this->sandbox->ensureToStringAllowed((isset($context["galleryString"]) || array_key_exists("galleryString"$context) ? $context["galleryString"] : (function () { throw new RuntimeError('Variable "galleryString" does not exist.'267$this->source); })()), 267$this->source), ["[AMOUNT_IMAGES]" => (isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'267$this->source); })())]);
  595.             // line 268
  596.             echo "                        ";
  597.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "setImages", [twig_array_merge(twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "getImages", [], "any"falsefalsetrue268), [(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'268$this->source); })()), "request", [], "any"falsefalsetrue268), "getHost", [], "method"falsefalsetrue268) . twig_get_attribute($this->env$this->sourcetwig_first($this->env, (isset($context["images"]) || array_key_exists("images"$context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.'268$this->source); })())), "getThumbnail", ["ogimages"], "method"falsefalsetrue268))])], "method"falsefalsetrue268);
  598.             // line 269
  599.             echo "                        ";
  600.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["galleryString"]) || array_key_exists("galleryString"$context) ? $context["galleryString"] : (function () { throw new RuntimeError('Variable "galleryString" does not exist.'269$this->source); })()), 269$this->source), "html"nulltrue);
  601.             echo "
  602.                     </button>
  603.                 </div>
  604.                 </div>
  605.             ";
  606.         }
  607.         // line 274
  608.         echo "        </figure>
  609.         <div class=\"container\" aria-live=\"polite\">
  610.             <div class=\"js-room-list__loading js-corridor__search-info-loading\" hidden>
  611.                 <div class=\"text-center py-3\">
  612.                     ";
  613.         // line 279
  614.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/elements/spinner/loading-spinner.html.twig");
  615.         echo "
  616.                 </div>
  617.             </div>
  618.             <div class=\"js-room-list__content js-corridor__search-info-content\" id=\"searchInfo\" data-list=\"searchInfo\">
  619.                 ";
  620.         // line 284
  621.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/searchInfoBox.mobile.html.twig", ["accommodationResultSet" =>         // line 285
  622. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'285$this->source); })()), "isPackage" => false]);
  623.         // line 287
  624.         echo "
  625.             </div>
  626.         </div>
  627.         <div class=\"mt-3\">
  628.             <ul class=\"nav nav-border-tabs justify-content-center\" role=\"tablist\">
  629.                 <li class=\"nav-item\">
  630.                     <a class=\"nav-link js-param-tab";
  631.         // line 294
  632.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'294$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'294$this->source); })()), "detail", [], "array"falsefalsetrue294))) ? (" active") : (""));
  633.         echo " js-tracking js-tracking--click\"
  634.                        href=\"";
  635.         // line 295
  636.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'295$this->source); })()), "detail", [], "array"falsefalsetrue295), 295$this->source), "html"nulltrue);
  637.         echo "\"
  638.                        data-toggle=\"tab\"
  639.                        role=\"tab\"
  640.                        aria-expanded=\"";
  641.         // line 298
  642.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'298$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'298$this->source); })()), "detail", [], "array"falsefalsetrue298))) ? ("true") : ("false"));
  643.         echo "\"
  644.                        data-tracking-category=\"button\"
  645.                        data-tracking-action=\"detail\"
  646.                        data-tracking-label=\"";
  647.         // line 301
  648.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'301$this->source); })()), "getName", [], "method"falsefalsetrue301), 301$this->source));
  649.         echo "\">
  650.                         ";
  651.         // line 302
  652.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.accommodation-details"), "html"nulltrue);
  653.         echo "
  654.                     </a>
  655.                 </li>
  656.                 <li class=\"nav-item\" ";
  657.         // line 305
  658.         echo ((((isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'305$this->source); })()) || (( !(null === (isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'305$this->source); })())) && (twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'305$this->source); })()), 305$this->source)) > 0)) && $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getShowDestinationPackagesOnAccoDetail", [])))) ? ("") : ("hidden"));
  659.         echo ">
  660.                     <a class=\"nav-link js-param-tab";
  661.         // line 306
  662.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'306$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'306$this->source); })()), "package", [], "array"falsefalsetrue306))) ? (" active") : (""));
  663.         echo " js-tracking js-tracking--click\"
  664.                        href=\"";
  665.         // line 307
  666.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'307$this->source); })()), "package", [], "array"falsefalsetrue307), 307$this->source), "html"nulltrue);
  667.         echo "\"
  668.                        data-toggle=\"tab\"
  669.                        role=\"tab\"
  670.                        aria-expanded=\"";
  671.         // line 310
  672.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'310$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'310$this->source); })()), "package", [], "array"falsefalsetrue310))) ? ("true") : ("false"));
  673.         echo "\"
  674.                        data-tracking-category=\"button\"
  675.                        data-tracking-action=\"package\"
  676.                        data-tracking-label=\"";
  677.         // line 313
  678.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'313$this->source); })()), "getName", [], "method"falsefalsetrue313), 313$this->source));
  679.         echo "\">
  680.                         ";
  681.         // line 314
  682.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.packages"), "html"nulltrue);
  683.         echo "
  684.                     </a>
  685.                 </li>
  686.                 <li class=\"nav-item\">
  687.                     <a class=\"nav-link js-param-tab ";
  688.         // line 318
  689.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'318$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'318$this->source); })()), "rooms", [], "array"falsefalsetrue318))) ? (" active") : (""));
  690.         echo " js-tracking js-tracking--click\"
  691.                        href=\"";
  692.         // line 319
  693.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'319$this->source); })()), "rooms", [], "array"falsefalsetrue319), 319$this->source), "html"nulltrue);
  694.         echo "\"
  695.                        data-toggle=\"tab\"
  696.                        role=\"tab\"
  697.                        aria-expanded=\"";
  698.         // line 322
  699.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'322$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'322$this->source); })()), "rooms", [], "array"falsefalsetrue322))) ? ("true") : ("false"));
  700.         echo "\"
  701.                        data-tracking-category=\"button\"
  702.                        data-tracking-action=\"rooms\"
  703.                        data-tracking-label=\"";
  704.         // line 325
  705.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'325$this->source); })()), "getName", [], "method"falsefalsetrue325), 325$this->source));
  706.         echo "\">
  707.                         ";
  708.         // line 326
  709.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->env->getFunction('demi_getRoomsTabTranslationKey')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'326$this->source); })()), 326$this->source))), "html"nulltrue);
  710.         echo "
  711.                     </a>
  712.                 </li>
  713.             </ul>
  714.         </div>
  715.         <div class=\"bg-light-gray pb-4 pt-2\">
  716.             <div class=\"tab-content\">
  717.                 <div class=\"tab-pane";
  718.         // line 334
  719.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'334$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'334$this->source); })()), "detail", [], "array"falsefalsetrue334))) ? (" active ") : (""));
  720.         echo " pt-2\" id=\"details\"
  721.                      role=\"tabpanel\">
  722.                     ";
  723.         // line 336
  724.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig", ["package" => false"address" =>         // line 338
  725. (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'338$this->source); })()), "photoCount" => ((        // line 339
  726. array_key_exists("photoCount"$context)) ? ((isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'339$this->source); })())) : (0)), "availabilityIsChecked" =>         // line 340
  727. (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'340$this->source); })()), "fromDate" =>         // line 341
  728. (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'341$this->source); })())]);
  729.         // line 342
  730.         echo "
  731.                 </div>
  732.                 <div class=\"tab-pane";
  733.         // line 345
  734.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'345$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'345$this->source); })()), "package", [], "array"falsefalsetrue345))) ? (" active ") : (""));
  735.         echo " pt-2\" id=\"packages\"
  736.                      role=\"tabpanel\">
  737.                     ";
  738.         // line 347
  739.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-packages.mobile.html.twig", ["packages" => ((        // line 348
  740. array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'348$this->source); })())) : (null)), "destinationPackages" => ((        // line 349
  741. array_key_exists("destinationPackages"$context)) ? ((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'349$this->source); })())) : (null)), "accommodation" =>         // line 350
  742. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'350$this->source); })())]);
  743.         // line 351
  744.         echo "
  745.                 </div>
  746.                 <div class=\"tab-pane";
  747.         // line 354
  748.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'354$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'354$this->source); })()), "rooms", [], "array"falsefalsetrue354))) ? (" active ") : (""));
  749.         echo " pt-2\" id=\"rooms\"
  750.                      role=\"tabpanel\">
  751.                     ";
  752.         // line 356
  753.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-rooms.html.twig", ["package" => false"availabilityIsChecked" =>         // line 358
  754. (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'358$this->source); })()), "accommodation" =>         // line 359
  755. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'359$this->source); })()), "housePackageMaster" => null"resultSetPresent" =>         // line 361
  756. (isset($context["resultSetPresent"]) || array_key_exists("resultSetPresent"$context) ? $context["resultSetPresent"] : (function () { throw new RuntimeError('Variable "resultSetPresent" does not exist.'361$this->source); })()), "tvbPackage" => null]);
  757.         // line 363
  758.         echo "
  759.                 </div>
  760.             </div>
  761.             <div class=\"mt-4 text-center\">
  762.                 ";
  763.         // line 368
  764.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/enquiry-button.html.twig", ["text" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.enquiry-button"), "trackingCategory" => "Accommodation detail""trackingAction" => "click enquiry"]);
  765.         // line 372
  766.         echo "
  767.             </div>
  768.         </div>
  769.     </main>
  770.     ";
  771.         // line 377
  772.         $context["contactSnippet"] = $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getContactSnippet", []);
  773.         // line 378
  774.         echo "    ";
  775.         if ( !twig_test_empty((isset($context["contactSnippet"]) || array_key_exists("contactSnippet"$context) ? $context["contactSnippet"] : (function () { throw new RuntimeError('Variable "contactSnippet" does not exist.'378$this->source); })()))) {
  776.             // line 379
  777.             echo "        ";
  778.             echo $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["contactSnippet"]) || array_key_exists("contactSnippet"$context) ? $context["contactSnippet"] : (function () { throw new RuntimeError('Variable "contactSnippet" does not exist.'379$this->source); })()), 379$this->source));
  779.             echo "
  780.     ";
  781.         }
  782.         // line 381
  783.         echo "
  784.     ";
  785.         // line 382
  786.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/search.html.twig", ["filterSnippet" => twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""filterSnippet"), "getData", [], "method"falsefalsetrue383), "searchParam" =>         // line 384
  787. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'384$this->source); })()), "noDate" => ((        // line 385
  788. array_key_exists("noDate"$context)) ? ((isset($context["noDate"]) || array_key_exists("noDate"$context) ? $context["noDate"] : (function () { throw new RuntimeError('Variable "noDate" does not exist.'385$this->source); })())) : ( !(null === twig_get_attribute($this->env$this->source, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'385$this->source); })()), "getDateFrom", [], "method"falsefalsetrue385)))), "isSearch" => true]);
  789.         // line 387
  790.         echo "
  791.     ";
  792.         // line 389
  793.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/img-gallery.html.twig", ["accommodation" =>         // line 390
  794. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'390$this->source); })()), "imagesTypes" =>         // line 391
  795. (isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'391$this->source); })())]);
  796.         // line 392
  797.         echo "
  798.     ";
  799.         // line 395
  800.         if (((($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getDisableEnquiry", []) != true) &&  !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.'395$this->source); })()), "getAddress", [], "method"falsefalsetrue395))) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'395$this->source); })()), "getAddress", [], "method"falsefalsetrue395), "getEmail", [], "method"falsefalsetrue395)))) {
  801.             // line 396
  802.             echo "
  803.         ";
  804.             // line 397
  805.             echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/inquiry-overlay.html.twig", ["accommodation" =>             // line 398
  806. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'398$this->source); })()), "searchParams" =>             // line 399
  807. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'399$this->source); })()), "user" =>             // line 400
  808. (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'400$this->source); })())]);
  809.             // line 401
  810.             echo "
  811.     ";
  812.         }
  813.         // line 403
  814.         echo "
  815.     ";
  816.         // line 405
  817.         if ($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getWarningOnMultipleAccoProducts", [])) {
  818.             // line 406
  819.             echo "        ";
  820.             echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig", ["cartUrl" => (isset($context["step1Url"]) || array_key_exists("step1Url"$context) ? $context["step1Url"] : (function () { throw new RuntimeError('Variable "step1Url" does not exist.'406$this->source); })())]);
  821.             echo "
  822.     ";
  823.         }
  824.         
  825.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  826.         
  827.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  828.     }
  829.     /**
  830.      * @codeCoverageIgnore
  831.      */
  832.     public function getTemplateName()
  833.     {
  834.         return "@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig";
  835.     }
  836.     /**
  837.      * @codeCoverageIgnore
  838.      */
  839.     public function isTraitable()
  840.     {
  841.         return false;
  842.     }
  843.     /**
  844.      * @codeCoverageIgnore
  845.      */
  846.     public function getDebugInfo()
  847.     {
  848.         return array (  862 => 406,  860 => 405,  856 => 403,  852 => 401,  850 => 400,  849 => 399,  848 => 398,  847 => 397,  844 => 396,  842 => 395,  837 => 392,  835 => 391,  834 => 390,  833 => 389,  829 => 387,  827 => 385,  826 => 384,  825 => 382,  822 => 381,  816 => 379,  813 => 378,  811 => 377,  804 => 372,  802 => 368,  795 => 363,  793 => 361,  792 => 359,  791 => 358,  790 => 356,  785 => 354,  780 => 351,  778 => 350,  777 => 349,  776 => 348,  775 => 347,  770 => 345,  765 => 342,  763 => 341,  762 => 340,  761 => 339,  760 => 338,  759 => 336,  754 => 334,  743 => 326,  739 => 325,  733 => 322,  727 => 319,  723 => 318,  716 => 314,  712 => 313,  706 => 310,  700 => 307,  696 => 306,  692 => 305,  686 => 302,  682 => 301,  676 => 298,  670 => 295,  666 => 294,  657 => 287,  655 => 285,  654 => 284,  646 => 279,  639 => 274,  630 => 269,  627 => 268,  624 => 267,  622 => 266,  616 => 263,  611 => 260,  608 => 259,  605 => 258,  603 => 257,  600 => 256,  594 => 254,  591 => 253,  589 => 252,  581 => 246,  579 => 245,  578 => 244,  573 => 241,  570 => 240,  566 => 238,  564 => 237,  563 => 234,  562 => 233,  561 => 232,  558 => 231,  555 => 230,  552 => 229,  550 => 228,  542 => 222,  536 => 219,  531 => 217,  527 => 216,  524 => 215,  522 => 214,  517 => 212,  510 => 210,  507 => 209,  505 => 208,  500 => 206,  493 => 204,  490 => 203,  488 => 202,  481 => 198,  476 => 195,  468 => 192,  464 => 190,  460 => 188,  457 => 187,  448 => 185,  445 => 184,  441 => 183,  435 => 182,  432 => 181,  429 => 180,  426 => 179,  424 => 178,  420 => 176,  416 => 175,  408 => 173,  403 => 170,  401 => 169,  393 => 164,  389 => 163,  384 => 161,  380 => 160,  371 => 153,  369 => 151,  368 => 150,  367 => 149,  366 => 148,  365 => 147,  364 => 146,  363 => 145,  362 => 144,  361 => 143,  360 => 140,  354 => 137,  349 => 134,  344 => 131,  341 => 130,  336 => 128,  333 => 127,  330 => 126,  328 => 125,  323 => 123,  318 => 121,  314 => 120,  310 => 119,  306 => 118,  301 => 116,  297 => 115,  291 => 112,  287 => 111,  283 => 110,  279 => 109,  275 => 108,  271 => 107,  267 => 106,  263 => 105,  253 => 97,  251 => 89,  249 => 88,  246 => 87,  244 => 86,  240 => 84,  234 => 83,  231 => 82,  228 => 81,  225 => 80,  222 => 79,  217 => 78,  214 => 77,  212 => 76,  209 => 75,  207 => 74,  203 => 72,  201 => 71,  198 => 70,  196 => 65,  192 => 63,  189 => 62,  186 => 61,  183 => 60,  180 => 59,  178 => 58,  175 => 57,  173 => 52,  170 => 51,  167 => 50,  164 => 49,  162 => 48,  159 => 47,  156 => 46,  153 => 45,  150 => 44,  148 => 43,  145 => 42,  142 => 41,  139 => 40,  136 => 39,  134 => 38,  131 => 37,  129 => 35,  128 => 34,  125 => 33,  122 => 32,  119 => 31,  117 => 30,  114 => 29,  112 => 28,  109 => 27,  106 => 26,  103 => 25,  100 => 24,  97 => 23,  95 => 22,  92 => 21,  89 => 20,  79 => 19,  68 => 18,  65 => 15,  63 => 14,  61 => 12,  59 => 11,  57 => 6,  54 => 3,  52 => 2,  50 => 1,  37 => 18,);
  849.     }
  850.     public function getSourceContext()
  851.     {
  852.         return new Source("{% if not editmode %}
  853.     {% do elements_head_title().setTitle( demi_seoTitleForAcco(accommodation,document), true ) %}
  854.     {% do elements_head_meta().setDescription( demi_seoDescriptionforAcco(accommodation) ) %}
  855. {% endif %}
  856. {% set destinationPackages = destinationPackages is defined ? destinationPackages : null %}
  857. {#{% set canonicalUrl = demi_demiUrl({#}
  858. {#    'accommodation': accommodation#}
  859. {#},'demi_acco_detail_page',true) %}#}
  860. {% set canonicalUrl = linkGenerator().generate(accommodation, {canonical: true, relative: false, reset: true}) %}
  861. {% do elements_canonical().checkAllParams(false).setDomain(canonicalUrl)|raw %}
  862.  {% if not canonicalUrl is same as(app.request.pathInfo) %}
  863.      {% do elements_robots().setNoIndex(true) %}
  864.  {% endif %}
  865. {% extends '@ElementsDemiFrontend/Layout/layout.html.twig' %}
  866. {% block content %}
  867.     {% do demi_paymentSetDefaultCurrency(accommodation) %}
  868.     {% if not availabilityIsChecked %}
  869.         {% set fromDate = null %}
  870.     {% else %}
  871.         {% set fromDate = demi_getSearchFrom() %}
  872.     {% endif %}
  873.     {% set resultSetPresent = false %}
  874.     {% if accommodationResultSet is defined and accommodationResultSet is not null and accommodationResultSet.getMinPriceProductSets is not empty and accommodationResultSet.getMinPriceProductSets()|length > 0 %}
  875.         {% set resultSetPresent = true %}
  876.     {% endif %}
  877.     {% set ajaxUrl = demi_demiUrl({
  878.         'accommodation': accommodation
  879.     },'demi_acco_ajax') %}
  880.     {% if  '?' in ajaxUrl %}
  881.         {% set parts = ajaxUrl|split('?') %}
  882.         {% set ajaxUrl = parts[0] %}
  883.     {% endif %}
  884.     {% set liveDetailProductsUrl = ajaxUrl ~ \"?ajaxRequestType=getLiveDetailProducts\" %}
  885.     {% set corridorMatrixUrl = ajaxUrl ~ \"?ajaxRequestType=getCorridorMatrix\" %}
  886.     {% set productUrl = ajaxUrl ~ \"?ajaxRequestType=getProductByIdAndMealcode\" %}
  887.     {% set paymentInformationUrl = ajaxUrl ~ \"?ajaxRequestType=getProductByIdAndMealcode\" %}
  888.     {% set address = accommodation.getAddress() %}
  889.     {% set maxRatingValue = demi_core_configuration('getMaxRatingValue',[]) ?: 5 %}
  890.     {% set maxRatingNormalized = demi_core_configuration('getMaxRatingNormalized',[]) ?: 5 %}
  891.     {% set anchors = {
  892.         'detail': '#details',
  893.         'package': '#packages',
  894.         'rooms': '#rooms'
  895.     } %}
  896.     {% if activeTab is defined and activeTab not in anchors %}
  897.         {% set activeTab = '#details' %}
  898.     {% else %}
  899.         {% do jsConfig('_initialState').add({'activeTab': activeTab}) %}
  900.     {% endif %}
  901.     {% set step1Url = demi_demiUrl({
  902.         'path': demi_core_configuration('getCheckoutPath',[]).getFullPath(),
  903.         'controller': 'cart',
  904.         'action': 'step1'
  905.     },'demi_checkout',true) %}
  906.     {% set addToCartUrl = step1Url %}
  907.     {% set imagesTypes = demi_getAccoImagesTypesAsArray(accommodation) %}
  908.     {% set classifications = accommodation.getClassifications() %}
  909.     {% set hasClassificationsWithIcons = false %}
  910.     {% for classification in classifications %}
  911.         {% set group = classification.getClassificationGroup() %}
  912.         {% if group is not empty and group.getIconSmall() %}
  913.             {% set hasClassificationsWithIcons = true %}
  914.         {% endif %}
  915.     {% endfor %}
  916.     {% set jsonLdData = demi_getAccommodationJsonLdData(accommodation, options is defined ? options : [], packages is defined ? packages : null) %}
  917.     {% do jsonLd().add(\"accommodation\", jsonLdData) %}
  918.     {# TODO @msteyrer breadcrumb helper bundle not in use atm
  919.            {% do breadcrumbHelper().set({
  920.                'parentId': document.getId(),
  921.                'url': accoUrlPlain,
  922.                'label': accommodation.getName()
  923.            }) %}
  924.            {{ include('@ElementsDemiFrontend/Navigation/breadcrumb.html.twig') }} #}
  925.     <script data-cookieconsent=\"ignore\">
  926.         _config.viewType = \"object\";
  927.         _config.historyController = true;
  928.         _config.roomSelection = true;
  929.         _config.searchData = true;
  930.         _config.detailResultUrl = '{{ liveDetailProductsUrl }}';
  931.         _config.corridorSearchUrl = '{{ corridorMatrixUrl }}';
  932.         _config.detailPaymentInfoUrl = '{{ paymentInformationUrl }}';
  933.         _config.detailProductUrl = '{{ productUrl }}';
  934.         _config.addToCartUrl = '{{ addToCartUrl }}';
  935.         _config.addToCartUrl = '{{ addToCartUrl|raw }}';
  936.         _config.cartWarningOnMultipleAccoProducts = {{ demi_core_configuration('getWarningOnMultipleAccoProducts',[]) ? 'true': 'false' }};
  937.         _config.cartInfoUrl = '{{ demi_checkoutUrl('cart','hasAccoInCart')|raw }}';
  938.         _config.roomList = true;
  939.         _config.paramTabs = true;
  940.         _config.isWhitelabel = {{ demi_core_configuration(\"getIsWhitelabel\",[]) ? 'true' : 'false' }};
  941.         _config.trackingCountingClicksUrl = '{{ countingClicksUriJs|raw }}';
  942.         _config.productData = {
  943.             id: {{ accommodation.getId() }},
  944.             name: \"{{ demi_impressionName(accommodation) }}\",
  945.             category: \"{{ demi_impressionCategory(accommodation, null, searchParam) }}\",
  946.             brand: \"{{ demi_impressionBrand(accommodation) }}\"
  947.         };
  948.         _config.acommodationMapHideBusinesses = {{ demi_core_configuration('getMapHideBusinesses',[]) ? 'true' : 'false' }};
  949.         {% set mealtypeId = searchParam.getMealTypeId() %}
  950.         {% if mealtypeId is not empty and mealtypeId[0] is not empty %}
  951.         _config.urlParams = _config.urlParams || [];
  952.         _config.urlParams.push({name: \"mealtype\", value: \"{{ mealtypeId[0] }}\"});
  953.         {% endif %}
  954.         {% if searchParam.getBookOnly() %}
  955.         _config.urlParams = _config.urlParams || [];
  956.         _config.urlParams.push({name: \"bookonly\", value: \"on\"});
  957.         {% endif %}
  958.     </script>
  959.     {{ include('@ElementsDemiFrontend/Includes/canonicalOverride.html.twig', {'object' : accommodation }) }}
  960.     {{ include('@ElementsDemiFrontend/Includes/tags/detail-acco.html.twig',
  961.         {
  962.             'isMobile': false,
  963.             'acco': accommodation,
  964.             'searchParam': searchParam,
  965.             'accoResultSet': accommodationResultSet,
  966.             'productResultSet': productResultSet,
  967.             'packages': packages is defined ? packages : null,
  968.             'sortedMarketingGroups': sortedMarketingGroups,
  969.             'sortedFacilities': sortedFacilities,
  970.             'sortedHealthMeasures':sortedHealthMeasures,
  971.             'hasHousePackages': hasHousePackages
  972.         }
  973.     ) }}
  974.     <main id=\"main\" role=\"main\">
  975.         <div>
  976.             <div class=\"js-search-data__show-if-submitted\" {{ availabilityIsChecked ? '' : 'hidden' }}>
  977.                 {{ include('@ElementsDemiFrontend/Includes/ribbon.html.twig',{'searchParam': searchParam,'showBackButton': true, 'withFlag': false}) }}
  978.             </div>
  979.             <div class=\"js-search-data__hide-if-submitted\" {{ availabilityIsChecked ? 'hidden' : '' }}>
  980.                 {{ include('@ElementsDemiFrontend/Includes/ribbon-price.html.twig',{'resultSet': accommodationResultSet ? accommodationResultSet.getMinPriceBase(true): null, 'accommodation': accommodation}) }}
  981.             </div>
  982.         </div>
  983.         <div class=\"container\">
  984.             {% if accommodation.getIsTesthotel() %}
  985.                 <div class=\"demi-test-acco-notice mb-3 text-danger\"><strong>Testbetrieb</strong> nur für Debug/aktive
  986.                     Pimcore User sichtbar
  987.                 </div>{% endif %}
  988.             <h1 class=\"h2 text-primary{{ hasClassificationsWithIcons ? ' mb-1' : '' }}\">{{ demi_getAccoNameWithStars(accommodation) }}</h1>
  989.             {% for classification in classifications %}
  990.                 <div class=\"row row--gutter-width-20 mb-2\">
  991.                     <div class=\"col col-auto\">
  992.                         {% set count = classification.getClassificationGroupAmount() %}
  993.                         {% set group = classification.getClassificationGroup() %}
  994.                         {% if count is not empty and classification.getShowAsIcon() and classification.demiGetIcon() is not null %}
  995.                             <span class=\"classification_holder hidden-xs\"
  996.                                   aria-label=\"{{ count }} {{ group.getName() }}\">
  997.                             {% for c in 0..count %}
  998.                                 {% set thumbnail = classification.demiGetIcon().getThumbnail('demi-classification') %}
  999.                                 {{ thumbnail.getHTML()|raw }}
  1000.                             {% endfor %}
  1001.                                 {% if classification.getIsSuperior() %}
  1002.                                     <span class=\"classification-superior\">S</span>
  1003.                                 {% endif %}
  1004.                         </span>
  1005.                         {% endif %}
  1006.                     </div>
  1007.                 </div>
  1008.             {% endfor %}
  1009.             <div class=\"row row--gutter-width-20 mb-2\">
  1010.                 <div class=\"col col-auto\">
  1011.                     {{ accommodation.getCategoryNames(2) }}
  1012.                 </div>
  1013.                 <div class=\"col\">
  1014.                     <div class=\"media text-muted\">
  1015.                         {% if accommodation.getTown() is not null and (accommodation.getTown().getNameLocalized(app.request.locale) is not empty or accommodation.getTown().getName() is not empty) %}
  1016.                             <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  1017.                                  title=\"{{ 'demi.list.town'|trans }}\" aria-label=\"{{ 'demi.list.town'|trans }}\"></div>
  1018.                             <div class=\"media-body\">
  1019.                                 {{ accommodation.getTown().getNameLocalized(app.request.locale) is not empty ?  accommodation.getTown().getNameLocalized(app.request.locale) : accommodation.getTown().getName() }}
  1020.                             </div>
  1021.                         {% elseif accommodation.getDistrict() is not null and  (accommodation.getDistrict().getNameLocalized(app.request.locale) or accommodation.getDistrict().getName() is not empty) %}
  1022.                             <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  1023.                                  title=\"{{ 'demi.list.town'|trans }}\" aria-label=\"{{ 'demi.list.town'|trans }}\"></div>
  1024.                             <div class=\"media-body\">
  1025.                                 {{ accommodation.getDistrict().getNameLocalized(app.request.locale) is not empty  ? accommodation.getDistrict().getNameLocalized(app.request.locale) : accommodation.getDistrict().getName() }}
  1026.                             </div>
  1027.                         {% elseif address is not null and address.getTown is not null %}
  1028.                             <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  1029.                                  title=\"{{ 'demi.detail.town'|trans }}\"
  1030.                                  aria-label=\"{{ 'demi.detail.town'|trans }}\"></div>
  1031.                             <div class=\"media-body\">
  1032.                                 {{ address.getTown() }}
  1033.                             </div>
  1034.                         {% endif %}
  1035.                     </div>
  1036.                 </div>
  1037.             </div>
  1038.             <div class=\"row row--gutter-width-20 mb-2\">
  1039.                 <div class=\"col\">
  1040.                     {% if accommodation.getRatingSystem()==\"TrustYou\" %}
  1041.                         {% set normalizedRating = demi_ratingGetNormalized(accommodation, maxRatingValue, maxRatingNormalized) %}
  1042.                         {% if normalizedRating is not empty %}
  1043.                             <img src=\"/static/demi/debug/img/trustyou-logo.png\" alt=\"Logo Trustyou\" class=\"mb-1\">
  1044.                             {{ include('@ElementsDemiFrontend/Includes/rating.html.twig', {
  1045.                                 \"score\": normalizedRating,
  1046.                                 \"text\": accommodation.getRatingScoreDescription(),
  1047.                                 \"styleModifier\": \"mb-1\",
  1048.                                 \"showReviewCount\": true,
  1049.                                 \"ratingCount\": accommodation.getRatingCountDirect()
  1050.                             }) }}
  1051.                         {% endif %}
  1052.                     {% endif %}
  1053.                 </div>
  1054.                 <div class=\"col col-auto\">
  1055.                     {{ include('@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig', {
  1056.                         \"logo\": accommodation.getImages([constant('Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO')])|first
  1057.                     }) }}
  1058.                 </div>
  1059.             </div>
  1060.         </div>
  1061.         <figure class=\"figure my-3\">
  1062.             {% set firstImage =  accommodation.getFirstImage(imagesTypes,fromDate) %}
  1063.             {% if firstImage is not null %}
  1064.                 {{ firstImage.getThumbnail('demi-mobile-header-img').getHTML({ 'imgAttributes': {'class': 'img-full-width' }})|raw }}
  1065.             {% endif %}
  1066.             {% set images = accommodation.getImages(imagesTypes, fromDate, true) %}
  1067.             {% set photoCount = images|length %}
  1068.             {% if photoCount > 1 %}
  1069.                 <div class=\"figure__item figure__item--right figure__item--bottom m-3\">
  1070.                     <button class=\"btn btn-primary js-overlay__toggle js-tracking--click-piwik\"
  1071.                             data-target=\"#{{ accommodation.getId() }}-imgs-overlay\"
  1072.                             data-tracking-category=\"Gallery\"
  1073.                             data-tracking-action=\"open\">
  1074.                         {% set galleryString = photoCount > 1 ? 'demi.detail.images-gallery-button'|trans : 'demi.detail.image-gallery-button'|trans %}
  1075.                         {% set galleryString = galleryString|replace({'[AMOUNT_IMAGES]': photoCount}) %}
  1076.                         {% do elements_opengraph().setImages(elements_opengraph().getImages|merge( [app.request.getHost() ~ (images|first).getThumbnail('ogimages')])) %}
  1077.                         {{ galleryString }}
  1078.                     </button>
  1079.                 </div>
  1080.                 </div>
  1081.             {% endif %}
  1082.         </figure>
  1083.         <div class=\"container\" aria-live=\"polite\">
  1084.             <div class=\"js-room-list__loading js-corridor__search-info-loading\" hidden>
  1085.                 <div class=\"text-center py-3\">
  1086.                     {{ include('@ElementsDemiFrontend/Includes/elements/spinner/loading-spinner.html.twig') }}
  1087.                 </div>
  1088.             </div>
  1089.             <div class=\"js-room-list__content js-corridor__search-info-content\" id=\"searchInfo\" data-list=\"searchInfo\">
  1090.                 {{ include('@ElementsDemiFrontend/Accommodation/searchInfoBox.mobile.html.twig', {
  1091.                     \"accommodationResultSet\": accommodationResultSet,
  1092.                     \"isPackage\": false,
  1093.                 }) }}
  1094.             </div>
  1095.         </div>
  1096.         <div class=\"mt-3\">
  1097.             <ul class=\"nav nav-border-tabs justify-content-center\" role=\"tablist\">
  1098.                 <li class=\"nav-item\">
  1099.                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['detail'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1100.                        href=\"{{ anchors['detail'] }}\"
  1101.                        data-toggle=\"tab\"
  1102.                        role=\"tab\"
  1103.                        aria-expanded=\"{{ activeTab == anchors['detail'] ? 'true' : 'false' }}\"
  1104.                        data-tracking-category=\"button\"
  1105.                        data-tracking-action=\"detail\"
  1106.                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1107.                         {{ 'demi.detail.tab.accommodation-details'|trans }}
  1108.                     </a>
  1109.                 </li>
  1110.                 <li class=\"nav-item\" {{ hasHousePackages or (destinationPackages is not null and destinationPackages|length > 0  and  demi_core_configuration(\"getShowDestinationPackagesOnAccoDetail\",[]))  ? \"\" : \"hidden\" }}>
  1111.                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['package'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1112.                        href=\"{{ anchors['package'] }}\"
  1113.                        data-toggle=\"tab\"
  1114.                        role=\"tab\"
  1115.                        aria-expanded=\"{{ activeTab == anchors['package'] ? 'true' : 'false' }}\"
  1116.                        data-tracking-category=\"button\"
  1117.                        data-tracking-action=\"package\"
  1118.                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1119.                         {{ 'demi.detail.tab.packages'|trans }}
  1120.                     </a>
  1121.                 </li>
  1122.                 <li class=\"nav-item\">
  1123.                     <a class=\"nav-link js-param-tab {{ activeTab == anchors['rooms'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1124.                        href=\"{{ anchors['rooms'] }}\"
  1125.                        data-toggle=\"tab\"
  1126.                        role=\"tab\"
  1127.                        aria-expanded=\"{{ activeTab == anchors['rooms'] ? 'true' : 'false' }}\"
  1128.                        data-tracking-category=\"button\"
  1129.                        data-tracking-action=\"rooms\"
  1130.                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1131.                         {{ demi_getRoomsTabTranslationKey(accommodation)|trans }}
  1132.                     </a>
  1133.                 </li>
  1134.             </ul>
  1135.         </div>
  1136.         <div class=\"bg-light-gray pb-4 pt-2\">
  1137.             <div class=\"tab-content\">
  1138.                 <div class=\"tab-pane{{ activeTab == anchors['detail'] ? ' active ' : '' }} pt-2\" id=\"details\"
  1139.                      role=\"tabpanel\">
  1140.                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig\" ,{
  1141.                         'package': false,
  1142.                         'address': address,
  1143.                         'photoCount': photoCount is defined ? photoCount : 0,
  1144.                         'availabilityIsChecked':  availabilityIsChecked,
  1145.                         'fromDate': fromDate
  1146.                     }) }}
  1147.                 </div>
  1148.                 <div class=\"tab-pane{{ activeTab == anchors['package'] ? ' active ' : '' }} pt-2\" id=\"packages\"
  1149.                      role=\"tabpanel\">
  1150.                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-packages.mobile.html.twig\" ,{
  1151.                         'packages': packages is defined ? packages : null,
  1152.                         'destinationPackages': destinationPackages is defined ? destinationPackages : null,
  1153.                         'accommodation': accommodation
  1154.                     }) }}
  1155.                 </div>
  1156.                 <div class=\"tab-pane{{ activeTab == anchors['rooms'] ? ' active ' : '' }} pt-2\" id=\"rooms\"
  1157.                      role=\"tabpanel\">
  1158.                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-rooms.html.twig\" ,{
  1159.                         'package': false,
  1160.                         'availabilityIsChecked': availabilityIsChecked,
  1161.                         'accommodation': accommodation,
  1162.                         'housePackageMaster': null,
  1163.                         'resultSetPresent': resultSetPresent,
  1164.                         'tvbPackage': null,
  1165.                     }) }}
  1166.                 </div>
  1167.             </div>
  1168.             <div class=\"mt-4 text-center\">
  1169.                 {{ include(\"@ElementsDemiFrontend/Accommodation/includes/enquiry-button.html.twig\", {
  1170.                     \"text\": \"demi.detail.enquiry-button\"|trans,
  1171.                     \"trackingCategory\": \"Accommodation detail\",
  1172.                     \"trackingAction\": \"click enquiry\"
  1173.                 }) }}
  1174.             </div>
  1175.         </div>
  1176.     </main>
  1177.     {% set contactSnippet = demi_core_configuration('getContactSnippet',[]) %}
  1178.     {% if(contactSnippet is not empty) %}
  1179.         {{ pimcore_inc(contactSnippet) }}
  1180.     {% endif %}
  1181.     {{ include('@ElementsDemiFrontend/Includes/overlays/search.html.twig',{
  1182.         'filterSnippet':  pimcore_relation('filterSnippet').getData(),
  1183.         'searchParam': searchParam,
  1184.         'noDate': noDate is defined ? noDate : searchParam.getDateFrom() is not null,
  1185.         'isSearch': true
  1186.     }) }}
  1187.     {{ include('@ElementsDemiFrontend/Includes/overlays/img-gallery.html.twig',{
  1188.         'accommodation': accommodation,
  1189.         'imagesTypes': imagesTypes
  1190.     }) }}
  1191.     {% if demi_core_configuration(\"getDisableEnquiry\",[])!=true and accommodation.getAddress() is not empty and accommodation.getAddress().getEmail() is not empty %}
  1192.         {{ include('@ElementsDemiFrontend/Includes/overlays/inquiry-overlay.html.twig', {
  1193.             'accommodation': accommodation,
  1194.             'searchParams': searchParam,
  1195.             'user': user
  1196.         }) }}
  1197.     {% endif %}
  1198.     {% if demi_core_configuration('getWarningOnMultipleAccoProducts',[]) %}
  1199.         {{ include('@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig', {'cartUrl': step1Url}) }}
  1200.     {% endif %}
  1201. {% endblock %}
  1202. ""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig""/home/steiermark/www/src/Elements/Bundle/DemiFrontendBundle/Resources/views/Accommodation/detail.mobile.html.twig");
  1203.     }
  1204.     
  1205.     public function checkSecurity()
  1206.     {
  1207.         static $tags = array("if" => 1"do" => 2"set" => 6"for" => 78);
  1208.         static $filters = array("raw" => 12"length" => 30"split" => 39"escape" => 105"trans" => 204"first" => 245"replace" => 267"merge" => 268);
  1209.         static $functions = array("elements_head_title" => 2"demi_seoTitleForAcco" => 2"elements_head_meta" => 3"demi_seoDescriptionforAcco" => 3"linkGenerator" => 11"elements_canonical" => 12"elements_robots" => 15"demi_paymentSetDefaultCurrency" => 20"demi_getSearchFrom" => 25"demi_demiUrl" => 34"demi_core_configuration" => 49"jsConfig" => 61"demi_getAccoImagesTypesAsArray" => 74"demi_getAccommodationJsonLdData" => 86"jsonLd" => 88"demi_checkoutUrl" => 112"demi_impressionName" => 119"demi_impressionCategory" => 120"demi_impressionBrand" => 121"include" => 137"demi_getAccoNameWithStars" => 173"range" => 183"demi_ratingGetNormalized" => 229"constant" => 245"elements_opengraph" => 268"demi_getRoomsTabTranslationKey" => 326"pimcore_inc" => 379"pimcore_relation" => 383);
  1210.         try {
  1211.             $this->sandbox->checkSecurity(
  1212.                 ['if''do''set''for'],
  1213.                 ['raw''length''split''escape''trans''first''replace''merge'],
  1214.                 ['elements_head_title''demi_seoTitleForAcco''elements_head_meta''demi_seoDescriptionforAcco''linkGenerator''elements_canonical''elements_robots''demi_paymentSetDefaultCurrency''demi_getSearchFrom''demi_demiUrl''demi_core_configuration''jsConfig''demi_getAccoImagesTypesAsArray''demi_getAccommodationJsonLdData''jsonLd''demi_checkoutUrl''demi_impressionName''demi_impressionCategory''demi_impressionBrand''include''demi_getAccoNameWithStars''range''demi_ratingGetNormalized''constant''elements_opengraph''demi_getRoomsTabTranslationKey''pimcore_inc''pimcore_relation']
  1215.             );
  1216.         } catch (SecurityError $e) {
  1217.             $e->setSourceContext($this->source);
  1218.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1219.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1220.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1221.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1222.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1223.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1224.             }
  1225.             throw $e;
  1226.         }
  1227.     }
  1228. }