1(()=>{(()=>{var i=document.querySelector(".newsletter:not(.disable-animation .newsletter)");function s(){let r=i.querySelector("form"),l=i.querySelectorAll(".newsletter__content div > h2, .newsletter__content div > hr, .newsletter__content div > p, .newsletter__content div > form");gsap.registerPlugin(ScrollTrigger),gsap.from(l,{x:40,opacity:0,duration:.4,stagger:.2,delay:.2,ease:"circ.out",scrollTrigger:{trigger:i,toggleActions:"play none none none",start:"top 85%"}}),r.addEventListener("submit",u=>{u.preventDefault(),sessionStorage.setItem("newsletter",JSON.stringify({email:r.querySelector("input").value})),window.location=`${PREFIX}/newsletter`})}i&&s()})();(()=>{var i=gsap.utils.toArray(".info-list");function s(){gsap.registerPlugin(ScrollTrigger),i.forEach(r=>{let l=r.querySelectorAll("h2, li"),u=r.querySelectorAll(".arrow-button");gsap.from(l,{y:40,opacity:0,duration:.3,stagger:.1,ease:"circ.out",scrollTrigger:{start:"top 80%",toggleActions:"play none none none",trigger:r}}),gsap.from(u,{opacity:0,duration:.2,delay:.2,ease:"power1.out",scrollTrigger:{start:"top 75%",toggleActions:"play none none none",trigger:r}})})}i&&s()})();(()=>{var i=document.querySelector(".maicard");function s(){gsap.registerPlugin(ScrollTrigger),gsap.from(".maicard .supertitle",{opacity:0,top:-20,duration:.6,delay:.1,ease:"power2.out",scrollTrigger:{trigger:".maicard .supertitle",toggleActions:"play none none none"}}),gsap.from(".maicard .hero-title",{opacity:0,x:-60,duration:.5,delay:.2,ease:"power2.out",scrollTrigger:{trigger:".maicard .hero-title",toggleActions:"play none none none"}}),gsap.from(".maicard__list",{opacity:0,x:40,duration:.4,delay:.3,ease:"power2.out",scrollTrigger:{trigger:".maicard__list",toggleActions:"play none none none"}}),gsap.from(".maicard__buttons",{opacity:0,yPercent:100,duration:.4,delay:.3,ease:"power2.out",scrollTrigger:{trigger:".maicard__buttons",toggleActions:"play none none none"}})}i&&s()})();(()=>{var i=992,s=1440,r=document.querySelectorAll(".tabs"),l,u;function g(d,a){d.style.setProperty("--tabs-label-width",`${a?.offsetWidth}px`),d.style.setProperty("--tabs-from-start",`${a?.offsetLeft}px`)}function y(){r.forEach(d=>{let a=d.querySelector(".tabs__thumbs"),f=d.querySelector(".tabs__items"),e=a.querySelectorAll(".swiper-slide"),o=a.querySelectorAll("summary"),t=e.length;d.classList.contains("tabs--loyalty")||(u=new Swiper(a,{freeMode:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0,slidesPerView:t<2?1:1.5,breakpoints:{[i]:{slidesPerView:t<3?t:2.5},[s]:{slidesPerView:t<4?t:3.5}}}),l=new Swiper(f,{autoHeight:!o,thumbs:{swiper:u},noSwiping:!0,noSwipingSelector:".information__reach-us"}),g(a,e[0]),l.on("slideChange",()=>{let n=a.querySelector(".swiper-slide-thumb-active");g(a,n)}),window.addEventListener("resize",debounce(()=>{let n=a.querySelector(".swiper-slide-thumb-active");g(a,n)},200),{passive:!0}),new MutationObserver(()=>{g(a,e[0])}).observe(d,{attributes:!0,attributeFilter:["style"]}))})}r&&y(),window.location.pathname.includes("/loyalty/profile")&&document.addEventListener("loyaltyIdLoaded",()=>{setTimeout(()=>{l?.destroy(),u?.destroy(),r=document.querySelectorAll(".tabs"),y()},1)})})();(()=>{var i=Vue.ref(JSON.parse(window.localStorage.getItem("isDebugEnabled"))),s=Vue.ref("EUR");Vue.watch(s,e=>{localStorage.setItem("currency",e)}),s.value=localStorage.getItem("currency");function r(){return new MutationObserver(([o])=>{s.value=o.target.dataset.currency}).observe(document.body,{attributes:!0,attributeFilter:["data-currency"]}),s}var l=class{constructor(){if(typeof arguments[0]=="number")[this.price,this.currency]=arguments;else{let[e,o,t]=arguments;this.price=parseFloat(e[o]),e=t??e,this.currency=e["@Currency"]}}get display(){let e=t=>new Intl.NumberFormat("de-DE",{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}).format(t),o=t=>t.replace("EUR","\u20AC");return r().value==="USD"?`$${e(this.price*USD_CONVERSION_RATE)}`:`${e(this.price)}\xA0${o(this.currency)}`}},u=document.querySelectorAll(".unit-list, .big-card-slider"),g=document.querySelectorAll(".unit-card");async function y(){let{propertyId:e}=document.querySelector("main").dataset;if(e){let o=`${AZURE_URI}GetProperty?id=${e}&locale=${LOCALE}`;try{let t=await fetch(o);if(!t.ok)throw new Error(t.statusText);return await t.json()}catch(t){throw new Error(t)}}else return null}
1function d(e,o){let t=o.querySelector(".unit-card__price"),n=o.querySelector(".unit-card__people");e.price&&(t.childNodes.length>1?t.childNodes[t.childNodes.length-1].nodeValue=e.price.display:t.append(e.price.display),t.classList.remove("is-hidden"));let c=e["@OccupancyMaxAdult"]??e["@OccupancyMax"],m=e["@OccupancyMax"]-c,p='<i class="icon-adult"></i>',h='<i class="icon-child"></i>';n.innerHTML=p.repeat(c)+h.repeat(m),n.classList.remove("is-hidden")}async function a(){try{let e=await y();e&&g.forEach(o=>{let{unitId:t,hideIfUnavailable:n}=o.dataset;if(t){let c=e.units.find(m=>m.unitId===t);c&&(d({...c,...c.rateFrom?{price:new l(c.rateFrom,c.currency)}:{}},o),!c.rateFrom&&n==="true"&&(o.remove(),ScrollTrigger.refresh()))}})}catch(e){console.error(e)}for(let e of u)f(e)}function f(e){let o=e.querySelectorAll(".unit-card"),t=o?.length===2?"frame--top-left":"frame--bottom-left";o.forEach((n,c)=>{let m=c%2===1;n.querySelector(".frame")?.classList.add(c===1?t:m?"frame--bottom-left":"frame--bottom-right"),n.querySelector(".unit-card__content")?.classList.add(m?"order-md-1":"offset-md-7"),n.querySelector(".view-gallery-button")?.classList.add(m?"view-gallery-button--left":"view-gallery-button--right");let p=n.querySelector(".unit-card__image");!m&&p&&p.classList.remove("offset-md-5","order-md-2","offset-md-6")}),document.querySelectorAll(".unit-list .container").forEach(n=>{n.classList.remove("is-transparent")})}if(g.length>0){let e=r();Vue.watch(e,()=>{a()},{immediate:!0})}})();(()=>
1{function i(){Array.from(document.links).forEach(s=>{let r=s;r.hostname&&r.hostname!==window.location.hostname&&(r.setAttribute("target","_blank"),r.setAttribute("rel","noopener noreferrer"))})}i()})();})(); 2 3//# sourceMappingURL=bundle-common-3.112efce5ca47e5397c744a6466817d8e181015ab8532813a4824a211be5cd397.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.