var/cache/dev/twig/68/68087c340c8345ef7ad51b0d21a4c723.php line 38

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/AdditionalService/detail.html.twig */
  14. class __TwigTemplate_cea187937f9206a6d43604ed29ebf270 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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 41
  29.         return "@ElementsDemiFrontend/Layout/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/AdditionalService/detail.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/AdditionalService/detail.html.twig"));
  38.         // line 1
  39.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig(), "add", [=> "inputStates"=> true], "method"falsefalsefalse1);
  40.         // line 2
  41.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig(), "add", [=> "datepicker"=> true], "method"falsefalsefalse2);
  42.         // line 3
  43.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig(), "add", [=> "numberSpinner"=> true], "method"falsefalsefalse3);
  44.         // line 5
  45.         $context["language"] = 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.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "locale", [], "any"falsefalsefalse5);
  46.         // line 6
  47.         $context["viewdata"] = $this->extensions['Elements\Bundle\DemiFrontendBundle\Twig\DemiAdditionalServiceExtension']->prepareDateForDetailFile((isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'6$this->source); })()), (isset($context["language"]) || array_key_exists("language"$context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.'6$this->source); })()), (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'6$this->source); })()));
  48.         // line 7
  49.         $this->env->getFunction('demi_paymentSetDefaultCurrency')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'7$this->source); })()), "provider", [], "any"falsefalsefalse7));
  50.         // line 8
  51.         $context["currency"] = $this->env->getFunction('demi_paymentGetCurrency')->getCallable()();
  52.         // line 10
  53.         $context["metaTitle"] = twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'10$this->source); })()), "metaTitle", [], "any"falsefalsefalse10);
  54.         // line 11
  55.         if (twig_test_empty((isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'11$this->source); })()))) {
  56.             // line 12
  57.             $context["metaTitle"] = twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'12$this->source); })()), "name", [], "any"falsefalsefalse12);
  58.             // line 13
  59.             $context["metaTitle"] = ((isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'13$this->source); })()) . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'13$this->source); })()), "provider", [], "any"falsefalsefalse13), "getTown", [], "method"falsefalsefalse13)) ? (((((" " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.seo.in")) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'13$this->source); })()), "provider", [], "any"falsefalsefalse13), "getTown", [], "method"falsefalsefalse13), "getName", [], "method"falsefalsefalse13)) . " ")) : ("")));
  60.         }
  61.         // line 16
  62.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'16$this->source); })())) {
  63.             // line 17
  64.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsHeadTitle(), "setTitle", [=> (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'17$this->source); })()), => true], "method"falsefalsefalse17);
  65.             // line 18
  66.             $this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsHeadMeta($this->extensions['App\Twig\LayoutExtension']->chooseDescription(twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'18$this->source); })()), "metaDescription", [], "any"falsefalsefalse18), twig_striptags(twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'18$this->source); })()), "getDescription", [=> twig_constant("Elements\\Demi\\Deskline\\Constant\\DescriptionInterface::DESCRIPTION_SERVICE_DESCRIPTION")], "method"falsefalsefalse18))), true);
  67.         }
  68.         // line 20
  69.         $context["breadcrumbUrl"] = 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.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "pathInfo", [], "any"falsefalsefalse20);
  70.         // line 22
  71.         twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsCanonical(), "checkAllParams", [=> false], "method"falsefalsefalse22), "setDomain", [=> twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'22$this->source); })()), "canonicalUrl", [], "any"falsefalsefalse22)], "method"falsefalsefalse22);
  72.         // line 24
  73.         if ( !(twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'24$this->source); })()), "canonicalUrl", [], "any"falsefalsefalse24) === 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.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "pathInfo", [], "any"falsefalsefalse24))) {
  74.             // line 25
  75.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsRobots(), "setNoIndex", [=> true], "method"falsefalsefalse25);
  76.         }
  77.         // line 28
  78.         $context["fromDate"] = ((array_key_exists("fromDate"$context)) ? (_twig_default_filter((isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'28$this->source); })()), twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\CmsToolsBundle\Twig\CarbonExtension']->carbon(), "now", [], "any"falsefalsefalse28))) : (twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\CmsToolsBundle\Twig\CarbonExtension']->carbon(), "now", [], "any"falsefalsefalse28)));
  79.         // line 29
  80.         $context["images"] = twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'29$this->source); })()), "getImages", [=> null=> (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'29$this->source); })())], "method"falsefalsefalse29);
  81.         // line 30
  82.         if ((twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'30$this->source); })()), "photoCount", [], "any"falsefalsefalse30) > 0)) {
  83.             // line 31
  84.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "setImages", [=> twig_array_merge([=> ($this->extensions['App\Twig\LayoutExtension']->getHostUrl() . twig_get_attribute($this->env$this->source, (isset($context["images"]) || array_key_exists("images"$context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.'31$this->source); })()), 0, [], "array"falsefalsefalse31))], twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "getImages", [], "method"falsefalsefalse31))], "method"falsefalsefalse31);
  85.         }
  86.         // line 34
  87.         $context["generalDocuments"] = [];
  88.         // line 35
  89.         $context['_parent'] = $context;
  90.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'35$this->source); })()), "getDocuments", [], "method"falsefalsefalse35));
  91.         foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
  92.             // line 36
  93.             if ( !$this->env->getTest('instanceof')->getCallable()($context["doc"], "\\Pimcore\\Model\\DataObject\\DemiDocumentImage")) {
  94.                 // line 37
  95.                 $context["generalDocuments"] = twig_array_merge((isset($context["generalDocuments"]) || array_key_exists("generalDocuments"$context) ? $context["generalDocuments"] : (function () { throw new RuntimeError('Variable "generalDocuments" does not exist.'37$this->source); })()), [=> $context["doc"]]);
  96.             }
  97.         }
  98.         $_parent $context['_parent'];
  99.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
  100.         $context array_intersect_key($context$_parent) + $_parent;
  101.         // line 41
  102.         $this->parent $this->loadTemplate("@ElementsDemiFrontend/Layout/layout.html.twig""@ElementsDemiFrontend/AdditionalService/detail.html.twig"41);
  103.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.         
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108.     }
  109.     // line 43
  110.     public function block_content($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  117.         // line 51
  118.         echo "
  119.     ";
  120.         // line 52
  121.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsonLdBundle\Twig\Extension\JsonLdExtension']->jsonLd(), "add", [=> "AdditionalService"=> $this->extensions['Elements\Bundle\DemiFrontendBundle\Twig\DemiAdditionalServiceExtension']->getJsonLdData((isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'52$this->source); })()), twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'52$this->source); })()), "fromToRanges", [], "any"falsefalsefalse52), ["locale" => (isset($context["language"]) || array_key_exists("language"$context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.'52$this->source); })())])], "method"falsefalsefalse52);
  122.         // line 55
  123.         echo "
  124. ";
  125.         // line 68
  126.         echo "    ";
  127.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig(), "add", [=> ["tracking" => true"activityList" => true"initialTracking" => [=> ["type" => "detailView""data" => ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 74
  128. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'74$this->source); })()), "provider", [], "any"falsefalsefalse74), "id", [], "any"falsefalsefalse74), "name" => $this->env->getFunction('demi_impressionName')->getCallable()(twig_get_attribute($this->env$this->source,         // line 75
  129. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'75$this->source); })()), "provider", [], "any"falsefalsefalse75)), "category" => $this->env->getFunction('demi_impressionCategory')->getCallable()(twig_get_attribute($this->env$this->source,         // line 76
  130. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'76$this->source); })()), "provider", [], "any"falsefalsefalse76), nullnullnull, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'76$this->source); })())), "brand" => $this->env->getFunction('demi_impressionBrand')->getCallable()(twig_get_attribute($this->env$this->source,         // line 77
  131. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'77$this->source); })()), "provider", [], "any"falsefalsefalse77)), "price" => $this->env->getFunction('demi_additionalGetFirstPrice')->getCallable()(        // line 78
  132. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'78$this->source); })()))]]], "ajaxModal" => true"ajaxOverlay" => true"offerOverlay" => true"additionalOffersJson" => [], "overlay" => true]], "method"falsefalsefalse68);
  133.         // line 87
  134.         echo "
  135.     ";
  136.         // line 88
  137.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/canonicalOverride.html.twig", ["object" =>         // line 89
  138. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'89$this->source); })())]);
  139.         // line 90
  140.         echo "
  141.     ";
  142.         // line 92
  143.         if (twig_in_filter( !((array_key_exists("activeTab"$context)) ? (_twig_default_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'92$this->source); })()), "")) : ("")), twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'92$this->source); })()), "anchors", [], "any"falsefalsefalse92))) {
  144.             // line 93
  145.             echo "        ";
  146.             $context["activeTab"] = "#details";
  147.             // line 94
  148.             echo "    ";
  149.         } else {
  150.             // line 95
  151.             echo "        ";
  152.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig("_initialState"), "add", [=> "activeTab"=> ((array_key_exists("activeTab"$context)) ? (_twig_default_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'95$this->source); })()), "")) : (""))], "method"falsefalsefalse95);
  153.             // line 96
  154.             echo "    ";
  155.         }
  156.         // line 97
  157.         echo "
  158. <main id=\"main\" role=\"main\" class=\"js-affix__container\">
  159.     <div class=\"ribbon row row--gutter-width-1 d-md-none\">
  160.         <div class=\"col col-auto d-flex flex-column\">
  161.             <button type=\"button\" onclick=\"history.back()\"
  162.                     class=\"ribbon__item py-3 btn-no-styling px-3 flex-auto flex-row\">
  163.                 <span class=\"demi-icon demi-icon-chevron-left f17\" aria-label=\"";
  164.         // line 105
  165.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.back"), "html"nulltrue);
  166.         echo "\"
  167.                       title=\"";
  168.         // line 106
  169.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.back"), "html"nulltrue);
  170.         echo "\"></span>
  171.             </button>
  172.         </div>
  173.         <div class=\"col\">
  174.             <div class=\"ribbon__item py-3 font-medium h-100\">
  175.                 <div class=\"row  row--gutter-width-10 align-items-baseline\">
  176.                     <a href=\"#\" onclick=\"history.back()\">";
  177.         // line 113
  178.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.back"), "html"nulltrue);
  179.         echo "</a>
  180.                 </div>
  181.             </div>
  182.         </div>
  183.     </div>
  184.     ";
  185.         // line 118
  186.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig", ["cartUrl" => twig_get_attribute($this->env$this->source,         // line 119
  187. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'119$this->source); })()), "cartUrl", [], "any"falsefalsefalse119)]);
  188.         // line 120
  189.         echo "
  190.     <div hidden>
  191.         ";
  192.         // line 122
  193.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/lightboxTopbar.html.twig");
  194.         echo "
  195.     </div>
  196.     ";
  197.         // line 125
  198.         if ((twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'125$this->source); })()), "photoCount", [], "any"falsefalsefalse125) >= 1)) {
  199.             // line 126
  200.             echo "        ";
  201.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig(), "add", [=> "lightbox"=> true], "method"falsefalsefalse126);
  202.             // line 127
  203.             echo "        ";
  204.             if (twig_get_attribute($this->env$this->sourcePimcore\Tool\DeviceDetector::getInstance(), "isDesktop", [], "method"falsefalsefalse127)) {
  205.                 // line 128
  206.                 echo "            ";
  207.                 echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/includes/additionalservice-header-multi-image.desktop.html.twig", ["photoCount" => twig_get_attribute($this->env$this->source,                 // line 129
  208. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'129$this->source); })()), "photoCount", [], "any"falsefalsefalse129), "imageList" => twig_get_attribute($this->env$this->source,                 // line 130
  209. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'130$this->source); })()), "detailSlides", [], "any"falsefalsefalse130)]);
  210.                 // line 131
  211.                 echo "
  212.         ";
  213.             }
  214.             // line 133
  215.             echo "        ";
  216.             if ( !twig_get_attribute($this->env$this->sourcePimcore\Tool\DeviceDetector::getInstance(), "isDesktop", [], "method"falsefalsefalse133)) {
  217.                 // line 134
  218.                 echo "            <figure class=\"figure\">
  219.                 ";
  220.                 // line 135
  221.                 if (twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'135$this->source); })()), "getFirstImage", [=> null=> (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'135$this->source); })())], "method"falsefalsefalse135)) {
  222.                     // line 136
  223.                     echo "                    ";
  224.                     echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'136$this->source); })()), "getFirstImage", [=> null=> (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'136$this->source); })())], "method"falsefalsefalse136), "thumbnail", [=> "demi-mobile-header-img"], "method"falsefalsefalse136), "html", [=> ["class" => "img-full-width"]], "method"falsefalsefalse136);
  225.                     // line 138
  226.                     echo "
  227.                 ";
  228.                 }
  229.                 // line 140
  230.                 echo "                ";
  231.                 if ((twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'140$this->source); })()), "photoCount", [], "any"falsefalsefalse140) > 1)) {
  232.                     // line 141
  233.                     echo "                    <div class=\"figure__item figure__item--right figure__item--bottom m-3\">
  234.                         <button class=\"btn btn-primary js-overlay__toggle js-tracking--click-piwik\"
  235.                                 data-target=\"#";
  236.                     // line 143
  237.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'143$this->source); })()), "id", [], "any"falsefalsefalse143), "html"nulltrue);
  238.                     echo "-imgs-overlay\"
  239.                                 data-tracking-category=\"Gallery\"
  240.                                 data-tracking-action=\"open\">
  241.                             ";
  242.                     // line 146
  243.                     $context["galleryString"] = twig_replace_filter((((twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'146$this->source); })()), "photoCount", [], "any"falsefalsefalse146) > 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"))), ["[AMOUNT_IMAGES]" => twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'146$this->source); })()), "photoCount", [], "any"falsefalsefalse146)]);
  244.                     // line 147
  245.                     echo "                            ";
  246.                     echo twig_escape_filter($this->env, (isset($context["galleryString"]) || array_key_exists("galleryString"$context) ? $context["galleryString"] : (function () { throw new RuntimeError('Variable "galleryString" does not exist.'147$this->source); })()), "html"nulltrue);
  247.                     echo "
  248.                         </button>
  249.                     </div>
  250.                 ";
  251.                 }
  252.                 // line 151
  253.                 echo "            </figure>
  254.         ";
  255.             }
  256.             // line 153
  257.             echo "    ";
  258.         }
  259.         // line 154
  260.         echo "
  261.     ";
  262.         // line 155
  263.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/elements/breadcrumb.html.twig");
  264.         echo "
  265.     <div class=\"container container--additional-service-detail pt-4 pt-md-5\">
  266.         <div class=\"row mb-md-3\">
  267.             <div class=\"col\">
  268.                 ";
  269.         // line 160
  270.         echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/intro.html.twig", ["detailHeadline" => twig_get_attribute($this->env$this->source,         // line 161
  271. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'161$this->source); })()), "name", [=> (isset($context["language"]) || array_key_exists("language"$context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.'161$this->source); })())], "method"falsefalsefalse161)]);
  272.         // line 162
  273.         echo "
  274.                 ";
  275.         // line 163
  276.         if (((twig_get_attribute($this->env$this->source, ($context["viewdata"] ?? null), "serviceTown", [], "any"truetruefalse163)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["viewdata"] ?? null), "serviceTown", [], "any"falsefalsefalse163), null)) : (null))) {
  277.             // line 164
  278.             echo "                    <div class=\"media text-muted mb-md-0 mb-3\">
  279.                         <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  280.                              title=\"";
  281.             // line 166
  282.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  283.             echo "\"
  284.                              aria-label=\"";
  285.             // line 167
  286.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  287.             echo "\"></div>
  288.                         <div class=\"media-body\">
  289.                             ";
  290.             // line 169
  291.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'169$this->source); })()), "serviceTown", [], "any"falsefalsefalse169), "html"nulltrue);
  292.             echo "
  293.                         </div>
  294.                     </div>
  295.                 ";
  296.         }
  297.         // line 173
  298.         echo "
  299.             </div>
  300.             <div class=\"col col-auto\">
  301.                 <div>
  302.                     ";
  303.         // line 178
  304.         $context["logos"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'178$this->source); })()), "provider", [], "any"falsefalsefalse178), "getImages", [=> [=> twig_constant("\\Elements\\Demi\\Deskline\\Constant\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO")]], "method"falsefalsefalse178);
  305.         // line 179
  306.         echo "                    ";
  307.         if ( !twig_test_empty((isset($context["logos"]) || array_key_exists("logos"$context) ? $context["logos"] : (function () { throw new RuntimeError('Variable "logos" does not exist.'179$this->source); })()))) {
  308.             // line 180
  309.             echo "                        ";
  310.             echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig", ["logo" => twig_get_attribute($this->env$this->source,             // line 181
  311. (isset($context["logos"]) || array_key_exists("logos"$context) ? $context["logos"] : (function () { throw new RuntimeError('Variable "logos" does not exist.'181$this->source); })()), 0, [], "array"falsefalsefalse181)]);
  312.             // line 182
  313.             echo "
  314.                     ";
  315.         }
  316.         // line 184
  317.         echo "                </div>
  318.             </div>
  319.         </div>
  320.         <div class=\"row\">
  321.             <div class=\"col-xl-9 col-md-8 col-12 order-2 order-md-1\">
  322.                 <script data-cookieconsent=\"ignore\">
  323.                     _config.paramTabs = true;
  324.                     _config.loadAccoImages = true;
  325.                 </script>
  326.                 <div class=\"mt-md-3\">
  327.                     <ul class=\"nav nav-border-tabs d-none d-md-flex\" role=\"tablist\">
  328.                         <li class=\"nav-item\">
  329.                             <a class=\"nav-link js-param-tab ";
  330.         // line 197
  331.         echo (((((array_key_exists("activeTab"$context)) ? (_twig_default_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'197$this->source); })()), "")) : ("")) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'197$this->source); })()), "anchors", [], "any"falsefalsefalse197), "details", [], "array"falsefalsefalse197))) ? (" active") : (""));
  332.         echo " js-tracking js-tracking--click\"
  333.                                href=\"";
  334.         // line 198
  335.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'198$this->source); })()), "anchors", [], "any"falsefalsefalse198), "details", [], "array"falsefalsefalse198), "html"nulltrue);
  336.         echo "\"
  337.                                data-toggle=\"tab\"
  338.                                role=\"tab\"
  339.                                aria-expanded=\"";
  340.         // line 201
  341.         echo (((((array_key_exists("activeTab"$context)) ? (_twig_default_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'201$this->source); })()), "")) : ("")) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'201$this->source); })()), "anchors", [], "any"falsefalsefalse201), "details", [], "array"falsefalsefalse201))) ? ("true") : ("false"));
  342.         echo "\"
  343.                                data-tracking-category=\"button\"
  344.                                data-tracking-action=\"additionalservice-details\"
  345.                                data-tracking-label=\"";
  346.         // line 204
  347.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'204$this->source); })()), "name", [], "any"falsefalsefalse204), "html");
  348.         echo "\">
  349.                                 ";
  350.         // line 205
  351.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.tab.description"), "html"nulltrue);
  352.         echo "
  353.                             </a>
  354.                         </li>
  355.                         ";
  356.         // line 208
  357.         if ((twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'208$this->source); })()), "photoCount", [], "any"falsefalsefalse208) > 3)) {
  358.             // line 209
  359.             echo "                            <li class=\"nav-item\">
  360.                                 <a class=\"nav-link js-param-tab js-acco-images__tab ";
  361.             // line 210
  362.             echo (((((array_key_exists("activeTab"$context)) ? (_twig_default_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'210$this->source); })()), "")) : ("")) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'210$this->source); })()), "anchors", [], "any"falsefalsefalse210), "pictures", [], "array"falsefalsefalse210))) ? (" active") : (""));
  363.             echo " js-tracking js-tracking--click\"
  364.                                    href=\"";
  365.             // line 211
  366.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'211$this->source); })()), "anchors", [], "any"falsefalsefalse211), "pictures", [], "array"falsefalsefalse211), "html"nulltrue);
  367.             echo "\"
  368.                                    data-toggle=\"tab\"
  369.                                    role=\"tab\"
  370.                                    aria-expanded=\"";
  371.             // line 214
  372.             echo (((((array_key_exists("activeTab"$context)) ? (_twig_default_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'214$this->source); })()), "")) : ("")) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'214$this->source); })()), "anchors", [], "any"falsefalsefalse214), "pictures", [], "array"falsefalsefalse214))) ? ("true") : ("false"));
  373.             echo "\"
  374.                                    data-tracking-category=\"button\"
  375.                                    data-tracking-action=\"additionalservice-pictures\"
  376.                                    data-tracking-label=\"";
  377.             // line 217
  378.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'217$this->source); })()), "name", [], "any"falsefalsefalse217), "html");
  379.             echo "\">
  380.                                     ";
  381.             // line 218
  382.             if ((((twig_get_attribute($this->env$this->source, ($context["viewdata"] ?? null), "videoCount", [], "any"truetruefalse218)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["viewdata"] ?? null), "videoCount", [], "any"falsefalsefalse218), 0)) : (0)) == 0)) {
  383.                 // line 219
  384.                 echo "                                        ";
  385.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.photos"), "html"nulltrue);
  386.                 echo "
  387.                                     ";
  388.             } else {
  389.                 // line 221
  390.                 echo "                                        ";
  391.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.photos-videos"), "html"nulltrue);
  392.                 echo "
  393.                                     ";
  394.             }
  395.             // line 223
  396.             echo "                                </a>
  397.                             </li>
  398.                         ";
  399.         }
  400.         // line 226
  401.         echo "                    </ul>
  402.                 </div>
  403.                 <div class=\"pt-md-2\">
  404.                     <div class=\"tab-content\">
  405.                         <div class=\"tab-pane pt-md-2";
  406.         // line 231
  407.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'231$this->source); })()) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'231$this->source); })()), "anchors", [], "any"falsefalsefalse231), "details", [], "array"falsefalsefalse231))) ? (" active") : (""));
  408.         echo "\"
  409.                              id=\"details\" role=\"tabpanel\">
  410.                             ";
  411.         // line 233
  412.         $context["infoTemplateName"] = ((((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'233$this->source); })()), "descriptionTypes", [], "any"falsefalsefalse233)) + twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'233$this->source); })()), "localDescriptions", [], "any"falsefalsefalse233))) > 4)) ? ("serviceInfoCollapse") : ("serviceInfo"));
  413.         // line 234
  414.         echo "                            ";
  415.         echo twig_include($this->env$context, (("@ElementsDemiFrontend/AdditionalService/detail/" . (isset($context["infoTemplateName"]) || array_key_exists("infoTemplateName"$context) ? $context["infoTemplateName"] : (function () { throw new RuntimeError('Variable "infoTemplateName" does not exist.'234$this->source); })())) . ".html.twig"), ["detailHeadline" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.service-headline-description"), "detailText" => ((twig_get_attribute($this->env$this->source,         // line 236
  416. ($context["viewdata"] ?? null), "serviceDescription", [], "any"truetruefalse236)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["viewdata"] ?? null), "serviceDescription", [], "any"falsefalsefalse236), "")) : ("")), "moreDescriptions" => twig_get_attribute($this->env$this->source,         // line 237
  417. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'237$this->source); })()), "descriptionTypes", [], "any"falsefalsefalse237), "localDescriptions" => twig_get_attribute($this->env$this->source,         // line 238
  418. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'238$this->source); })()), "localDescriptions", [], "any"falsefalsefalse238), "offerItem" =>         // line 239
  419. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'239$this->source); })())]);
  420.         // line 240
  421.         echo "
  422.                             ";
  423.         // line 242
  424.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'242$this->source); })()), "providerDescription", [], "any"falsefalsefalse242))) {
  425.             // line 243
  426.             echo "                                ";
  427.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/serviceproviderInfo.html.twig", ["detailHeadline" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.serviceprovider-headline-description"), "detailText" => twig_get_attribute($this->env$this->source,             // line 245
  428. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'245$this->source); })()), "providerDescription", [], "any"falsefalsefalse245)]);
  429.             // line 246
  430.             echo "
  431.                             ";
  432.         }
  433.         // line 248
  434.         echo "
  435.                             ";
  436.         // line 249
  437.         if (( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'249$this->source); })()), "datesAndTimes", [], "any"falsefalsefalse249)) && ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'249$this->source); })()), "datesAndTimes", [], "any"falsefalsefalse249), "dates", [], "any"falsefalsefalse249)) ||  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'249$this->source); })()), "datesAndTimes", [], "any"falsefalsefalse249), "times", [], "any"falsefalsefalse249))))) {
  438.             // line 250
  439.             echo "                                ";
  440.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/date.html.twig", ["detailDate" => twig_join_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 251
  441. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'251$this->source); })()), "datesAndTimes", [], "any"falsefalsefalse251), "dates", [], "any"falsefalsefalse251), "<br>"), "detailTime" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 252
  442. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'252$this->source); })()), "datesAndTimes", [], "any"falsefalsefalse252), "times", [], "any"falsefalsefalse252)]);
  443.             // line 253
  444.             echo "
  445.                             ";
  446.         }
  447.         // line 255
  448.         echo "
  449.                             ";
  450.         // line 256
  451.         echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/contact.html.twig", ["service" =>         // line 257
  452. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'257$this->source); })()), "addressOwner" => ((        // line 258
  453. array_key_exists("addressOwner"$context)) ? (_twig_default_filter((isset($context["addressOwner"]) || array_key_exists("addressOwner"$context) ? $context["addressOwner"] : (function () { throw new RuntimeError('Variable "addressOwner" does not exist.'258$this->source); })()), null)) : (null)), "addressObject" => ((        // line 259
  454. array_key_exists("addressObject"$context)) ? (_twig_default_filter((isset($context["addressObject"]) || array_key_exists("addressObject"$context) ? $context["addressObject"] : (function () { throw new RuntimeError('Variable "addressObject" does not exist.'259$this->source); })()), null)) : (null))]);
  455.         // line 260
  456.         echo "
  457.                             ";
  458.         // line 262
  459.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'262$this->source); })()), "linkArray", [], "any"falsefalsefalse262))) {
  460.             // line 263
  461.             echo "                                ";
  462.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/links.html.twig", ["detailHeadline" => ((((            // line 264
  463. array_key_exists("templateData"$context)) ? (_twig_default_filter((isset($context["templateData"]) || array_key_exists("templateData"$context) ? $context["templateData"] : (function () { throw new RuntimeError('Variable "templateData" does not exist.'264$this->source); })()), null)) : (null))) ? (twig_get_attribute($this->env$this->source, (isset($context["templateData"]) || array_key_exists("templateData"$context) ? $context["templateData"] : (function () { throw new RuntimeError('Variable "templateData" does not exist.'264$this->source); })()), "detailLinkHeader", [], "any"falsefalsefalse264)) : ("")), "detailLinks" => twig_get_attribute($this->env$this->source,             // line 265
  464. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'265$this->source); })()), "linkArray", [], "any"falsefalsefalse265)]);
  465.             // line 266
  466.             echo "
  467.                             ";
  468.         }
  469.         // line 268
  470.         echo "
  471.                             ";
  472.         // line 269
  473.         if ( !twig_test_empty((isset($context["generalDocuments"]) || array_key_exists("generalDocuments"$context) ? $context["generalDocuments"] : (function () { throw new RuntimeError('Variable "generalDocuments" does not exist.'269$this->source); })()))) {
  474.             // line 270
  475.             echo "                                ";
  476.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/includes/documents.html.twig", ["detailDocuments" =>             // line 271
  477. (isset($context["generalDocuments"]) || array_key_exists("generalDocuments"$context) ? $context["generalDocuments"] : (function () { throw new RuntimeError('Variable "generalDocuments" does not exist.'271$this->source); })())]);
  478.             // line 272
  479.             echo "
  480.                             ";
  481.         }
  482.         // line 274
  483.         echo "
  484.                         </div>
  485.                         ";
  486.         // line 277
  487.         if ((twig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'277$this->source); })()), "photoCount", [], "any"falsefalsefalse277) > 3)) {
  488.             // line 278
  489.             echo "                            <div class=\"tab-pane pt-md-2";
  490.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'278$this->source); })()) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'278$this->source); })()), "anchors", [], "any"falsefalsefalse278), "pictures", [], "any"falsefalsefalse278))) ? (" active") : (""));
  491.             echo "\" id=\"pictures\" role=\"tabpanel\">
  492.                                 ";
  493.             // line 279
  494.             echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-pictures.desktop.html.twig", ["additionalService" => true"photoCount" => twig_get_attribute($this->env$this->source,             // line 281
  495. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'281$this->source); })()), "photoCount", [], "any"falsefalsefalse281), "fromDate" =>             // line 282
  496. (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'282$this->source); })()), "imageList" => twig_get_attribute($this->env$this->source,             // line 283
  497. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'283$this->source); })()), "detailSlides", [], "any"falsefalsefalse283), "package" => null]);
  498.             // line 285
  499.             echo "
  500.                             </div>
  501.                         ";
  502.         }
  503.         // line 288
  504.         echo "                    </div>
  505.                 </div>
  506.             </div>
  507.             <script>_config.affix = true;</script>
  508. ";
  509.         // line 294
  510.         echo "            <div class=\"col-12 col-md-4 col-xl-3 order-1 order-md-2\">
  511.                 <div class=\"js-affix__placeholder\">
  512.                     <div class=\"card bordered additional-offer-card\" data-affix-offset=\"149\">
  513.                         <div class=\"card-body additional-offer-card__body p-md-4 p-2\">
  514.                             <div>
  515.                                 <div class=\"container\" id=\"vacancysearch\">
  516.                                     <div class=\"py-2\">
  517.                                         <div class=\"js-ajax-form js-additional-services\">
  518.                                             <div aria-live=\"polite\">
  519.                                                 ";
  520.         // line 303
  521.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'303$this->source); })()), "latest", [], "any"falsefalsefalse303), "gte", [=> twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\CmsToolsBundle\Twig\CarbonExtension']->carbon(), "now", [], "any"falsefalsefalse303)], "method"falsefalsefalse303)) {
  522.             // line 304
  523.             echo "                                                    ";
  524.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/vacancysearch.html.twig", ["detailHeadline" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.datepicker-notice"), "dateFromLabel" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.from"), "dateToLabel" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.to"), "detailEarliest" => twig_get_attribute($this->env$this->source,             // line 308
  525. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'308$this->source); })()), "earliest", [], "any"falsefalsefalse308), "detailLatest" => twig_get_attribute($this->env$this->source,             // line 309
  526. (isset($context["viewdata"]) || array_key_exists("viewdata"$context) ? $context["viewdata"] : (function () { throw new RuntimeError('Variable "viewdata" does not exist.'309$this->source); })()), "latest", [], "any"falsefalsefalse309)]);
  527.             // line 310
  528.             echo "
  529.                                 
  530.                                                 ";
  531.         } else {
  532.             // line 313
  533.             echo "                                                    ";
  534.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/serviceover.html.twig", ["detailHeadline" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.offer-over")]);
  535.             // line 315
  536.             echo "
  537.                                                 ";
  538.         }
  539.         // line 317
  540.         echo "                                            </div>
  541.                                         </div>
  542.                                     </div>
  543.                                 </div>
  544.                             </div>
  545.                         </div>
  546.                     </div>
  547.                 </div>
  548.             </div>
  549.         </div>
  550.     </div>
  551.     <div class=\"container container--additional-service-related\">
  552.         <div class=\"pt-2\">
  553.             ";
  554.         // line 333
  555.         if (((false && (isset($context["relatedItems"]) || array_key_exists("relatedItems"$context) ? $context["relatedItems"] : (function () { throw new RuntimeError('Variable "relatedItems" does not exist.'333$this->source); })())) && twig_length_filter($this->env, (isset($context["relatedItems"]) || array_key_exists("relatedItems"$context) ? $context["relatedItems"] : (function () { throw new RuntimeError('Variable "relatedItems" does not exist.'333$this->source); })())))) {
  556.             // line 334
  557.             echo "                ";
  558.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/relatedItems.html.twig", ["detailRelatedItems" =>             // line 335
  559. (isset($context["relatedItems"]) || array_key_exists("relatedItems"$context) ? $context["relatedItems"] : (function () { throw new RuntimeError('Variable "relatedItems" does not exist.'335$this->source); })()), "detailHeadline" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.additionalservice.detail.headline-relatedservices")]);
  560.             // line 337
  561.             echo "
  562.             ";
  563.         }
  564.         // line 339
  565.         echo "            ";
  566.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'339$this->source); })()), "getDemiExtension", [], "method"falsefalsefalse339))) {
  567.             // line 340
  568.             echo "                ";
  569.             echo twig_include($this->env$context"@ElementsDemiFrontend/AdditionalService/detail/demiExtension.html.twig", ["detailExtension" => twig_get_attribute($this->env$this->source,             // line 341
  570. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'341$this->source); })()), "getDemiExtension", [], "method"falsefalsefalse341)]);
  571.             // line 342
  572.             echo "
  573.             ";
  574.         }
  575.         // line 344
  576.         echo "        </div>
  577.     </div>
  578. </main>
  579. ";
  580.         // line 347
  581.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/img-gallery.html.twig", ["additionalService" =>         // line 348
  582. (isset($context["offeritem"]) || array_key_exists("offeritem"$context) ? $context["offeritem"] : (function () { throw new RuntimeError('Variable "offeritem" does not exist.'348$this->source); })()), "tvbPackage" => null"destinationPackage" => null"imagesTypes" => []]);
  583.         // line 352
  584.         echo "
  585. ";
  586.         // line 354
  587.         if (twig_get_attribute($this->env$this->sourcePimcore\Tool\DeviceDetector::getInstance(), "isPhone", [], "method"falsefalsefalse354)) {
  588.             // line 355
  589.             echo "    ";
  590.             echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/date.html.twig", ["date" => twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\CmsToolsBundle\Twig\CarbonExtension']->carbon(), "now", [], "method"falsefalsefalse356)]);
  591.             // line 357
  592.             echo "
  593. ";
  594.         }
  595.         // line 359
  596.         echo "
  597. ";
  598.         
  599.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  600.         
  601.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  602.     }
  603.     public function getTemplateName()
  604.     {
  605.         return "@ElementsDemiFrontend/AdditionalService/detail.html.twig";
  606.     }
  607.     public function isTraitable()
  608.     {
  609.         return false;
  610.     }
  611.     public function getDebugInfo()
  612.     {
  613.         return array (  627 => 359,  623 => 357,  620 => 355,  618 => 354,  614 => 352,  612 => 348,  611 => 347,  606 => 344,  602 => 342,  600 => 341,  598 => 340,  595 => 339,  591 => 337,  589 => 335,  587 => 334,  585 => 333,  567 => 317,  563 => 315,  560 => 313,  555 => 310,  553 => 309,  552 => 308,  550 => 304,  548 => 303,  537 => 294,  530 => 288,  525 => 285,  523 => 283,  522 => 282,  521 => 281,  520 => 279,  515 => 278,  513 => 277,  508 => 274,  504 => 272,  502 => 271,  500 => 270,  498 => 269,  495 => 268,  491 => 266,  489 => 265,  488 => 264,  486 => 263,  484 => 262,  480 => 260,  478 => 259,  477 => 258,  476 => 257,  475 => 256,  472 => 255,  468 => 253,  466 => 252,  465 => 251,  463 => 250,  461 => 249,  458 => 248,  454 => 246,  452 => 245,  450 => 243,  448 => 242,  444 => 240,  442 => 239,  441 => 238,  440 => 237,  439 => 236,  437 => 234,  435 => 233,  430 => 231,  423 => 226,  418 => 223,  412 => 221,  406 => 219,  404 => 218,  400 => 217,  394 => 214,  388 => 211,  384 => 210,  381 => 209,  379 => 208,  373 => 205,  369 => 204,  363 => 201,  357 => 198,  353 => 197,  338 => 184,  334 => 182,  332 => 181,  330 => 180,  327 => 179,  325 => 178,  318 => 173,  311 => 169,  306 => 167,  302 => 166,  298 => 164,  296 => 163,  293 => 162,  291 => 161,  290 => 160,  282 => 155,  279 => 154,  276 => 153,  272 => 151,  264 => 147,  262 => 146,  256 => 143,  252 => 141,  249 => 140,  245 => 138,  242 => 136,  240 => 135,  237 => 134,  234 => 133,  230 => 131,  228 => 130,  227 => 129,  225 => 128,  222 => 127,  219 => 126,  217 => 125,  211 => 122,  207 => 120,  205 => 119,  204 => 118,  196 => 113,  186 => 106,  182 => 105,  172 => 97,  169 => 96,  166 => 95,  163 => 94,  160 => 93,  158 => 92,  154 => 90,  152 => 89,  151 => 88,  148 => 87,  146 => 78,  145 => 77,  144 => 76,  143 => 75,  142 => 74,  140 => 68,  137 => 55,  135 => 52,  132 => 51,  122 => 43,  111 => 41,  104 => 37,  102 => 36,  98 => 35,  96 => 34,  93 => 31,  91 => 30,  89 => 29,  87 => 28,  84 => 25,  82 => 24,  80 => 22,  78 => 20,  75 => 18,  73 => 17,  71 => 16,  68 => 13,  66 => 12,  64 => 11,  62 => 10,  60 => 8,  58 => 7,  56 => 6,  54 => 5,  52 => 3,  50 => 2,  48 => 1,  35 => 41,);
  614.     }
  615.     public function getSourceContext()
  616.     {
  617.         return new Source("{% do jsConfig().add('inputStates', true) %}
  618. {% do jsConfig().add('datepicker', true) %}
  619. {% do jsConfig().add('numberSpinner', true) %}
  620. {% set language = app.request.locale %}
  621. {% set viewdata = demi_additionalPrepareDateForDetailFile(offeritem, language, document) %}
  622. {% do demi_paymentSetDefaultCurrency(viewdata.provider) %}
  623. {% set currency = demi_paymentGetCurrency() %}
  624. {% set metaTitle = offeritem.metaTitle %}
  625. {% if metaTitle is empty %}
  626.     {% set metaTitle = offeritem.name %}
  627.     {% set metaTitle = metaTitle ~ (viewdata.provider.getTown() ? ( ' ' ~ 'demi.seo.in'|trans ~ \" \" ~ viewdata.provider.getTown().getName() ~ ' ') : '') %}
  628. {% endif %}
  629. {% if not editmode %}
  630.     {% do elements_head_title().setTitle(metaTitle, true) %}
  631.     {% do elements_head_meta(chooseDescription(offeritem.metaDescription, offeritem.getDescription(constant('Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DescriptionInterface::DESCRIPTION_SERVICE_DESCRIPTION'))|striptags), true )  %}
  632. {% endif %}
  633. {% set breadcrumbUrl = app.request.pathInfo %}
  634. {% do elements_canonical().checkAllParams(false).setDomain(viewdata.canonicalUrl)|raw %}
  635. {% if not viewdata.canonicalUrl is same as(app.request.pathInfo) %}
  636.     {% do elements_robots().setNoIndex(true) %}
  637. {% endif %}
  638. {% set fromDate = fromDate|default(carbon().now) %}
  639. {% set images = offeritem.getImages(null, fromDate) %}
  640. {% if viewdata.photoCount > 0 %}
  641.     {% do elements_opengraph().setImages([hostUrl() ~ images[0]]|merge(elements_opengraph().getImages())) %}
  642. {% endif %}
  643. {% set  generalDocuments = [] %}
  644. {% for doc in offeritem.getDocuments() %}
  645.     {% if doc is not instanceof(\"\\\\Pimcore\\\\Model\\\\DataObject\\\\DemiDocumentImage\") %}
  646.         {% set generalDocuments = generalDocuments|merge([doc]) %}
  647.     {% endif %}
  648. {% endfor %}
  649. {% extends '@ElementsDemiFrontend/Layout/layout.html.twig' %}
  650. {% block content %}
  651. {#    TODO @msteyrer breadcrumb helper bundle not in use atm#}
  652. {#    {% do breadcrumbHelper().set({#}
  653. {#        'parentId': document.id,#}
  654. {#        'url': breadcrumbUrl,#}
  655. {#        'label': offeritem.name(language)|default('')#}
  656. {#    }) %}#}
  657. {#    {{ include('@ElementsDemiFrontend/Navigation/breadcrumb.html.twig') }}#}
  658.     {% do jsonLd().add(\"AdditionalService\", demi_additionalJsonlDData(offeritem, viewdata.fromToRanges, {locale: language})) %}
  659. {#    {% do jsConfig().add('tracking', true) %}#}
  660. {#    {% do jsConfig().add('activityList', true) %}#}
  661. {#    {% do jsConfig('_config').add('initialTracking', [{#}
  662. {#        type:  'detailView',#}
  663. {#        data: {#}
  664. {#            id: viewdata.provider.id,#}
  665. {#            name: demi_impressionName(viewdata.provider),#}
  666. {#            category: demi_impressionCategory(viewdata.provider, null, null, null, offeritem),#}
  667. {#            brand: demi_impressionBrand(viewdata.provider),#}
  668. {#            price: demi_getFirstPrice(offeritem),#}
  669. {#        }#}
  670. {#    }]) %}#}
  671. {#    {{ dump(jsConfig()) }}#}
  672. {#    {% do jsConfig().add('ajaxModal', true) %}#}
  673.     {% do jsConfig().add({
  674.         tracking: true,
  675.         activityList: true,
  676.         initialTracking: [{
  677.             type:  'detailView',
  678.             data: {
  679.                 id: viewdata.provider.id,
  680.                 name: demi_impressionName(viewdata.provider),
  681.                 category: demi_impressionCategory(viewdata.provider, null, null, null, offeritem),
  682.                 brand: demi_impressionBrand(viewdata.provider),
  683.                 price: demi_additionalGetFirstPrice(offeritem),
  684.             }
  685.         }],
  686.         ajaxModal: true,
  687.         ajaxOverlay: true,
  688.         offerOverlay: true,
  689.         additionalOffersJson: {},
  690.         overlay: true
  691.     }) %}
  692.     {{ include(\"@ElementsDemiFrontend/Includes/canonicalOverride.html.twig\", {
  693.         object: offeritem
  694.     }) }}
  695.     {% if not activeTab|default('') in viewdata.anchors %}
  696.         {% set activeTab = '#details' %}
  697.     {% else %}
  698.         {% do jsConfig('_initialState').add('activeTab', activeTab|default('')) %}
  699.     {% endif %}
  700. <main id=\"main\" role=\"main\" class=\"js-affix__container\">
  701.     <div class=\"ribbon row row--gutter-width-1 d-md-none\">
  702.         <div class=\"col col-auto d-flex flex-column\">
  703.             <button type=\"button\" onclick=\"history.back()\"
  704.                     class=\"ribbon__item py-3 btn-no-styling px-3 flex-auto flex-row\">
  705.                 <span class=\"demi-icon demi-icon-chevron-left f17\" aria-label=\"{{ 'demi.back'|trans }}\"
  706.                       title=\"{{ 'demi.back'|trans }}\"></span>
  707.             </button>
  708.         </div>
  709.         <div class=\"col\">
  710.             <div class=\"ribbon__item py-3 font-medium h-100\">
  711.                 <div class=\"row  row--gutter-width-10 align-items-baseline\">
  712.                     <a href=\"#\" onclick=\"history.back()\">{{ 'demi.back'|trans }}</a>
  713.                 </div>
  714.             </div>
  715.         </div>
  716.     </div>
  717.     {{ include('@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig', {
  718.         cartUrl: viewdata.cartUrl,
  719.     }) }}
  720.     <div hidden>
  721.         {{ include('@ElementsDemiFrontend/Accommodation/lightboxTopbar.html.twig') }}
  722.     </div>
  723.     {% if viewdata.photoCount >= 1 %}
  724.         {% do jsConfig().add('lightbox', true) %}
  725.         {% if pimcore_device().isDesktop() %}
  726.             {{ include('@ElementsDemiFrontend/AdditionalService/includes/additionalservice-header-multi-image.desktop.html.twig', {
  727.                 photoCount: viewdata.photoCount,
  728.                 imageList: viewdata.detailSlides
  729.             }) }}
  730.         {% endif %}
  731.         {% if not pimcore_device().isDesktop() %}
  732.             <figure class=\"figure\">
  733.                 {% if offeritem.getFirstImage(null, fromDate) %}
  734.                     {{ offeritem.getFirstImage(null, fromDate).thumbnail('demi-mobile-header-img').html({
  735.                         class: 'img-full-width'
  736.                     })|raw }}
  737.                 {% endif %}
  738.                 {% if viewdata.photoCount > 1 %}
  739.                     <div class=\"figure__item figure__item--right figure__item--bottom m-3\">
  740.                         <button class=\"btn btn-primary js-overlay__toggle js-tracking--click-piwik\"
  741.                                 data-target=\"#{{ offeritem.id }}-imgs-overlay\"
  742.                                 data-tracking-category=\"Gallery\"
  743.                                 data-tracking-action=\"open\">
  744.                             {% set galleryString = (viewdata.photoCount > 1 ? 'demi.detail.images-gallery-button'|trans : 'demi.detail.image-gallery-button'|trans)|replace({'[AMOUNT_IMAGES]': viewdata.photoCount}) %}
  745.                             {{ galleryString }}
  746.                         </button>
  747.                     </div>
  748.                 {% endif %}
  749.             </figure>
  750.         {% endif %}
  751.     {% endif %}
  752.     {{ include('@ElementsDemiFrontend/Includes/elements/breadcrumb.html.twig') }}
  753.     <div class=\"container container--additional-service-detail pt-4 pt-md-5\">
  754.         <div class=\"row mb-md-3\">
  755.             <div class=\"col\">
  756.                 {{ include('@ElementsDemiFrontend/AdditionalService/detail/intro.html.twig', {
  757.                     detailHeadline: offeritem.name(language),
  758.                 }) }}
  759.                 {% if viewdata.serviceTown|default(null) %}
  760.                     <div class=\"media text-muted mb-md-0 mb-3\">
  761.                         <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  762.                              title=\"{{ 'demi.detail.town'|trans }}\"
  763.                              aria-label=\"{{ 'demi.detail.town'|trans }}\"></div>
  764.                         <div class=\"media-body\">
  765.                             {{ viewdata.serviceTown }}
  766.                         </div>
  767.                     </div>
  768.                 {% endif %}
  769.             </div>
  770.             <div class=\"col col-auto\">
  771.                 <div>
  772.                     {% set logos = viewdata.provider.getImages([constant('\\\\Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO')]) %}
  773.                     {% if not logos is empty %}
  774.                         {{ include('@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig', {
  775.                             logo: logos[0]
  776.                         }) }}
  777.                     {% endif %}
  778.                 </div>
  779.             </div>
  780.         </div>
  781.         <div class=\"row\">
  782.             <div class=\"col-xl-9 col-md-8 col-12 order-2 order-md-1\">
  783.                 <script data-cookieconsent=\"ignore\">
  784.                     _config.paramTabs = true;
  785.                     _config.loadAccoImages = true;
  786.                 </script>
  787.                 <div class=\"mt-md-3\">
  788.                     <ul class=\"nav nav-border-tabs d-none d-md-flex\" role=\"tablist\">
  789.                         <li class=\"nav-item\">
  790.                             <a class=\"nav-link js-param-tab {{ activeTab|default('') == viewdata.anchors['details'] ? ' active' : '' }} js-tracking js-tracking--click\"
  791.                                href=\"{{ viewdata.anchors['details'] }}\"
  792.                                data-toggle=\"tab\"
  793.                                role=\"tab\"
  794.                                aria-expanded=\"{{ activeTab|default('') == viewdata.anchors['details'] ? 'true' : 'false' }}\"
  795.                                data-tracking-category=\"button\"
  796.                                data-tracking-action=\"additionalservice-details\"
  797.                                data-tracking-label=\"{{ offeritem.name|escape('html') }}\">
  798.                                 {{ \"demi.additionalservice.detail.tab.description\"|trans }}
  799.                             </a>
  800.                         </li>
  801.                         {% if viewdata.photoCount > 3 %}
  802.                             <li class=\"nav-item\">
  803.                                 <a class=\"nav-link js-param-tab js-acco-images__tab {{ activeTab|default('') == viewdata.anchors['pictures'] ? ' active' : '' }} js-tracking js-tracking--click\"
  804.                                    href=\"{{ viewdata.anchors['pictures'] }}\"
  805.                                    data-toggle=\"tab\"
  806.                                    role=\"tab\"
  807.                                    aria-expanded=\"{{ activeTab|default('') == viewdata.anchors['pictures'] ? 'true' : 'false' }}\"
  808.                                    data-tracking-category=\"button\"
  809.                                    data-tracking-action=\"additionalservice-pictures\"
  810.                                    data-tracking-label=\"{{ offeritem.name|escape('html') }}\">
  811.                                     {% if viewdata.videoCount|default(0) == 0 %}
  812.                                         {{ \"demi.detail.tab.photos\"|trans }}
  813.                                     {% else %}
  814.                                         {{ \"demi.detail.tab.photos-videos\"|trans }}
  815.                                     {% endif %}
  816.                                 </a>
  817.                             </li>
  818.                         {% endif %}
  819.                     </ul>
  820.                 </div>
  821.                 <div class=\"pt-md-2\">
  822.                     <div class=\"tab-content\">
  823.                         <div class=\"tab-pane pt-md-2{{ activeTab == viewdata.anchors['details'] ? ' active' : '' }}\"
  824.                              id=\"details\" role=\"tabpanel\">
  825.                             {% set infoTemplateName = viewdata.descriptionTypes|length + viewdata.localDescriptions|length > 4 ? \"serviceInfoCollapse\" : \"serviceInfo\" %}
  826.                             {{ include('@ElementsDemiFrontend/AdditionalService/detail/' ~ infoTemplateName ~'.html.twig', {
  827.                                 detailHeadline: 'demi.additionalservice.detail.service-headline-description'|trans,
  828.                                 detailText: viewdata.serviceDescription|default(''),
  829.                                 moreDescriptions: viewdata.descriptionTypes,
  830.                                 localDescriptions: viewdata.localDescriptions,
  831.                                 offerItem: offeritem
  832.                             }) }}
  833.                             {% if not viewdata.providerDescription is empty %}
  834.                                 {{ include('@ElementsDemiFrontend/AdditionalService/detail/serviceproviderInfo.html.twig', {
  835.                                     detailHeadline: 'demi.additionalservice.detail.serviceprovider-headline-description'|trans,
  836.                                     detailText: viewdata.providerDescription,
  837.                                 }) }}
  838.                             {% endif %}
  839.                             {% if not viewdata.datesAndTimes is empty and (not viewdata.datesAndTimes.dates is empty or not viewdata.datesAndTimes.times is empty) %}
  840.                                 {{ include('@ElementsDemiFrontend/AdditionalService/detail/date.html.twig', {
  841.                                     detailDate: viewdata.datesAndTimes.dates|join(\"<br>\"),
  842.                                     detailTime: viewdata.datesAndTimes.times
  843.                                 }) }}
  844.                             {% endif %}
  845.                             {{ include('@ElementsDemiFrontend/AdditionalService/detail/contact.html.twig', {
  846.                                 service: offeritem,
  847.                                 addressOwner: addressOwner|default(null),
  848.                                 addressObject: addressObject|default(null)
  849.                             }) }}
  850.                             {% if not viewdata.linkArray is empty %}
  851.                                 {{ include('@ElementsDemiFrontend/AdditionalService/detail/links.html.twig', {
  852.                                     detailHeadline: templateData|default(null) ? templateData.detailLinkHeader : '',
  853.                                     detailLinks: viewdata.linkArray,
  854.                                 }) }}
  855.                             {% endif %}
  856.                             {% if generalDocuments is not empty %}
  857.                                 {{ include('@ElementsDemiFrontend/AdditionalService/includes/documents.html.twig', {
  858.                                     'detailDocuments' : generalDocuments
  859.                                 }) }}
  860.                             {% endif %}
  861.                         </div>
  862.                         {% if viewdata.photoCount > 3 %}
  863.                             <div class=\"tab-pane pt-md-2{{ activeTab == viewdata.anchors.pictures ? ' active' : '' }}\" id=\"pictures\" role=\"tabpanel\">
  864.                                 {{ include('@ElementsDemiFrontend/Accommodation/includes/acco-pictures.desktop.html.twig', {
  865.                                     additionalService: true,
  866.                                     photoCount: viewdata.photoCount,
  867.                                     fromDate: fromDate,
  868.                                     imageList: viewdata.detailSlides,
  869.                                     package: null
  870.                                 }) }}
  871.                             </div>
  872.                         {% endif %}
  873.                     </div>
  874.                 </div>
  875.             </div>
  876.             <script>_config.affix = true;</script>
  877. {#            DEMI ADJUSTMENTS: styling #}
  878.             <div class=\"col-12 col-md-4 col-xl-3 order-1 order-md-2\">
  879.                 <div class=\"js-affix__placeholder\">
  880.                     <div class=\"card bordered additional-offer-card\" data-affix-offset=\"149\">
  881.                         <div class=\"card-body additional-offer-card__body p-md-4 p-2\">
  882.                             <div>
  883.                                 <div class=\"container\" id=\"vacancysearch\">
  884.                                     <div class=\"py-2\">
  885.                                         <div class=\"js-ajax-form js-additional-services\">
  886.                                             <div aria-live=\"polite\">
  887.                                                 {% if viewdata.latest.gte(carbon().now) %}
  888.                                                     {{ include('@ElementsDemiFrontend/AdditionalService/detail/vacancysearch.html.twig', {
  889.                                                         detailHeadline: 'demi.additionalservice.detail.datepicker-notice'|trans,
  890.                                                         dateFromLabel: 'demi.additionalservice.detail.from'|trans,
  891.                                                         dateToLabel: 'demi.additionalservice.detail.to'|trans,
  892.                                                         detailEarliest: viewdata.earliest,
  893.                                                         detailLatest: viewdata.latest,
  894.                                                     }) }}
  895.                                 
  896.                                                 {% else %}
  897.                                                     {{ include('@ElementsDemiFrontend/AdditionalService/detail/serviceover.html.twig', {
  898.                                                         detailHeadline: 'demi.additionalservice.detail.offer-over'|trans
  899.                                                     }) }}
  900.                                                 {% endif %}
  901.                                             </div>
  902.                                         </div>
  903.                                     </div>
  904.                                 </div>
  905.                             </div>
  906.                         </div>
  907.                     </div>
  908.                 </div>
  909.             </div>
  910.         </div>
  911.     </div>
  912.     <div class=\"container container--additional-service-related\">
  913.         <div class=\"pt-2\">
  914.             {% if false and relatedItems and relatedItems|length %}
  915.                 {{ include('@ElementsDemiFrontend/AdditionalService/detail/relatedItems.html.twig', {
  916.                     detailRelatedItems: relatedItems,
  917.                     detailHeadline: 'demi.additionalservice.detail.headline-relatedservices'|trans
  918.                 }) }}
  919.             {% endif %}
  920.             {% if not offeritem.getDemiExtension() is empty %}
  921.                 {{ include('@ElementsDemiFrontend/AdditionalService/detail/demiExtension.html.twig', {
  922.                     detailExtension: offeritem.getDemiExtension(),
  923.                 }) }}
  924.             {% endif %}
  925.         </div>
  926.     </div>
  927. </main>
  928. {{ include('@ElementsDemiFrontend/Includes/overlays/img-gallery.html.twig', {
  929.     additionalService: offeritem,
  930.     tvbPackage: null,
  931.     destinationPackage: null,
  932.     imagesTypes: []
  933. }) }}
  934. {% if pimcore_device().isPhone() %}
  935.     {{ include('@ElementsDemiFrontend/Includes/overlays/date.html.twig', {
  936.         'date': carbon().now()
  937.     }) }}
  938. {% endif %}
  939. {% endblock %}
  940. ""@ElementsDemiFrontend/AdditionalService/detail.html.twig""/home/steiermark/www/src/Elements/Bundle/DemiFrontendBundle/Resources/views/AdditionalService/detail.html.twig");
  941.     }
  942. }