1function us(){ww=$(window).width(),wh=$(window).height(),ws=$(window).scrollTop()}function checkResize(){us()}function splitSlide(){$(".slideshow .slider");let e=$(".home-house-slider--r .swiper-slide").length,o=$(".home-house-slider").clone().removeClass("home-house-slider--r").addClass("home-house-slider--l").appendTo($(".home-house .bgslider-wrapper")),t=$(".home-house-slider--l .swiper-slide").toArray().reverse();for($(".slider",o).html(""),i=0;i<e;i++)$(t[i]).appendTo($(".home-house-slider--l .swiper-wrapper"));let n=new Swiper(".home-house-slider--r",{direction:"vertical",speed:800}),a=new Swiper(".home-house-slider--l",{direction:"vertical",initialSlide:e-1,speed:800}),l=new Swiper(".home-house-content-slider",{direction:"vertical",speed:800});ScrollTrigger.create({trigger:"#triggerHouseThis",start:"top top",end:"+="+100*(e+1)+"%",pin:".home-house",onUpdate:function(i){let o=i.progress.toFixed(3),t=1/e;for(var r=0;r<e;r++)o>=t*r&&(l.slideTo(r),n.slideTo(r),a.slideTo(e-(r+1)))}})}function propertyBookingPanelCreateLink(){$(".booking-panel").length>0&&$(".booking-panel .btn--submit").click((function(e){e.preventDefault();let i=$(".booking-panel").attr("data-value"),o=$(".booking-panel input.t-input-check-in").attr("value"),t=$(".booking-panel input.t-input-check-out").attr("value"),n="";switch($("html").attr("lang")){case"en":n="en-US";break;case"zh-hk":n="zh-TW";break;case"zh-cn":n="zh-CN";break;default:n="en-US"}trackingBookingSubmit("https://reservations.thehousecollective.com?Hotel="+i+"&arrive="+o+"&depart="+t+"&locale="+n,i,o,t)}))}0&&gsap.registerPlugin(ScrollTrigger),$((function(){if(propertyBookingPanelCreateLink(),$(".location").length>0){let t=$("#GaodeMap"),n=t.data("lat"),a=t.data("lng"),l=t.data("zoom");var e=new AMap.Map("GaodeMap",{mapStyle:"amap://styles/whitesmoke",zoom:l,center:[a,n],viewMode:"3D"}),i=new AMap.Icon({size:new AMap.Size(73,75),image:"/files/the-middle-house/img/[email protected]",imageSize:new AMap.Size(26,42)}),o=new AMap.Marker({position:[a,n],icon:i,title:"åè"});e.add(o),AMap.plugin(["AMap.ToolBar","AMap.Scale"],(function(){e.addControl(new AMap.ToolBar),e.addControl(new AMap.Scale)}))}$(".page--home").length>0&0&&splitSlide(),$(window).scroll((function(){us()})),$(window).resize((function(){checkResize(),$(".page--home").length}))}));
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.