1document.addEventListener("DOMContentLoaded",(event)=>{SlideshowFilter();SlickOrganizer();LightcaseOrganizer();SiMenuOrganizer();SiAccordionOrganizer();SiScrollToAnchor();SiClickableBoxes();SiScrollState();SiInquiryFormOrganizer();SiTabsOrganizer();AddTitle();ViewPortElem();HeaderScrollDown();NewsletterRedirect()});function _ea_onLoad(){SiInquiryParameter();DataOfferButton()} 2function SlideshowFilter(){var pictureElements=document.querySelectorAll("header .headerSlider .sc-slideshow picture"),pictureElementsPortrait=document.querySelectorAll("header .headerSlider .sc-slideshow picture source[media='(orientation:portrait)']"),pictureElementsLandscape=document.querySelectorAll("header .headerSlider .sc-slideshow picture source[media='(orientation:landscape)']");if(pictureElements&&pictureElementsPortrait.length>=1&&pictureElementsLandscape.length>=1){var isPortrait=window.matchMedia("(orientation: portrait)").matches;for(var i=0;i<pictureElements.length;i++){var pictureElement=pictureElements[i],pictureSources=pictureElement.querySelectorAll("source[media]");for(var j=0;j<pictureSources.length;j++){var pictureSource=pictureSources[j];if(isPortrait&&pictureSource.media.includes("landscape")){pictureSource.remove()} 3if(!isPortrait&&pictureSource.media.includes("portrait")){pictureSource.remove()}} 4if(pictureElement.querySelectorAll("source[media]").length===0){pictureElement.remove()}}}} 5function LightcaseOrganizer(){lightcaseEventInit($("a[data-rel^=lightcase], img[data-rel^=lightcase]"),{showSequenceInfo:!1,showTitle:!1,showCaption:!1,swipe:!0,navigateEndless:!1,fullScreenModeForMobile:!1});lightcaseEventInit($("a[data-rel^=iframePopup]"),{showSequenceInfo:!1,showTitle:!1,showCaption:!1,fullScreenModeForMobile:!1,iframe:{width:"1100px",height:"1100px"}});lightcaseEventInit($("a[data-rel^=iframeWeather]"),{showSequenceInfo:!1,showTitle:!1,showCaption:!1,iframe:{width:"600px",height:"450px",}})} 6function SiMenuOrganizer(){var menu=document.querySelector(".SiMenu");var buttonString="";var resmenulogo="<a href='/'><img alt='Logo' class='logoMobileMenu' src='/wp-content/graphics/vectors_logo.svg'><a>";if(WordPressTheme.Language=="it"){resmenulogo="<a href='/it/'><img alt='Logo' class='logoMobileMenu lazyload' src='/wp-content/graphics/vectors_logo.svg'><a>"}else if(WordPressTheme.Language=="en"){resmenulogo="<a href='/en/'><img alt='Logo' class='logoMobileMenu lazyload' src='/wp-content/graphics/vectors_logo.svg'><a>"} 7var closeButtonString="<span>Menu</span>";if(WordPressTheme.Language=="de"){closeButtonString="<span>Menü</span>"} 8buttonString=document.querySelector("header .copyToMobileMenu");if(buttonString){buttonString=buttonString.outerHTML} 9if(menu){var desktopMenu=menu.cloneNode(!0);desktopMenu.classList.remove("SiMenu");desktopMenu.classList.add("SiMenuDesktop");menu.parentNode.insertBefore(desktopMenu,menu)} 10SiMenu({menuSelector:".SiMenu",singleOpen:!0,copyToSubmenu:!1,closeButton:closeButtonString,afterHTML:buttonString,beforeHTML:resmenulogo,languageSelector:".sc-language-selector",extraButtonForSubmenu:!1,extraButtonText:"<div class='submenu-button'></div>",closeOnClick:!0});SiMenu({menuSelector:".SiMenuDesktop",singleOpen:!0,copyToSubmenu:!1,customCopyToSubMenuText:"<i class='arrow'></i>",extraButtonForSubmenu:!1})} 11function SiAccordionOrganizer(){$('.accordion').accordion({transitionSpeed:400,singleOpen:!1})} 12function SiScrollToAnchor(){$(document).on("click","a",function(e){var hash=this.href.match(/(#[\w\.\-]+)/g) 13siScrollTo(hash);SiActiveElement(this)});function SiActiveElement(clicked){var sianchorElements=document.querySelectorAll("[data-sianchor]");for(var i=0;i<sianchorElements.length;i++){var element=sianchorElements[i],sianchorElement=element.getAttribute("data-sianchor"),activeAnchor=document.querySelector("a[href$='#"+sianchorElement+"'"+"]"),linkClicked=clicked.href.split("#")[1];activeAnchor.classList.remove("sianchorActive");if(sianchorElement==linkClicked){var activeAnchor=document.querySelector("a[href$='#"+sianchorElement+"'"+"]");if(activeAnchor){activeAnchor.classList.add("sianchorActive")}}}} 14if(window.location.hash){var hash=window.location.hash.replace("#",""),activeAnchor=document.querySelector("a[href$='#"+hash+"'"+"]");
14if(activeAnchor){activeAnchor.classList.add("sianchorActive")} 15setTimeout(function(){animateScrollTo(hash)},0)} 16window.siScrollTo=function(hash){if(hash&&hash.length){hash=hash[0].replace("#","");animateScrollTo(hash)}} 17function animateScrollTo(hash){var SiAnchorElement=document.querySelector("[data-sianchor="+hash+"]");var ScrollElement=document.querySelector("[data-scrollopen="+hash+"]");if(SiAnchorElement&&ScrollElement){history.pushState(null,null,"#"+hash);$("html, body").animate({scrollTop:$(SiAnchorElement).offset().top-(window.innerHeight/6)},200);setTimeout(function(){ScrollElement.click()},500)}else if(SiAnchorElement){history.pushState(null,null,"#"+hash);$("html, body").animate({scrollTop:$(SiAnchorElement).offset().top-(window.innerHeight/6)},200)}else if(ScrollElement){history.pushState(null,null,"#"+hash);$("html, body").animate({scrollTop:$(ScrollElement).offset().top-(window.innerHeight/6)},200);var scrollOpenElem=ScrollElement.closest(".accordion");if(scrollOpenElem&&!scrollOpenElem.classList.contains("open")){ScrollElement.click()}else if(!scrollOpenElem){ScrollElement.click()}}}} 18function SiClickableBoxes(){$(document).on("click",".offerOverviewSite .sc-masterContainer article",function(){var href=$(this).find(".sc-readmore a").attr("href");if(href){window.location=href;return!1}});$(document).on("click",".seoBoxesWrapper .box, .offer-list .sc-masterContainer .sc-control",function(){var href=$(this).find(".sc-readmore>a, .sc-readMore>a, a").attr("href");if(href&&href.length>0){window.location=href}})} 19function SlickOrganizer(){$(".large-slideshow .sc-slideshow").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,dots:!1,infinite:!0,adaptiveHeight:!0,arrows:!0,fade:!0,autoplay:!0,autoplaySpeed:4000,pauseOnHover:!1,mobileFirst:!0,responsive:[{breakpoint:780,settings:{slidesToShow:2,slidesToScroll:1,fade:!1,}}]});$("header .headerSlider .sc-slideshow").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,dots:!1,infinite:!0,adaptiveHeight:!0,arrows:!0,fade:!0,autoplay:!0,autoplaySpeed:4000,pauseOnHover:!1,mobileFirst:!0,responsive:[{breakpoint:780,settings:{slidesToShow:2,slidesToScroll:1,fade:!1,}}]});$(".room-site .roomWrapper .slideshowBox .sc-slideshow").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,dots:!0,infinite:!0,adaptiveHeight:!0,arrows:!0,fade:!0,});$(".slideshowBox .sc-slideshow").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,infinite:!0,adaptiveHeight:!0,arrows:!0,fade:!0,autoplay:!0,autoplaySpeed:4000,pauseOnHover:!1,});$(".rotatingListbox").not('.slick-initialized').slick({slidesToShow:1,slidesToScroll:1,dots:!1,infinite:!0,adaptiveHeight:!0,arrows:!0,fade:!0,})} 20function SiScrollState(){var toggleAfter=0;window.addEventListener("scroll",function(){var scrollPosition=document.documentElement.scrollTop||document.body.scrollTop;if(scrollPosition>toggleAfter){document.body.classList.add("scrolled");document.body.classList.remove("onTop")}else{document.body.classList.remove("scrolled");document.body.classList.add("onTop")}},{passive:!0})} 21function SiInquiryFormOrganizer(){SiInquiryForm({stayLength:5,maxChildren:4,maxAdults:4})} 22function SiTabsOrganizer(){SiTabs({selector:document.querySelectorAll(".tabs")})} 23function AddTitle(){var masterContainerLinks=document.querySelectorAll(".sc-masterContainer .contentWrapper a"),footerContainerLinks=document.querySelectorAll(".footer a");masterContainerLinks.forEach(masterContainerLink=>{if(!masterContainerLink.getAttribute("title")&&!masterContainerLink.querySelector("img")){masterContainerLink.setAttribute("title",masterContainerLink.textContent)}});footerContainerLinks.forEach(footerContainerLink=>{if(!footerContainerLink.getAttribute("title")&&!footerContainerLink.querySelector("img")){footerContainerLink.setAttribute("title",footerContainerLink.textContent)}})} 24var initWindowHeight=window.innerHeight,initWindowWidth=window.innerWidth,initialized=0;function ViewPortElem(){var currentHeight=window.innerHeight,currentWidth=window.innerWidth;if((currentHeight-initWindowHeight)>=100){calcVariables()}else if((initWindowHeight-currentHeight)>=100){calcVariables()}else if(initialized==0){calcVariables()} 25if((currentWidth-initWindowWidth)>=100){calcVariables()}else if((initWindowWidth-currentWidth)>=100){calcVariables()}else if(initialized==0){calcVariables()} 26initialized++;initWindowHeight=currentHeight;initWindowWidth=currentWidth;function calcVariables(){var vh=currentHeight*0.01;document.documentElement.style.setProperty('--vh',vh+"px");var vw=currentWidth*0.01;document.documentElement.style.setProperty('--vw',vw+"px")}} 27window.addEventListener('resize',ViewPortElem);function HeaderScrollDown(){var arrowDown=document.querySelector(".arrowDown");if(!arrowDown) 28return!1;arrowDown.addEventListener("click",function(){$("html, body").animate({scrollTop:$(window).height()},600)})} 29function NewsletterRedirect(){var getMail=document.querySelector(".newsletter input"),sendButton=document.querySelector("#quickform-searchNL.button");if(!sendButton&&!getMail) 30return!1;sendButton.addEventListener("click",function(e){var getMailValue=getMail.value,sendButtonHref=sendButton.href;var link="";if(getMailValue){link=sendButtonHref+"?EmailAddress="+getMailValue}
30else{link=sendButtonHref} 31window.location.href=link;e.preventDefault();return!1})} 32function DataOfferButton(){var requestButton=document.querySelectorAll(".single .buttonsWrapper .button.parameter");if(requestButton.length<=0) 33return!1;for(var i=0;i<requestButton.length;i++){var elements=requestButton[i],buttonOfferValue=elements.getAttribute("data-offer"),offerInput=document.querySelector("#Offername input");if(buttonOfferValue&&offerInput!=null){offerInput.value=buttonOfferValue;offerInput.classList.add("preSelected");offerInput.dispatchEvent(new Event('change'));offerInput.setAttribute("disabled",!0)}}}
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.