import{u as Pt,r as n,j as e,L as Dt,d as Tt}from"./vendor-BXQAQzXu.js";import{S as dt,N as pt,a as mt}from"./ui-CbCB892d.js";import{u as Et}from"./Global-CKpXTxwr.js";import{a as o}from"./appendURL-CIK5EvW3.js";import{S as xt}from"./SliderOffers-ektnB75Y.js";import{P as Ut,S as U}from"./PopUp-15JWPb-C.js";import{f as ut}from"./fetchPopup-BYy_1XsG.js";import{S as Bt}from"./SliderGallery-CW2hiUPk.js";import{A as ht}from"./AnimatedPopUp-ClLwm94-.js";import{S as ft}from"./SliderExperiencesPage-DxdKSEEF.js";import{t as gt}from"./transformUtm-9lP4nPuV.js";import{R as It}from"./running-text-DxL9Uqiy.js";import{I as bt}from"./Icon-BPlWycCC.js";import"./svg-DmTSu4C7.js";import"./OptimizedImage-BbLjun1q.js";const ss=()=>[{rel:"stylesheet",href:Tt}],Ot=["bluekarmaseminyak","bluekarmaubud","bluekarmavillage"],Ft=t=>t!=null&&t.propSlug&&Ot.includes(t.propSlug)?"https://bluekarmasecrets.dijiwasanctuaries.com":typeof window<"u"?new URL(window.location.href).origin:"https://dijiwasanctuaries.com",Mt=t=>{const{propSlug:a,detailSlug:c}=t;return a&&c?`/at/${a}/facility/${c}`:`/at/${a}`},as=({data:t,params:a})=>{var v,k,S,j,L,g,C,P,y,D,w,m,T,x;const c=Mt(a),r=t==null?void 0:t.assetUrl,d=t&&((k=(v=t==null?void 0:t.facility[0])==null?void 0:v.attributes)!=null&&k.facilitiesName)?(j=(S=t==null?void 0:t.facility[0])==null?void 0:S.attributes)==null?void 0:j.facilitiesName:"Dijiwa Sanctuaries",h=t&&((g=(L=t==null?void 0:t.facility[0])==null?void 0:L.attributes)!=null&&g.facilitiesShortDesc)?(P=(C=t==null?void 0:t.facility[0])==null?void 0:C.attributes)==null?void 0:P.facilitiesShortDesc:"Dijiwa Sanctuaries",f=`${Ft(a)}${c}`,B="index, follow",N=(x=(T=(m=(w=(D=(y=t==null?void 0:t.property)==null?void 0:y[0])==null?void 0:D.attributes)==null?void 0:w.propertyLogoPrimary)==null?void 0:m.data)==null?void 0:T.attributes)!=null&&x.url?r+t.property[0].attributes.propertyLogoPrimary.data.attributes.url:r+"/uploads/logo_dijiwa_mobile_color_5f421f9603.png";return[{title:d},{name:"description",content:h},{tagName:"link",rel:"canonical",href:f},{name:"robots",content:B},{property:"og:title",content:d},{property:"og:description",content:h},{property:"og:type",content:"website"},{property:"og:image",content:N},{property:"twitter:card",content:"summary_large_image"},{property:"twitter:title",content:d},{property:"twitter:description",content:h},{property:"twitter:image",content:N}]};function rs(){var V,Z,Q,K,X,Y,ee,te,se,ae,re,le,ie,ne,oe,ce,de,pe,me,xe,ue,he,fe,ge,be,je,ye,we,Ne,ve,ke,Se,Le,Ce,Pe,De,Te,Ee,Ue,Be,Ie,Oe,Fe,Me,_e,Ae,Ge,ze,Re,$e,He,qe,Je,We,Ve,Ze,Qe,Ke,Xe,Ye,et,tt,st,at,rt,lt,it,nt;const{property:t,facility:a,offers:c,assetUrl:r,experiences:d,env:h,utm:f}=Pt(),{setImageUrl:B,setImageUrlSecoindary:N,setUrlWA:v,setFloatingBookLink:k,setPropertiesGlobal:S}=Et(),[j,L]=n.useState(!0),[g,C]=n.useState([]),[P,y]=n.useState(!1),[D,w]=n.useState(!1),[m,T]=n.useState([]),x=n.useRef(null);n.useEffect(()=>{const s=f&&Object.values(f).some(l=>l!==null&&l!=="");typeof window<"u"&&s&&sessionStorage.setItem("utmData",JSON.stringify(f))},[f]);const F=(K=(Q=(Z=(V=t[0].attributes)==null?void 0:V.propertyLogoPrimary)==null?void 0:Z.data)==null?void 0:Q.attributes)!=null&&K.url?o(r,t[0].attributes.propertyLogoPrimary.data.attributes.url):"",E=(te=(ee=(Y=(X=t[0].attributes)==null?void 0:X.propertyLogoSecondary)==null?void 0:Y.data)==null?void 0:ee.attributes)!=null&&te.url?o(r,t[0].attributes.propertyLogoSecondary.data.attributes.url):"";F!=""&&B(F),E!=""&&N(E);const jt=(se=t[0].attributes)!=null&&se.propertyWhatsappUrl?t[0].attributes.propertyWhatsappUrl:"";v(jt);const yt=(ae=t[0].attributes)!=null&&ae.propertyBookingLink?t[0].attributes.propertyBookingLink:"https://booking.dijiwasanctuaries.com/";k(yt);const wt=(le=(re=t[0].attributes)==null?void 0:re.information)!=null&&le.paragraphExperiences?(ne=(ie=t[0].attributes)==null?void 0:ie.information)==null?void 0:ne.paragraphExperiences:"Explore curated experiences that connect you with the authentic spirit of your destination. From wellness and cultural discoveries to culinary adventures, each experience is designed to create meaningful moments and lasting memories.",M=(oe=t[0].attributes)!=null&&oe.propertyDisplayName?t[0].attributes.propertyDisplayName:"Dijiwa Sanctuaries";S(M);const _=(ce=a[0].attributes)!=null&&ce.facilitiesName?a[0].attributes.facilitiesName:"Dijiwa Sanctuaries Facilities",A=(de=t[0].attributes)!=null&&de.additionalContact?(pe=t[0].attributes)==null?void 0:pe.additionalContact:[],i=(xe=(me=a[0].attributes)==null?void 0:me.facilitiesGallery)!=null&&xe.data?a[0].attributes.facilitiesGallery.data:[],Nt=i.length>0,G=(ue=a[0].attributes)!=null&&ue.facilitiesAbout?a[0].attributes.facilitiesAbout:[],I=(he=a[0].attributes)!=null&&he.facilitiesMatterPortUrl?a[0].attributes.facilitiesMatterPortUrl:"",vt=(fe=a[0].attributes)!=null&&fe.ctaUrl?a[0].attributes.ctaUrl:"",z=(ge=a[0].attributes)!=null&&ge.ctaText?a[0].attributes.ctaText.toLowerCase():"",kt=(be=a[0].attributes)!=null&&be.sliderCtaUrl?a[0].attributes.sliderCtaUrl:"",R=(je=a[0].attributes)!=null&&je.sliderCtaText?a[0].attributes.sliderCtaText.toLowerCase():"",$=(ye=a[0].attributes)!=null&&ye.facilitiesDetailDesc?a[0].attributes.facilitiesDetailDesc:"",O=(ke=(ve=(Ne=(we=a[0])==null?void 0:we.attributes)==null?void 0:Ne.announcement)==null?void 0:ve.data)==null?void 0:ke.attributes;c.length>0,d.length>0;const St=n.useRef(null),[_t,H]=n.useState(!1),[At,q]=n.useState(!1),J=async s=>{q(!0);const l=`property-offers?filters[offerSlug][$eq]=${s}&populate[0]=offerFeaturedImage&populate[1]=property.propertyLogoPrimary`,{data:p,error:b}=await ut(l,h.JWT_SECRET,h.API_ENDPOINT);q(!1),!b&&(C(p.data[0]),y(!0))};n.useEffect(()=>{setTimeout(()=>{L(!1)},2e3)},[]);const W=async s=>{H(!0);const l=`property-experiences?filters[experienceSlug][$eq]=${s}&populate[0]=experienceImage&populate[1]=property.propertyLogoPrimary`,{data:p,error:b}=await ut(l,h.JWT_SECRET,h.API_ENDPOINT);H(!1),!b&&(T(p.data[0]),w(!0))},[Lt,u]=n.useState(!1),Ct=n.useCallback(s=>{let l="";const p=typeof window<"u"&&sessionStorage.getItem("utmData");return p?l=gt(s,JSON.parse(p)):l=gt(s,f),l},[f]);return n.useEffect(()=>{var ot,ct;const s=(ct=(ot=a[0])==null?void 0:ot.attributes)==null?void 0:ct.schemaMarkup;if(!s)return;let l=!1,p=null;const b=document.createElement("script");try{p=JSON.parse(s),typeof p=="object"&&p!==null&&(l=!0)}catch{l=!1}return l&&(b.type="application/ld+json",b.innerHTML=s,document.head.appendChild(b)),()=>{document.head.removeChild(b)}},[a]),e.jsx(e.Fragment,{children:e.jsxs("main",{className:"pt-[112px] md:pt-[144px] animate-dissolve",children:[e.jsx("section",{className:`bg-whiteBase flex py-6 justify-center align-middle md:bg-whiteBase`,children:e.jsxs("div",{className:`max-w-[--section-mobile] flex flex-col gap-4 text-center md:max-w-[736px] md:gap-6`,children:[e.jsx("span",{className:"golden-span",children:M}),e.jsx("h1",{className:"heading3-headline",children:_})]})}),Nt&&e.jsxs("section",{className:`bg-whiteBase flex py-0 justify-center align-middle md:bg-whiteBase md:py-6`,children:[e.jsx("div",{className:`w-full flex flex-col gap-4 text-center md:max-w-[1120px] md:gap-6`,children:i.length>=5?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"relative hidden md:flex gap-4",children:[e.jsx("div",{className:"w-1/2 h-full max-h-[420px]",children:e.jsx("img",{className:"object-cover h-full w-full hover:opacity-90 hover:cursor-pointer",src:o(r,i[0].attributes.url),alt:i[0].attributes.alternativeText,onClick:()=>u(!0)})}),e.jsxs("div",{className:"w-1/2 h-full max-h-[420px] grid grid-cols-2 gap-4",children:[e.jsx("img",{className:"object-cover h-full w-full max-h-[202px] hover:opacity-90 hover:cursor-pointer",src:o(r,i[1].attributes.url),alt:i[1].attributes.alternativeText,onClick:()=>u(!0)}),e.jsx("img",{className:"object-cover h-full w-full max-h-[202px] hover:opacity-90 hover:cursor-pointer",src:o(r,i[2].attributes.url),alt:i[2].attributes.alternativeText,onClick:()=>u(!0)}),e.jsx("img",{className:"object-cover h-full w-full max-h-[202px] hover:opacity-90 hover:cursor-pointer",src:o(r,i[3].attributes.url),alt:i[3].attributes.alternativeText,onClick:()=>u(!0)}),e.jsx("img",{className:"object-cover h-full w-full max-h-[202px] hover:opacity-90 hover:cursor-pointer",src:o(r,i[4].attributes.url),alt:i[4].attributes.alternativeText,onClick:()=>u(!0)})]}),e.jsxs("button",{className:"bg-grayscale-4 absolute bottom-3 right-3 px-6 py-2 text-grayscale-2 rounded-md border border-grayscale-2 flex items-center gap-2",onClick:()=>u(!0),children:["See All Photos",e.jsx("object",{className:"-mt-1",data:"/icon/gallery.svg",width:"12",height:"12",children:" "})]})]}),e.jsxs("div",{className:"relative flex md:hidden",children:[e.jsx(dt,{modules:[pt],spaceBetween:0,slidesPerView:1,onBeforeInit:s=>{x.current=s},className:"w-full h-full",children:i.map((s,l)=>e.jsx(mt,{style:{height:"auto"},children:e.jsx("div",{className:"flex h-full flex-col gap-6 ",children:e.jsx("img",{className:"w-ful h-full object-cover max-h-[240px]",src:o(r,s.attributes.url),alt:s.attributes.alternativeText})})},l))}),e.jsx("div",{className:"absolute top-[45%] w-full z-10 px-2",children:e.jsxs("div",{className:"flex justify-between w-full max-w-1120 mx-auto",children:[e.jsx("button",{onClick:()=>{var s;return(s=x.current)==null?void 0:s.slidePrev()},className:"bg-grayscale-4 rounded-[32px]",children:e.jsx("img",{src:"/icon/chevron-prev.png",width:"40",height:"40"})}),e.jsx("button",{onClick:()=>{var s;return(s=x.current)==null?void 0:s.slideNext()},className:"bg-grayscale-4 rounded-[32px]",children:e.jsx("img",{src:"/icon/chevron-next.png",width:"40",height:"40"})})]})})]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"relative hidden md:flex flex-col gap-4",children:[e.jsx("img",{src:o(r,i[0].attributes.url),alt:i[0].attributes.alternativeText,className:"w-full h-full max-h-[420px] object-cover"}),i.length>1&&e.jsx("button",{className:"bg-grayscale-4 absolute bottom-3 right-3 px-6 py-2 text-grayscale-2 rounded-md border border-grayscale-2",onClick:()=>u(!0),children:"See All Photos"})]}),e.jsxs("div",{className:"relative flex md:hidden",children:[e.jsx(dt,{modules:[pt],spaceBetween:0,slidesPerView:1,onBeforeInit:s=>{x.current=s},className:"w-full h-full ",children:i.map((s,l)=>e.jsx(mt,{style:{height:"auto"},children:e.jsx("div",{className:"flex h-full flex-col gap-6",children:e.jsx("img",{className:"w-ful h-full object-cover max-h-[240px]",src:o(r,s.attributes.url),alt:s.attributes.alternativeText})})},l))}),i.length>1&&e.jsx("div",{className:"absolute top-[45%] w-full z-10 px-2",children:e.jsxs("div",{className:"flex justify-between w-full max-w-1120 mx-auto",children:[e.jsx("button",{onClick:()=>{var s;return(s=x.current)==null?void 0:s.slidePrev()},className:"bg-grayscale-4 rounded-[32px]",children:e.jsx("img",{src:"/icon/chevron-prev.png",width:"40",height:"40"})}),e.jsx("button",{onClick:()=>{var s;return(s=x.current)==null?void 0:s.slideNext()},className:"bg-grayscale-4 rounded-[32px]",children:e.jsx("img",{src:"/icon/chevron-next.png",width:"40",height:"40"})})]})})]})]})}),e.jsx(Ut,{isOpen:Lt,onClose:()=>u(!1),children:e.jsx(e.Fragment,{children:e.jsxs("div",{className:"popup-wrapper w-full max-w-[1184px] relative",children:[e.jsxs("div",{className:"popup-header",children:[e.jsx("img",{className:"max-w-[128px] h-10 object-contain",src:"/logo/logo-dijiwa.svg"}),e.jsx("p",{className:"text-center heading5-subtitle ",children:"gallery"}),e.jsx("button",{className:"button-close",onClick:()=>u(!1),children:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16 2.65165L13.3483 0L8.00002 5.34833L2.65165 0L0 2.65165L5.34836 7.99998L0 13.3483L2.65165 16L8.00002 10.6517L13.3483 16L16 13.3483L10.6516 7.99998L16 2.65165Z",fill:"#312E28"})})})]}),e.jsx("div",{className:"popup-body justify-center items-center",children:e.jsx(Bt,{assetUrl:r,list:i})})]})})})]}),O&&e.jsx(It,{title:O.title,detail:O.anouncement_details}),e.jsx("section",{className:`bg-whiteBase flex py-6 justify-center align-middle md:bg-whiteBase ${I===""?"md:pb-[48px]":""}`,children:e.jsxs("div",{className:`w-full max-w-[--section-mobile] flex flex-col gap-4 text-left justify-between md:max-w-[1120px] md:gap-6 md:flex-row`,children:[e.jsxs("div",{className:"flex flex-col w-full max-w-[640px] gap-4 md:gap-6",children:[e.jsxs("h2",{className:"heading4-subheadline-leadingtrim font-medium capitalize",children:["About ",_]}),G!=""&&e.jsx(e.Fragment,{children:e.jsx("div",{className:"content-html",dangerouslySetInnerHTML:{__html:G}})}),$!=""&&e.jsxs("p",{className:"bodytext2-leadingtrim md:heading4-subheadline-leadingtrim font-normal md:font-medium !normal-case",children:["Opening hours:"," ",e.jsx("span",{className:"capitalize",children:$})]})]}),e.jsxs("div",{className:"flex gap-6 h-fit items-center",children:[z!=""&&e.jsx("a",{href:vt,target:"_blank",rel:"noopener noreferrer",className:"button-primary capitalize",children:z}),R!=""&&e.jsxs("a",{href:kt,className:"button-more capitalize",children:[R,e.jsx("img",{className:"mt-[3px]",src:"/icon/link-arrow.svg",width:"12",height:"12",alt:"arrow-icon"})]})]})]})}),I!=""&&e.jsx("section",{className:`bg-whiteBase flex py-6 justify-center align-middle md:bg-whiteBase`,children:e.jsx("div",{className:`w-full flex gap-4 text-left justify-between md:max-w-[1120px] md:gap-6`,children:e.jsx("iframe",{className:"w-full h-[240px] md:h-[480px]",src:I,frameBorder:"0",allowFullScreen:!0,allow:"xr-spatial-tracking"})})}),d.length>0&&e.jsx("section",{className:" section-wrapper-primary",children:e.jsxs("div",{className:"section-content-with-tabs",children:[e.jsxs("div",{className:"section-content-heading",children:[e.jsx("span",{className:"golden-overline",children:"incredible deals"}),e.jsx("h2",{className:"heading2-title-leadingtrim",children:"Experiences"}),e.jsx("p",{className:"bodytext2-leadingtrim md:bodytext1-leadingtrim",children:wt})]}),e.jsx("div",{className:"section-content-desktop",children:e.jsx("div",{className:"section-slider-wrapper-no-mt",children:d.length>0?j?e.jsx(U,{}):e.jsx(ft,{onDetailsClick:W,assetUrl:r,list:d}):e.jsx("div",{className:"text-center py-4",children:"No experiences available"})})}),e.jsx("div",{className:"section-content-mobile",children:e.jsx("div",{className:"section-slider-wrapper-no-mt",children:d.length>0?j?e.jsx(U,{}):e.jsx(ft,{onDetailsClick:W,assetUrl:r,offsetNumber:0,slidePerView:0,width:256,slideSpace:16,list:d}):e.jsx("div",{className:"text-center py-4",children:"No experiences available"})})})]})}),e.jsx(ht,{logo:E,header:"Experiences",isOpen:D,onClose:()=>w(!1),children:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"popup-body-wrapper pb-[70px] pt-[24px]",children:e.jsxs("div",{className:"popup-body",children:[e.jsx("img",{className:"max-h-[414px] object-cover",src:o(r,(Pe=(Ce=(Le=(Se=m.attributes)==null?void 0:Se.experienceImage)==null?void 0:Le.data)==null?void 0:Ce.attributes)==null?void 0:Pe.url)}),e.jsx("p",{className:"popup-offers-overline",children:(Ue=(Ee=(Te=(De=m.attributes)==null?void 0:De.property)==null?void 0:Te.data)==null?void 0:Ee.attributes)==null?void 0:Ue.propertyDisplayName}),e.jsx("p",{className:"popup-offers-title",children:(Be=m.attributes)==null?void 0:Be.experienceName}),e.jsx("div",{className:"popup-offers-bodytext",dangerouslySetInnerHTML:{__html:(Ie=m.attributes)==null?void 0:Ie.experienceAbout}})]})}),e.jsx("div",{className:"popup-button-wrapper bg-whiteBase border-t border-[#E1DACB]",children:e.jsx("a",{href:(Oe=m.attributes)==null?void 0:Oe.ctaUrl,className:"popup-button",children:(Fe=m.attributes)==null?void 0:Fe.ctaText})})]})},"experience"),c.length>0&&e.jsx("section",{className:"section-wrapper-tertiary",ref:St,children:e.jsxs("div",{className:"section-content-with-tabs",children:[e.jsxs("div",{className:"section-content-heading",children:[e.jsx("span",{className:"golden-overline",children:"Incredible Deals"}),e.jsx("h2",{className:"heading2-title-leadingtrim",children:"Exclusive Surprises"})]}),e.jsx("div",{className:"section-content-desktop",children:e.jsx("div",{className:"section-slider-wrapper-no-mt",children:c.length>0?j?e.jsx(U,{}):e.jsx(xt,{onDetailsClick:J,hasMore:!1,assetUrl:r,listOffer:c}):e.jsx("div",{className:"text-center py-4",children:"No offers available"})})}),e.jsx("div",{className:"section-content-mobile",children:c.length>0?j?e.jsx(U,{}):e.jsx(xt,{onDetailsClick:J,hasMore:!1,assetUrl:r,offsetNumber:0,slidePerView:0,width:256,slideSpace:16,listOffer:c}):e.jsx("div",{className:"text-center py-4",children:"No offers available"})})]})}),e.jsx(ht,{logo:E,header:"Offers",isOpen:P,onClose:()=>y(!1),children:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"popup-body-wrapper pb-[70px] pt-[24px]",children:e.jsxs("div",{className:"popup-body",children:[e.jsx("img",{className:"max-h-[414px] object-cover",src:o(r,(Ge=(Ae=(_e=(Me=g.attributes)==null?void 0:Me.offerFeaturedImage)==null?void 0:_e.data)==null?void 0:Ae.attributes)==null?void 0:Ge.url)}),e.jsx("p",{className:"popup-offers-overline",children:(He=($e=(Re=(ze=g.attributes)==null?void 0:ze.property)==null?void 0:Re.data)==null?void 0:$e.attributes)==null?void 0:He.propertyDisplayName}),e.jsx("p",{className:"popup-offers-title",children:(qe=g.attributes)==null?void 0:qe.offerName}),e.jsx("div",{className:"popup-offers-bodytext",dangerouslySetInnerHTML:{__html:(Je=g.attributes)==null?void 0:Je.offerLongDesc}})]})}),e.jsx("div",{className:"popup-button-wrapper bg-whiteBase border-t border-[#E1DACB]",children:e.jsx("a",{href:Ct((We=g.attributes)==null?void 0:We.ctaUrl),className:"popup-button",children:"Book Now"})})]})},"offers"),e.jsx("section",{className:"section-wrapper-tertiary py-12 md:pb-20 pt-12 md:pt-20 gap-6 p-6",id:"about",children:e.jsxs("div",{className:`flex flex-col max-w-1120 justify-between gap-6 mx-auto w-full md:flex-row md:py-20 md:gap-0 `,children:[e.jsxs("div",{className:"flex flex-col gap-12",children:[e.jsx("h3",{className:"heading3-headline-leadingtrim text-black",children:"Hotel Information"}),e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx("p",{className:"heading4-subheadline capitalize font-medium",children:"Contact Us"}),e.jsxs("div",{className:"flex flex-col gap-4 md:gap-0",children:[e.jsxs("a",{href:(Ve=t[0].attributes)==null?void 0:Ve.urlPhone,className:`heading4-subheadline-leadingtrim-rev font-normal bg-grayscale-3 border border-grayscale-2 py-3 px-3 text-grayscale-2 h-10 md:border-0 md:bg-[#00ffff00] md:py-0 md:px-0 md:h-10`,children:[e.jsx(bt,{icon:"phone",size:20})," ",(Ze=t[0].attributes)==null?void 0:Ze.displayPhone]}),A.length>0&&e.jsx(e.Fragment,{children:A.map((s,l)=>e.jsxs("a",{href:s.contactURL,className:`heading4-subheadline-leadingtrim capitalize font-normal bg-grayscale-3 border border-grayscale-2 py-3 px-3 text-grayscale-2 h-10 md:border-0 md:bg-[#00ffff00] md:py-0 md:px-0 md:h-10`,children:[s.contactDesc,":"," ",e.jsx("span",{className:s.contactDesc==="E"?"lowercase":"",children:s.contactDisplay})]},l))}),e.jsxs("a",{href:"mailto:"+((Qe=t[0].attributes)==null?void 0:Qe.displayEmail),className:`heading4-subheadline-leadingtrim-rev font-normal bg-grayscale-3 border border-grayscale-2 py-3 px-3 text-grayscale-2 h-10 md:border-0 md:bg-[#00ffff00] md:py-0 md:px-0 md:h-10`,children:[e.jsx(bt,{icon:"mail",size:20})," ",e.jsx("span",{className:"lowercase",children:(Ke=t[0].attributes)==null?void 0:Ke.displayEmail})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-6 items-start",children:[e.jsx("p",{className:"heading4-subheadline capitalize font-medium",children:"Address"}),((Xe=t[0].attributes)==null?void 0:Xe.linkGoogleMap)&&e.jsxs(e.Fragment,{children:[e.jsx("iframe",{className:"flex md:hidden",src:t[0].attributes.embedGoogleMaps,width:"100%",height:"312",style:{border:0},allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",onError:s=>{s.target.style.display="none",document.getElementById("map-fallback").style.display="block"}}),e.jsx("div",{id:"map-fallback",style:{display:"none"},children:e.jsxs("p",{children:["To see the map, please"," ",e.jsx("a",{href:t[0].attributes.linkGoogleMap,target:"_blank",rel:"noopener noreferrer",children:"open it in a new tab"}),"."]})})]}),e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsx("p",{className:"heading4-subheadline-leadingtrim capitalize text-grayscale-1 font-medium",children:(Ye=t[0].attributes)==null?void 0:Ye.propertyDisplayName}),e.jsx("p",{className:"bodytext2-leadingtrim md:bodytext1-leadingtrim max-w-[352px] text-grayscale-1",children:(et=t[0].attributes)==null?void 0:et.displayAddress})]}),e.jsxs("a",{href:(tt=t[0].attributes)==null?void 0:tt.linkGoogleMap,className:"button-more mx-0",children:[" ","Get Direction"," ",e.jsx("object",{className:"mt-[3px]",data:"/icon/link-arrow.svg",width:"12",height:"12","aria-label":"arrow link"})]})]}),e.jsx("hr",{className:"border-sundanceGold-base w-max-[352px]"}),e.jsxs("div",{className:"flex w-full justify-start gap-6",children:[e.jsxs("a",{href:(st=t[0].attributes)==null?void 0:st.propertyIG,"aria-label":"Instagram",children:[e.jsx("span",{className:"sr-only",children:"Instagram"}),e.jsx("img",{src:"/icon/instagram.svg",alt:"instagram",className:"h-10 w-10"})]}),e.jsxs("a",{href:(at=t[0].attributes)==null?void 0:at.propertyFB,"aria-label":"Facebook",children:[e.jsx("span",{className:"sr-only",children:"Facebook"}),e.jsx("img",{src:"/icon/facebook.svg",alt:"instagram",className:"h-10 w-10"})]})]})]}),e.jsx("div",{className:"w-full max-w-[532px]",children:((rt=t[0].attributes)==null?void 0:rt.linkGoogleMap)&&e.jsxs(e.Fragment,{children:[e.jsx("iframe",{className:"hidden md:flex",src:t[0].attributes.embedGoogleMaps,width:"100%",height:"450",style:{border:0},allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",onError:s=>{s.target.style.display="none",document.getElementById("map-fallback").style.display="block"}}),e.jsx("div",{id:"map-fallback",style:{display:"none"},children:e.jsxs("p",{children:["To see the map, please"," ",e.jsx("a",{href:t[0].attributes.linkGoogleMap,target:"_blank",rel:"noopener noreferrer",children:"open it in a new tab"}),"."]})})]})})]})}),((it=(lt=t[0].attributes)==null?void 0:lt.faq)==null?void 0:it.length)>0&&e.jsx("section",{className:"section-wrapper-tertiary py-12 md:pb-20 pt-12 md:pt-20 gap-6 p-6",id:"about",children:e.jsxs("div",{className:`flex flex-col max-w-1120 justify-between gap-6 mx-auto w-full md:flex-row md:py-20 md:gap-0 `,children:[e.jsxs("div",{className:"flex flex-col gap-12 max-w-[352px]",children:[e.jsx("h3",{className:"heading3-headline-leadingtrim text-black text-[24px]",children:"FAQS"}),e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx("p",{className:"bodytext1-leadingtrim",children:"We strive to ensure that your stay with us is as pleasant and enjoyable as possible"}),e.jsx("div",{className:"flex flex-col gap-4 md:gap-0",children:e.jsxs(Dt,{to:`/at/${(nt=t[0].attributes)==null?void 0:nt.propertySlug}/contact-us`,className:"button-more w-fit mx-0",children:["More",e.jsx("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M8 0L6.93925 1.06075L9.12875 3.25H0V4.75H9.12875L6.93925 6.93925L8 8L12 4L8 0Z",fill:"#625C51"})})]})})]})]}),e.jsx("div",{className:"w-full max-w-[640px]",children:e.jsx("div",{className:"flex flex-col justify-start animate-dissolve",children:t[0].attributes.faq.length>0&&e.jsxs("section",{className:" w-full flex flex-col pb-6 justify-center align-middle",children:[e.jsx("hr",{className:"w-full border-b border-grayscale-3 mb-0 md:mb-6"}),t[0].attributes.faq.slice(0,5).map(s=>e.jsxs("div",{className:"relative overflow-hidden mb-4",children:[e.jsx("input",{type:"checkbox",className:"peer absolute top-0 inset-x-0 w-full h-14 opacity-0 z-10 cursor-pointer"}),e.jsx("div",{className:"h-12 max-w-[340px] w-full md:max-w-full md:pl-5 flex flex-col justify-center items-start gap-3",children:e.jsx("span",{className:"bodytext2-leadingtrim font-normal md:font-medium md:heading4-subheadline-leadingtrim !capitalize",children:s.faqTitle.toLowerCase()})}),e.jsx("div",{className:"absolute top-4 right-3 transition-transform duration-500 -rotate-90 peer-checked:rotate-90",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),e.jsx("div",{className:"pl-5 overflow-hidden peer-checked:overflow-visible peer-checked:animate-dissolve bg-white transition-all duration-500 max-h-0 peer-checked:max-h-full text-left",children:e.jsx("p",{className:"bodytext2-leadingtrim font-normal md:bodytext1-leadingtrim py-4 md:py-2",children:s.faqContent})}),e.jsx("hr",{className:"w-full border-b border-grayscale-3 mt-0 md:mt-6"})]},s.id))]})})})]})})]})})}export{rs as default,ss as links,as as meta};