(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9806,437],{50683:function(e,t,r){Promise.resolve().then(r.bind(r,58862)),Promise.resolve().then(r.bind(r,88796)),Promise.resolve().then(r.bind(r,84772)),Promise.resolve().then(r.bind(r,29761)),Promise.resolve().then(r.bind(r,14888)),Promise.resolve().then(r.bind(r,98087)),Promise.resolve().then(r.bind(r,47239)),Promise.resolve().then(r.bind(r,78848)),Promise.resolve().then(r.bind(r,43378)),Promise.resolve().then(r.bind(r,76939)),Promise.resolve().then(r.t.bind(r,72972,23)),Promise.resolve().then(r.t.bind(r,88003,23)),Promise.resolve().then(r.bind(r,81523)),Promise.resolve().then(r.bind(r,70049))},58862:function(e,t,r){"use strict";r.r(t),r.d(t,{alphaHexValues:function(){return s},default:function(){return o}});var a=r(57437),n=r(31055);let s=[2,5,10,15,20,25,30,35,40,45,50,60,70,80,90];function o(e){var t,r,o,i;let{palette:l}=e,{height:c}=(0,n.iP)(),d=null!==(t=null==l?void 0:l.primary)&&void 0!==t?t:"#006098",u=null!==(r=null==l?void 0:l.primaryForeground)&&void 0!==r?r:"#fff",g=null!==(o=null==l?void 0:l.secondary)&&void 0!==o?o:"#3CB4E5",p=null!==(i=null==l?void 0:l.secondaryForeground)&&void 0!==i?i:"#fff",m=s.map(e=>{let t=Math.round(e/100*255).toString(16).toUpperCase().padStart(2,"0");return"\n        --color-primary".concat(e,": ").concat(d).concat(t,";\n        --color-secondary").concat(e,": ").concat(g).concat(t,";\n      ")}).join("\n");return(0,a.jsx)("style",{children:"\n      :root {\n        --size-vh: ".concat(c,"px;\n        --color-primary: ").concat(d,";\n        ").concat(m,";\n        --color-primaryForeground: ").concat(u,";\n        --color-secondary: ").concat(g,";\n        --color-secondaryForeground: ").concat(p,";\n      }\n    ")})}},88796:function(e,t,r){"use strict";r.d(t,{default:function(){return k}});var a=r(57437),n=r(11051),s=r(20437),o=r(14767),i=r(2480),l=r(47121),c=r(94310),d=r(85793),u=r(90613),g=r(30166),p=r(27648),m=r(99376),h=r(61994),x=r(33145),b=e=>{let{logo:t,property:r,className:n,linkClassName:s}=e;return(0,a.jsxs)(p.default,{href:"/",className:(0,h.Z)("relative",s),children:[t?(0,a.jsx)(x.default,{alt:"".concat(r," logo"),className:(0,h.Z)("select-none object-contain object-center",n),draggable:!1,height:48,priority:!0,src:t,unselectable:"on",width:48}):r,(0,a.jsx)("span",{className:"sr-only",children:r})]})};let f=(0,g.default)(()=>Promise.all([r.e(9961),r.e(1312),r.e(8758)]).then(r.bind(r,58758)),{loadableGenerated:{webpack:()=>[58758]}}),v=(0,g.default)(()=>r.e(4831).then(r.bind(r,24831)),{loadableGenerated:{webpack:()=>[24831]}}),y=(0,g.default)(()=>r.e(7978).then(r.bind(r,27978)),{loadableGenerated:{webpack:()=>[27978]}}),j=(0,g.default)(()=>r.e(2830).then(r.bind(r,62830)),{loadableGenerated:{webpack:()=>[62830]}}),w=e=>{let{modifiedItems:t,pathname:r,copyrightString:o,managementCompany:i}=e,c=[{name:"Facebook",link:"https://facebook.com/capitalvacations",icon:(0,a.jsx)(v,{name:"facebook",className:"h-icon4 fill-current transition-opacity duration-1 ease-ease hover:!opacity-100 group-hover:opacity-25"})},{name:"Instagram",link:"https://instagram.com/capital.vacations",icon:(0,a.jsx)(v,{name:"instagram",className:"h-icon4 fill-current transition-opacity duration-1 ease-ease hover:!opacity-100 group-hover:opacity-25"})}];return(0,a.jsx)("div",{className:"container border-t border-primaryBorder pb-8 pt-10",children:(0,a.jsxs)(n.default,{wrap:"wrap",className:"lg:justify-between",children:[(0,a.jsxs)("div",{className:"flex-shrink",children:[(0,a.jsx)(n.default,{as:"ul",className:"pb-6",children:t.map((e,t)=>{let n=e.slug===(null==r?void 0:r.replace("/",""));return(0,a.jsx)(s.default,{as:"li",className:"tracking-0 font-regular leading-auto after:px-3 after:content-['\xb7'] last:after:content-none",children:(0,a.jsx)(p.default,{href:"external"==e._type?e.slug:"/".concat(e.slug),target:"external"==e._type?"_blank":"_self","aria-current":n?"page":void 0,children:e.title})},e.title+t)})}),(0,a.jsxs)(s.default,{size:0,as:"p",className:"text-gray-500",children:[o," Website developed by"," ",(0,a.jsx)(p.default,{href:"https://capitalvacations.com/management-services",target:"_blank",children:"Capital Vacations Resort Management"}),"."]})]}),(0,a.jsxs)(n.default,{className:"pt-8 lg:pt-0",gap:3,align:"center",children:[(0,a.jsxs)(p.default,{target:"_blank",href:"https://capitalvacations.com/management-services",children:[(0,a.jsx)(s.default,{size:0,children:"Proudly managed by"}),(0,a.jsx)(y,{className:"h-9",managementCompany:i})]}),(0,a.jsx)(n.default,{as:"ul",gap:1,className:"flex-row lg:flex-col",children:c.map((e,t)=>(0,a.jsx)(s.default,{as:"li",children:(0,a.jsx)(f,{tooltip:"Follow us on ".concat(e.name),children:(0,a.jsx)(p.default,{target:"_blank",href:e.link,className:"hover:text-primaryHover text-primary",children:(0,a.jsx)(l.f,{label:"Follow on ".concat(e.name),children:e.icon})})})},t))})]})]})})};var k=e=>{let{property:t,logo:r,items:s,socials:g,address:h,managementCompany:x}=e,v=(0,m.usePathname)(),y=new Date().getFullYear(),k="\xa9 ".concat([y,t].join(" "),". All rights reserved."),N=s.map(e=>({...e}));N.push({key:"policies",_type:"reference",external:!1,_key:"policies",slug:"policies",title:"Policies"},{key:"accessibility",_type:"reference",external:!1,_key:"accessibility",slug:"accessibility",title:"Accessibility"});let Z={className:"h-icon3",stroke:1.5},z=h&&[{name:"Google Maps",link:(0,i.Z)(h,"google"),icon:(0,a.jsx)(c.Z,{...Z})},{name:"Apple Maps",link:(0,i.Z)(h,"apple"),icon:(0,a.jsx)(d.Z,{...Z})},{name:"Waze",link:(0,i.Z)(h,"waze"),icon:(0,a.jsx)(u.Z,{...Z})}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{"aria-hidden":"true",className:"mt-10"}),(0,a.jsxs)("footer",{className:"mb-[var(--size-mobileBookbar)] mt-auto lg:mb-0",children:[(0,a.jsxs)(n.default,{align:"stretch",className:"container flex-wrap pb-6 lg:flex-nowrap lg:gap-8 lg:divide-x lg:divide-primaryBorder",children:[(0,a.jsx)(b,{className:"h-9 w-auto lg:h-10",linkClassName:"w-1/2 lg:w-auto",logo:r,property:t}),h&&(0,a.jsxs)(n.default,{className:"w-1/2 flex-col lg:w-auto lg:pl-8",children:[(0,a.jsx)(p.default,{href:(0,i.Z)(h),children:(0,o.l)(h)}),h&&(0,a.jsx)(n.default,{as:"ul",gap:4,className:"mt-2",children:null==z?void 0:z.map((e,t)=>(0,a.jsx)(n.default,{as:"li",className:"hover:text-primaryHover w-auto text-primary",children:(0,a.jsx)(p.default,{href:e.link,target:"_blank",children:(0,a.jsx)(f,{tooltip:"Navigate using ".concat(e.name),children:(0,a.jsx)(l.f,{label:"Navigate using ".concat(e.name),children:e.icon})})})},t))})]}),(null==g?void 0:g.length)>0&&(0,a.jsx)(j,{className:"w-auto lg:pl-8",resort:t,socials:g})]}),(0,a.jsx)(w,{modifiedItems:N,pathname:v,copyrightString:k,managementCompany:x})]})]})}},84772:function(e,t,r){"use strict";r.d(t,{default:function(){return P}});var a=r(57437),n=r(92709),s=r(4165),o=r(81311),i=r(61994),l=r(9330),c=r(33145),d=r(27648),u=r(99376),g=r(2265),p=r(31055),m=r(88449),h=r(11051),x=r(20437),b=r(56183),f=r(37406),v=r(33628),y=r(55729);let j={size:24,stroke:1.25,className:"text-alert"},w={notice:(0,a.jsx)(b.Z,{...j}),warning:(0,a.jsx)(f.Z,{...j}),weather:(0,a.jsx)(v.Z,{...j}),evacuation:(0,a.jsx)(y.Z,{...j})};function k(e){let{items:t,isOpen:r,onIsAlertOpenChange:n}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(m.default,{isOpen:r,onOpenChange:n,children:(0,a.jsx)(h.default,{direction:"column",children:t&&Array.isArray(t)?t.length>0&&t.map(e=>(0,a.jsx)(N,{...e},e.rev)):(0,a.jsx)(N,{...t},t.rev)})})})}let N=e=>{let{...t}=e,{rev:r,title:n,content_basic:s,type:o,_updatedAt:i,_createdAt:l,isUpdated:c}=t,d=new Date(c?i:l).toLocaleDateString();return(0,a.jsxs)("div",{id:r,className:"border-t border-primaryBorder py-6 first:border-t-0 first:pt-0 last:pb-0",children:[(0,a.jsxs)(h.default,{align:"center",className:"mb-4 flex-wrap gap-x-1",children:[w[o],(0,a.jsx)(x.default,{size:3,weight:"semibold",className:"text-primary",children:n}),(0,a.jsx)(x.default,{size:0,font:"secondary",className:"basis-full",children:[c?"Updated: ":null,d].join("")})]}),(0,a.jsx)(x.default,{children:s})]})};var Z=r(59060),z=r.n(Z);let _={root:"group fixed lg:sticky top-0 inset-x-0 z-nav bg-bg/95 backdrop-blur backdrop-saturate-50",list:"flex flex-col lg:flex-row lg:gap-x-6",logo:"relative h-full max-h-[calc(var(--size-nav)_*_0.7)] aspect-video select-none lg:mr-8 [&>img]:object-contain [&>img]:object-center",mobileToggle:{base:"h-formElement1 aspect-square rounded-round flex flex-col items-center justify-center p-3",closed:"bg-primary5",opened:"bg-primary"},mobileToggleLine:{base:"h-[2px] w-full rounded-round transition-all duration-1 ease-expo first:origin-top last:origin-bottom",closed:"first:mb-1 last:mt-1 bg-primary",opened:"first:rotate-45 last:-rotate-45 first:translate-y-[1px] last:-translate-y-[1px] translate-x-[1px] m-0 bg-white/95"},item:{mobileOnly:"inline-block lg:hidden",desktopOnly:"hidden lg:inline-block"},stationaryMobile:"h-nav lg:contents flex items-center"};function P(e){var t;let{alerts:r,logo:c,property:m,items:x,kognitivId:b,bookingEngine:f}=e,v=(0,u.usePathname)(),y=(0,u.useRouter)(),[j,w,N]=(0,p.OT)(),[Z,P]=(0,p.OT)();(0,p.i8)(j,"root");let A=(0,p.ac)("(max-width: 1024px)");(0,g.useEffect)(()=>{N(!1)},[v]),(0,g.useEffect)(()=>{A&&j&&N(!1)},[A]);let E=()=>{N(!1),y.refresh()},O=Array.isArray(r)?r.length:0;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.fC,{orientation:"horizontal",className:(0,i.Z)(_.root),children:(0,a.jsxs)(l.m.div,{className:"container flex h-nav max-h-[var(--size-mobileNav)] flex-wrap lg:items-center",variants:{initial:{height:"var(--size-nav)"},true:{height:A?"var(--size-vh)":"var(--size-nav)"},false:{height:"var(--size-nav)"}},initial:"initial",animate:j.toString(),transition:{type:"spring",stiffness:500,damping:50},children:[(0,a.jsx)(d.default,{href:"/",className:_.stationaryMobile,onClick:E,children:(0,a.jsx)(F,{logo:c,property:m,className:_.logo})}),(0,a.jsxs)("div",{className:(0,i.Z)(_.stationaryMobile,"ml-auto"),children:[r.length>0&&(0,a.jsx)("div",{className:(0,i.Z)(_.stationaryMobile,"lg:hidden"),children:(0,a.jsxs)(n.default,{flat:!0,color:"alert",onPress:P,className:"mr-2","aria-label":"View ".concat(z()("Alert",O)),children:[z()("Alert",O),(0,a.jsx)("span",{className:"-mr-1 ml-2 inline-flex aspect-square h-icon3 items-center justify-center rounded-round bg-alert text-0 font-regular text-white",children:O>0&&O})]})}),(0,a.jsxs)("button",{onClick:w,className:(0,i.Z)(_.mobileToggle.base,j?_.mobileToggle.opened:_.mobileToggle.closed,_.item.mobileOnly),"aria-hidden":!A,"aria-label":A?j?"Close menu":"Open menu":void 0,children:[(0,a.jsx)("span",{"aria-hidden":!0,className:(0,i.Z)(_.mobileToggleLine.base,j?_.mobileToggleLine.opened:_.mobileToggleLine.closed)}),(0,a.jsx)("span",{"aria-hidden":!0,className:(0,i.Z)(_.mobileToggleLine.base,j?_.mobileToggleLine.opened:_.mobileToggleLine.closed)})]})]}),(0,a.jsxs)("div",{className:(0,i.Z)(!j&&"pointer-events-none lg:pointer-events-auto","w-full lg:contents"),children:[(0,a.jsx)(o.aV,{asChild:!0,children:(0,a.jsx)(l.m.ul,{className:(0,i.Z)(_.list,"-mt-[calc(var(--size-nav)_/_2)] flex-row items-center gap-y-6 lg:mt-0 lg:gap-0"),children:(0,a.jsx)(C,{items:x,isMobileOpen:j,isMobile:A,setFalse:E})})}),(0,a.jsxs)(h.default,{gap:2,className:"ml-auto",children:[r.length>0&&(0,a.jsxs)(n.default,{flat:!0,color:"alert",onPress:P,"aria-label":"View ".concat(z()("Alert",O)),className:_.item.desktopOnly,children:[z()("Alert",O),(0,a.jsx)("span",{className:"-mr-1 ml-2 inline-flex aspect-square h-icon3 items-center justify-center rounded-round bg-alert text-0 font-regular text-white",children:O>0&&O})]}),(0,a.jsx)(d.default,{className:_.item.desktopOnly,target:"_blank",href:(0,s.Z)({type:"resort",bookingEngine:null!==(t=f.bookingEngine)&&void 0!==t?t:"kognitiv",sabre:f.sabre,kognitivId:{resort:b}}),children:(0,a.jsx)(n.default,{children:"Book now"})})]})]})]})}),r.length>0&&(0,a.jsx)(k,{isOpen:Z,onIsAlertOpenChange:P,items:r})]})}let F=e=>{let{logo:t,property:r,className:n}=e;return(0,a.jsx)("figure",{className:n,children:(0,a.jsx)(c.default,{src:t,alt:r,unoptimized:!0,unselectable:"on",draggable:!1,fill:!0})})},C=e=>{let{items:t,isMobile:r,isMobileOpen:n,className:s,setFalse:o}=e,c={initial:{opacity:0,y:r?100:0},true:{opacity:1,y:0},false:{opacity:r?0:1,transition:{duration:.2,delay:0}}};return t.map((e,t)=>{let{_key:r,_type:d,slug:g,title:p}=e,m=(0,u.usePathname)(),h=g===(null==m?void 0:m.replace("/",""));return"ownersCorner"===d?(0,a.jsx)(A,{href:"owners",isActive:h,className:(0,i.Z)(s,!n&&"pointer-events-none lg:pointer-events-auto","overflow-hidden"),children:(0,a.jsx)(l.m.div,{className:"lg:contents",variants:c,initial:"initial",animate:n.toString(),onClick:()=>o(),transition:{type:"spring",stiffness:100,damping:20,delay:.09*t},children:p})},r):(0,a.jsx)(A,{href:null!=g?g:"/",isActive:h,external:"external"==d,className:(0,i.Z)(s,!n&&"pointer-events-none lg:pointer-events-auto","overflow-hidden"),children:(0,a.jsx)(l.m.div,{className:"lg:contents",variants:c,initial:"initial",animate:n.toString(),onClick:()=>o(),transition:{type:"spring",stiffness:100,damping:20,delay:.09*t},children:p})},r)})},A=e=>{let{children:t,href:r,className:n,external:s,isActive:i}=e;return(0,a.jsx)(o.ck,{className:n,children:(0,a.jsx)(o.rU,{asChild:!0,children:(0,a.jsx)(d.default,{href:s?r:"/".concat(r),target:s?"_blank":void 0,"aria-current":i?"page":void 0,className:"text-4 transition-colors duration-1 ease-ease hover:!text-primary aria-[current=page]:text-primary lg:text-2 lg:group-hover:text-inherit",children:t})})})}},29761:function(e,t,r){"use strict";r.r(t);var a=r(57437),n=r(6930),s=r(48667),o=r(40839);t.default=e=>{let{id:t,resort:r,domain:i}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.z,{id:"adaTrigger","aria-label":"Open the accessibility menu",className:"fixed bottom-[calc(var(--size-mobileBookbar)_+_var(--space-3))] left-5 z-button-ada flex aspect-square h-formElement0 items-center justify-center rounded-round bg-primary90 bg-white text-primary shadow-soft0 backdrop-blur lg:bottom-5",children:(0,a.jsx)(n.Z,{})}),(0,a.jsx)(s.default,{id:"plugin-userway",children:'(function(){\n      const { body, head } = document;\n      const s = document.createElement("script");\n      s.setAttribute("data-position", 3);\n      s.setAttribute("data-size", "small");\n      s.setAttribute("data-language", "en");\n      s.setAttribute("data-type", "1");\n      s.setAttribute("data-statement_text", "'.concat(r,' Accessibility Statement");\n      s.setAttribute("data-statement_url", "').concat("https://"+i+"/accessibility",'");\n      s.setAttribute("data-mobile", true);\n      s.setAttribute("data-trigger", "adaTrigger")\n      s.setAttribute("data-account", "').concat(t,'");\n      s.setAttribute("src", "https://cdn.userway.org/widget.js");\n      (body || head).appendChild(s);\n    })()')})]})}},92709:function(e,t,r){"use strict";r.r(t),r.d(t,{ButtonGroup:function(){return m}});var a=r(57437),n=r(11051),s=r(37053),o=r(61994),i=r(30166),l=r(2265),c=r(40839);let d=(0,i.default)(()=>r.e(4823).then(r.bind(r,34823)),{loadableGenerated:{webpack:()=>[34823]},ssr:!1}),u={base:"appearance-none whitespace-nowrap cursor-pointer box-border no-underline transition-all duration-2 ease-ease outline-none flex items-center justify-center disabled:cursor-not-allowed group/button",onlyIcon:"aspect-square",border:{base:"border data-[hovered=true]:ring-1 ring-inset",color:{primary:"border-primary10 data-[hovered=true]:border-primary ring-primary text-primary",secondary:"border-secondary10 data-[hovered=true]:border-secondary ring-secondary text-secondary",error:"border-error/10 data-[hovered=true]:border-error ring-error text-error",success:"border-success/10 data-[hovered=true]:border-success ring-success text-success",warning:"border-warning/10 data-[hovered=true]:border-warning ring-warning text-warning",cvPrimary:"border-cv-sea/10 data-[hovered=true]:border-cv-sea ring-cv-sea text-cv-sea",alert:"border-alert/10 data-[hovered=true]:border-alert ring-alert text-alert"}},flat:{base:"data-[focus-visible=true]:ring-2 ring-offset-4",color:{primary:"text-primary bg-primary5 disabled:text-primary30 data-[hovered=true]:bg-primary10 data-[pressed=true]:bg-primary5 ring-primary",secondary:"text-secondary bg-secondary5 disabled:text-secondary30 data-[hovered=true]:bg-secondary10 data-[pressed=true]:bg-secondary5 ring-secondary",error:"text-error bg-error/5 disabled:text-error/30 data-[hovered=true]:bg-error/10 data-[pressed=true]:bg-error/5 ring-error",success:"text-success bg-success/5 disabled:text-success/30 data-[hovered=true]:bg-success/10 data-[pressed=true]:bg-success/5 ring-success",warning:"text-warning bg-warning/5 disabled:text-warning/30 data-[hovered=true]:bg-warning/10 data-[pressed=true]:bg-warning/5 ring-warning",cvPrimary:"text-cv-sea bg-cv-sea/5 disabled:text-cv-sea/30 data-[hovered=true]:bg-cv-sea/10 data-[pressed=true]:bg-cv-sea/5 ring-cv-sea",alert:"text-alert bg-alert/5 disabled:text-alert/30 data-[hovered=true]:bg-alert/10 data-[pressed=true]:bg-alert/5 ring-alert"}},ghost:{base:"border",color:{primary:"border-primary text-primary data-[hovered=true]:bg-primary data-[hovered=true]:text-primaryForeground",secondary:"border-secondary text-secondary data-[hovered=true]:bg-secondary data-[hovered=true]:text-secondaryForeground",error:"border-error text-error data-[hovered=true]:bg-error data-[hovered=true]:text-errorForeground",success:"border-success text-success data-[hovered=true]:bg-success data-[hovered=true]:text-successForeground",warning:"border-warning text-warning data-[hovered=true]:bg-warning data-[hovered=true]:text-warningForeground",cvPrimary:"border-cv-sea text-cv-sea data-[hovered=true]:bg-cv-sea data-[hovered=true]:text-cv-seaForeground",alert:"border-alert text-alert data-[hovered=true]:bg-alert data-[hovered=true]:text-white"}},light:{base:"data-[focus-visible=true]:ring-2 ring-offset-2",color:{primary:"text-primary ring-primary50",secondary:"text-secondary ring-secondary50",error:"text-error ring-error/50",success:"text-success ring-success/50",warning:"text-warning ring-warning/50",cvPrimary:"text-cv-sea ring-cv-sea/50",alert:"text-alert ring-alert/50"}},default:{base:"data-[focus-visible=true]:ring-2 ring-offset-2",color:{primary:"bg-primary text-primaryForeground ring-primary50",secondary:"bg-secondary text-secondaryForeground ring-secondary50",error:"bg-error text-errorForeground ring-error/50",success:"bg-success text-successForeground ring-success/50",warning:"bg-warning text-warningForeground ring-warning/50",cvPrimary:"bg-cv-sea text-cv-seaForeground ring-cv-sea/50",alert:"bg-alert text-white ring-alert/50"}},shadow:{pill:"shadow-soft0 data-[hovered=true]:shadow-soft1",0:"shadow-soft0 data-[hovered=true]:shadow-soft1",1:"shadow-soft0 data-[hovered=true]:shadow-soft1",2:"shadow-soft0 data-[hovered=true]:shadow-soft1"},size:{pill:"h-7 text-0 leading-[32px]",0:"h-formElement0 text-1 leading-formElement0",1:"h-formElement1 text-2 leading-formElement1",2:"h-formElement2 text-3 leading-formElement2"},padding:{pill:"px-3",0:"px-4",1:"px-6",2:"px-7"},radii:"rounded-round"},g={pill:"w-1 h-1",0:"w-5 h-5",1:"h-icon3",2:"h-icon3"},p={pill:"h-4",0:"h-5",1:"h-6",2:"h-6"},m=e=>{let{children:t,className:r,vertical:s=!1,color:i="primary",size:d=1,shadow:g,weight:p="semibold",flat:m,ghost:h,border:x,light:b,noPadding:f,isLoading:v=!1,...y}=e,j="string"==typeof r&&r.includes("absolute"),w=!x&&!m&&!h&&!b&&i,k=(0,o.Z)(u.base,!j&&"relative",v&&"cursor-wait",x&&u.border.base,x&&u.border.color[i],m&&u.flat.base,m&&u.flat.color[i],h&&u.ghost.base,h&&u.ghost.color[i],b&&u.light.base,b&&u.light.color[i],w&&u.default.base,w&&u.default.color[i],void 0!==t&&!f&&u.padding[d],void 0==t&&u.onlyIcon,g&&u.shadow[d],u.size[d],r);return(0,a.jsx)(n.default,{direction:s?"column":"row",className:(0,o.Z)("group divide-x",r),children:t.map((e,t)=>{var r;let{children:n,icon:s,iconRight:d,...u}=null!==(r=null==e?void 0:e.props)&&void 0!==r?r:{};if((0,l.isValidElement)(e))return(0,a.jsx)(c.z,{"data-color":i,icon:s,iconRight:d,className:(0,o.Z)(k,"first:rounded-l-round","last:rounded-r-round"),...u,children:e.props.children},t)})})};t.default=e=>{let{asChild:t,children:r,className:n,color:i="primary",weight:m="semibold",size:h=1,shadow:x,flat:b,ghost:f,border:v,light:y,icon:j,iconRight:w,noPadding:k,isLoading:N=!1,...Z}=e,z=t?s.g7:l.Fragment,_={className:(0,o.Z)("block stroke-current opacity-90",g[h]),stroke:1.5},P="string"==typeof n&&n.includes("absolute"),F=!v&&!b&&!f&&!y&&i,C=(0,o.Z)("gap-1",u.base,!P&&"relative",N&&"cursor-wait",v&&u.border.base,v&&u.border.color[i],b&&u.flat.base,b&&u.flat.color[i],f&&u.ghost.base,f&&u.ghost.color[i],y&&u.light.base,y&&u.light.color[i],F&&u.default.base,F&&u.default.color[i],void 0!==r&&!k&&u.padding[h],void 0==r&&u.onlyIcon,u.radii,x&&u.shadow[h],u.size[h],n);return(0,a.jsx)(c.z,{"data-color":i,className:C,...Z,children:(0,a.jsx)(z,{children:(0,a.jsxs)(a.Fragment,{children:[N&&(0,a.jsx)("div",{className:"absolute left-1/2 top-1/2 origin-center -translate-x-1/2 -translate-y-1/2",children:(0,a.jsx)(d,{className:(0,o.Z)(p[h])})}),j&&(0,l.cloneElement)(j,{..._}),r&&(0,a.jsx)("span",{className:(0,o.Z)("block select-none transition-opacity duration-1 ease-ease",N&&"opacity-0"),children:r}),w&&(0,l.cloneElement)(w,{..._})]})})})}},88449:function(e,t,r){"use strict";r.r(t);var a=r(57437),n=r(92709),s=r(49027),o=r(91443),i=r(61994);t.default=e=>{let{isOpen:t,animation:r=!1,onOpenChange:l,contentStyle:c,blur:d,isFullscreen:u,hasPadding:g=!0,children:p,className:m,title:h,description:x,...b}=e;return(0,a.jsx)(s.fC,{open:t,onOpenChange:l,...b,children:(0,a.jsxs)(s.h_,{children:[(0,a.jsx)(s.aV,{className:(0,i.Z)("fixed inset-0 z-modal-backdrop bg-black/60",r&&"data-[state=open]:animate-overlayShow",d&&"backdrop-blur-sm")}),(0,a.jsxs)(s.VY,{className:(0,i.Z)("fixed left-1/2 top-1/2 z-modal-content -translate-x-1/2 -translate-y-1/2 overflow-y-auto bg-white outline-none",r&&"data-[state=open]:animate-contentShow",u?"h-screen w-screen":"max-h-[calc(var(--size-vh)_-_var(--space-8))] w-[672px] max-w-[90vw] rounded-4 shadow-soft2",g&&"p-[var(--p)]",m),style:{"--p":"32px",...c},children:[(0,a.jsx)(s.x8,{asChild:!0,children:(0,a.jsx)(n.default,{className:"absolute right-4 top-4 z-button-close flex items-center justify-center","aria-label":"Close",color:"primary",icon:(0,a.jsx)(o.Z,{}),onPress:l,size:0})}),p,h&&(0,a.jsx)(s.Dx,{}),x&&(0,a.jsx)(s.dk,{})]})]})})}},11051:function(e,t,r){"use strict";r.r(t);var a=r(57437),n=r(61994);let s={row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},o={"flex-start":"items-start","flex-end":"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},i={"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},l={nowrap:"flex-nowrap",wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse"},c={0:"gap-0",px:"gap-px",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",7:"gap-7",8:"gap-8",9:"gap-9",10:"gap-10",11:"gap-11"};t.default=e=>{let{as:t="div",children:r,direction:d,align:u,justify:g,wrap:p,gap:m,className:h,id:x}=e,b=(0,n.Z)("flex",d&&s[d],u&&o[u],g&&i[g],p&&l[p],void 0!==m&&c[m],h);return(0,a.jsx)(t,{id:x,className:b,children:r})}},20437:function(e,t,r){"use strict";r.r(t);var a=r(57437),n=r(61994);let s={left:"text-left",center:"text-center",right:"text-right"},o={0:"text-0",1:"text-1",2:"text-2",3:"text-3",4:"text-4",5:"text-5",6:"text-6",7:"text-7",8:"text-8",9:"text-9",10:"text-10"},i={auto:"leading-auto",0:"leading-0",1:"leading-1",2:"leading-2",3:"leading-3"},l={regular:"font-regular",medium:"font-medium",semibold:"font-semibold"};t.default=e=>{let{as:t,align:r,size:c,children:d,className:u,font:g="primary",weight:p="regular",leading:m="auto",style:h,...x}=e,b=null!=t?t:"p",f=["h1","h2","h3"].includes(b),v=(0,n.Z)("leading-auto","secondary"===g&&"font-secondary",f&&void 0===c&&"h1"===b&&"text-6 lg:text-7",f&&void 0===c&&"h2"===b&&"text-5 lg:text-6",f&&void 0===c&&"h3"===b&&"text-4 lg:text-5",void 0!==c&&o[c],l[p],i[m],r&&s[r],u);return(0,a.jsx)(b,{className:v,style:h,...x,children:d})}},14767:function(e,t,r){"use strict";r.d(t,{l:function(){return o}});var a=r(57437),n=r(11051),s=r(20437);function o(e){let t=[e.addressLine1,e.addressLine2&&"".concat(e.addressLine2),"".concat(e.city,", ").concat(e.stateProvinceRegion," ").concat(e.postalCode),e.country];return(0,a.jsx)(n.default,{as:"address",direction:"column",className:"not-italic",children:t.map((e,t)=>(0,a.jsx)(s.default,{as:"span",children:e},t))})}},4165:function(e,t){"use strict";t.Z=e=>{let{type:t="resort",bookingEngine:r="kognitiv",kognitivId:a,sabre:n,sabreRoomId:s,parameters:o,isRoomBookable:i=!0}=e,l=new URLSearchParams;(null==o?void 0:o.checkIn)&&l.append("kognitiv"==r?"skd-checkin":"arrive",o.checkIn),(null==o?void 0:o.checkOut)&&l.append("kognitiv"==r?"skd-checkout":"depart",o.checkOut),(null==o?void 0:o.adults)&&l.append("kognitiv"==r?"adult_room1":"adult",o.adults.toString()),(null==o?void 0:o.children)&&l.append("kognitiv"==r?"child_room1":"child",o.children.toString()),"sabre"===r&&l.append("chain","31323"),"sabre"===r&&s&&l.append("room",s),"sabre"===r&&n.config&&l.append("config",n.config.current),"sabre"===r&&n.theme&&l.append("theme",n.theme.current),(null==n?void 0:n.id.current)&&l.append("hotel",n.id.current);let c="";"kognitiv"===r?(c="https://".concat(null==a?void 0:a.resort,".officialbookings.com"),"room"===t&&a.room&&!1!==i&&l.append("skd-offer-room",a.room)):"sabre"===r&&(c="https://be.synxis.com");let d=l.toString();return d&&(c+="?".concat(d)),c}},2480:function(e,t){"use strict";t.Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"apple",{addressLine1:r,addressLine2:a,country:n,stateProvinceRegion:s,city:o,postalCode:i}=e,l=encodeURIComponent("".concat(r).concat(a?", ".concat(a):"",", ").concat(o,", ").concat(s," ").concat(i,", ").concat(n)),c="";switch(t){case"apple":default:c="https://maps.apple.com/?address=".concat(l);break;case"google":c="https://www.google.com/maps/search/?api=1&query=".concat(l);break;case"waze":c="https://www.waze.com/ul?q=".concat(l)}return c}}},function(e){e.O(0,[8341,7112,6717,9382,7423,9330,9808,4525,744,4607,2971,2117,1744],function(){return e(e.s=50683)}),_N_E=e.O()}]);