@influence-society-web/deshotelsetdesiles 4.2.5 → 4.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=I();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},I=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",L=()=>{let a=A();return b[a]},A=()=>{if(!I())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:L()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
1
+ "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=L();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},L=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",I=()=>{let a=A();return b[a]},A=()=>{if(!L())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:I()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
@@ -1 +1 @@
1
- "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=I();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},I=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",L=()=>{let a=A();return b[a]},A=()=>{if(!I())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:L()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
1
+ "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=L();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},L=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",I=()=>{let a=A();return b[a]},A=()=>{if(!L())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:I()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
@@ -1 +1 @@
1
- "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=I();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},I=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",L=()=>{let a=A();return b[a]},A=()=>{if(!I())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:L()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
1
+ "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=L();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},L=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",I=()=>{let a=A();return b[a]},A=()=>{if(!L())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:I()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
@@ -1 +1 @@
1
- "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=I();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},I=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",L=()=>{let a=A();return b[a]},A=()=>{if(!I())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:L()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
1
+ "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=L();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},L=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",I=()=>{let a=A();return b[a]},A=()=>{if(!L())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:I()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
@@ -1 +1 @@
1
- "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=I();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},I=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",L=()=>{let a=A();return b[a]},A=()=>{if(!I())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:L()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
1
+ "use strict";(()=>{var P=Object.defineProperty;var M=(a,t,s)=>t in a?P(a,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[t]=s;var l=(a,t,s)=>(M(a,typeof t!="symbol"?t+"":t,s),s);var e="data",o={startingPriceList:`[${e}=starting-price-list]`,price:`[${e}=price]`,discount:`[${e}=discount]`,discountContainer:`[${e}=discount-container]`,currency:`[${e}=currency]`,beHid:`[${e}-be-hid]`,destination:`[${e}=destination]`,offersList:`[${e}=offers-list]`,offerSlugDetail:`[${e}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${e}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${e}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${e}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${e}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${e}=offers-list-container]`,listItem:`[${e}=list-item]`,image:`[${e}=image]`,name:`[${e}=name]`,description:`[${e}=description]`,hotelName:`[${e}=hotel-name]`,hotelLink:`[${e}=hotel-link]`,hotelStartingPriceContainer:`[${e}=hotel-starting-price-container]`,moreDetails:`[${e}=more-details]`,offersPopup:`[${e}=offers-popup]`,offersPopupClose:`[${e}=close-btn]`,hotelReserveLink:`[${e}=hotel-reserve-link]`,hotelVillaReserveLink:`[${e}=hotel-villa-reserve-link]`,hotelURLS:`[${e}=hotel-urls]`,languageDropdown:`[${e}=language-dropdown]`,selectedLanguage:`[${e}=selected-language]`,loadingSpinner:`[${e}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:a=>`[${e}-be-hid=${a}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var c={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"};var m={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},b={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var h="https://deshotelsetdesiles.ccordier.workers.dev/v2/";var p=a=>{let t="?";for(let[s,i]of Object.entries(a))i&&(t+=`${s}=${i}&`);return t};var D=()=>{let a=L();if(!a){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(a)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},L=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",I=()=>{let a=A();return b[a]},A=()=>{if(!L())return localStorage.getItem("wglang")||"fr";try{let a=window.Weglot.getCurrentLang();if(a)return a}catch(a){return console.error("Error getting language",a),"fr"}return"fr"};var d=class{constructor(t){l(this,"hotelsIds");l(this,"itemElements");l(this,"itemContainerElements",[]);l(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(o.beHid).forEach(s=>{let i=s.getAttribute(`${e}-be-hid`)?.trim();if(i&&c[i]){this.hotelsIds.push(c[i]),this.itemElements.push(s),this.itemContainerElements.push(s.parentElement);let n=s.querySelector(o.price);n&&(n.style.display="none")}else if(i&&!c[i]){let n=s.querySelector(o.hotelStartingPriceContainer);n&&this.hidePricingContainer(n)}}),D()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let s=this.hotelsIds[t],i=this.itemElements[t],n=i.querySelector(o.hotelStartingPriceContainer)||this.itemContainerElements[t],r=this.hotelStartingPriceDataMap.get(s);if(r===void 0&&(r=await this.getHotelStartingPriceData({property:s,locale:I()})),this.hotelStartingPriceDataMap.set(s,r),!r){this.hidePricingContainer(n);continue}let{quotation:{pricePerNight:g,currency:S}}=r;g||this.hidePricingContainer(n);let f=i.querySelector(o.price);f&&(f.innerHTML=Math.floor(g).toString(),f.style.display="block");let u=i.querySelector(o.currency);u&&(u.innerHTML=m[S])}}async getHotelStartingPriceData(t){let s=h+"startingfrom"+p(t),n=await(await fetch(s)).json();return n.error||!n.data?null:n.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.Webflow||(window.Webflow=[]);window.loadFromServer=()=>{window.Webflow.push(async()=>{let a=document.querySelector(o.startingPriceList);a&&await new d(a).getHotelStartingPrice()})};window.loadFromServer();})();
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var pn=Object.defineProperty;var Sn=(e,t,r)=>t in e?pn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ae=(e,t,r)=>(Sn(e,typeof t!="symbol"?t+"":t,r),r);var F="data",U={startingPriceList:`[${F}=starting-price-list]`,price:`[${F}=price]`,discount:`[${F}=discount]`,discountContainer:`[${F}=discount-container]`,currency:`[${F}=currency]`,beHid:`[${F}-be-hid]`,destination:`[${F}=destination]`,offersList:`[${F}=offers-list]`,offerSlugDetail:`[${F}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${F}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${F}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${F}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${F}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${F}=offers-list-container]`,listItem:`[${F}=list-item]`,image:`[${F}=image]`,name:`[${F}=name]`,description:`[${F}=description]`,hotelName:`[${F}=hotel-name]`,hotelLink:`[${F}=hotel-link]`,hotelStartingPriceContainer:`[${F}=hotel-starting-price-container]`,moreDetails:`[${F}=more-details]`,offersPopup:`[${F}=offers-popup]`,offersPopupClose:`[${F}=close-btn]`,hotelReserveLink:`[${F}=hotel-reserve-link]`,hotelVillaReserveLink:`[${F}=hotel-villa-reserve-link]`,hotelURLS:`[${F}=hotel-urls]`,languageDropdown:`[${F}=language-dropdown]`,selectedLanguage:`[${F}=selected-language]`,loadingSpinner:`[${F}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:e=>`[${F}-be-hid=${e}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var Oe={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"},We={en:"Guadeloupe Islands",fr:"Les \xCEles de Guadeloupe",es:"Las islas de Guadalupe",it:"Le isole della Guadalupa"},vr={en:"La Dominique",fr:"La Dominique",es:"Dominica",it:"Dominica"},dt={en:"Saint Lucia",fr:"Sainte-Lucie",es:"Santa Luc\xEDa",it:"Santa Lucia"},bn={en:"Martinique",fr:"Martinique",es:"Martinica",it:"Martinica"},qe={en:"Mauritius",fr:"\xCEle Maurice",es:"Mauricio",it:"Mauritius"},gr={en:"Saint Martin",fr:"Saint-Martin",es:"Saint-Martin",it:"Saint Martin"},hr={en:"Antigua",fr:"Antigua",es:"Antigua",it:"Antigua"},Ln={en:"Anguilla",fr:"Anguilla",es:"Anguila",it:"Anguilla"},vt={gpgos12767:{destination:We,slug:"/hotels-et-villas/creole-beach-hotel-spa",codeIPlanet:"FRAN414",cmsId:"67c809b5f63deab8a71cf8e9"},gptro12772:{destination:We,slug:"/hotels-et-villas/le-jardin-malanga",codeIPlanet:"FRAN416",cmsId:"67c809b5f63deab8a71cf90d"},gpsai12770:{destination:We,slug:"/hotels-et-villas/la-toubana-hotel-spa",codeIPlanet:"FRAN411",cmsId:"67c809b5f63deab8a71cf8ef"},gpgos12769:{destination:We,slug:"/hotels-et-villas/mahogany-hotel-residence-spa",codeIPlanet:"FRAN423",cmsId:"67c809b5f63deab8a71cf91f"},gpgua27143:{destination:We,slug:"/hotels-et-villas/langley-resort-fort-royal",codeIPlanet:"GPAN32",cmsId:"67c809b5f63deab8a71cf8f0"},mqros18592:{destination:vr,slug:"/hotels-et-villas/jungle-bay-dominica",codeIPlanet:"DMAN1",cmsId:"67c809b5f63deab8a71cf8ed"},dmtib00001:{destination:vr,slug:"/hotels-et-villas/secret-bay-dominique",codeIPlanet:"DMAN2",cmsId:"67c809b5f63deab8a71cfefd"},agste21689:{destination:dt,slug:"/hotels-et-villas/jade-mountain",codeIPlanet:"AGAN6",cmsId:"67c809b5f63deab8a71cf92a"},zzzzz25376:{destination:dt,slug:"/hotels-et-villas/windjammer-landing",codeIPlanet:"LCAN4",cmsId:"67c809b5f63deab8a71cf92b"},lcgro30400:{destination:dt,slug:"/hotels-et-villas/cap-maison",codeIPlanet:"LCLC8",cmsId:"67c809b5f63deab8a71cf929"},agste21688:{destination:dt,slug:"/hotels-et-villas/anse-chastanet",codeIPlanet:"AGAN5",cmsId:"67c809b5f63deab8a71cf928"},mqsai18593:{destination:bn,slug:"/hotels-et-villas/plein-soleil",codeIPlanet:"MQAN16",cmsId:"67c809b5f63deab8a71cf925"},zzzzz25378:{destination:qe,slug:"/hotels-et-villas/shanti-maurice",codeIPlanet:"MUAN22",cmsId:"67c809b5f63deab8a71cf933"},zzzzz25377:{destination:qe,slug:"/hotels-et-villas/lux-le-morne",codeIPlanet:"MUAN21",cmsId:"67c809b5f63deab8a71cf931"},zzzzz25379:{destination:qe,slug:"/hotels-et-villas/constance-belle-mare-plage",codeIPlanet:"MUAN20",cmsId:"67c809b5f63deab8a71cf92f"},mupos25678:{destination:qe,slug:"/hotels-et-villas/constance-le-prince-maurice",codeIPlanet:"MUAN24",cmsId:"67c809b5f63deab8a71cf930"},zzzzz25380:{destination:qe,slug:"/hotels-et-villas/anahita-the-resort",codeIPlanet:"MUAN19",cmsId:"67c809b5f63deab8a71cf92e"},agstm21687:{destination:gr,slug:"/hotels-et-villas/la-samanna",codeIPlanet:"FRAN2350",cmsId:"67c809b5f63deab8a71cf926"},frsai31536:{destination:gr,slug:"/hotels-et-villas/le-grand-case-beach-club",codeIPlanet:"FRFRA3",cmsId:"67c809b5f63deab8a71cf927"},ageng20433:{destination:hr,slug:"/hotels-et-villas/the-inn-at-english-harbour",codeIPlanet:"AGAN4",cmsId:"67c809b5f63deab8a71cf8ec"},agcro20496:{destination:hr,slug:"/hotels-et-villas/blue-waters",codeIPlanet:"AGAN1",cmsId:"67c809b5f63deab8a71cf8eb"},gpang25884:{destination:Ln,slug:"/hotels-et-villas/aurora-anguilla-resort-golf-club",codeIPlanet:"GPAN30",cmsId:"67c809b5f63deab8a71cf8ea"}},gt={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},mr={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var de="https://deshotelsetdesiles.ccordier.workers.dev/v2/",Er="https://deshotelsetdesiles.i-planet.fr/dhdi-public/searchform.cgi",ht="FR",pr="1*q1lzz9*_gcl_au*MTMyMzcyMDY5NC4xNzM5Mjg5MzYx*_ga*NTAxMzI1MzMwLjE3MzkyODkzNjE.*_ga_Q0RXHLR7D4*MTczOTI5NzEzNC4zLjAuMTczOTI5NzE3Mi4yMi4wLjA.";function Sr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yn(e,t,r){return t&&Sr(e.prototype,t),r&&Sr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var br="(prefers-reduced-motion: reduce)",He=1,Dn=2,ze=3,$e=4,nt=5,Et=6,Lt=7,Tn={CREATED:He,MOUNTED:Dn,IDLE:ze,MOVING:$e,SCROLLING:nt,DRAGGING:Et,DESTROYED:Lt};function Ee(e){e.length=0}function De(e,t,r){return Array.prototype.slice.call(e,t,r)}function B(e){return e.bind.apply(e,[null].concat(De(arguments,1)))}var wr=setTimeout,Wt=function(){};function Lr(e){return requestAnimationFrame(e)}function At(e,t){return typeof t===e}function je(e){return!Qt(e)&&At("object",e)}var Zt=Array.isArray,Hr=B(At,"function"),be=B(At,"string"),it=B(At,"undefined");function Qt(e){return e===null}function kr(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function at(e){return Zt(e)?e:[e]}function ie(e,t){at(e).forEach(t)}function Jt(e,t){return e.indexOf(t)>-1}function pt(e,t){return e.push.apply(e,at(t)),e}function ge(e,t,r){e&&ie(t,function(n){n&&e.classList[r?"add":"remove"](n)})}function le(e,t){ge(e,be(t)?t.split(" "):t,!0)}function st(e,t){ie(t,e.appendChild.bind(e))}function er(e,t){ie(e,function(r){var n=(t||r).parentNode;n&&n.insertBefore(r,t)})}function Xe(e,t){return kr(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function xr(e,t){var r=e?De(e.children):[];return t?r.filter(function(n){return Xe(n,t)}):r}function ot(e,t){return t?xr(e,t)[0]:e.firstElementChild}var Ze=Object.keys;function _e(e,t,r){return e&&(r?Ze(e).reverse():Ze(e)).forEach(function(n){n!=="__proto__"&&t(e[n],n)}),e}function Qe(e){return De(arguments,1).forEach(function(t){_e(t,function(r,n){e[n]=t[n]})}),e}function Se(e){return De(arguments,1).forEach(function(t){_e(t,function(r,n){Zt(r)?e[n]=r.slice():je(r)?e[n]=Se({},je(e[n])?e[n]:{},r):e[n]=r})}),e}function yr(e,t){ie(t||Ze(e),function(r){delete e[r]})}function ue(e,t){ie(e,function(r){ie(t,function(n){r&&r.removeAttribute(n)})})}function k(e,t,r){je(t)?_e(t,function(n,i){k(e,i,n)}):ie(e,function(n){Qt(r)||r===""?ue(n,t):n.setAttribute(t,String(r))})}function ke(e,t,r){var n=document.createElement(e);return t&&(be(t)?le(n,t):k(n,t)),r&&st(r,n),n}function se(e,t,r){if(it(r))return getComputedStyle(e)[t];Qt(r)||(e.style[t]=""+r)}function Je(e,t){se(e,"display",t)}function zr(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function oe(e,t){return e.getAttribute(t)}function Dr(e,t){return e&&e.classList.contains(t)}function re(e){return e.getBoundingClientRect()}function Ie(e){ie(e,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function Fr(e){return ot(new DOMParser().parseFromString(e,"text/html").body)}function ve(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function $r(e,t){return e&&e.querySelector(t)}function tr(e,t){return t?De(e.querySelectorAll(t)):[]}function he(e,t){ge(e,t,!1)}function qt(e){return e.timeStamp}function Ce(e){return be(e)?e:e?e+"px":""}var ct="splide",rr="data-"+ct;function Ke(e,t){if(!e)throw new Error("["+ct+"] "+(t||""))}var Le=Math.min,yt=Math.max,Dt=Math.floor,et=Math.ceil,ee=Math.abs;function Ur(e,t,r){return ee(e-t)<r}function St(e,t,r,n){var i=Le(t,r),s=yt(t,r);return n?i<e&&e<s:i<=e&&e<=s}function Me(e,t,r){var n=Le(t,r),i=yt(t,r);return Le(yt(n,e),i)}function Kt(e){return+(e>0)-+(e<0)}function Yt(e,t){return ie(t,function(r){e=e.replace("%s",""+r)}),e}function nr(e){return e<10?"0"+e:""+e}var Tr={};function An(e){return""+e+nr(Tr[e]=(Tr[e]||0)+1)}function Gr(){var e=[];function t(a,o,c,l){i(a,o,function(u,h,g){var v="addEventListener"in u,f=v?u.removeEventListener.bind(u,h,c,l):u.removeListener.bind(u,c);v?u.addEventListener(h,c,l):u.addListener(c),e.push([u,h,g,c,f])})}function r(a,o,c){i(a,o,function(l,u,h){e=e.filter(function(g){return g[0]===l&&g[1]===u&&g[2]===h&&(!c||g[3]===c)?(g[4](),!1):!0})})}function n(a,o,c){var l,u=!0;return typeof CustomEvent=="function"?l=new CustomEvent(o,{bubbles:u,detail:c}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(o,u,!1,c)),a.dispatchEvent(l),l}function i(a,o,c){ie(a,function(l){l&&ie(o,function(u){u.split(" ").forEach(function(h){var g=h.split(".");c(l,g[0],g[1])})})})}function s(){e.forEach(function(a){a[4]()}),Ee(e)}return{bind:t,unbind:r,dispatch:n,destroy:s}}var Pe="mounted",Ar="ready",ye="move",lt="moved",Br="click",Cn="active",_n="inactive",In="visible",Rn="hidden",j="refresh",te="updated",tt="resize",ir="resized",Pn="drag",Nn="dragging",On="dragged",ar="scroll",Ue="scrolled",Mn="overflow",Vr="destroy",wn="arrows:mounted",Hn="arrows:updated",kn="pagination:mounted",xn="pagination:updated",Wr="navigation:mounted",qr="autoplay:play",zn="autoplay:playing",Kr="autoplay:pause",Yr="lazyload:loaded",jr="sk",Xr="sh",Tt="ei";function q(e){var t=e?e.event.bus:document.createDocumentFragment(),r=Gr();function n(s,a){r.bind(t,at(s).join(" "),function(o){a.apply(a,Zt(o.detail)?o.detail:[])})}function i(s){r.dispatch(t,s,De(arguments,1))}return e&&e.event.on(Vr,r.destroy),Qe(r,{bus:t,on:n,off:B(r.unbind,t),emit:i})}function Ct(e,t,r,n){var i=Date.now,s,a=0,o,c=!0,l=0;function u(){if(!c){if(a=e?Le((i()-s)/e,1):1,r&&r(a),a>=1&&(t(),s=i(),n&&++l>=n))return g();o=Lr(u)}}function h(S){S||f(),s=i()-(S?a*e:0),c=!1,o=Lr(u)}function g(){c=!0}function v(){s=i(),a=0,r&&r(a)}function f(){o&&cancelAnimationFrame(o),a=0,o=0,c=!0}function d(S){e=S}function p(){return c}return{start:h,rewind:v,pause:g,cancel:f,set:d,isPaused:p}}function Fn(e){var t=e;function r(i){t=i}function n(i){return Jt(at(i),t)}return{set:r,is:n}}function $n(e,t){var r=Ct(t||0,e,null,1);return function(){r.isPaused()&&r.start()}}function Un(e,t,r){var n=e.state,i=r.breakpoints||{},s=r.reducedMotion||{},a=Gr(),o=[];function c(){var f=r.mediaQuery==="min";Ze(i).sort(function(d,p){return f?+d-+p:+p-+d}).forEach(function(d){u(i[d],"("+(f?"min":"max")+"-width:"+d+"px)")}),u(s,br),h()}function l(f){f&&a.destroy()}function u(f,d){var p=matchMedia(d);a.bind(p,"change",h),o.push([f,p])}function h(){var f=n.is(Lt),d=r.direction,p=o.reduce(function(S,E){return Se(S,E[1].matches?E[0]:{})},{});yr(r),v(p),r.destroy?e.destroy(r.destroy==="completely"):f?(l(!0),e.mount()):d!==r.direction&&e.refresh()}function g(f){matchMedia(br).matches&&(f?Se(r,s):yr(r,Ze(s)))}function v(f,d,p){Se(r,f),d&&Se(Object.getPrototypeOf(r),f),(p||!n.is(He))&&e.emit(te,r)}return{setup:c,destroy:l,reduce:g,set:v}}var _t="Arrow",It=_t+"Left",Rt=_t+"Right",Zr=_t+"Up",Qr=_t+"Down";var Cr="rtl",Pt="ttb",Ut={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Zr,Rt],ArrowRight:[Qr,It]};function Gn(e,t,r){function n(s,a,o){o=o||r.direction;var c=o===Cr&&!a?1:o===Pt?0:-1;return Ut[s]&&Ut[s][c]||s.replace(/width|left|right/i,function(l,u){var h=Ut[l.toLowerCase()][c]||l;return u>0?h.charAt(0).toUpperCase()+h.slice(1):h})}function i(s){return s*(r.direction===Cr?1:-1)}return{resolve:n,orient:i}}var me="role",xe="tabindex",Bn="disabled",ce="aria-",ut=ce+"controls",Jr=ce+"current",_r=ce+"selected",ne=ce+"label",sr=ce+"labelledby",en=ce+"hidden",or=ce+"orientation",rt=ce+"roledescription",Ir=ce+"live",Rr=ce+"busy",Pr=ce+"atomic",cr=[me,xe,Bn,ut,Jr,ne,sr,en,or,rt],fe=ct+"__",Te="is-",Gt=ct,Nr=fe+"track",Vn=fe+"list",Nt=fe+"slide",tn=Nt+"--clone",Wn=Nt+"__container",lr=fe+"arrows",Ot=fe+"arrow",rn=Ot+"--prev",nn=Ot+"--next",Mt=fe+"pagination",an=Mt+"__page",qn=fe+"progress",Kn=qn+"__bar",ur=fe+"toggle",Bi=ur+"__play",Vi=ur+"__pause",Yn=fe+"spinner",jn=fe+"sr",Xn=Te+"initialized",Re=Te+"active",sn=Te+"prev",on=Te+"next",jt=Te+"visible",Xt=Te+"loading",cn=Te+"focus-in",ln=Te+"overflow",Zn=[Re,jt,sn,on,Xt,cn,ln],Qn={slide:Nt,clone:tn,arrows:lr,arrow:Ot,prev:rn,next:nn,pagination:Mt,page:an,spinner:Yn};function Jn(e,t){if(Hr(e.closest))return e.closest(t);for(var r=e;r&&r.nodeType===1&&!Xe(r,t);)r=r.parentElement;return r}var ei=5,Or=200,un="touchstart mousedown",Bt="touchmove mousemove",Vt="touchend touchcancel mouseup click";function ti(e,t,r){var n=q(e),i=n.on,s=n.bind,a=e.root,o=r.i18n,c={},l=[],u=[],h=[],g,v,f;function d(){m(),O(),E()}function p(){i(j,S),i(j,d),i(te,E),s(document,un+" keydown",function(L){f=L.type==="keydown"},{capture:!0}),s(a,"focusin",function(){ge(a,cn,!!f)})}function S(L){var I=cr.concat("style");Ee(l),he(a,u),he(g,h),ue([g,v],I),ue(a,L?I:["style",rt])}function E(){he(a,u),he(g,h),u=w(Gt),h=w(Nr),le(a,u),le(g,h),k(a,ne,r.label),k(a,sr,r.labelledby)}function m(){g=_("."+Nr),v=ot(g,"."+Vn),Ke(g&&v,"A track/list element is missing."),pt(l,xr(v,"."+Nt+":not(."+tn+")")),_e({arrows:lr,pagination:Mt,prev:rn,next:nn,bar:Kn,toggle:ur},function(L,I){c[I]=_("."+L)}),Qe(c,{root:a,track:g,list:v,slides:l})}function O(){var L=a.id||An(ct),I=r.role;a.id=L,g.id=g.id||L+"-track",v.id=v.id||L+"-list",!oe(a,me)&&a.tagName!=="SECTION"&&I&&k(a,me,I),k(a,rt,o.carousel),k(v,me,"presentation")}function _(L){var I=$r(a,L);return I&&Jn(I,"."+Gt)===a?I:void 0}function w(L){return[L+"--"+r.type,L+"--"+r.direction,r.drag&&L+"--draggable",r.isNavigation&&L+"--nav",L===Gt&&Re]}return Qe(c,{setup:d,mount:p,destroy:S})}var Fe="slide",Ge="loop",ft="fade";function ri(e,t,r,n){var i=q(e),s=i.on,a=i.emit,o=i.bind,c=e.Components,l=e.root,u=e.options,h=u.isNavigation,g=u.updateOnMove,v=u.i18n,f=u.pagination,d=u.slideFocus,p=c.Direction.resolve,S=oe(n,"style"),E=oe(n,ne),m=r>-1,O=ot(n,"."+Wn),_;function w(){m||(n.id=l.id+"-slide"+nr(t+1),k(n,me,f?"tabpanel":"group"),k(n,rt,v.slide),k(n,ne,E||Yt(v.slideLabel,[t+1,e.length]))),L()}function L(){o(n,"click",B(a,Br,M)),o(n,"keydown",B(a,jr,M)),s([lt,Xr,Ue],D),s(Wr,z),g&&s(ye,N)}function I(){_=!0,i.destroy(),he(n,Zn),ue(n,cr),k(n,"style",S),k(n,ne,E||"")}function z(){var P=e.splides.map(function(y){var R=y.splide.Components.Slides.getAt(t);return R?R.slide.id:""}).join(" ");k(n,ne,Yt(v.slideX,(m?r:t)+1)),k(n,ut,P),k(n,me,d?"button":""),d&&ue(n,rt)}function N(){_||D()}function D(){if(!_){var P=e.index;T(),A(),ge(n,sn,t===P-1),ge(n,on,t===P+1)}}function T(){var P=x();P!==Dr(n,Re)&&(ge(n,Re,P),k(n,Jr,h&&P||""),a(P?Cn:_n,M))}function A(){var P=K(),y=!P&&(!x()||m);if(e.state.is([$e,nt])||k(n,en,y||""),k(tr(n,u.focusableNodes||""),xe,y?-1:""),d&&k(n,xe,y?-1:0),P!==Dr(n,jt)&&(ge(n,jt,P),a(P?In:Rn,M)),!P&&document.activeElement===n){var R=c.Slides.getAt(e.index);R&&zr(R.slide)}}function H(P,y,R){se(R&&O||n,P,y)}function x(){var P=e.index;return P===t||u.cloneStatus&&P===r}function K(){if(e.is(ft))return x();var P=re(c.Elements.track),y=re(n),R=p("left",!0),$=p("right",!0);return Dt(P[R])<=et(y[R])&&Dt(y[$])<=et(P[$])}function W(P,y){var R=ee(P-t);return!m&&(u.rewind||e.is(Ge))&&(R=Le(R,e.length-R)),R<=y}var M={index:t,slideIndex:r,slide:n,container:O,isClone:m,mount:w,destroy:I,update:D,style:H,isWithin:W};return M}function ni(e,t,r){var n=q(e),i=n.on,s=n.emit,a=n.bind,o=t.Elements,c=o.slides,l=o.list,u=[];function h(){g(),i(j,v),i(j,g)}function g(){c.forEach(function(D,T){d(D,T,-1)})}function v(){_(function(D){D.destroy()}),Ee(u)}function f(){_(function(D){D.update()})}function d(D,T,A){var H=ri(e,T,A,D);H.mount(),u.push(H),u.sort(function(x,K){return x.index-K.index})}function p(D){return D?w(function(T){return!T.isClone}):u}function S(D){var T=t.Controller,A=T.toIndex(D),H=T.hasFocus()?1:r.perPage;return w(function(x){return St(x.index,A,A+H-1)})}function E(D){return w(D)[0]}function m(D,T){ie(D,function(A){if(be(A)&&(A=Fr(A)),kr(A)){var H=c[T];H?er(A,H):st(l,A),le(A,r.classes.slide),I(A,B(s,tt))}}),s(j)}function O(D){Ie(w(D).map(function(T){return T.slide})),s(j)}function _(D,T){p(T).forEach(D)}function w(D){return u.filter(Hr(D)?D:function(T){return be(D)?Xe(T.slide,D):Jt(at(D),T.index)})}function L(D,T,A){_(function(H){H.style(D,T,A)})}function I(D,T){var A=tr(D,"img"),H=A.length;H?A.forEach(function(x){a(x,"load error",function(){--H||T()})}):T()}function z(D){return D?c.length:u.length}function N(){return u.length>r.perPage}return{mount:h,destroy:v,update:f,register:d,get:p,getIn:S,getAt:E,add:m,remove:O,forEach:_,filter:w,style:L,getLength:z,isEnough:N}}function ii(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.emit,o=t.Slides,c=t.Direction.resolve,l=t.Elements,u=l.root,h=l.track,g=l.list,v=o.getAt,f=o.style,d,p,S;function E(){m(),s(window,"resize load",$n(B(a,tt))),i([te,j],m),i(tt,O)}function m(){d=r.direction===Pt,se(u,"maxWidth",Ce(r.width)),se(h,c("paddingLeft"),_(!1)),se(h,c("paddingRight"),_(!0)),O(!0)}function O(M){var P=re(u);(M||p.width!==P.width||p.height!==P.height)&&(se(h,"height",w()),f(c("marginRight"),Ce(r.gap)),f("width",I()),f("height",z(),!0),p=P,a(ir),S!==(S=W())&&(ge(u,ln,S),a(Mn,S)))}function _(M){var P=r.padding,y=c(M?"right":"left");return P&&Ce(P[y]||(je(P)?0:P))||"0px"}function w(){var M="";return d&&(M=L(),Ke(M,"height or heightRatio is missing."),M="calc("+M+" - "+_(!1)+" - "+_(!0)+")"),M}function L(){return Ce(r.height||re(g).width*r.heightRatio)}function I(){return r.autoWidth?null:Ce(r.fixedWidth)||(d?"":N())}function z(){return Ce(r.fixedHeight)||(d?r.autoHeight?null:N():L())}function N(){var M=Ce(r.gap);return"calc((100%"+(M&&" + "+M)+")/"+(r.perPage||1)+(M&&" - "+M)+")"}function D(){return re(g)[c("width")]}function T(M,P){var y=v(M||0);return y?re(y.slide)[c("width")]+(P?0:x()):0}function A(M,P){var y=v(M);if(y){var R=re(y.slide)[c("right")],$=re(g)[c("left")];return ee(R-$)+(P?0:x())}return 0}function H(M){return A(e.length-1)-A(0)+T(0,M)}function x(){var M=v(0);return M&&parseFloat(se(M.slide,c("marginRight")))||0}function K(M){return parseFloat(se(h,c("padding"+(M?"Right":"Left"))))||0}function W(){return e.is(ft)||H(!0)>D()}return{mount:E,resize:O,listSize:D,slideSize:T,sliderSize:H,totalSize:A,getPadding:K,isOverflow:W}}var ai=2;function si(e,t,r){var n=q(e),i=n.on,s=t.Elements,a=t.Slides,o=t.Direction.resolve,c=[],l;function u(){i(j,h),i([te,tt],v),(l=p())&&(f(l),t.Layout.resize(!0))}function h(){g(),u()}function g(){Ie(c),Ee(c),n.destroy()}function v(){var S=p();l!==S&&(l<S||!S)&&n.emit(j)}function f(S){var E=a.get().slice(),m=E.length;if(m){for(;E.length<S;)pt(E,E);pt(E.slice(-S),E.slice(0,S)).forEach(function(O,_){var w=_<S,L=d(O.slide,_);w?er(L,E[0].slide):st(s.list,L),pt(c,L),a.register(L,_-S+(w?0:m),O.index)})}}function d(S,E){var m=S.cloneNode(!0);return le(m,r.classes.clone),m.id=e.root.id+"-clone"+nr(E+1),m}function p(){var S=r.clones;if(!e.is(Ge))S=0;else if(it(S)){var E=r[o("fixedWidth")]&&t.Layout.slideSize(0),m=E&&et(re(s.track)[o("width")]/E);S=m||r[o("autoWidth")]&&e.length||r.perPage*ai}return S}return{mount:u,destroy:g}}function oi(e,t,r){var n=q(e),i=n.on,s=n.emit,a=e.state.set,o=t.Layout,c=o.slideSize,l=o.getPadding,u=o.totalSize,h=o.listSize,g=o.sliderSize,v=t.Direction,f=v.resolve,d=v.orient,p=t.Elements,S=p.list,E=p.track,m;function O(){m=t.Transition,i([Pe,ir,te,j],_)}function _(){t.Controller.isBusy()||(t.Scroll.cancel(),L(e.index),t.Slides.update())}function w(y,R,$,Z){y!==R&&M(y>$)&&(D(),I(N(H(),y>$),!0)),a($e),s(ye,R,$,y),m.start(R,function(){a(ze),s(lt,R,$,y),Z&&Z()})}function L(y){I(A(y,!0))}function I(y,R){if(!e.is(ft)){var $=R?y:z(y);se(S,"transform","translate"+f("X")+"("+$+"px)"),y!==$&&s(Xr)}}function z(y){if(e.is(Ge)){var R=T(y),$=R>t.Controller.getEnd(),Z=R<0;(Z||$)&&(y=N(y,$))}return y}function N(y,R){var $=y-W(R),Z=g();return y-=d(Z*(et(ee($)/Z)||1))*(R?1:-1),y}function D(){I(H(),!0),m.cancel()}function T(y){for(var R=t.Slides.get(),$=0,Z=1/0,X=0;X<R.length;X++){var pe=R[X].index,b=ee(A(pe,!0)-y);if(b<=Z)Z=b,$=pe;else break}return $}function A(y,R){var $=d(u(y-1)-K(y));return R?x($):$}function H(){var y=f("left");return re(S)[y]-re(E)[y]+d(l(!1))}function x(y){return r.trimSpace&&e.is(Fe)&&(y=Me(y,0,d(g(!0)-h()))),y}function K(y){var R=r.focus;return R==="center"?(h()-c(y,!0))/2:+R*c(y)||0}function W(y){return A(y?t.Controller.getEnd():0,!!r.trimSpace)}function M(y){var R=d(N(H(),y));return y?R>=0:R<=S[f("scrollWidth")]-re(E)[f("width")]}function P(y,R){R=it(R)?H():R;var $=y!==!0&&d(R)<d(W(!1)),Z=y!==!1&&d(R)>d(W(!0));return $||Z}return{mount:O,move:w,jump:L,translate:I,shift:N,cancel:D,toIndex:T,toPosition:A,getPosition:H,getLimit:W,exceededLimit:P,reposition:_}}function ci(e,t,r){var n=q(e),i=n.on,s=n.emit,a=t.Move,o=a.getPosition,c=a.getLimit,l=a.toPosition,u=t.Slides,h=u.isEnough,g=u.getLength,v=r.omitEnd,f=e.is(Ge),d=e.is(Fe),p=B(H,!1),S=B(H,!0),E=r.start||0,m,O=E,_,w,L;function I(){z(),i([te,j,Tt],z),i(ir,N)}function z(){_=g(!0),w=r.perMove,L=r.perPage,m=M();var b=Me(E,0,v?m:_-1);b!==E&&(E=b,a.reposition())}function N(){m!==M()&&s(Tt)}function D(b,G,J){if(!pe()){var Y=A(b),Q=W(Y);Q>-1&&(G||Q!==E)&&($(Q),a.move(Y,Q,O,J))}}function T(b,G,J,Y){t.Scroll.scroll(b,G,J,function(){var Q=W(a.toIndex(o()));$(v?Le(Q,m):Q),Y&&Y()})}function A(b){var G=E;if(be(b)){var J=b.match(/([+\-<>])(\d+)?/)||[],Y=J[1],Q=J[2];Y==="+"||Y==="-"?G=x(E+ +(""+Y+(+Q||1)),E):Y===">"?G=Q?P(+Q):p(!0):Y==="<"&&(G=S(!0))}else G=f?b:Me(b,0,m);return G}function H(b,G){var J=w||(X()?1:L),Y=x(E+J*(b?-1:1),E,!(w||X()));return Y===-1&&d&&!Ur(o(),c(!b),1)?b?0:m:G?Y:W(Y)}function x(b,G,J){if(h()||X()){var Y=K(b);Y!==b&&(G=b,b=Y,J=!1),b<0||b>m?!w&&(St(0,b,G,!0)||St(m,G,b,!0))?b=P(y(b)):f?b=J?b<0?-(_%L||L):_:b:r.rewind?b=b<0?m:0:b=-1:J&&b!==G&&(b=P(y(G)+(b<G?-1:1)))}else b=-1;return b}function K(b){if(d&&r.trimSpace==="move"&&b!==E)for(var G=o();G===l(b,!0)&&St(b,0,e.length-1,!r.rewind);)b<E?--b:++b;return b}function W(b){return f?(b+_)%_||0:b}function M(){for(var b=_-(X()||f&&w?1:L);v&&b-- >0;)if(l(_-1,!0)!==l(b,!0)){b++;break}return Me(b,0,_-1)}function P(b){return Me(X()?b:L*b,0,m)}function y(b){return X()?Le(b,m):Dt((b>=m?_-1:b)/L)}function R(b){var G=a.toIndex(b);return d?Me(G,0,m):G}function $(b){b!==E&&(O=E,E=b)}function Z(b){return b?O:E}function X(){return!it(r.focus)||r.isNavigation}function pe(){return e.state.is([$e,nt])&&!!r.waitForTransition}return{mount:I,go:D,scroll:T,getNext:p,getPrev:S,getAdjacent:H,getEnd:M,setIndex:$,getIndex:Z,toIndex:P,toPage:y,toDest:R,hasFocus:X,isBusy:pe}}var li="http://www.w3.org/2000/svg",ui="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",mt=40;function fi(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.emit,o=r.classes,c=r.i18n,l=t.Elements,u=t.Controller,h=l.arrows,g=l.track,v=h,f=l.prev,d=l.next,p,S,E={};function m(){_(),i(te,O)}function O(){w(),m()}function _(){var T=r.arrows;T&&!(f&&d)&&z(),f&&d&&(Qe(E,{prev:f,next:d}),Je(v,T?"":"none"),le(v,S=lr+"--"+r.direction),T&&(L(),D(),k([f,d],ut,g.id),a(wn,f,d)))}function w(){n.destroy(),he(v,S),p?(Ie(h?[f,d]:v),f=d=null):ue([f,d],cr)}function L(){i([Pe,lt,j,Ue,Tt],D),s(d,"click",B(I,">")),s(f,"click",B(I,"<"))}function I(T){u.go(T,!0)}function z(){v=h||ke("div",o.arrows),f=N(!0),d=N(!1),p=!0,st(v,[f,d]),!h&&er(v,g)}function N(T){var A='<button class="'+o.arrow+" "+(T?o.prev:o.next)+'" type="button"><svg xmlns="'+li+'" viewBox="0 0 '+mt+" "+mt+'" width="'+mt+'" height="'+mt+'" focusable="false"><path d="'+(r.arrowPath||ui)+'" />';return Fr(A)}function D(){if(f&&d){var T=e.index,A=u.getPrev(),H=u.getNext(),x=A>-1&&T<A?c.last:c.prev,K=H>-1&&T>H?c.first:c.next;f.disabled=A<0,d.disabled=H<0,k(f,ne,x),k(d,ne,K),a(Hn,f,d,A,H)}}return{arrows:E,mount:m,destroy:w,update:D}}var di=rr+"-interval";function vi(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.emit,o=Ct(r.interval,e.go.bind(e,">"),L),c=o.isPaused,l=t.Elements,u=t.Elements,h=u.root,g=u.toggle,v=r.autoplay,f,d,p=v==="pause";function S(){v&&(E(),g&&k(g,ut,l.track.id),p||m(),w())}function E(){r.pauseOnHover&&s(h,"mouseenter mouseleave",function(z){f=z.type==="mouseenter",_()}),r.pauseOnFocus&&s(h,"focusin focusout",function(z){d=z.type==="focusin",_()}),g&&s(g,"click",function(){p?m():O(!0)}),i([ye,ar,j],o.rewind),i(ye,I)}function m(){c()&&t.Slides.isEnough()&&(o.start(!r.resetProgress),d=f=p=!1,w(),a(qr))}function O(z){z===void 0&&(z=!0),p=!!z,w(),c()||(o.pause(),a(Kr))}function _(){p||(f||d?O(!1):m())}function w(){g&&(ge(g,Re,!p),k(g,ne,r.i18n[p?"play":"pause"]))}function L(z){var N=l.bar;N&&se(N,"width",z*100+"%"),a(zn,z)}function I(z){var N=t.Slides.getAt(z);o.set(N&&+oe(N.slide,di)||r.interval)}return{mount:S,destroy:o.cancel,play:m,pause:O,isPaused:c}}function gi(e,t,r){var n=q(e),i=n.on;function s(){r.cover&&(i(Yr,B(o,!0)),i([Pe,te,j],B(a,!0)))}function a(c){t.Slides.forEach(function(l){var u=ot(l.container||l.slide,"img");u&&u.src&&o(c,u,l)})}function o(c,l,u){u.style("background",c?'center/cover no-repeat url("'+l.src+'")':"",!0),Je(l,c?"none":"")}return{mount:s,destroy:B(a,!1)}}var hi=10,mi=600,Ei=.6,pi=1.5,Si=800;function bi(e,t,r){var n=q(e),i=n.on,s=n.emit,a=e.state.set,o=t.Move,c=o.getPosition,l=o.getLimit,u=o.exceededLimit,h=o.translate,g=e.is(Fe),v,f,d=1;function p(){i(ye,O),i([te,j],_)}function S(L,I,z,N,D){var T=c();if(O(),z&&(!g||!u())){var A=t.Layout.sliderSize(),H=Kt(L)*A*Dt(ee(L)/A)||0;L=o.toPosition(t.Controller.toDest(L%A))+H}var x=Ur(T,L,1);d=1,I=x?0:I||yt(ee(L-T)/pi,Si),f=N,v=Ct(I,E,B(m,T,L,D),1),a(nt),s(ar),v.start()}function E(){a(ze),f&&f(),s(Ue)}function m(L,I,z,N){var D=c(),T=L+(I-L)*w(N),A=(T-D)*d;h(D+A),g&&!z&&u()&&(d*=Ei,ee(A)<hi&&S(l(u(!0)),mi,!1,f,!0))}function O(){v&&v.cancel()}function _(){v&&!v.isPaused()&&(O(),E())}function w(L){var I=r.easingFunc;return I?I(L):1-Math.pow(1-L,4)}return{mount:p,destroy:O,scroll:S,cancel:_}}var we={passive:!1,capture:!0};function Li(e,t,r){var n=q(e),i=n.on,s=n.emit,a=n.bind,o=n.unbind,c=e.state,l=t.Move,u=t.Scroll,h=t.Controller,g=t.Elements.track,v=t.Media.reduce,f=t.Direction,d=f.resolve,p=f.orient,S=l.getPosition,E=l.exceededLimit,m,O,_,w,L,I=!1,z,N,D;function T(){a(g,Bt,Wt,we),a(g,Vt,Wt,we),a(g,un,H,we),a(g,"click",W,{capture:!0}),a(g,"dragstart",ve),i([Pe,te],A)}function A(){var C=r.drag;dr(!C),w=C==="free"}function H(C){if(z=!1,!N){var V=Q(C);Y(C.target)&&(V||!C.button)&&(h.isBusy()?ve(C,!0):(D=V?g:window,L=c.is([$e,nt]),_=null,a(D,Bt,x,we),a(D,Vt,K,we),l.cancel(),u.cancel(),M(C)))}}function x(C){if(c.is(Et)||(c.set(Et),s(Pn)),C.cancelable)if(L){l.translate(m+J(X(C)));var V=pe(C)>Or,Ae=I!==(I=E());(V||Ae)&&M(C),z=!0,s(Nn),ve(C)}else R(C)&&(L=y(C),ve(C))}function K(C){c.is(Et)&&(c.set(ze),s(On)),L&&(P(C),ve(C)),o(D,Bt,x),o(D,Vt,K),L=!1}function W(C){!N&&z&&ve(C,!0)}function M(C){_=O,O=C,m=S()}function P(C){var V=$(C),Ae=Z(V),Ve=r.rewind&&r.rewindByDrag;v(!1),w?h.scroll(Ae,0,r.snap):e.is(ft)?h.go(p(Kt(V))<0?Ve?"<":"-":Ve?">":"+"):e.is(Fe)&&I&&Ve?h.go(E(!0)?">":"<"):h.go(h.toDest(Ae),!0),v(!0)}function y(C){var V=r.dragMinThreshold,Ae=je(V),Ve=Ae&&V.mouse||0,En=(Ae?V.touch:+V)||10;return ee(X(C))>(Q(C)?En:Ve)}function R(C){return ee(X(C))>ee(X(C,!0))}function $(C){if(e.is(Ge)||!I){var V=pe(C);if(V&&V<Or)return X(C)/V}return 0}function Z(C){return S()+Kt(C)*Le(ee(C)*(r.flickPower||600),w?1/0:t.Layout.listSize()*(r.flickMaxPages||1))}function X(C,V){return G(C,V)-G(b(C),V)}function pe(C){return qt(C)-qt(b(C))}function b(C){return O===C&&_||O}function G(C,V){return(Q(C)?C.changedTouches[0]:C)["page"+d(V?"Y":"X")]}function J(C){return C/(I&&e.is(Fe)?ei:1)}function Y(C){var V=r.noDrag;return!Xe(C,"."+an+", ."+Ot)&&(!V||!Xe(C,V))}function Q(C){return typeof TouchEvent<"u"&&C instanceof TouchEvent}function mn(){return L}function dr(C){N=C}return{mount:T,disable:dr,isDragging:mn}}var yi={Spacebar:" ",Right:Rt,Left:It,Up:Zr,Down:Qr};function fr(e){return e=be(e)?e:e.key,yi[e]||e}var Mr="keydown";function Di(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.unbind,o=e.root,c=t.Direction.resolve,l,u;function h(){g(),i(te,v),i(te,g),i(ye,d)}function g(){var S=r.keyboard;S&&(l=S==="global"?window:o,s(l,Mr,p))}function v(){a(l,Mr)}function f(S){u=S}function d(){var S=u;u=!0,wr(function(){u=S})}function p(S){if(!u){var E=fr(S);E===c(It)?e.go("<"):E===c(Rt)&&e.go(">")}}return{mount:h,destroy:v,disable:f}}var Ye=rr+"-lazy",bt=Ye+"-srcset",Ti="["+Ye+"], ["+bt+"]";function Ai(e,t,r){var n=q(e),i=n.on,s=n.off,a=n.bind,o=n.emit,c=r.lazyLoad==="sequential",l=[lt,Ue],u=[];function h(){r.lazyLoad&&(g(),i(j,g))}function g(){Ee(u),v(),c?S():(s(l),i(l,f),f())}function v(){t.Slides.forEach(function(E){tr(E.slide,Ti).forEach(function(m){var O=oe(m,Ye),_=oe(m,bt);if(O!==m.src||_!==m.srcset){var w=r.classes.spinner,L=m.parentElement,I=ot(L,"."+w)||ke("span",w,L);u.push([m,E,I]),m.src||Je(m,"none")}})})}function f(){u=u.filter(function(E){var m=r.perPage*((r.preloadPages||1)+1)-1;return E[1].isWithin(e.index,m)?d(E):!0}),u.length||s(l)}function d(E){var m=E[0];le(E[1].slide,Xt),a(m,"load error",B(p,E)),k(m,"src",oe(m,Ye)),k(m,"srcset",oe(m,bt)),ue(m,Ye),ue(m,bt)}function p(E,m){var O=E[0],_=E[1];he(_.slide,Xt),m.type!=="error"&&(Ie(E[2]),Je(O,""),o(Yr,O,_),o(tt)),c&&S()}function S(){u.length&&d(u.shift())}return{mount:h,destroy:B(Ee,u),check:f}}function Ci(e,t,r){var n=q(e),i=n.on,s=n.emit,a=n.bind,o=t.Slides,c=t.Elements,l=t.Controller,u=l.hasFocus,h=l.getIndex,g=l.go,v=t.Direction.resolve,f=c.pagination,d=[],p,S;function E(){m(),i([te,j,Tt],E);var N=r.pagination;f&&Je(f,N?"":"none"),N&&(i([ye,ar,Ue],z),O(),z(),s(kn,{list:p,items:d},I(e.index)))}function m(){p&&(Ie(f?De(p.children):p),he(p,S),Ee(d),p=null),n.destroy()}function O(){var N=e.length,D=r.classes,T=r.i18n,A=r.perPage,H=u()?l.getEnd()+1:et(N/A);p=f||ke("ul",D.pagination,c.track.parentElement),le(p,S=Mt+"--"+L()),k(p,me,"tablist"),k(p,ne,T.select),k(p,or,L()===Pt?"vertical":"");for(var x=0;x<H;x++){var K=ke("li",null,p),W=ke("button",{class:D.page,type:"button"},K),M=o.getIn(x).map(function(y){return y.slide.id}),P=!u()&&A>1?T.pageX:T.slideX;a(W,"click",B(_,x)),r.paginationKeyboard&&a(W,"keydown",B(w,x)),k(K,me,"presentation"),k(W,me,"tab"),k(W,ut,M.join(" ")),k(W,ne,Yt(P,x+1)),k(W,xe,-1),d.push({li:K,button:W,page:x})}}function _(N){g(">"+N,!0)}function w(N,D){var T=d.length,A=fr(D),H=L(),x=-1;A===v(Rt,!1,H)?x=++N%T:A===v(It,!1,H)?x=(--N+T)%T:A==="Home"?x=0:A==="End"&&(x=T-1);var K=d[x];K&&(zr(K.button),g(">"+x),ve(D,!0))}function L(){return r.paginationDirection||r.direction}function I(N){return d[l.toPage(N)]}function z(){var N=I(h(!0)),D=I(h());if(N){var T=N.button;he(T,Re),ue(T,_r),k(T,xe,-1)}if(D){var A=D.button;le(A,Re),k(A,_r,!0),k(A,xe,"")}s(xn,{list:p,items:d},N,D)}return{items:d,mount:E,destroy:m,getAt:I,update:z}}var _i=[" ","Enter"];function Ii(e,t,r){var n=r.isNavigation,i=r.slideFocus,s=[];function a(){e.splides.forEach(function(f){f.isParent||(l(e,f.splide),l(f.splide,e))}),n&&u()}function o(){s.forEach(function(f){f.destroy()}),Ee(s)}function c(){o(),a()}function l(f,d){var p=q(f);p.on(ye,function(S,E,m){d.go(d.is(Ge)?m:S)}),s.push(p)}function u(){var f=q(e),d=f.on;d(Br,g),d(jr,v),d([Pe,te],h),s.push(f),f.emit(Wr,e.splides)}function h(){k(t.Elements.list,or,r.direction===Pt?"vertical":"")}function g(f){e.go(f.index)}function v(f,d){Jt(_i,fr(d))&&(g(f),ve(d))}return{setup:B(t.Media.set,{slideFocus:it(i)?n:i},!0),mount:a,destroy:o,remount:c}}function Ri(e,t,r){var n=q(e),i=n.bind,s=0;function a(){r.wheel&&i(t.Elements.track,"wheel",o,we)}function o(l){if(l.cancelable){var u=l.deltaY,h=u<0,g=qt(l),v=r.wheelMinThreshold||0,f=r.wheelSleep||0;ee(u)>v&&g-s>f&&(e.go(h?"<":">"),s=g),c(h)&&ve(l)}}function c(l){return!r.releaseWheel||e.state.is($e)||t.Controller.getAdjacent(l)!==-1}return{mount:a}}var Pi=90;function Ni(e,t,r){var n=q(e),i=n.on,s=t.Elements.track,a=r.live&&!r.isNavigation,o=ke("span",jn),c=Ct(Pi,B(u,!1));function l(){a&&(g(!t.Autoplay.isPaused()),k(s,Pr,!0),o.textContent="\u2026",i(qr,B(g,!0)),i(Kr,B(g,!1)),i([lt,Ue],B(u,!0)))}function u(v){k(s,Rr,v),v?(st(s,o),c.start()):(Ie(o),c.cancel())}function h(){ue(s,[Ir,Pr,Rr]),Ie(o)}function g(v){a&&k(s,Ir,v?"off":"polite")}return{mount:l,disable:g,destroy:h}}var Oi=Object.freeze({__proto__:null,Media:Un,Direction:Gn,Elements:ti,Slides:ni,Layout:ii,Clones:si,Move:oi,Controller:ci,Arrows:fi,Autoplay:vi,Cover:gi,Scroll:bi,Drag:Li,Keyboard:Di,LazyLoad:Ai,Pagination:Ci,Sync:Ii,Wheel:Ri,Live:Ni}),Mi={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},wi={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Qn,i18n:Mi,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Hi(e,t,r){var n=t.Slides;function i(){q(e).on([Pe,j],s)}function s(){n.forEach(function(o){o.style("transform","translateX(-"+100*o.index+"%)")})}function a(o,c){n.style("transition","opacity "+r.speed+"ms "+r.easing),wr(c)}return{mount:i,start:a,cancel:Wt}}function ki(e,t,r){var n=t.Move,i=t.Controller,s=t.Scroll,a=t.Elements.list,o=B(se,a,"transition"),c;function l(){q(e).bind(a,"transitionend",function(v){v.target===a&&c&&(h(),c())})}function u(v,f){var d=n.toPosition(v,!0),p=n.getPosition(),S=g(v);ee(d-p)>=1&&S>=1?r.useScroll?s.scroll(d,S,!1,f):(o("transform "+S+"ms "+r.easing),n.translate(d,!0),c=f):(n.jump(v),f())}function h(){o(""),s.cancel()}function g(v){var f=r.rewindSpeed;if(e.is(Fe)&&f){var d=i.getIndex(!0),p=i.getEnd();if(d===0&&v>=p||d>=p&&v===0)return f}return r.speed}return{mount:l,start:u,cancel:h}}var xi=function(){function e(r,n){this.event=q(),this.Components={},this.state=Fn(He),this.splides=[],this._o={},this._E={};var i=be(r)?$r(document,r):r;Ke(i,i+" is invalid."),this.root=i,n=Se({label:oe(i,ne)||"",labelledby:oe(i,sr)||""},wi,e.defaults,n||{});try{Se(n,JSON.parse(oe(i,rr)))}catch{Ke(!1,"Invalid JSON")}this._o=Object.create(Se({},n))}var t=e.prototype;return t.mount=function(n,i){var s=this,a=this.state,o=this.Components;Ke(a.is([He,Lt]),"Already mounted!"),a.set(He),this._C=o,this._T=i||this._T||(this.is(ft)?Hi:ki),this._E=n||this._E;var c=Qe({},Oi,this._E,{Transition:this._T});return _e(c,function(l,u){var h=l(s,o,s._o);o[u]=h,h.setup&&h.setup()}),_e(o,function(l){l.mount&&l.mount()}),this.emit(Pe),le(this.root,Xn),a.set(ze),this.emit(Ar),this},t.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(ze)&&(this._C.Sync.remount(),n.Components.Sync.remount()),this},t.go=function(n){return this._C.Controller.go(n),this},t.on=function(n,i){return this.event.on(n,i),this},t.off=function(n){return this.event.off(n),this},t.emit=function(n){var i;return(i=this.event).emit.apply(i,[n].concat(De(arguments,1))),this},t.add=function(n,i){return this._C.Slides.add(n,i),this},t.remove=function(n){return this._C.Slides.remove(n),this},t.is=function(n){return this._o.type===n},t.refresh=function(){return this.emit(j),this},t.destroy=function(n){n===void 0&&(n=!0);var i=this.event,s=this.state;return s.is(He)?q(this).on(Ar,this.destroy.bind(this,n)):(_e(this._C,function(a){a.destroy&&a.destroy(n)},!0),i.emit(Vr),i.destroy(),n&&Ee(this.splides),s.set(Lt)),this},yn(e,[{key:"options",get:function(){return this._o},set:function(n){this._C.Media.set(n,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}(),wt=xi;wt.defaults={};wt.STATES=Tn;var Ne=e=>{let t="?";for(let[r,n]of Object.entries(e))n&&(t+=`${r}=${n}&`);return t};var Ht=class{async getGroupOffersData(t){let r=de+"groupOffers"+Ne(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i}async getSingleHotelOffersData(t){let r=de+"offers"+Ne(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i}async getCMSOffers(){let t=de+"cmsOffers",n=await(await fetch(t)).json();return n.items?n:null}async getCountries(){let t=de+"cmsCountries",n=await(await fetch(t)).json();return n.items?n:null}};var fn=async()=>new Promise(e=>{geoip2.country(t=>{e(t.country.iso_code)},()=>{e(ht)})});var kt=()=>{let e=vn();if(!e){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(e)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},vn=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",xt=()=>{let e=Be();return mr[e]},Be=()=>{if(!vn())return localStorage.getItem("wglang")||"fr";try{let e=window.Weglot.getCurrentLang();if(e)return e}catch(e){return console.error("Error getting language",e),"fr"}return"fr"};var zt=(e,t)=>`${e.toLowerCase().trim()}-${t.toLowerCase().trim()}`,gn=(e,t,r)=>{let n=Be().toUpperCase(),i=vt[t].codeIPlanet.toUpperCase(),s=`${Er}?Lang=${n}&currency=${e.toUpperCase()}&HotelCode=${i}`,a=dn("_ga"),o=pr,c=dn("_gcl_au");return s+=`&_ga=${a}&_gl=${o}&_gcl_au=${c}`,r&&(s=`${s}&HotelPromo=${r}`),s},dn=e=>{let t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?t[2]:null};var hn=(e,t,r,n)=>{let{quotation:i,rate:{distribution:s}}=t,{pricePerNight:a,currency:o,plainBookLink:c}=i,{accessCode:l}=s||{},u="";l&&l.length>0&&([u]=l),zi(e,a,o);let h=e.querySelector(U.hotelReserveLink);h&&h.addEventListener("click",v=>{v.preventDefault(),v.stopPropagation(),window.open(c,"_blank")});let g=e.querySelector(U.hotelVillaReserveLink);if(g&&g.addEventListener("click",v=>{v.preventDefault(),v.stopPropagation(),window.open(gn(o,r,u),"_blank")}),n){let{fieldData:{"discount-percentage":v}}=n,f=e.querySelector(U.discount);f&&v&&(f.innerHTML=`-${v}%`);let d=e.querySelector(U.discountContainer);d&&!v&&(d.style.display="none")}},zi=(e,t,r)=>{let n=e.querySelector(U.price);n&&(n.innerHTML=Math.floor(t).toString());let i=e.querySelector(U.currency);i&&(i.innerHTML=gt[r])};var Ft=class{constructor(t,r,n,i){this.listInstance=t;this.itemTemplateElement=r;this.hotelsId=n;this.offersListContainer=i;ae(this,"countryCode");ae(this,"availableCountries",{});ae(this,"offerLookup",{});ae(this,"apiClient",new Ht);ae(this,"countryCodeFilter",t=>{let{isArchived:r,isDraft:n,fieldData:i}=t;return r||n?!1:!i["supported-countries"]||i["supported-countries"].length===0?!0:i["supported-countries"].map(a=>this.availableCountries[a]).includes(this.countryCode)});this.listInstance=t,this.itemTemplateElement=r.cloneNode(!0),this.hotelsId=n,this.listInstance.innerHTML="",this.countryCode=ht,kt()}setupSplider(){let t=new wt("#is-splide3-second",{autoWidth:!0,type:"loop",gap:"1.25rem",pagination:!1,breakpoints:{767:{gap:"0.625rem"}}});if(t.mount(),window.innerWidth>=1110){let r=t.length,n=t.root.querySelector(".splide__progress-bar"),i=t.root.querySelector(".splide__progress"),s=t.root.querySelector(".splide__arrows");if(r<=2)t.options={type:"slide",drag:!1},n&&(n.style.display="none"),i&&(i.style.display="none"),s&&(s.style.display="none"),t.refresh();else{let a=t.root.querySelector(".splide__progress-bar");t.on("move",function(){let c=t.Components.Controller.getEnd()+1,l=Math.min((t.index+1)/c,1);a&&(a.style.width=String(100*l)+"%")});let o=t.root.querySelector(".splide__progress");o&&o.addEventListener("click",function(c){let l=c.clientX-o.getBoundingClientRect().left,u=Math.floor(l/(o.offsetWidth/t.length));t.go(u)})}}}createItem(t,r,n){let{rate:i}=r,{hid:s,title:a,property:o}=t,{destination:c,slug:l}=vt[o],{image:u,title:h,name:g}=i,v=n.cloneNode(!0);return v.removeAttribute("id"),this.bindOffersMetaData(v,{destination:c,image:u,hotelName:a,title:h,slug:l}),hn(v,r,s||o),v.querySelectorAll(U.moreDetails).forEach(d=>{d.addEventListener("click",()=>{let p=this.getOffersCmsSlug(s,o,g);p&&(window.location.href=`/offers/${p}`)})}),v}getOffersCmsSlug(t,r,n){return this.offerLookup[zt(t||r,n)]?.fieldData.slug}bindOffersMetaData(t,{destination:r,image:n,hotelName:i,title:s,slug:a,description:o}){let c=t.querySelector(U.destination),l=t.querySelector(U.image),u=t.querySelector(U.hotelName),h=t.querySelector(U.name),g=t.querySelector(U.description),v=t.querySelector(U.hotelLink),f=Be();c&&(c.textContent=r[f]),l&&(l.src=n?.url),u&&(u.innerHTML=i),h&&(h.innerHTML=s),g&&o&&(g.innerHTML=o),v&&a&&v.addEventListener("click",()=>{window.location.href=a})}async getOffers(){let t=await this.apiClient.getCMSOffers();if(!t)return;let r=await this.apiClient.getCountries();if(!r)return;r.items.forEach(a=>{this.availableCountries[a.id]=a.fieldData.title?.trim()}),this.countryCode=await fn();let n=t.items.filter(this.countryCodeFilter),{offerMetaData:i}=this.generateOfferData(n),s=await this.getOffersData({property:this.hotelsId,locale:xt()});if(s?.data){let{prop:a,rates:o}=s.data,c=0;if(o.forEach(l=>{let u=l.rate.name,h=zt(this.hotelsId,u);if(!i.includes(h))return;let g=this.createItem(a,l,this.itemTemplateElement);this.listInstance.appendChild(g),c+=1}),o.length===0||c===0){this.hideOffersListContainer();return}}else{this.hideOffersListContainer();return}this.setupSplider()}hideOffersListContainer(){this.offersListContainer&&(this.offersListContainer.style.display="none")}generateOfferData(t){let r=[];return t.forEach(n=>{let{fieldData:{"hotel-or-property-api-id":i,"offer-api-name":s}}=n,a=zt(i,s);r.push(a),this.offerLookup[a]=n}),{offerMetaData:r}}async getOffersData(t){let r=de+"offers"+Ne(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i}};var $t=class{constructor(t){ae(this,"hotelsIds");ae(this,"itemElements");ae(this,"itemContainerElements",[]);ae(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(U.beHid).forEach(r=>{let n=r.getAttribute(`${F}-be-hid`)?.trim();if(n&&Oe[n]){this.hotelsIds.push(Oe[n]),this.itemElements.push(r),this.itemContainerElements.push(r.parentElement);let i=r.querySelector(U.price);i&&(i.style.display="none")}else if(n&&!Oe[n]){let i=r.querySelector(U.hotelStartingPriceContainer);i&&this.hidePricingContainer(i)}}),kt()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let r=this.hotelsIds[t],n=this.itemElements[t],i=n.querySelector(U.hotelStartingPriceContainer)||this.itemContainerElements[t],s=this.hotelStartingPriceDataMap.get(r);if(s===void 0&&(s=await this.getHotelStartingPriceData({property:r,locale:xt()})),this.hotelStartingPriceDataMap.set(r,s),!s){this.hidePricingContainer(i);continue}let{quotation:{pricePerNight:a,currency:o}}=s;a||this.hidePricingContainer(i);let c=n.querySelector(U.price);c&&(c.innerHTML=Math.floor(a).toString(),c.style.display="block");let l=n.querySelector(U.currency);l&&(l.innerHTML=gt[o])}}async getHotelStartingPriceData(t){let r=de+"startingfrom"+Ne(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.fsAttributes=window.fsAttributes||[];window.loadFromServer=()=>{window.fsAttributes.push(["cmsslider",async()=>{$i();let e=document.querySelector(U.offersList),t=e?.querySelector(U.listItem),r=document.querySelector(U.offersListContainer),n=Fi();if(!n&&r){r.style.display="none";return}e&&t&&n&&await new Ft(e,t,n,r).getOffers(),await new $t(window.document.body).getHotelStartingPrice()}])};window.loadFromServer();var Fi=()=>{let t=document.querySelector(U.beHid)?.getAttribute(`${F}-be-hid`)?.trim();return t?Oe[t]:null},$i=()=>{let e=document.querySelectorAll(U.hotelURLS),t=Be().toUpperCase();e.forEach(r=>{let n=r.getAttribute("href");if(n){let i;try{i=new URL(n)}catch(a){console.error("Error parsing URL:",a);return}let s=new URLSearchParams(i.search);s.has("langue")&&(s.set("langue",t),s.set("referring_site",encodeURIComponent(window.location.href))),s.has("Lang")&&(t=t==="IT"||t==="ES"?"EN":t,s.set("Lang",t)),i.search=s.toString(),r.setAttribute("href",i.toString())}})};})();
1
+ "use strict";(()=>{var Sn=Object.defineProperty;var bn=(e,t,r)=>t in e?Sn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ae=(e,t,r)=>(bn(e,typeof t!="symbol"?t+"":t,r),r);var $="data",U={startingPriceList:`[${$}=starting-price-list]`,price:`[${$}=price]`,discount:`[${$}=discount]`,discountContainer:`[${$}=discount-container]`,currency:`[${$}=currency]`,beHid:`[${$}-be-hid]`,destination:`[${$}=destination]`,offersList:`[${$}=offers-list]`,offerSlugDetail:`[${$}=offer-slug-detail], [data-offer-slug-detail]`,offerSlugOthersList:`[${$}=offer-slug-others-list], [data-offer-slug-others-list]`,offerSlugOthersList2:`[${$}=offer-slug-others-list2], [data-offer-slug-others-list2]`,offerSlugOthersList3:`[${$}=offer-slug-others-list3], [data-offer-slug-others-list3]`,offerSlugOthersListItem:".offer-others_item",offersMoreWrapper:`[${$}=offers-more-wrapper]`,offerOthersTabsMenu:".offer-others_tabs-menu",offerOthersTabLink:".offer-others_tab-link",offerOthersTabPane:".offer-others_tab-pane",offersListContainer:`[${$}=offers-list-container]`,listItem:`[${$}=list-item]`,image:`[${$}=image]`,name:`[${$}=name]`,description:`[${$}=description]`,hotelName:`[${$}=hotel-name]`,hotelLink:`[${$}=hotel-link]`,hotelStartingPriceContainer:`[${$}=hotel-starting-price-container]`,moreDetails:`[${$}=more-details]`,offersPopup:`[${$}=offers-popup]`,offersPopupClose:`[${$}=close-btn]`,hotelReserveLink:`[${$}=hotel-reserve-link]`,hotelVillaReserveLink:`[${$}=hotel-villa-reserve-link]`,hotelURLS:`[${$}=hotel-urls]`,languageDropdown:`[${$}=language-dropdown]`,selectedLanguage:`[${$}=selected-language]`,loadingSpinner:`[${$}=loading-spinner]`,cmsFilterEmptyState:"[fs-cmsfilter-element=empty]",startingfromItem:e=>`[${$}-be-hid=${e}]`,popupOverlay:"[fs-smartlightbox-element=trigger-close]"};var Me={DHDICBeach:"gpgos12767",DHDIJMalanga:"gptro12772",DHDIToubana:"gpsai12770",DHDIMahogany:"gpgos12769",DHDILangleyres:"gpgua27143",DHDIJungle:"mqros18592",DHDIJade:"agste21689",DHDIWINDLAND:"zzzzz25376",DHDILeCapMaison:"lcgro30400",DHDIChastenet:"agste21688",DHDILPSoleil:"mqsai18593",DHDISHANTI:"zzzzz25378",DHDIPavillon:"zzzzz25377",DHDIBELLEMARE:"zzzzz25379",DHDIPrincemaurice:"mupos25678",DHDIANAHITA:"zzzzz25380",DHDISamana:"agstm21687",FRANTHTLGrandCaseBe1:"frsai31536",DHDITInn:"ageng20433",DHDIBWaters:"agcro20496",DHDICuisinartgolf:"gpang25884",DMDESHTLSecretBayDom:"dmtib00001"},We={en:"Guadeloupe Islands",fr:"Les \xCEles de Guadeloupe",es:"Las islas de Guadalupe",it:"Le isole della Guadalupa"},vr={en:"La Dominique",fr:"La Dominique",es:"Dominica",it:"Dominica"},dt={en:"Saint Lucia",fr:"Sainte-Lucie",es:"Santa Luc\xEDa",it:"Santa Lucia"},Ln={en:"Martinique",fr:"Martinique",es:"Martinica",it:"Martinica"},qe={en:"Mauritius",fr:"\xCEle Maurice",es:"Mauricio",it:"Mauritius"},gr={en:"Saint Martin",fr:"Saint-Martin",es:"Saint-Martin",it:"Saint Martin"},hr={en:"Antigua",fr:"Antigua",es:"Antigua",it:"Antigua"},yn={en:"Anguilla",fr:"Anguilla",es:"Anguila",it:"Anguilla"},vt={gpgos12767:{destination:We,slug:"/hotels-et-villas/creole-beach-hotel-spa",codeIPlanet:"FRAN414",cmsId:"67c809b5f63deab8a71cf8e9"},gptro12772:{destination:We,slug:"/hotels-et-villas/le-jardin-malanga",codeIPlanet:"FRAN416",cmsId:"67c809b5f63deab8a71cf90d"},gpsai12770:{destination:We,slug:"/hotels-et-villas/la-toubana-hotel-spa",codeIPlanet:"FRAN411",cmsId:"67c809b5f63deab8a71cf8ef"},gpgos12769:{destination:We,slug:"/hotels-et-villas/mahogany-hotel-residence-spa",codeIPlanet:"FRAN423",cmsId:"67c809b5f63deab8a71cf91f"},gpgua27143:{destination:We,slug:"/hotels-et-villas/langley-resort-fort-royal",codeIPlanet:"GPAN32",cmsId:"67c809b5f63deab8a71cf8f0"},mqros18592:{destination:vr,slug:"/hotels-et-villas/jungle-bay-dominica",codeIPlanet:"DMAN1",cmsId:"67c809b5f63deab8a71cf8ed"},dmtib00001:{destination:vr,slug:"/hotels-et-villas/secret-bay-dominique",codeIPlanet:"DMAN2",cmsId:"67c809b5f63deab8a71cfefd"},agste21689:{destination:dt,slug:"/hotels-et-villas/jade-mountain",codeIPlanet:"AGAN6",cmsId:"67c809b5f63deab8a71cf92a"},zzzzz25376:{destination:dt,slug:"/hotels-et-villas/windjammer-landing",codeIPlanet:"LCAN4",cmsId:"67c809b5f63deab8a71cf92b"},lcgro30400:{destination:dt,slug:"/hotels-et-villas/cap-maison",codeIPlanet:"LCLC8",cmsId:"67c809b5f63deab8a71cf929"},agste21688:{destination:dt,slug:"/hotels-et-villas/anse-chastanet",codeIPlanet:"AGAN5",cmsId:"67c809b5f63deab8a71cf928"},mqsai18593:{destination:Ln,slug:"/hotels-et-villas/plein-soleil",codeIPlanet:"MQAN16",cmsId:"67c809b5f63deab8a71cf925"},zzzzz25378:{destination:qe,slug:"/hotels-et-villas/shanti-maurice",codeIPlanet:"MUAN22",cmsId:"67c809b5f63deab8a71cf933"},zzzzz25377:{destination:qe,slug:"/hotels-et-villas/lux-le-morne",codeIPlanet:"MUAN21",cmsId:"67c809b5f63deab8a71cf931"},zzzzz25379:{destination:qe,slug:"/hotels-et-villas/constance-belle-mare-plage",codeIPlanet:"MUAN20",cmsId:"67c809b5f63deab8a71cf92f"},mupos25678:{destination:qe,slug:"/hotels-et-villas/constance-le-prince-maurice",codeIPlanet:"MUAN24",cmsId:"67c809b5f63deab8a71cf930"},zzzzz25380:{destination:qe,slug:"/hotels-et-villas/anahita-the-resort",codeIPlanet:"MUAN19",cmsId:"67c809b5f63deab8a71cf92e"},agstm21687:{destination:gr,slug:"/hotels-et-villas/la-samanna",codeIPlanet:"FRAN2350",cmsId:"67c809b5f63deab8a71cf926"},frsai31536:{destination:gr,slug:"/hotels-et-villas/le-grand-case-beach-club",codeIPlanet:"FRFRA3",cmsId:"67c809b5f63deab8a71cf927"},ageng20433:{destination:hr,slug:"/hotels-et-villas/the-inn-at-english-harbour",codeIPlanet:"AGAN4",cmsId:"67c809b5f63deab8a71cf8ec"},agcro20496:{destination:hr,slug:"/hotels-et-villas/blue-waters",codeIPlanet:"AGAN1",cmsId:"67c809b5f63deab8a71cf8eb"},gpang25884:{destination:yn,slug:"/hotels-et-villas/aurora-anguilla-resort-golf-club",codeIPlanet:"GPAN30",cmsId:"67c809b5f63deab8a71cf8ea"}},gt={AED:"\u062F.\u0625.",AFN:"Af",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"AR$",AUD:"AU$",AWG:"\u0192",AZN:"\u043C\u0430\u043D",BAM:"KM",BBD:"BBD$",BDT:"\u09F3",BGN:"\u043B\u0432.",BHD:"BD",BIF:"FBu",BMD:"$",BND:"B$",BOB:"Bs.",BRL:"R$",BSD:"$",BTN:"Nu.",BWP:"P",BYN:"Br",BZD:"BZ$",CAD:"CA$",CDF:"FC",CHF:"Fr.",CKD:"$",CLP:"CL$",CNY:"CN\xA5",COP:"CO$",CRC:"\u20A1",CUC:"CUC$",CUP:"$MN",CVE:"CV$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr.",DOP:"RD$",DZD:"DA",EGP:"E\xA3",EHP:"Ptas.",ERN:"Nkf",ETB:"Br",EUR:"\u20AC",FJD:"FJ$",FKP:"FK\xA3",FOK:"kr",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"G$",HKD:"HK$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"Rs.",IQD:"\u062F.\u0639.",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u0441",KHR:"\u17DB",KID:"$",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"CI$",KZT:"\u20B8",LAK:"\u20ADN",LBP:"LL.",LKR:"Rs.",LRD:"L$",LSL:"L",LYD:"LD",MAD:"DH",MDL:"L",MGA:"Ar",MKD:"den",MMK:"Ks",MNT:"\u20AE",MOP:"MOP$",MRU:"UM",MUR:"Rs.",MVR:"MRf",MWK:"MK",MXN:"MX$",MYR:"RM",MZN:"MTn",NAD:"N$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"Rs.",NZD:"NZ$",OMR:"OR",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"Rs.",PLN:"z\u0142",PND:"$",PRB:"\u0440.",PYG:"\u20B2",QAR:"QR",RON:"L",RSD:"din",RUB:"\u20BD",RWF:"FRw",SAR:"SR",SBD:"SI$",SCR:"Rs.",SDG:"\xA3SD",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SLS:"Sl",SOS:"Sh.So.",SRD:"Sr$",SSP:"SS\xA3",STN:"Db",SVC:"\u20A1",SYP:"LS",SZL:"L",THB:"\u0E3F",TJS:"SM",TMT:"m.",TND:"DT",TOP:"T$",TRY:"TL",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYU:"$U",UZS:"\u0441\u0443\u043C",VED:"Bs.",VES:"Bs.F",VND:"\u20AB",VUV:"VT",WST:"T",XAF:"Fr",XCD:"$",XOF:"\u20A3",XPF:"\u20A3",YER:"YR",ZAR:"R",ZMW:"ZK",ZWB:"",ZWL:"Z$",Abkhazia:"",Artsakh:"\u0564\u0580."},mr={it:"it_IT",es:"es_ES",fr:"fr_FR",en:"en_GB"};var de="https://deshotelsetdesiles.ccordier.workers.dev/v2/",Er="https://deshotelsetdesiles.i-planet.fr/dhdi-public/searchform.cgi",ht="FR",pr="1*q1lzz9*_gcl_au*MTMyMzcyMDY5NC4xNzM5Mjg5MzYx*_ga*NTAxMzI1MzMwLjE3MzkyODkzNjE.*_ga_Q0RXHLR7D4*MTczOTI5NzEzNC4zLjAuMTczOTI5NzE3Mi4yMi4wLjA.";function Sr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dn(e,t,r){return t&&Sr(e.prototype,t),r&&Sr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var br="(prefers-reduced-motion: reduce)",ke=1,Tn=2,$e=3,Ue=4,nt=5,Et=6,Lt=7,An={CREATED:ke,MOUNTED:Tn,IDLE:$e,MOVING:Ue,SCROLLING:nt,DRAGGING:Et,DESTROYED:Lt};function Ee(e){e.length=0}function De(e,t,r){return Array.prototype.slice.call(e,t,r)}function B(e){return e.bind.apply(e,[null].concat(De(arguments,1)))}var wr=setTimeout,Wt=function(){};function Lr(e){return requestAnimationFrame(e)}function At(e,t){return typeof t===e}function je(e){return!Qt(e)&&At("object",e)}var Zt=Array.isArray,Hr=B(At,"function"),be=B(At,"string"),it=B(At,"undefined");function Qt(e){return e===null}function kr(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function at(e){return Zt(e)?e:[e]}function ie(e,t){at(e).forEach(t)}function Jt(e,t){return e.indexOf(t)>-1}function pt(e,t){return e.push.apply(e,at(t)),e}function ge(e,t,r){e&&ie(t,function(n){n&&e.classList[r?"add":"remove"](n)})}function le(e,t){ge(e,be(t)?t.split(" "):t,!0)}function st(e,t){ie(t,e.appendChild.bind(e))}function er(e,t){ie(e,function(r){var n=(t||r).parentNode;n&&n.insertBefore(r,t)})}function Xe(e,t){return kr(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function xr(e,t){var r=e?De(e.children):[];return t?r.filter(function(n){return Xe(n,t)}):r}function ot(e,t){return t?xr(e,t)[0]:e.firstElementChild}var Ze=Object.keys;function _e(e,t,r){return e&&(r?Ze(e).reverse():Ze(e)).forEach(function(n){n!=="__proto__"&&t(e[n],n)}),e}function Qe(e){return De(arguments,1).forEach(function(t){_e(t,function(r,n){e[n]=t[n]})}),e}function Se(e){return De(arguments,1).forEach(function(t){_e(t,function(r,n){Zt(r)?e[n]=r.slice():je(r)?e[n]=Se({},je(e[n])?e[n]:{},r):e[n]=r})}),e}function yr(e,t){ie(t||Ze(e),function(r){delete e[r]})}function ue(e,t){ie(e,function(r){ie(t,function(n){r&&r.removeAttribute(n)})})}function k(e,t,r){je(t)?_e(t,function(n,i){k(e,i,n)}):ie(e,function(n){Qt(r)||r===""?ue(n,t):n.setAttribute(t,String(r))})}function xe(e,t,r){var n=document.createElement(e);return t&&(be(t)?le(n,t):k(n,t)),r&&st(r,n),n}function se(e,t,r){if(it(r))return getComputedStyle(e)[t];Qt(r)||(e.style[t]=""+r)}function Je(e,t){se(e,"display",t)}function zr(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function oe(e,t){return e.getAttribute(t)}function Dr(e,t){return e&&e.classList.contains(t)}function re(e){return e.getBoundingClientRect()}function Ie(e){ie(e,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function $r(e){return ot(new DOMParser().parseFromString(e,"text/html").body)}function ve(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function Fr(e,t){return e&&e.querySelector(t)}function tr(e,t){return t?De(e.querySelectorAll(t)):[]}function he(e,t){ge(e,t,!1)}function qt(e){return e.timeStamp}function Ce(e){return be(e)?e:e?e+"px":""}var ct="splide",rr="data-"+ct;function Ke(e,t){if(!e)throw new Error("["+ct+"] "+(t||""))}var Le=Math.min,yt=Math.max,Dt=Math.floor,et=Math.ceil,ee=Math.abs;function Ur(e,t,r){return ee(e-t)<r}function St(e,t,r,n){var i=Le(t,r),s=yt(t,r);return n?i<e&&e<s:i<=e&&e<=s}function we(e,t,r){var n=Le(t,r),i=yt(t,r);return Le(yt(n,e),i)}function Kt(e){return+(e>0)-+(e<0)}function Yt(e,t){return ie(t,function(r){e=e.replace("%s",""+r)}),e}function nr(e){return e<10?"0"+e:""+e}var Tr={};function Cn(e){return""+e+nr(Tr[e]=(Tr[e]||0)+1)}function Gr(){var e=[];function t(a,o,c,l){i(a,o,function(u,h,g){var v="addEventListener"in u,f=v?u.removeEventListener.bind(u,h,c,l):u.removeListener.bind(u,c);v?u.addEventListener(h,c,l):u.addListener(c),e.push([u,h,g,c,f])})}function r(a,o,c){i(a,o,function(l,u,h){e=e.filter(function(g){return g[0]===l&&g[1]===u&&g[2]===h&&(!c||g[3]===c)?(g[4](),!1):!0})})}function n(a,o,c){var l,u=!0;return typeof CustomEvent=="function"?l=new CustomEvent(o,{bubbles:u,detail:c}):(l=document.createEvent("CustomEvent"),l.initCustomEvent(o,u,!1,c)),a.dispatchEvent(l),l}function i(a,o,c){ie(a,function(l){l&&ie(o,function(u){u.split(" ").forEach(function(h){var g=h.split(".");c(l,g[0],g[1])})})})}function s(){e.forEach(function(a){a[4]()}),Ee(e)}return{bind:t,unbind:r,dispatch:n,destroy:s}}var Re="mounted",Ar="ready",ye="move",lt="moved",Br="click",_n="active",In="inactive",Pn="visible",Rn="hidden",j="refresh",te="updated",tt="resize",ir="resized",On="drag",Nn="dragging",Mn="dragged",ar="scroll",Ge="scrolled",wn="overflow",Vr="destroy",Hn="arrows:mounted",kn="arrows:updated",xn="pagination:mounted",zn="pagination:updated",Wr="navigation:mounted",qr="autoplay:play",$n="autoplay:playing",Kr="autoplay:pause",Yr="lazyload:loaded",jr="sk",Xr="sh",Tt="ei";function q(e){var t=e?e.event.bus:document.createDocumentFragment(),r=Gr();function n(s,a){r.bind(t,at(s).join(" "),function(o){a.apply(a,Zt(o.detail)?o.detail:[])})}function i(s){r.dispatch(t,s,De(arguments,1))}return e&&e.event.on(Vr,r.destroy),Qe(r,{bus:t,on:n,off:B(r.unbind,t),emit:i})}function Ct(e,t,r,n){var i=Date.now,s,a=0,o,c=!0,l=0;function u(){if(!c){if(a=e?Le((i()-s)/e,1):1,r&&r(a),a>=1&&(t(),s=i(),n&&++l>=n))return g();o=Lr(u)}}function h(S){S||f(),s=i()-(S?a*e:0),c=!1,o=Lr(u)}function g(){c=!0}function v(){s=i(),a=0,r&&r(a)}function f(){o&&cancelAnimationFrame(o),a=0,o=0,c=!0}function d(S){e=S}function p(){return c}return{start:h,rewind:v,pause:g,cancel:f,set:d,isPaused:p}}function Fn(e){var t=e;function r(i){t=i}function n(i){return Jt(at(i),t)}return{set:r,is:n}}function Un(e,t){var r=Ct(t||0,e,null,1);return function(){r.isPaused()&&r.start()}}function Gn(e,t,r){var n=e.state,i=r.breakpoints||{},s=r.reducedMotion||{},a=Gr(),o=[];function c(){var f=r.mediaQuery==="min";Ze(i).sort(function(d,p){return f?+d-+p:+p-+d}).forEach(function(d){u(i[d],"("+(f?"min":"max")+"-width:"+d+"px)")}),u(s,br),h()}function l(f){f&&a.destroy()}function u(f,d){var p=matchMedia(d);a.bind(p,"change",h),o.push([f,p])}function h(){var f=n.is(Lt),d=r.direction,p=o.reduce(function(S,E){return Se(S,E[1].matches?E[0]:{})},{});yr(r),v(p),r.destroy?e.destroy(r.destroy==="completely"):f?(l(!0),e.mount()):d!==r.direction&&e.refresh()}function g(f){matchMedia(br).matches&&(f?Se(r,s):yr(r,Ze(s)))}function v(f,d,p){Se(r,f),d&&Se(Object.getPrototypeOf(r),f),(p||!n.is(ke))&&e.emit(te,r)}return{setup:c,destroy:l,reduce:g,set:v}}var _t="Arrow",It=_t+"Left",Pt=_t+"Right",Zr=_t+"Up",Qr=_t+"Down";var Cr="rtl",Rt="ttb",Ut={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Zr,Pt],ArrowRight:[Qr,It]};function Bn(e,t,r){function n(s,a,o){o=o||r.direction;var c=o===Cr&&!a?1:o===Rt?0:-1;return Ut[s]&&Ut[s][c]||s.replace(/width|left|right/i,function(l,u){var h=Ut[l.toLowerCase()][c]||l;return u>0?h.charAt(0).toUpperCase()+h.slice(1):h})}function i(s){return s*(r.direction===Cr?1:-1)}return{resolve:n,orient:i}}var me="role",ze="tabindex",Vn="disabled",ce="aria-",ut=ce+"controls",Jr=ce+"current",_r=ce+"selected",ne=ce+"label",sr=ce+"labelledby",en=ce+"hidden",or=ce+"orientation",rt=ce+"roledescription",Ir=ce+"live",Pr=ce+"busy",Rr=ce+"atomic",cr=[me,ze,Vn,ut,Jr,ne,sr,en,or,rt],fe=ct+"__",Te="is-",Gt=ct,Or=fe+"track",Wn=fe+"list",Ot=fe+"slide",tn=Ot+"--clone",qn=Ot+"__container",lr=fe+"arrows",Nt=fe+"arrow",rn=Nt+"--prev",nn=Nt+"--next",Mt=fe+"pagination",an=Mt+"__page",Kn=fe+"progress",Yn=Kn+"__bar",ur=fe+"toggle",Wi=ur+"__play",qi=ur+"__pause",jn=fe+"spinner",Xn=fe+"sr",Zn=Te+"initialized",Pe=Te+"active",sn=Te+"prev",on=Te+"next",jt=Te+"visible",Xt=Te+"loading",cn=Te+"focus-in",ln=Te+"overflow",Qn=[Pe,jt,sn,on,Xt,cn,ln],Jn={slide:Ot,clone:tn,arrows:lr,arrow:Nt,prev:rn,next:nn,pagination:Mt,page:an,spinner:jn};function ei(e,t){if(Hr(e.closest))return e.closest(t);for(var r=e;r&&r.nodeType===1&&!Xe(r,t);)r=r.parentElement;return r}var ti=5,Nr=200,un="touchstart mousedown",Bt="touchmove mousemove",Vt="touchend touchcancel mouseup click";function ri(e,t,r){var n=q(e),i=n.on,s=n.bind,a=e.root,o=r.i18n,c={},l=[],u=[],h=[],g,v,f;function d(){m(),N(),E()}function p(){i(j,S),i(j,d),i(te,E),s(document,un+" keydown",function(L){f=L.type==="keydown"},{capture:!0}),s(a,"focusin",function(){ge(a,cn,!!f)})}function S(L){var I=cr.concat("style");Ee(l),he(a,u),he(g,h),ue([g,v],I),ue(a,L?I:["style",rt])}function E(){he(a,u),he(g,h),u=w(Gt),h=w(Or),le(a,u),le(g,h),k(a,ne,r.label),k(a,sr,r.labelledby)}function m(){g=_("."+Or),v=ot(g,"."+Wn),Ke(g&&v,"A track/list element is missing."),pt(l,xr(v,"."+Ot+":not(."+tn+")")),_e({arrows:lr,pagination:Mt,prev:rn,next:nn,bar:Yn,toggle:ur},function(L,I){c[I]=_("."+L)}),Qe(c,{root:a,track:g,list:v,slides:l})}function N(){var L=a.id||Cn(ct),I=r.role;a.id=L,g.id=g.id||L+"-track",v.id=v.id||L+"-list",!oe(a,me)&&a.tagName!=="SECTION"&&I&&k(a,me,I),k(a,rt,o.carousel),k(v,me,"presentation")}function _(L){var I=Fr(a,L);return I&&ei(I,"."+Gt)===a?I:void 0}function w(L){return[L+"--"+r.type,L+"--"+r.direction,r.drag&&L+"--draggable",r.isNavigation&&L+"--nav",L===Gt&&Pe]}return Qe(c,{setup:d,mount:p,destroy:S})}var Fe="slide",Be="loop",ft="fade";function ni(e,t,r,n){var i=q(e),s=i.on,a=i.emit,o=i.bind,c=e.Components,l=e.root,u=e.options,h=u.isNavigation,g=u.updateOnMove,v=u.i18n,f=u.pagination,d=u.slideFocus,p=c.Direction.resolve,S=oe(n,"style"),E=oe(n,ne),m=r>-1,N=ot(n,"."+qn),_;function w(){m||(n.id=l.id+"-slide"+nr(t+1),k(n,me,f?"tabpanel":"group"),k(n,rt,v.slide),k(n,ne,E||Yt(v.slideLabel,[t+1,e.length]))),L()}function L(){o(n,"click",B(a,Br,M)),o(n,"keydown",B(a,jr,M)),s([lt,Xr,Ge],D),s(Wr,z),g&&s(ye,O)}function I(){_=!0,i.destroy(),he(n,Qn),ue(n,cr),k(n,"style",S),k(n,ne,E||"")}function z(){var R=e.splides.map(function(y){var P=y.splide.Components.Slides.getAt(t);return P?P.slide.id:""}).join(" ");k(n,ne,Yt(v.slideX,(m?r:t)+1)),k(n,ut,R),k(n,me,d?"button":""),d&&ue(n,rt)}function O(){_||D()}function D(){if(!_){var R=e.index;T(),A(),ge(n,sn,t===R-1),ge(n,on,t===R+1)}}function T(){var R=x();R!==Dr(n,Pe)&&(ge(n,Pe,R),k(n,Jr,h&&R||""),a(R?_n:In,M))}function A(){var R=K(),y=!R&&(!x()||m);if(e.state.is([Ue,nt])||k(n,en,y||""),k(tr(n,u.focusableNodes||""),ze,y?-1:""),d&&k(n,ze,y?-1:0),R!==Dr(n,jt)&&(ge(n,jt,R),a(R?Pn:Rn,M)),!R&&document.activeElement===n){var P=c.Slides.getAt(e.index);P&&zr(P.slide)}}function H(R,y,P){se(P&&N||n,R,y)}function x(){var R=e.index;return R===t||u.cloneStatus&&R===r}function K(){if(e.is(ft))return x();var R=re(c.Elements.track),y=re(n),P=p("left",!0),F=p("right",!0);return Dt(R[P])<=et(y[P])&&Dt(y[F])<=et(R[F])}function W(R,y){var P=ee(R-t);return!m&&(u.rewind||e.is(Be))&&(P=Le(P,e.length-P)),P<=y}var M={index:t,slideIndex:r,slide:n,container:N,isClone:m,mount:w,destroy:I,update:D,style:H,isWithin:W};return M}function ii(e,t,r){var n=q(e),i=n.on,s=n.emit,a=n.bind,o=t.Elements,c=o.slides,l=o.list,u=[];function h(){g(),i(j,v),i(j,g)}function g(){c.forEach(function(D,T){d(D,T,-1)})}function v(){_(function(D){D.destroy()}),Ee(u)}function f(){_(function(D){D.update()})}function d(D,T,A){var H=ni(e,T,A,D);H.mount(),u.push(H),u.sort(function(x,K){return x.index-K.index})}function p(D){return D?w(function(T){return!T.isClone}):u}function S(D){var T=t.Controller,A=T.toIndex(D),H=T.hasFocus()?1:r.perPage;return w(function(x){return St(x.index,A,A+H-1)})}function E(D){return w(D)[0]}function m(D,T){ie(D,function(A){if(be(A)&&(A=$r(A)),kr(A)){var H=c[T];H?er(A,H):st(l,A),le(A,r.classes.slide),I(A,B(s,tt))}}),s(j)}function N(D){Ie(w(D).map(function(T){return T.slide})),s(j)}function _(D,T){p(T).forEach(D)}function w(D){return u.filter(Hr(D)?D:function(T){return be(D)?Xe(T.slide,D):Jt(at(D),T.index)})}function L(D,T,A){_(function(H){H.style(D,T,A)})}function I(D,T){var A=tr(D,"img"),H=A.length;H?A.forEach(function(x){a(x,"load error",function(){--H||T()})}):T()}function z(D){return D?c.length:u.length}function O(){return u.length>r.perPage}return{mount:h,destroy:v,update:f,register:d,get:p,getIn:S,getAt:E,add:m,remove:N,forEach:_,filter:w,style:L,getLength:z,isEnough:O}}function ai(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.emit,o=t.Slides,c=t.Direction.resolve,l=t.Elements,u=l.root,h=l.track,g=l.list,v=o.getAt,f=o.style,d,p,S;function E(){m(),s(window,"resize load",Un(B(a,tt))),i([te,j],m),i(tt,N)}function m(){d=r.direction===Rt,se(u,"maxWidth",Ce(r.width)),se(h,c("paddingLeft"),_(!1)),se(h,c("paddingRight"),_(!0)),N(!0)}function N(M){var R=re(u);(M||p.width!==R.width||p.height!==R.height)&&(se(h,"height",w()),f(c("marginRight"),Ce(r.gap)),f("width",I()),f("height",z(),!0),p=R,a(ir),S!==(S=W())&&(ge(u,ln,S),a(wn,S)))}function _(M){var R=r.padding,y=c(M?"right":"left");return R&&Ce(R[y]||(je(R)?0:R))||"0px"}function w(){var M="";return d&&(M=L(),Ke(M,"height or heightRatio is missing."),M="calc("+M+" - "+_(!1)+" - "+_(!0)+")"),M}function L(){return Ce(r.height||re(g).width*r.heightRatio)}function I(){return r.autoWidth?null:Ce(r.fixedWidth)||(d?"":O())}function z(){return Ce(r.fixedHeight)||(d?r.autoHeight?null:O():L())}function O(){var M=Ce(r.gap);return"calc((100%"+(M&&" + "+M)+")/"+(r.perPage||1)+(M&&" - "+M)+")"}function D(){return re(g)[c("width")]}function T(M,R){var y=v(M||0);return y?re(y.slide)[c("width")]+(R?0:x()):0}function A(M,R){var y=v(M);if(y){var P=re(y.slide)[c("right")],F=re(g)[c("left")];return ee(P-F)+(R?0:x())}return 0}function H(M){return A(e.length-1)-A(0)+T(0,M)}function x(){var M=v(0);return M&&parseFloat(se(M.slide,c("marginRight")))||0}function K(M){return parseFloat(se(h,c("padding"+(M?"Right":"Left"))))||0}function W(){return e.is(ft)||H(!0)>D()}return{mount:E,resize:N,listSize:D,slideSize:T,sliderSize:H,totalSize:A,getPadding:K,isOverflow:W}}var si=2;function oi(e,t,r){var n=q(e),i=n.on,s=t.Elements,a=t.Slides,o=t.Direction.resolve,c=[],l;function u(){i(j,h),i([te,tt],v),(l=p())&&(f(l),t.Layout.resize(!0))}function h(){g(),u()}function g(){Ie(c),Ee(c),n.destroy()}function v(){var S=p();l!==S&&(l<S||!S)&&n.emit(j)}function f(S){var E=a.get().slice(),m=E.length;if(m){for(;E.length<S;)pt(E,E);pt(E.slice(-S),E.slice(0,S)).forEach(function(N,_){var w=_<S,L=d(N.slide,_);w?er(L,E[0].slide):st(s.list,L),pt(c,L),a.register(L,_-S+(w?0:m),N.index)})}}function d(S,E){var m=S.cloneNode(!0);return le(m,r.classes.clone),m.id=e.root.id+"-clone"+nr(E+1),m}function p(){var S=r.clones;if(!e.is(Be))S=0;else if(it(S)){var E=r[o("fixedWidth")]&&t.Layout.slideSize(0),m=E&&et(re(s.track)[o("width")]/E);S=m||r[o("autoWidth")]&&e.length||r.perPage*si}return S}return{mount:u,destroy:g}}function ci(e,t,r){var n=q(e),i=n.on,s=n.emit,a=e.state.set,o=t.Layout,c=o.slideSize,l=o.getPadding,u=o.totalSize,h=o.listSize,g=o.sliderSize,v=t.Direction,f=v.resolve,d=v.orient,p=t.Elements,S=p.list,E=p.track,m;function N(){m=t.Transition,i([Re,ir,te,j],_)}function _(){t.Controller.isBusy()||(t.Scroll.cancel(),L(e.index),t.Slides.update())}function w(y,P,F,Z){y!==P&&M(y>F)&&(D(),I(O(H(),y>F),!0)),a(Ue),s(ye,P,F,y),m.start(P,function(){a($e),s(lt,P,F,y),Z&&Z()})}function L(y){I(A(y,!0))}function I(y,P){if(!e.is(ft)){var F=P?y:z(y);se(S,"transform","translate"+f("X")+"("+F+"px)"),y!==F&&s(Xr)}}function z(y){if(e.is(Be)){var P=T(y),F=P>t.Controller.getEnd(),Z=P<0;(Z||F)&&(y=O(y,F))}return y}function O(y,P){var F=y-W(P),Z=g();return y-=d(Z*(et(ee(F)/Z)||1))*(P?1:-1),y}function D(){I(H(),!0),m.cancel()}function T(y){for(var P=t.Slides.get(),F=0,Z=1/0,X=0;X<P.length;X++){var pe=P[X].index,b=ee(A(pe,!0)-y);if(b<=Z)Z=b,F=pe;else break}return F}function A(y,P){var F=d(u(y-1)-K(y));return P?x(F):F}function H(){var y=f("left");return re(S)[y]-re(E)[y]+d(l(!1))}function x(y){return r.trimSpace&&e.is(Fe)&&(y=we(y,0,d(g(!0)-h()))),y}function K(y){var P=r.focus;return P==="center"?(h()-c(y,!0))/2:+P*c(y)||0}function W(y){return A(y?t.Controller.getEnd():0,!!r.trimSpace)}function M(y){var P=d(O(H(),y));return y?P>=0:P<=S[f("scrollWidth")]-re(E)[f("width")]}function R(y,P){P=it(P)?H():P;var F=y!==!0&&d(P)<d(W(!1)),Z=y!==!1&&d(P)>d(W(!0));return F||Z}return{mount:N,move:w,jump:L,translate:I,shift:O,cancel:D,toIndex:T,toPosition:A,getPosition:H,getLimit:W,exceededLimit:R,reposition:_}}function li(e,t,r){var n=q(e),i=n.on,s=n.emit,a=t.Move,o=a.getPosition,c=a.getLimit,l=a.toPosition,u=t.Slides,h=u.isEnough,g=u.getLength,v=r.omitEnd,f=e.is(Be),d=e.is(Fe),p=B(H,!1),S=B(H,!0),E=r.start||0,m,N=E,_,w,L;function I(){z(),i([te,j,Tt],z),i(ir,O)}function z(){_=g(!0),w=r.perMove,L=r.perPage,m=M();var b=we(E,0,v?m:_-1);b!==E&&(E=b,a.reposition())}function O(){m!==M()&&s(Tt)}function D(b,G,J){if(!pe()){var Y=A(b),Q=W(Y);Q>-1&&(G||Q!==E)&&(F(Q),a.move(Y,Q,N,J))}}function T(b,G,J,Y){t.Scroll.scroll(b,G,J,function(){var Q=W(a.toIndex(o()));F(v?Le(Q,m):Q),Y&&Y()})}function A(b){var G=E;if(be(b)){var J=b.match(/([+\-<>])(\d+)?/)||[],Y=J[1],Q=J[2];Y==="+"||Y==="-"?G=x(E+ +(""+Y+(+Q||1)),E):Y===">"?G=Q?R(+Q):p(!0):Y==="<"&&(G=S(!0))}else G=f?b:we(b,0,m);return G}function H(b,G){var J=w||(X()?1:L),Y=x(E+J*(b?-1:1),E,!(w||X()));return Y===-1&&d&&!Ur(o(),c(!b),1)?b?0:m:G?Y:W(Y)}function x(b,G,J){if(h()||X()){var Y=K(b);Y!==b&&(G=b,b=Y,J=!1),b<0||b>m?!w&&(St(0,b,G,!0)||St(m,G,b,!0))?b=R(y(b)):f?b=J?b<0?-(_%L||L):_:b:r.rewind?b=b<0?m:0:b=-1:J&&b!==G&&(b=R(y(G)+(b<G?-1:1)))}else b=-1;return b}function K(b){if(d&&r.trimSpace==="move"&&b!==E)for(var G=o();G===l(b,!0)&&St(b,0,e.length-1,!r.rewind);)b<E?--b:++b;return b}function W(b){return f?(b+_)%_||0:b}function M(){for(var b=_-(X()||f&&w?1:L);v&&b-- >0;)if(l(_-1,!0)!==l(b,!0)){b++;break}return we(b,0,_-1)}function R(b){return we(X()?b:L*b,0,m)}function y(b){return X()?Le(b,m):Dt((b>=m?_-1:b)/L)}function P(b){var G=a.toIndex(b);return d?we(G,0,m):G}function F(b){b!==E&&(N=E,E=b)}function Z(b){return b?N:E}function X(){return!it(r.focus)||r.isNavigation}function pe(){return e.state.is([Ue,nt])&&!!r.waitForTransition}return{mount:I,go:D,scroll:T,getNext:p,getPrev:S,getAdjacent:H,getEnd:M,setIndex:F,getIndex:Z,toIndex:R,toPage:y,toDest:P,hasFocus:X,isBusy:pe}}var ui="http://www.w3.org/2000/svg",fi="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",mt=40;function di(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.emit,o=r.classes,c=r.i18n,l=t.Elements,u=t.Controller,h=l.arrows,g=l.track,v=h,f=l.prev,d=l.next,p,S,E={};function m(){_(),i(te,N)}function N(){w(),m()}function _(){var T=r.arrows;T&&!(f&&d)&&z(),f&&d&&(Qe(E,{prev:f,next:d}),Je(v,T?"":"none"),le(v,S=lr+"--"+r.direction),T&&(L(),D(),k([f,d],ut,g.id),a(Hn,f,d)))}function w(){n.destroy(),he(v,S),p?(Ie(h?[f,d]:v),f=d=null):ue([f,d],cr)}function L(){i([Re,lt,j,Ge,Tt],D),s(d,"click",B(I,">")),s(f,"click",B(I,"<"))}function I(T){u.go(T,!0)}function z(){v=h||xe("div",o.arrows),f=O(!0),d=O(!1),p=!0,st(v,[f,d]),!h&&er(v,g)}function O(T){var A='<button class="'+o.arrow+" "+(T?o.prev:o.next)+'" type="button"><svg xmlns="'+ui+'" viewBox="0 0 '+mt+" "+mt+'" width="'+mt+'" height="'+mt+'" focusable="false"><path d="'+(r.arrowPath||fi)+'" />';return $r(A)}function D(){if(f&&d){var T=e.index,A=u.getPrev(),H=u.getNext(),x=A>-1&&T<A?c.last:c.prev,K=H>-1&&T>H?c.first:c.next;f.disabled=A<0,d.disabled=H<0,k(f,ne,x),k(d,ne,K),a(kn,f,d,A,H)}}return{arrows:E,mount:m,destroy:w,update:D}}var vi=rr+"-interval";function gi(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.emit,o=Ct(r.interval,e.go.bind(e,">"),L),c=o.isPaused,l=t.Elements,u=t.Elements,h=u.root,g=u.toggle,v=r.autoplay,f,d,p=v==="pause";function S(){v&&(E(),g&&k(g,ut,l.track.id),p||m(),w())}function E(){r.pauseOnHover&&s(h,"mouseenter mouseleave",function(z){f=z.type==="mouseenter",_()}),r.pauseOnFocus&&s(h,"focusin focusout",function(z){d=z.type==="focusin",_()}),g&&s(g,"click",function(){p?m():N(!0)}),i([ye,ar,j],o.rewind),i(ye,I)}function m(){c()&&t.Slides.isEnough()&&(o.start(!r.resetProgress),d=f=p=!1,w(),a(qr))}function N(z){z===void 0&&(z=!0),p=!!z,w(),c()||(o.pause(),a(Kr))}function _(){p||(f||d?N(!1):m())}function w(){g&&(ge(g,Pe,!p),k(g,ne,r.i18n[p?"play":"pause"]))}function L(z){var O=l.bar;O&&se(O,"width",z*100+"%"),a($n,z)}function I(z){var O=t.Slides.getAt(z);o.set(O&&+oe(O.slide,vi)||r.interval)}return{mount:S,destroy:o.cancel,play:m,pause:N,isPaused:c}}function hi(e,t,r){var n=q(e),i=n.on;function s(){r.cover&&(i(Yr,B(o,!0)),i([Re,te,j],B(a,!0)))}function a(c){t.Slides.forEach(function(l){var u=ot(l.container||l.slide,"img");u&&u.src&&o(c,u,l)})}function o(c,l,u){u.style("background",c?'center/cover no-repeat url("'+l.src+'")':"",!0),Je(l,c?"none":"")}return{mount:s,destroy:B(a,!1)}}var mi=10,Ei=600,pi=.6,Si=1.5,bi=800;function Li(e,t,r){var n=q(e),i=n.on,s=n.emit,a=e.state.set,o=t.Move,c=o.getPosition,l=o.getLimit,u=o.exceededLimit,h=o.translate,g=e.is(Fe),v,f,d=1;function p(){i(ye,N),i([te,j],_)}function S(L,I,z,O,D){var T=c();if(N(),z&&(!g||!u())){var A=t.Layout.sliderSize(),H=Kt(L)*A*Dt(ee(L)/A)||0;L=o.toPosition(t.Controller.toDest(L%A))+H}var x=Ur(T,L,1);d=1,I=x?0:I||yt(ee(L-T)/Si,bi),f=O,v=Ct(I,E,B(m,T,L,D),1),a(nt),s(ar),v.start()}function E(){a($e),f&&f(),s(Ge)}function m(L,I,z,O){var D=c(),T=L+(I-L)*w(O),A=(T-D)*d;h(D+A),g&&!z&&u()&&(d*=pi,ee(A)<mi&&S(l(u(!0)),Ei,!1,f,!0))}function N(){v&&v.cancel()}function _(){v&&!v.isPaused()&&(N(),E())}function w(L){var I=r.easingFunc;return I?I(L):1-Math.pow(1-L,4)}return{mount:p,destroy:N,scroll:S,cancel:_}}var He={passive:!1,capture:!0};function yi(e,t,r){var n=q(e),i=n.on,s=n.emit,a=n.bind,o=n.unbind,c=e.state,l=t.Move,u=t.Scroll,h=t.Controller,g=t.Elements.track,v=t.Media.reduce,f=t.Direction,d=f.resolve,p=f.orient,S=l.getPosition,E=l.exceededLimit,m,N,_,w,L,I=!1,z,O,D;function T(){a(g,Bt,Wt,He),a(g,Vt,Wt,He),a(g,un,H,He),a(g,"click",W,{capture:!0}),a(g,"dragstart",ve),i([Re,te],A)}function A(){var C=r.drag;dr(!C),w=C==="free"}function H(C){if(z=!1,!O){var V=Q(C);Y(C.target)&&(V||!C.button)&&(h.isBusy()?ve(C,!0):(D=V?g:window,L=c.is([Ue,nt]),_=null,a(D,Bt,x,He),a(D,Vt,K,He),l.cancel(),u.cancel(),M(C)))}}function x(C){if(c.is(Et)||(c.set(Et),s(On)),C.cancelable)if(L){l.translate(m+J(X(C)));var V=pe(C)>Nr,Ae=I!==(I=E());(V||Ae)&&M(C),z=!0,s(Nn),ve(C)}else P(C)&&(L=y(C),ve(C))}function K(C){c.is(Et)&&(c.set($e),s(Mn)),L&&(R(C),ve(C)),o(D,Bt,x),o(D,Vt,K),L=!1}function W(C){!O&&z&&ve(C,!0)}function M(C){_=N,N=C,m=S()}function R(C){var V=F(C),Ae=Z(V),Ve=r.rewind&&r.rewindByDrag;v(!1),w?h.scroll(Ae,0,r.snap):e.is(ft)?h.go(p(Kt(V))<0?Ve?"<":"-":Ve?">":"+"):e.is(Fe)&&I&&Ve?h.go(E(!0)?">":"<"):h.go(h.toDest(Ae),!0),v(!0)}function y(C){var V=r.dragMinThreshold,Ae=je(V),Ve=Ae&&V.mouse||0,pn=(Ae?V.touch:+V)||10;return ee(X(C))>(Q(C)?pn:Ve)}function P(C){return ee(X(C))>ee(X(C,!0))}function F(C){if(e.is(Be)||!I){var V=pe(C);if(V&&V<Nr)return X(C)/V}return 0}function Z(C){return S()+Kt(C)*Le(ee(C)*(r.flickPower||600),w?1/0:t.Layout.listSize()*(r.flickMaxPages||1))}function X(C,V){return G(C,V)-G(b(C),V)}function pe(C){return qt(C)-qt(b(C))}function b(C){return N===C&&_||N}function G(C,V){return(Q(C)?C.changedTouches[0]:C)["page"+d(V?"Y":"X")]}function J(C){return C/(I&&e.is(Fe)?ti:1)}function Y(C){var V=r.noDrag;return!Xe(C,"."+an+", ."+Nt)&&(!V||!Xe(C,V))}function Q(C){return typeof TouchEvent<"u"&&C instanceof TouchEvent}function En(){return L}function dr(C){O=C}return{mount:T,disable:dr,isDragging:En}}var Di={Spacebar:" ",Right:Pt,Left:It,Up:Zr,Down:Qr};function fr(e){return e=be(e)?e:e.key,Di[e]||e}var Mr="keydown";function Ti(e,t,r){var n=q(e),i=n.on,s=n.bind,a=n.unbind,o=e.root,c=t.Direction.resolve,l,u;function h(){g(),i(te,v),i(te,g),i(ye,d)}function g(){var S=r.keyboard;S&&(l=S==="global"?window:o,s(l,Mr,p))}function v(){a(l,Mr)}function f(S){u=S}function d(){var S=u;u=!0,wr(function(){u=S})}function p(S){if(!u){var E=fr(S);E===c(It)?e.go("<"):E===c(Pt)&&e.go(">")}}return{mount:h,destroy:v,disable:f}}var Ye=rr+"-lazy",bt=Ye+"-srcset",Ai="["+Ye+"], ["+bt+"]";function Ci(e,t,r){var n=q(e),i=n.on,s=n.off,a=n.bind,o=n.emit,c=r.lazyLoad==="sequential",l=[lt,Ge],u=[];function h(){r.lazyLoad&&(g(),i(j,g))}function g(){Ee(u),v(),c?S():(s(l),i(l,f),f())}function v(){t.Slides.forEach(function(E){tr(E.slide,Ai).forEach(function(m){var N=oe(m,Ye),_=oe(m,bt);if(N!==m.src||_!==m.srcset){var w=r.classes.spinner,L=m.parentElement,I=ot(L,"."+w)||xe("span",w,L);u.push([m,E,I]),m.src||Je(m,"none")}})})}function f(){u=u.filter(function(E){var m=r.perPage*((r.preloadPages||1)+1)-1;return E[1].isWithin(e.index,m)?d(E):!0}),u.length||s(l)}function d(E){var m=E[0];le(E[1].slide,Xt),a(m,"load error",B(p,E)),k(m,"src",oe(m,Ye)),k(m,"srcset",oe(m,bt)),ue(m,Ye),ue(m,bt)}function p(E,m){var N=E[0],_=E[1];he(_.slide,Xt),m.type!=="error"&&(Ie(E[2]),Je(N,""),o(Yr,N,_),o(tt)),c&&S()}function S(){u.length&&d(u.shift())}return{mount:h,destroy:B(Ee,u),check:f}}function _i(e,t,r){var n=q(e),i=n.on,s=n.emit,a=n.bind,o=t.Slides,c=t.Elements,l=t.Controller,u=l.hasFocus,h=l.getIndex,g=l.go,v=t.Direction.resolve,f=c.pagination,d=[],p,S;function E(){m(),i([te,j,Tt],E);var O=r.pagination;f&&Je(f,O?"":"none"),O&&(i([ye,ar,Ge],z),N(),z(),s(xn,{list:p,items:d},I(e.index)))}function m(){p&&(Ie(f?De(p.children):p),he(p,S),Ee(d),p=null),n.destroy()}function N(){var O=e.length,D=r.classes,T=r.i18n,A=r.perPage,H=u()?l.getEnd()+1:et(O/A);p=f||xe("ul",D.pagination,c.track.parentElement),le(p,S=Mt+"--"+L()),k(p,me,"tablist"),k(p,ne,T.select),k(p,or,L()===Rt?"vertical":"");for(var x=0;x<H;x++){var K=xe("li",null,p),W=xe("button",{class:D.page,type:"button"},K),M=o.getIn(x).map(function(y){return y.slide.id}),R=!u()&&A>1?T.pageX:T.slideX;a(W,"click",B(_,x)),r.paginationKeyboard&&a(W,"keydown",B(w,x)),k(K,me,"presentation"),k(W,me,"tab"),k(W,ut,M.join(" ")),k(W,ne,Yt(R,x+1)),k(W,ze,-1),d.push({li:K,button:W,page:x})}}function _(O){g(">"+O,!0)}function w(O,D){var T=d.length,A=fr(D),H=L(),x=-1;A===v(Pt,!1,H)?x=++O%T:A===v(It,!1,H)?x=(--O+T)%T:A==="Home"?x=0:A==="End"&&(x=T-1);var K=d[x];K&&(zr(K.button),g(">"+x),ve(D,!0))}function L(){return r.paginationDirection||r.direction}function I(O){return d[l.toPage(O)]}function z(){var O=I(h(!0)),D=I(h());if(O){var T=O.button;he(T,Pe),ue(T,_r),k(T,ze,-1)}if(D){var A=D.button;le(A,Pe),k(A,_r,!0),k(A,ze,"")}s(zn,{list:p,items:d},O,D)}return{items:d,mount:E,destroy:m,getAt:I,update:z}}var Ii=[" ","Enter"];function Pi(e,t,r){var n=r.isNavigation,i=r.slideFocus,s=[];function a(){e.splides.forEach(function(f){f.isParent||(l(e,f.splide),l(f.splide,e))}),n&&u()}function o(){s.forEach(function(f){f.destroy()}),Ee(s)}function c(){o(),a()}function l(f,d){var p=q(f);p.on(ye,function(S,E,m){d.go(d.is(Be)?m:S)}),s.push(p)}function u(){var f=q(e),d=f.on;d(Br,g),d(jr,v),d([Re,te],h),s.push(f),f.emit(Wr,e.splides)}function h(){k(t.Elements.list,or,r.direction===Rt?"vertical":"")}function g(f){e.go(f.index)}function v(f,d){Jt(Ii,fr(d))&&(g(f),ve(d))}return{setup:B(t.Media.set,{slideFocus:it(i)?n:i},!0),mount:a,destroy:o,remount:c}}function Ri(e,t,r){var n=q(e),i=n.bind,s=0;function a(){r.wheel&&i(t.Elements.track,"wheel",o,He)}function o(l){if(l.cancelable){var u=l.deltaY,h=u<0,g=qt(l),v=r.wheelMinThreshold||0,f=r.wheelSleep||0;ee(u)>v&&g-s>f&&(e.go(h?"<":">"),s=g),c(h)&&ve(l)}}function c(l){return!r.releaseWheel||e.state.is(Ue)||t.Controller.getAdjacent(l)!==-1}return{mount:a}}var Oi=90;function Ni(e,t,r){var n=q(e),i=n.on,s=t.Elements.track,a=r.live&&!r.isNavigation,o=xe("span",Xn),c=Ct(Oi,B(u,!1));function l(){a&&(g(!t.Autoplay.isPaused()),k(s,Rr,!0),o.textContent="\u2026",i(qr,B(g,!0)),i(Kr,B(g,!1)),i([lt,Ge],B(u,!0)))}function u(v){k(s,Pr,v),v?(st(s,o),c.start()):(Ie(o),c.cancel())}function h(){ue(s,[Ir,Rr,Pr]),Ie(o)}function g(v){a&&k(s,Ir,v?"off":"polite")}return{mount:l,disable:g,destroy:h}}var Mi=Object.freeze({__proto__:null,Media:Gn,Direction:Bn,Elements:ri,Slides:ii,Layout:ai,Clones:oi,Move:ci,Controller:li,Arrows:di,Autoplay:gi,Cover:hi,Scroll:Li,Drag:yi,Keyboard:Ti,LazyLoad:Ci,Pagination:_i,Sync:Pi,Wheel:Ri,Live:Ni}),wi={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},Hi={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Jn,i18n:wi,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function ki(e,t,r){var n=t.Slides;function i(){q(e).on([Re,j],s)}function s(){n.forEach(function(o){o.style("transform","translateX(-"+100*o.index+"%)")})}function a(o,c){n.style("transition","opacity "+r.speed+"ms "+r.easing),wr(c)}return{mount:i,start:a,cancel:Wt}}function xi(e,t,r){var n=t.Move,i=t.Controller,s=t.Scroll,a=t.Elements.list,o=B(se,a,"transition"),c;function l(){q(e).bind(a,"transitionend",function(v){v.target===a&&c&&(h(),c())})}function u(v,f){var d=n.toPosition(v,!0),p=n.getPosition(),S=g(v);ee(d-p)>=1&&S>=1?r.useScroll?s.scroll(d,S,!1,f):(o("transform "+S+"ms "+r.easing),n.translate(d,!0),c=f):(n.jump(v),f())}function h(){o(""),s.cancel()}function g(v){var f=r.rewindSpeed;if(e.is(Fe)&&f){var d=i.getIndex(!0),p=i.getEnd();if(d===0&&v>=p||d>=p&&v===0)return f}return r.speed}return{mount:l,start:u,cancel:h}}var zi=function(){function e(r,n){this.event=q(),this.Components={},this.state=Fn(ke),this.splides=[],this._o={},this._E={};var i=be(r)?Fr(document,r):r;Ke(i,i+" is invalid."),this.root=i,n=Se({label:oe(i,ne)||"",labelledby:oe(i,sr)||""},Hi,e.defaults,n||{});try{Se(n,JSON.parse(oe(i,rr)))}catch{Ke(!1,"Invalid JSON")}this._o=Object.create(Se({},n))}var t=e.prototype;return t.mount=function(n,i){var s=this,a=this.state,o=this.Components;Ke(a.is([ke,Lt]),"Already mounted!"),a.set(ke),this._C=o,this._T=i||this._T||(this.is(ft)?ki:xi),this._E=n||this._E;var c=Qe({},Mi,this._E,{Transition:this._T});return _e(c,function(l,u){var h=l(s,o,s._o);o[u]=h,h.setup&&h.setup()}),_e(o,function(l){l.mount&&l.mount()}),this.emit(Re),le(this.root,Zn),a.set($e),this.emit(Ar),this},t.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is($e)&&(this._C.Sync.remount(),n.Components.Sync.remount()),this},t.go=function(n){return this._C.Controller.go(n),this},t.on=function(n,i){return this.event.on(n,i),this},t.off=function(n){return this.event.off(n),this},t.emit=function(n){var i;return(i=this.event).emit.apply(i,[n].concat(De(arguments,1))),this},t.add=function(n,i){return this._C.Slides.add(n,i),this},t.remove=function(n){return this._C.Slides.remove(n),this},t.is=function(n){return this._o.type===n},t.refresh=function(){return this.emit(j),this},t.destroy=function(n){n===void 0&&(n=!0);var i=this.event,s=this.state;return s.is(ke)?q(this).on(Ar,this.destroy.bind(this,n)):(_e(this._C,function(a){a.destroy&&a.destroy(n)},!0),i.emit(Vr),i.destroy(),n&&Ee(this.splides),s.set(Lt)),this},Dn(e,[{key:"options",get:function(){return this._o},set:function(n){this._C.Media.set(n,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}(),wt=zi;wt.defaults={};wt.STATES=An;var Oe=e=>{let t="?";for(let[r,n]of Object.entries(e))n&&(t+=`${r}=${n}&`);return t};var Ht=class{async getGroupOffersData(t){let r=de+"groupOffers"+Oe(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i}async getSingleHotelOffersData(t){let r=de+"offers"+Oe(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i}async getCMSOffers(){let t=de+"cmsOffers",n=await(await fetch(t)).json();return n.items?n:null}async getCountries(){let t=de+"cmsCountries",n=await(await fetch(t)).json();return n.items?n:null}};var fn=async()=>new Promise(e=>{geoip2.country(t=>{e(t.country.iso_code)},()=>{e(ht)})});var kt=()=>{let e=vn();if(!e){let t=localStorage.getItem("wglang")||"fr";window.Weglot.switchTo(t)}window.Weglot.on("languageChanged",()=>{if(e)window.location.reload();else{let t=window.Weglot.getCurrentLang();localStorage.setItem("wglang",t),window.loadFromServer&&window.loadFromServer()}})},vn=()=>window.location.hostname!=="deshotelsetdesiles.webflow.io",xt=()=>{let e=Ne();return mr[e]},Ne=()=>{if(!vn())return localStorage.getItem("wglang")||"fr";try{let e=window.Weglot.getCurrentLang();if(e)return e}catch(e){return console.error("Error getting language",e),"fr"}return"fr"},$i=()=>!window.location.hostname.includes("webflow.io");function gn(e){if(!$i())return`/offers/${e}`;let t=Ne();return!t||t==="fr"?`/offers/${e}`:`/${t}/offers/${e}`}var zt=(e,t)=>`${e.toLowerCase().trim()}-${t.toLowerCase().trim()}`,hn=(e,t,r)=>{let n=Ne().toUpperCase(),i=vt[t].codeIPlanet.toUpperCase(),s=`${Er}?Lang=${n}&currency=${e.toUpperCase()}&HotelCode=${i}`,a=dn("_ga"),o=pr,c=dn("_gcl_au");return s+=`&_ga=${a}&_gl=${o}&_gcl_au=${c}`,r&&(s=`${s}&HotelPromo=${r}`),s},dn=e=>{let t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?t[2]:null};var mn=(e,t,r,n)=>{let{quotation:i,rate:{distribution:s}}=t,{pricePerNight:a,currency:o,plainBookLink:c}=i,{accessCode:l}=s||{},u="";l&&l.length>0&&([u]=l),Fi(e,a,o);let h=e.querySelector(U.hotelReserveLink);h&&h.addEventListener("click",v=>{v.preventDefault(),v.stopPropagation(),window.open(c,"_blank")});let g=e.querySelector(U.hotelVillaReserveLink);if(g&&g.addEventListener("click",v=>{v.preventDefault(),v.stopPropagation(),window.open(hn(o,r,u),"_blank")}),n){let{fieldData:{"discount-percentage":v}}=n,f=e.querySelector(U.discount);f&&v&&(f.innerHTML=`-${v}%`);let d=e.querySelector(U.discountContainer);d&&!v&&(d.style.display="none")}},Fi=(e,t,r)=>{let n=e.querySelector(U.price);n&&(n.innerHTML=Math.floor(t).toString());let i=e.querySelector(U.currency);i&&(i.innerHTML=gt[r])};var $t=class{constructor(t,r,n,i){this.listInstance=t;this.itemTemplateElement=r;this.hotelsId=n;this.offersListContainer=i;ae(this,"countryCode");ae(this,"availableCountries",{});ae(this,"offerLookup",{});ae(this,"apiClient",new Ht);ae(this,"countryCodeFilter",t=>{let{isArchived:r,isDraft:n,fieldData:i}=t;return r||n?!1:!i["supported-countries"]||i["supported-countries"].length===0?!0:i["supported-countries"].map(a=>this.availableCountries[a]).includes(this.countryCode)});this.listInstance=t,this.itemTemplateElement=r.cloneNode(!0),this.hotelsId=n,this.listInstance.innerHTML="",this.countryCode=ht,kt()}setupSplider(){let t=new wt("#is-splide3-second",{autoWidth:!0,type:"loop",gap:"1.25rem",pagination:!1,breakpoints:{767:{gap:"0.625rem"}}});if(t.mount(),window.innerWidth>=1110){let r=t.length,n=t.root.querySelector(".splide__progress-bar"),i=t.root.querySelector(".splide__progress"),s=t.root.querySelector(".splide__arrows");if(r<=2)t.options={type:"slide",drag:!1},n&&(n.style.display="none"),i&&(i.style.display="none"),s&&(s.style.display="none"),t.refresh();else{let a=t.root.querySelector(".splide__progress-bar");t.on("move",function(){let c=t.Components.Controller.getEnd()+1,l=Math.min((t.index+1)/c,1);a&&(a.style.width=String(100*l)+"%")});let o=t.root.querySelector(".splide__progress");o&&o.addEventListener("click",function(c){let l=c.clientX-o.getBoundingClientRect().left,u=Math.floor(l/(o.offsetWidth/t.length));t.go(u)})}}}createItem(t,r,n){let{rate:i}=r,{hid:s,title:a,property:o}=t,{destination:c,slug:l}=vt[o],{image:u,title:h,name:g}=i,v=n.cloneNode(!0);return v.removeAttribute("id"),this.bindOffersMetaData(v,{destination:c,image:u,hotelName:a,title:h,slug:l}),mn(v,r,s||o),v.querySelectorAll(U.moreDetails).forEach(d=>{d.addEventListener("click",()=>{let p=this.getOffersCmsSlug(s,o,g);p&&(window.location.href=gn(p))})}),v}getOffersCmsSlug(t,r,n){return this.offerLookup[zt(t||r,n)]?.fieldData.slug}bindOffersMetaData(t,{destination:r,image:n,hotelName:i,title:s,slug:a,description:o}){let c=t.querySelector(U.destination),l=t.querySelector(U.image),u=t.querySelector(U.hotelName),h=t.querySelector(U.name),g=t.querySelector(U.description),v=t.querySelector(U.hotelLink),f=Ne();c&&(c.textContent=r[f]),l&&(l.src=n?.url),u&&(u.innerHTML=i),h&&(h.innerHTML=s),g&&o&&(g.innerHTML=o),v&&a&&v.addEventListener("click",()=>{window.location.href=a})}async getOffers(){let t=await this.apiClient.getCMSOffers();if(!t)return;let r=await this.apiClient.getCountries();if(!r)return;r.items.forEach(a=>{this.availableCountries[a.id]=a.fieldData.title?.trim()}),this.countryCode=await fn();let n=t.items.filter(this.countryCodeFilter),{offerMetaData:i}=this.generateOfferData(n),s=await this.getOffersData({property:this.hotelsId,locale:xt()});if(s?.data){let{prop:a,rates:o}=s.data,c=0;if(o.forEach(l=>{let u=l.rate.name,h=zt(this.hotelsId,u);if(!i.includes(h))return;let g=this.createItem(a,l,this.itemTemplateElement);this.listInstance.appendChild(g),c+=1}),o.length===0||c===0){this.hideOffersListContainer();return}}else{this.hideOffersListContainer();return}this.setupSplider()}hideOffersListContainer(){this.offersListContainer&&(this.offersListContainer.style.display="none")}generateOfferData(t){let r=[];return t.forEach(n=>{let{fieldData:{"hotel-or-property-api-id":i,"offer-api-name":s}}=n,a=zt(i,s);r.push(a),this.offerLookup[a]=n}),{offerMetaData:r}}async getOffersData(t){let r=de+"offers"+Oe(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i}};var Ft=class{constructor(t){ae(this,"hotelsIds");ae(this,"itemElements");ae(this,"itemContainerElements",[]);ae(this,"hotelStartingPriceDataMap",new Map);this.hotelsIds=[],this.itemElements=[],t.querySelectorAll(U.beHid).forEach(r=>{let n=r.getAttribute(`${$}-be-hid`)?.trim();if(n&&Me[n]){this.hotelsIds.push(Me[n]),this.itemElements.push(r),this.itemContainerElements.push(r.parentElement);let i=r.querySelector(U.price);i&&(i.style.display="none")}else if(n&&!Me[n]){let i=r.querySelector(U.hotelStartingPriceContainer);i&&this.hidePricingContainer(i)}}),kt()}async getHotelStartingPrice(){for(let t=0;t<this.hotelsIds.length;t++){let r=this.hotelsIds[t],n=this.itemElements[t],i=n.querySelector(U.hotelStartingPriceContainer)||this.itemContainerElements[t],s=this.hotelStartingPriceDataMap.get(r);if(s===void 0&&(s=await this.getHotelStartingPriceData({property:r,locale:xt()})),this.hotelStartingPriceDataMap.set(r,s),!s){this.hidePricingContainer(i);continue}let{quotation:{pricePerNight:a,currency:o}}=s;a||this.hidePricingContainer(i);let c=n.querySelector(U.price);c&&(c.innerHTML=Math.floor(a).toString(),c.style.display="block");let l=n.querySelector(U.currency);l&&(l.innerHTML=gt[o])}}async getHotelStartingPriceData(t){let r=de+"startingfrom"+Oe(t),i=await(await fetch(r)).json();return i.error||!i.data?null:i.data}hidePricingContainer(t){t&&(t.style.display="none")}};window.fsAttributes=window.fsAttributes||[];window.loadFromServer=()=>{window.fsAttributes.push(["cmsslider",async()=>{Gi();let e=document.querySelector(U.offersList),t=e?.querySelector(U.listItem),r=document.querySelector(U.offersListContainer),n=Ui();if(!n&&r){r.style.display="none";return}e&&t&&n&&await new $t(e,t,n,r).getOffers(),await new Ft(window.document.body).getHotelStartingPrice()}])};window.loadFromServer();var Ui=()=>{let t=document.querySelector(U.beHid)?.getAttribute(`${$}-be-hid`)?.trim();return t?Me[t]:null},Gi=()=>{let e=document.querySelectorAll(U.hotelURLS),t=Ne().toUpperCase();e.forEach(r=>{let n=r.getAttribute("href");if(n){let i;try{i=new URL(n)}catch(a){console.error("Error parsing URL:",a);return}let s=new URLSearchParams(i.search);s.has("langue")&&(s.set("langue",t),s.set("referring_site",encodeURIComponent(window.location.href))),s.has("Lang")&&(t=t==="IT"||t==="ES"?"EN":t,s.set("Lang",t)),i.search=s.toString(),r.setAttribute("href",i.toString())}})};})();
2
2
  /*! Bundled license information:
3
3
 
4
4
  @splidejs/splide/dist/js/splide.esm.js: