1/*! my-project-name 2023-09-04 */ 2 3WebFont.load({custom:{families:["FontAwesome"],urls:["https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"]}}),window.callAPI=function(path,data,success,reject){var API_URL=path;return jQuery.ajax({url:API_URL,data:data,dataType:"json",success:success,error:reject})},window.isEmpty=function(obj){if(null==obj)return!0;if(0<obj.length)return!1;if(0===obj.length)return!0;if("object"!=typeof obj)return!0;for(var key in obj)if(hasOwnProperty.call(obj,key))return!1;return!0},document.addEventListener("DOMContentLoaded",function(event){for(var items=jQuery("[data-obfuscated]"),i=0;i<items.length;i++)items[i].addEventListener("click",showLinkLeftClick,!1),items[i].addEventListener("contextmenu",showLinkRightClick,!1)});var showLinkLeftClick=function(event){if("function"==typeof this.getAttribute){var attribute=this.getAttribute("data-obfuscated");if(console.log(this),event.ctrlKey)window.open(decodeURIComponent(window.atob(attribute)),"_blank").focus();else document.location.href=decodeURIComponent(window.atob(attribute))}},showLinkRightClick=function(event){if(void 0!==this&&"function"==typeof this.getAttribute){var attribute=this.getAttribute("data-obfuscated");if(event.ctrlKey)window.open(decodeURIComponent(window.atob(attribute)),"_blank").focus();else window.open(decodeURIComponent(window.atob(attribute)),"_blank")}return event}(function($){$(window).load(function(){function breakpointChecker(){return!1===breakpoint.matches?(void 0!==window.homeSwiper&&window.homeSwiper.destroy(!0,!0),$(".main-content .swiper-wrapper .cta--overlay").each(function(){$(this).appendTo($(this).closest(".section-row__images"))}),void $(".trip .swiper-wrapper .TA_cdsratingsonlynarrow").each(function(){$(this).appendTo($(this).closest(".section-row__images"))})):!0===breakpoint.matches?($(".trip .TA_cdsratingsonlynarrow").each(function(){$(this).appendTo($(this).parent().find(".image--wrapper:last-child"))}),void($(".home-swiper").length&&(window.homeSwiper=new Swiper(".home-swiper",{direction:"vertical",slidesPerView:1,spaceBetween:300,preloadImages:!1,lazy:{loadPrevNext:!1},watchOverflow:!0,pagination:{el:".home-swiper__pagination",clickable:!0},mousewheel:!0,on:{slideChange:function(){0<this.activeIndex?($("header").addClass("sticky-header"),$(".hotel_logo").hide()):($("header").removeClass("sticky-header"),$(".hotel_logo").show())}}})))):void 0}window.homeSwiper;var breakpoint=window.matchMedia("(min-width:1024px)");breakpoint.addListener(breakpointChecker),breakpointChecker(),function(){"undefined"==typeof video_autoplay&&(video_auto
3play=!1);var options={autoplay:video_autoplay,playsinline:!0,clickToPlay:!0,controls:["play-large","play","progress","current-time","mute","volume","captions","pip","airplay"],loop:{active:!0}};if($("#player").length){var player=new Plyr("#player",options);player.poster=video_img,player.play()}$(".plyr--video").length&&$(window).scroll(function(){window.scrollY>$(".plyr--video").height()&&player.pause()})}(),$(".language-wrapper").mouseenter(function(){$(".others-lang").fadeIn(),$(".first-lang .icon-arrow-down").css({"margin-top":"10px",transform:"rotateX(180deg)"})}),$(".language-wrapper").mouseleave(function(){$(".others-lang").fadeOut(),$(".first-lang .icon-arrow-down").css({"margin-top":"0",transform:"rotateX(0deg)"})});var header=document.querySelector("header"),sticky=header.offsetTop;header&&(window.onscroll=function(){window.pageYOffset>sticky?header.classList.add("sticky-header"):header.classList.remove("sticky-header")}),window.myLazyLoad=new LazyLoad({elements_selector:".lazy"});var menuAnchor=$(".menu-anchor");menuAnchor.length&&menuAnchor.on("click",function(){var menuID=$(this).data("menu");if(menuID){var menuItem=$('#fb-menus .fbm-tab[fbm-show-item="fbm-menu_box_'+menuID+'"]'),menuSelect=$(".fbm-menu_tabs_mobile select");if(menuItem.length&&(menuItem.trigger("click"),menuSelect.find('option[fbm-filter-value="fbm-menu_box_'+menuID+'"]').prop("selected",!0),menuSelect.trigger("change"),$(".menu-section").length)){var top_part=$(".header_menu_container").height(),top=$(".menu-section").offset().top-top_part;$("html,body").stop().animate({scrollTop:top},500)}}});var fullscreenCarousel=$(".carousel--fullscreen:not(.one-slide)");if("undefined"==typeof slideshow_autoplay&&(slideshow_autoplay=!1),slideshow_autoplay=slideshow_autoplay&&{delay:3e3},fullscreenCarousel.length)new Swiper(".carousel--fullscreen:not(.one-slide)",{speed:400,autoplay:slideshow_autoplay,preloadImages:!1,lazy:{loadPrevNext:!0},watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0,renderBullet:function(index,className){return'<span class="'+className+'">'+(8<index?index+1:"0"+(index+1))+"</span>"}}});if($(".section-row__images.swiper-container").length)new Swiper(".section-row__images.swiper-container",{speed:400,preloadImages:!1,lazy:!0,loop:!1,slidesPerView:1,direction:"horizontal",breakpoints:{1024:{direction:"vertical",slidesPerView:4,loop:!1}},watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});if($(".offers--list__grid.swiper-container").length)new Swiper(".offers--list__grid.swiper-container",{speed:400,preloadImages:!1,lazy:!0,loop:!1,slidesPerView:1,breakpoints:{1024:{slidesPerView:3}},watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});if($(".news--list__grid").length)new Swiper(".news--list__grid",{speed:400,preloadImages:!1,lazy:!0,loop:!1,slidesPerView:1,breakpoints:{1024:{slidesPerView:3}},watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});if($(".article--list__grid").length)new Swiper(".article--list__grid",{speed:400,preloadImages:!1,lazy:!0,loop:!1,slidesPerView:1,breakpoints:{768:{slidesPerView:3}},watchOverflow:!0});if($(".room-gallery").length)new Swiper(".room-gallery",{speed:400,preloadImages:!1,lazy:!0,loop:!0,slidesPerView:1,breakpoints:{1024:{slidesPerView:1}},watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});if($(".restaurant-gallery").length)new Swiper(".restaurant-gallery",{speed:400,preloadImages:!1,lazy:!0,loop:!1,slidesPerView:1,breakpoints:{768:{slidesPerView:1}},watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}),$(document).ready(function(){0<$("#popup_wrapper").size()&&$.fancybox.open({src:"#popup_wrapper",autoFocus:!1,type:"inline",btnTpl:{smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small pop-btn" title="Close Popup"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24">
3<path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'}}),function(){var btns=$("#book-button"),calendar_wrapper=$("#dyncal_wrapper");$("#dyncal_box");if(0==btns.length||0==calendar_wrapper.length)return;btns.click(function(){calendar_wrapper.hasClass("visible")||(calendar_wrapper.addClass("visible"),$("html, body").css("overflow","hidden"))}),$(".close_calendar").click(function(){calendar_wrapper.hasClass("visible")&&(calendar_wrapper.removeClass("visible"),$("html, body").css("overflow",""))})}(),$(".swiper-arrow-down a").on("click",function(){$("body").hasClass("home")?void 0!==window.homeSwiper&&window.homeSwiper.slideTo(1):$("body, html").animate({scrollTop:$(".carousel--fullscreen")[0].clientHeight-$(".header_menu_container").height()},1e3)}),$(".open_menu_mobile").on("click",function(){$("html, body").css("overflow","hidden"),$(".popin-mobile-menu-wrapper").show()}),$(".close").on("click",function(){$("html, body").css("overflow",""),$(".popin-mobile-menu-wrapper").hide()}),function(menuSelector){var menu=$(menuSelector);if(menu.length){var parent=menu.find(".menu-item-has-children"),submenu=menu.find(".sub-menu");menu.find(".more_li").on("click",function(){$(this).closest(parent).hasClass("open")?$(this).closest(parent).find(submenu).stop().slideUp(400,function(){$(this).closest(parent).removeClass("open")}):(parent.removeClass("open"),parent.find(submenu).stop().slideUp(),$(this).closest(parent).find(submenu).stop().slideDown(400,function(){$(this).closest(parent).addClass("open")}))})}}(".popin-mobile-menu-wrapper")})})(jQuery); 4//# sourceMappingURL=main.min.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.