PageSourceSearch

https://www.maxxroyal.com/_next/static/chunks/158-f3114262b3ebbcc9.js

js maxxroyal.com collected 2026-10-02 14:43:10 UTC 285,835 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[158],{5725:function(e,t,l){var a={"./AccordionModule.jsx":8987,"./AvailabilityBarModel.jsx":5592,"./BannerFullBleedModule.jsx":5328,"./BreadcrumbsModel.jsx":5128,"./CTabreakWithLogoModule.jsx":7382,"./CTacontactFormModule.jsx":4682,"./CardCarouselGenericModule.jsx":2161,"./CardCarouselOutOfScreenModule.jsx":1360,"./CardListItemsModule.jsx":9090,"./CardListingGridModule.jsx":1672,"./CardListingVerticalModule.jsx":4619,"./ContactsModule.jsx":5540,"./FooterVertical.jsx":2308,"./FormModule.jsx":6149,"./Header.jsx":8611,"./HeadingVerticalModule.jsx":2467,"./HeroArticleModuleModel.jsx":7819,"./HeroCenterAlignedModule.jsx":8387,"./HeroSlimCenterAlignedModule.jsx":4509,"./HoleByHoleModule.jsx":7369,"./HoleDetails.jsx":7322,"./IconListModule.jsx":4634,"./IconListWithRichTextModule.jsx":1136,"./MapSimpleModule.jsx":15,"./MediaCarouselFullBleedModule.jsx":7208,"./MediaMasonryGridModule.jsx":1481,"./QuoteCarouselModule.jsx":6344,"./RichTextAndOneMediaModule.jsx":5092,"./RichTextAndTwoMediaModule.jsx":3922,"./RichTextModule.jsx":2042,"./RichTextWithMediaModule.jsx":959,"./SocialMediaCarousel.jsx":5762,"./TabsModule.jsx":1752,"./WeatherModule.jsx":5094,"modules/AccordionModule.jsx":8987,"modules/AvailabilityBarModel.jsx":5592,"modules/BannerFullBleedModule.jsx":5328,"modules/BreadcrumbsModel.jsx":5128,"modules/CTabreakWithLogoModule.jsx":7382,"modules/CTacontactFormModule.jsx":4682,"modules/CardCarouselGenericModule.jsx":2161,"modules/CardCarouselOutOfScreenModule.jsx":1360,"modules/CardListItemsModule.jsx":9090,"modules/CardListingGridModule.jsx":1672,"modules/CardListingVerticalModule.jsx":4619,"modules/ContactsMo
1dule.jsx":5540,"modules/FooterVertical.jsx":2308,"modules/FormModule.jsx":6149,"modules/Header.jsx":8611,"modules/HeadingVerticalModule.jsx":2467,"modules/HeroArticleModuleModel.jsx":7819,"modules/HeroCenterAlignedModule.jsx":8387,"modules/HeroSlimCenterAlignedModule.jsx":4509,"modules/HoleByHoleModule.jsx":7369,"modules/HoleDetails.jsx":7322,"modules/IconListModule.jsx":4634,"modules/IconListWithRichTextModule.jsx":1136,"modules/MapSimpleModule.jsx":15,"modules/MediaCarouselFullBleedModule.jsx":7208,"modules/MediaMasonryGridModule.jsx":1481,"modules/QuoteCarouselModule.jsx":6344,"modules/RichTextAndOneMediaModule.jsx":5092,"modules/RichTextAndTwoMediaModule.jsx":3922,"modules/RichTextModule.jsx":2042,"modules/RichTextWithMediaModule.jsx":959,"modules/SocialMediaCarousel.jsx":5762,"modules/TabsModule.jsx":1752,"modules/WeatherModule.jsx":5094};function r(e){return l(n(e))}function n(e){if(!l.o(a,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=n,e.exports=r,r.id=5725},9e3:function(e,t,l){"use strict";var a,r=l(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:22,height:20,fill:"none"},e),a||(a=r.createElement("path",{d:"m11.75 1 9 9-9 9M19.5 10H1.25"})))}},7939:function(e,t,l){"use strict";var a,r=l(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=r.createElement("path",{d:"m14.521 16.92.436.448L20 12.184 14.957 7l-.436.448 4.296 4.416H4v.64h14.817z"})))}},9539:function(e,t,l){"use strict";var a,r=l(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},e),a||(a=r.createElement("path",{d:"m22.999 23-14-14M22.999 9l-14 14"})))}},8247:function(e,t,l){"use strict";var a,r=l(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=r.createElement("path",{fill:"#000",fillRule:"evenodd",d:"M22.5 12.063c0-5.799-4.701-10.5-10.5-10.5-5.798 0-10.5 4.701-10.5 10.5 0 5.24 3.84 9.584 8.86 10.373v-7.337H7.693v-3.036h2.667V9.749c0-2.63 1.568-4.085 3.966-4.085 1.149 0 2.35.205 2.35.205v2.584h-1.324c-1.304 0-1.712.81-1.712 1.64v1.97h2.912l-.465 3.036h-2.446v7.337c5.02-.788 8.86-5.131 8.86-10.373",clipRule:"evenodd"})))}},4483:function(e,t,l){"use strict";var a,r=l(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 17 17"},e),a||(a=r.createElement("path",{fill:"#000",d:"M14.004 1.317H2.317c-.638 0-1.196.46-1.196 1.091v11.713c0 .634.558 1.2 1.196 1.2h11.684c.642 0 1.123-.57 1.123-1.2V2.408c.004-.631-.482-1.09-1.12-1.09M5.461 12.99H3.455V6.752h2.006zm-.933-7.186h-.015c-.642 0-1.057-.478-1.057-1.076 0-.61.426-1.076 1.083-1.076.656 0 1.058.463 1.072 1.076 0 .598-.416 1.076-1.083 1.076m8.265 7.186h-2.006V9.58c0-.818-.292-1.376-1.018-1.376-.554 0-.882.375-1.028.74-.055.132-.07.31-.07.493v3.553H6.665V6.752h2.006v.868c.292-.415.748-1.014 1.81-1.014 1.316 0 2.312.868 2.312 2.74z"})))}},2074:function(e,t,l){"use strict";var a,r,n=l(7294);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return n.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=n.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.002,d:"M19.875 4.5H4.125c-1.036 0-1.875.84-1.875 1.875v11.25c0 1.035.84 1.875 1.875 1.875h15.75c1.035 0 1.875-.84 1.875-1.875V6.375c0-1.036-.84-1.875-1.875-1.875"})),r||(r=n.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.002,d:"M5.25 7.5 12 12.75l6.75-5.25"})))}},604:function(e,t,l){"use strict";var a,r=l(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",n({width:24,height:24,"aria-hidden":"true"},e),a||(a=r.createElement("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})))}},331:function(e,t,l){"use strict";var a=l(5893);l(7294);var r=l(5697),n=l.n(r),s=l(5158),i=l(7939),o=l(94),c=l(1163);let d=e=>{let{headingClassName:t="title font-didot mt-7 color-from-bg",preHeadingClassName:l="text-black my-4",subHeadingClassName:r="text-black my-4",descriptionClassName:n,descriptionWrapperclassName:d="mt-8  color-from-bg",data:m,...u}=e,{headingTitle:x,description:p,preHeading:g,subHeading:h,primaryCTA:f,secondaryCTA:b}=m||{},{t:v}=(0,o.$G)("common"),w=(0,c.useRouter)(),j=(e,t)=>{if(t&&(null==t?void 0:t.text)){let l=null==t?void 0:t.text.replace(/<[^>]*>?/gm,"").toLowerCase();v("general.$bookNow").toLowerCase()===l&&(e.preventDefault(),w.replace({query:{...w.query,book:!0}},void 0,{shallow:!0}))}};return(0,a.jsxs)("div",{...u,children:[(0,a.jsxs)("div",{className:"title-wrapper",role:"main","aria-label":v("general.$contentInfo"),children:[g&&(0,a.jsx)(s.bl,{className:"pre-heading uppercase font-didot text-base font-semibold text-subheading  ".concat(l),children:g}),x&&(0,a.jsx)(s.lb,{data:x,className:"".concat(t," main-title")}),h&&(0,a.jsx)(s.bl,{className:"pre-heading font-didot text-base font-semibold text-subheading ".concat(r),children:h})]}),(p||f||b)&&(0,a.jsxs)("div",{className:"description-wrapper ".concat(d),children:[(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:p},className:"".concat(n)}),(f||b)&&(0,a.jsxs)("div",{className:"button-wrapper flex flex-col  mt-12 md:mt-14 md:flex-row md:justify-start lg:mt-20",children:[f&&(0,a.jsxs)(s.rU,{className:"btn primary first-link md:self-start md:mr-3 color-from-bg  ".concat(b?"mb-3":"mb-0"),link:f,onClick:e=>j(e,f),children:[(0,a.jsx)("span",{children:f.text}),(0,a.jsx)(i.Z,{className:"!ml-6",role:"presentation"})]}),b&&(0,a.jsxs)(s.rU,{className:"btn secondary color-from-bg secondary-link md:self-start",link:b,onClick:e=>j(e,b),children:[(0,a.jsx)("span",{children:b.text}),(0,a.jsx)(i.Z,{className:"ml-8",role:"presentation"})]})]})]})]})};d.propTypes={data:n().any.isRequired,headingClassName:n().string,preHeadingClassName:n().string,descriptionClassName:n().string,descriptionWrapperclassName:n().string},t.Z=d},2629:function(e,t,l){"use strict";l.d(t,{Z:function(){return p}});var a=l(5893),r=l(3967),n=l.n(r),s=l(1163),i=l(7294),o=l(9539),c=l(94),d=l(6149),m=l(5158),u=e=>{let{form:t,popupId:l}=e,r=(0,s.useRouter)(),[u,x]=(0,i.useState)(!1),[p,g]=(0,i.useState)(!1),{t:h}=(0,c.$G)("common");(0,i.useEffect)(()=>
1{if(t){if(r.query.form&&r.query.id==(null==t?void 0:t.formFields.id)&&r.query.popupId===l)x(!0),g(!0);else{x(!1);let e=setTimeout(()=>{g(!1)},500);return()=>clearTimeout(e)}}},[t,r.asPath,null==t?void 0:t.formFields.id,r.query.form,r.query.id,r.query.popupId,l]);let f=()=>{let e={...r.query};delete e.form,delete e.popupId,delete e.id,r.replace({query:e},void 0,{shallow:!0}),x(!1)};return(0,a.jsxs)(m.Hv,{children:[(0,a.jsx)("div",{className:n()("",u?"h-dvh lg:h-screen disable-scroll":"h-0")}),(0,a.jsx)("div",{className:n()('bg-[url("/images/caja-form-bg.jpg")] bg-cover fixed top-0 left-0 z-40 w-screen transition-opacity duration-500',u?" h-screen opacity-100":"h-0 opacity-0 ")}),(0,a.jsx)("div",{className:n()("fixed top-[50%] left-[50%] -translate-y-1/2 -translate-x-1/2 z-50 transition-opacity duration-500 w-screen flex lg:justify-start justify-center items-center overflow-hidden","xl:p-16 lg:p-12 md:p-8 p-4",u?"opacity-1  pointer-events-auto":"opacity-0 pointer-events-none",p?"max-h-[calc(100vh-100px)] lg:h-fit":"h-0"),onClick:f,children:(0,a.jsxs)("div",{className:n()("max-h-[calc(100vh-100px)] sm:h-fit md:w-[75%] w-full rounded-contact relative flex flex-col justify-between items-center shrink-0 overflow-auto","bg-[rgba(0,0,0,0.5)]"),onClick:e=>{e.stopPropagation()},children:[(0,a.jsx)("button",{onClick:f,className:"btn absolute right-0 top-0 p-4 h-auto bg-transparent","aria-label":h("general.$close"),children:(0,a.jsx)(o.Z,{className:"stroke-brand-soft-white w-6 h-6"})}),(0,a.jsx)("div",{className:"flex flex-col gap-8 items-center w-full px-10 py-8 lg:py-12",children:t&&(0,a.jsx)(d.default,{data:t,isPopup:!0})})]})})]})},x=l(7939),p=e=>{let{id:t,hasNav:l,filledHeader:r,popupId:o,hasSticky:d}=e,m=(0,s.useRouter)(),[p,g]=(0,i.useState)(null),{t:h}=(0,c.$G)("common"),f=e=>{m.replace({query:{...m.query,...e}},void 0,{shallow:!0})},b=async()=>{try{var e;let l=await fetch("/api/umbraco/forms/api/v1/definitions/".concat(t),{method:"GET",headers:{"Content-Type":"application/json"}});if(!l.ok)throw Error("Fetch failed with status ".concat(l.status));let a=await l.json(),r={formFields:{...a,pages:null!==(e=a.pages)&&void 0!==e?e:[]},languages:["en","de","ru","tr"]};g({formModule:r}),f({form:!0,id:t,popupId:o})}catch(e){console.error("Error fetching form:",e)}};return(0,a.jsxs)("div",{children:[l&&!d&&(0,a.jsx)("button",{className:n()(r?"caja-btn-filled":"caja-btn","btn ml-5 h-[34px] sm:h-[42px] xl:h-13 py-2 sm:py-3 xl:py-3.5 px-5 sm:px-10 xl:px-[46px]"),onClick:b,children:(0,a.jsx)("span",{className:"text-xs leading-4.5 xl:text-sm xl:leading-5",children:h("general.$contact").toLocaleUpperCase(m.locale)})}),!l&&!d&&(0,a.jsxs)("button",{className:n()("btn caja-btn h-[34px] sm:h-[42px] xl:h-13 py-2 sm:py-3 xl:py-3.5 px-5 sm:px-10 xl:px-[46px] mb-10 lg:mb-16"),onClick:b,children:[(0,a.jsx)("span",{className:"text-xs leading-4.5 whitespace-nowrap xl:text-sm xl:leading-5",children:{tr:"Şimdi Formu Doldurun","en-US":"Fill out the form now",de:"F\xfcllen Sie das Formular aus",ru:"Заполните форму."}[m.locale]}),(0,a.jsx)(x.Z,{className:"ml-6",role:"presentation"})]}),d&&(0,a.jsx)("button",{className:n()(" btn primary-caja small rounded-sm px-8"),onClick:b,children:(0,a.jsx)("span",{className:"text-xs leading-4.5 xl:text-sm xl:leading-5",children:h("general.$contact").toLocaleUpperCase(m.locale)})}),p&&(0,a.jsx)(u,{popupId:o,form:p.formModule})]})}},3068:function(e,t,l){"use strict";var a=l(5893),r=l(7294),n=l(3967),s=l.n(n),i=l(2987),o=l.n(i);t.Z=e=>{let{dark:t,moduleName:l,current:n,total:i,className:c,...d}=e,m=o().theme.screens,[u,x]=(0,r.useState)(0);(0,r.useEffect)(()=>{let e=()=>{x(window.innerWidth)};return window.addEventListener("load",e),window.addEventListener("resize",e),()=>{window.removeEventListener("load",e),window.removeEventListener("resize",e)}},[]);let p=()=>"CardCarouselGenericModule"===l&&3===i&&u>parseInt(m.lg)?"100%":i<=3&&u<parseInt(m.lg)?"".concat(100/i,"%"):i<=3&&"QuoteCarouselModule"!==l&&"CardListingVerticalModule"!==l?"50%":"".concat(100/i,"%");return(0,a.jsx)("div",{className:s()("flex items-center w-fit",c),role:"progressbar","aria-label":"Progress",...d,children:(0,a.jsx)("div",{className:s()("".concat(t?"bg-brand-soft-white/25":"bg-black/25"),"w-[200px] parent-container h-0.5 rounded-3xl relative bg-black overflow-hidden"),children:(0,a.jsx)("div",{className:s()("".concat(p()," ").concat(t?"bg-brand-soft-white":"bg-black")," h-full active-child transition-all duration-700 absolute rounded-3xl"),style:{left:i<=3&&u<parseInt(m.lg)?"".concat(100*n/i,"%"):i<=3&&"QuoteCarouselModule"!==l&&"CardListingVerticalModule"!==l?"".concat(100*n/2,"%"):"".concat(100*n/i,"%"),width:p()}})})})}},5158:function(e,t,l){"use strict";l.d(t,{Rk:function(){return eE},qx:function(){return tb},hL:function(){return eD},rb:function(){return tv},lM:function(){return tw},m7:function(){return G},NI:function(){return eN},Gq:function(){return ty},lb:function(){return e2},Ss:function(){return e4},rU:function(){return eB},pU:function(){return eV},DU:function(){return to},SF:function(){return e5},Hv:function(){return e9},hp:function(){return eP},JL:function(){return tL},_z:function(){return eI},tl:function(){return tF},jr:function(){return k},mX:function(){return tr},bl:function(){return e6},ox:function(){return tP},t3:function(){return e0},ZG:function(){return S.Z},A_:function(){return eC},mQ:function(){return td},H:function(){return L},qJ:function(){return eL},Y7:function(){return tu},Q7:function(){return tg}});var a,r,n,s,i,o,c,d,m,u,x,p,g=l(5893),h=l(7294),f=l(3967),b=l.n(f),v=l(9521),w=l(1583),j=l(2987),y=l.n(j),N=l(6546),k=e=>{let{children:t,className:l,move:a=100,zoom:r,...n}=e,[s,i]=(0,h.useState)(null),[o,c]=(0,h.useState)(null),[d,m]=(0,h.useState)(null),u=(0,h.useRef)(),x=(0,h.useRef)();(0,h.useEffect)(()=>{let e=null;return v.gsap.matchMedia().add("(min-width: ".concat(y().theme.screens.lg,")"),()=>{if(null!==a){var t,l;let n=null===(t=u.current)||void 0===t?void 0:t.closest("section.module");x.current&&(x.current.kill(),null===(l=e)||void 0===l||l.kill()),x.current=v.gsap.timeline(),r&&v.gsap.fromTo(u.current,{scale:1.2},{scrollTrigger:{trigger:u.current,start:"top+=30% bottom",toggleActions:"play none none none"},duration:2,scale:1,ease:"Circ.easeOut"}),x.current.to(u.current,{scrollTrigger:{trigger:n,start:"top bottom",scrub:!0},y:a,ease:"none"}),e=N.ScrollTrigger.create({trigger:n,start:(null==n?void 0:n.top)||0,end:(null==n?void 0:n.bottom)||"max",onUpdate:()=>{u.current&&(N.ScrollTrigger.isInViewport(u.current)?x.current.play():x.current.pause())}})}}),()=>{var t,l;null===(t=x.current)||void 0===t||t.kill(),null===(l=e)||void 0===l||l.kill()}},[a,r]),(0,w.bt)(()=>(p(),window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)),[]);let p=()=>{window.innerWidth>=parseInt(y().theme.screens.lg,10)?(i(u.current.offsetWidth/u.current.offsetHeight),c("-".concat(a-10*s,"px")),m("calc(100% + ".concat(a/1.8,"px)"))):(c(null),m(null))};return(0,g.jsx)("div",{className:b()("overflow-hidden w-full h-full",l),...n,children:(0,g.jsx)("div",{className:"w-full h-full relative will-change-transform",ref:u,children:(0,g.jsx)("div",{className:"w-full h-full lg:h-auto inner-img-wrapper left-0 right-0 top-0 relative",style:{marginTop:o,height:d},children:t})})})},C=l(990),_=l(9805),M=l(1649),T=l(4246),L=e=>{let{className:t,selector:a="p",...r}=e,n=(0,h.useRef)(null),s=(0,h.useRef)(null),i=(0,h.useRef)(null),o=(0,M.v9)(T.UV);return(0,h.useEffect)(()=>{let e;
1if(!o&&n.current)return C.ZP.registerPlugin(_.i),i.current=C.ZP.matchMedia(),i.current.add("(min-width: ".concat(y().theme.screens.lg,")"),()=>{n.current.classList.remove("lg:opacity-0"),e=C.ZP.context(()=>{let e=!0;return l.e(26).then(l.bind(l,7026)).then(t=>{let{SplitText:l}=t;if(!e)return;C.ZP.registerPlugin(l);let r=n.current.querySelectorAll(a);r.length&&(s.current=new l(r,{type:"lines"}),C.ZP.from(s.current.lines,{y:50,opacity:0,stagger:.05,duration:1.5,ease:"power3.out",scrollTrigger:{trigger:n.current,start:"top bottom",toggleActions:"play pause resume reverse"}}))}),()=>{e=!1}},n)}),()=>{var t,l,a;null===(t=s.current)||void 0===t||t.revert(),s.current=null,null===(l=e)||void 0===l||l.revert(),null===(a=i.current)||void 0===a||a.kill(),_.i.getAll().forEach(e=>e.kill())}},[a,o]),(0,h.useEffect)(()=>{let e=()=>{if(window.innerWidth<parseInt(y().theme.screens.lg,10)){var e;null===(e=s.current)||void 0===e||e.revert(),s.current=null}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,g.jsx)("div",{ref:n,className:b()(!o&&"lg:opacity-0",t),...r})},S=l(331),A=l(5697),E=l.n(A),z=l(94),O=l(7939),I=l(1163);let H=e=>{let{data:t,className:l,dark:a,numberOfColumns:r,loading:n,...s}=e,{t:i}=(0,z.$G)("common"),o=(0,I.useRouter)(),c=o.asPath.includes("caja-by-maxx-royal/caja-landing");return(0,g.jsxs)("div",{className:b()("main-wrapper generic-card flex flex-col w-full",l,c?"bg-[#98a4ae]":t.isDarkTheme?"bg-background-spotlight":"bg-background-card"),...s,children:[(0,g.jsx)("div",{className:"img-wrapper aspect-[332/250] lg:aspect-[600/420] w-full h-[200px] sm:h-[250px] md:h-[300px] lg:h-[420px]",children:t.image&&(0,g.jsx)(e0,{image:t.image,widths:{xs:498,md:498,lg:600},heights:{xs:375,md:375,lg:420},className:"h-full w-full object-cover","image-class":"h-full w-full object-cover"})}),(0,g.jsxs)("div",{className:b()("content-wrapper font-didot px-4 mt-6 mb-4 md:py-6 lg:px-5 flex flex-col justify-between grow",t.isDarkTheme?"text-brand-soft-white":"text-brand-black"),children:[(0,g.jsxs)("div",{className:"text-wrapper",children:[t.preHeading&&(0,g.jsx)(e6,{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase lg:tracking-button-reg",children:t.preHeading}),t.headingTitle&&(0,g.jsx)("div",{className:"mt-4 mb-3 font-didot text-xl italic font-normal leading-normal -tracking-card-xs md:text-2xl md:-tracking-card-s lg:text-title-m lg:-tracking-card-m",dangerouslySetInnerHTML:{__html:t.headingTitle},role:"heading","aria-level":"7"}),t.description&&(0,g.jsx)("div",{className:b()("font-montserrat text-sm not-italic font-normal leading-6",t.isDarkTheme?"opacity-90":"opacity-75"),dangerouslySetInnerHTML:{__html:t.description}})]}),t.primaryCta&&(0,g.jsx)("div",{className:"button-wrapper mt-8",children:(0,g.jsxs)(eB,{className:b()("btn w-full md:w-fit border-opacity-25 group",t.isDarkTheme&&!c?"primary-light border-brand-soft-white":"primary border-brand-black",c&&"caja-btn"),link:t.primaryCta,children:[(0,g.jsx)("span",{children:i("general.$viewMore")}),(0,g.jsx)(O.Z,{className:b()("!ml-6 !stroke-none",t.isDarkTheme?"!fill-brand-soft-white":"!fill-brand-black group-hover:!fill-brand-soft-white"),role:"presentation"})]})})]})]})};H.propTypes={data:E().object.isRequired};let P=e=>{var t;let{data:l}=e;return(0,g.jsxs)("div",{className:"relative resort-card text-brand-soft-white w-full h-[468px] md:h-[516px] lg:h-[612px]",children:[l.image&&(0,g.jsx)(e0,{image:l.image,widths:{xs:258,md:352,lg:424},heights:{xs:468,md:516,lg:612},className:"h-full w-full object-cover","image-class":"h-full w-full object-cover"}),(0,g.jsxs)("div",{className:"content-wrapper gradient-bottom-to-top absolute left-0 top-0 w-full h-full font-didot flex flex-col justify-between grow p-6",children:[(0,g.jsx)("div",{className:"category-wrapper w-fit bg-black/25 px-5 py-2 rounded-full font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:l.preHeading&&(0,g.jsx)(e6,{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:l.preHeading})}),(0,g.jsxs)("div",{className:"text-wrapper",children:[l.headingTitle&&(0,g.jsx)("div",{role:"heading","aria-level":"7",className:"font-didot text-2xl font-normal leading-normal -tracking-card-s mb-4 lg:text-title-l lg:-tracking-headline-m-mobile",dangerouslySetInnerHTML:{__html:l.headingTitle}}),l.description&&(0,g.jsx)("p",{className:"font-montserrat text-sm not-italic font-normal leading-6 mb
1-6 lg:mb-8",children:l.description}),l.primaryCta&&(0,g.jsxs)(eB,{className:"btn primary-light first-link md:self-start md:mr-3 border-brand-soft-white/25 w-full md:w-fit",link:l.primaryCta,children:[(0,g.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(t=l.headingTitle)||void 0===t?void 0:t.replace(/<(em)>/g,"").replace(/<\/(em)>/g,"")}}),(0,g.jsx)(O.Z,{className:"!ml-6",role:"presentation"})]})]})]})]})};P.propTypes={data:E().object.isRequired};var R=l(1408);l(4165);var q=l(3068);let F=e=>{var t;let{data:l,showButton:a,dark:r,className:n,...s}=e,{t:i}=(0,z.$G)("common"),{alignment:o}=l||"",[c,d]=(0,h.useState)(0),[m,u]=(0,h.useState)(0),x=(0,h.useRef)(),p=(0,I.useRouter)();return(0,g.jsxs)("div",{className:b()("product-card flex flex-col p-4 md:p-6 font-primary max-w-[1224px]",n,"Side"===o?"lg:py-10 lg:px-8 lg:gap-26":"lg:py-8 lg:px-6"),...s,children:[l.preHeading&&"Side"!==o&&(0,g.jsx)(e6,{className:b()("color-from-bg font-montserrat !text-opacity-50 mb-2 text-xs text-black/50 not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase hidden","Side"===o?"":"lg:block"),children:l.preHeading}),l.headingTitle&&"Side"!==o&&(0,g.jsx)("p",{role:"heading","aria-level":"7",className:b()("color-from-bg font-montserrat text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase mb-3 hidden","md:text-xl md:leading-6 md:mb-4 lg:mb-5 md:tracking-title-m","Side"===o?"":"lg:block"),children:l.headingTitle}),l.images&&(null===(t=l.images)||void 0===t?void 0:t.length)>0&&(0,g.jsxs)("div",{className:b()("img-wrapper w-full","Side"===o?"lg:w-[656px] lg:min-h-full":""),children:[(0,g.jsx)(R.Co,{ref:x,useResizeObserver:!0,horizontal:!0,circular:!0,circularFallback:"bound",onWillChange:e=>{d(e.index)},onReady:()=>{u(x.current.panelCount)},children:l.images.map((e,t)=>(0,g.jsx)("div",{className:b()("img-items mx-auto relative w-full aspect-[295/189] h-[189px] md:aspect-[640/334] md:h-full mb-5 md:mb-8 cursor-grab","Side"===o?"lg:h-[424px] lg:aspect-[656/424]":"lg:h-[447px] lg:aspect-[1176/447]"),children:(0,g.jsx)(e0,{image:e,widths:{xs:885,md:1280,lg:1440,xl:1900},heights:{xs:567,md:668,lg:894,xl:894},className:"h-full w-full object-cover",imgProps:{className:"h-full w-full object-cover pointer-events-none"}})},t))}),(0,g.jsx)(q.Z,{dark:r,current:c,total:m,className:"ml-auto  ".concat("Side"===o?"lg:mx-auto":"lg:ml-0"),moduleName:"CardListingVerticalModule"})]}),(0,g.jsxs)("div",{className:b()("content-wrapper font-primary mt-8 flex flex-col justify-between grow","Side"===o?"lg:mt-0":"lg:flex-row-reverse lg:mt-12"),children:[(0,g.jsxs)("div",{className:b()("text-wrapper","Side"===o?"lg:max-w-[400px]":"lg:w-[514px]"),children:[l.preHeading&&(0,g.jsx)(e6,{className:b()("color-from-bg font-montserrat mb-2 text-xs text-black/50 not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase lg:hidden"),children:l.preHeading}),l.headingTitle&&(0,g.jsx)("p",{className:b()("color-from-bg font-montserrat text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase mb-3\n                          md:text-xl md:leading-6 md:mb-4 md:tracking-title-m","Side"===o?"":"lg:hidden"),role:"heading","aria-level":"7",children:l.headingTitle}),l.description&&(0,g.jsx)("p",{className:"color-from-bg font-montserrat font-normal text-xs not-italic leading-5 text-black/75 md:text-sm md:leading-6",children:l.description}),(0,g.jsx)("div",{className:b()("details-desktop hidden lg:block","Side"===o?"lg:my-6":" lg:mt-8"),children:l.keyFeatures.map((e,t)=>(0,g.jsxs)("div",{className:"py-3 md:w-[48%] flex gap-8 items-center",children:[(0,g.jsx)("div",{className:"w-6 h-6",children:(0,g.jsx)(e0,{image:e.logo,imgProps:{className:r?"invert w-full h-full block object-cover":"w-full h-full block object-cover"}})}),(0,g.jsx)("span",{className:"color-from-bg font-montserrat font-normal text-sm not-italic leading-6 capitalize",children:e.text})]},t))})]}),(0,g.jsx)("div",{className:"details-wrapper my-6 md:my-10 lg:hidden",children:(0,g.jsx)("div",{className:"first-column md:grid md:gap-x-24 md:grid-cols-[auto_auto] md:w-fit",children:l.keyFeatures.map((e,t)=>(0,g.jsxs)("div",{className:"py-3 md:py-4 flex items-center gap-8 max-w-fit",children:[(0,g.jsx)("div",{className:"w-6 h-6",children:(0,g.jsx)(e0,{image:e.logo,imgProps:{className:r?"invert w-full h-full block object-cover":"w-full h-full block object-cover"}})}),(0,g.jsx)("span",{className:"font-montserrat font-normal text-sm not-italic leading-6 capitalize color-from-bg",children:e.text})]},t))})}),(0,g.jsx)("div",{className:"link-wrapper",children:(l.primaryCta||l.secondaryCta)&&(0,g.jsxs)("div",{className:b()("button-wrapper lg:mt-0 flex flex-col gap-3 md:flex-row","Side"===o?"lg:mb-[34px]":""),children:[!1!==a&&(0,g.jsx)("button",{className:b()("btn w-full md:w-fit",r?"primary color-from-bg":"primary-dark"),onClick:()=>{p.replace({query:{...p.query,book:!0}},void 0,{shallow:!0})},children:i("general.$bookNow")}),(0,g.jsx)(eB,{className:b()("btn secondary w-full md:w-fit",r?"color-from-bg":"!text-brand-black !border-brand-black/25"),link:l.secondaryCta,children:i("general.$explore")})]})})]})]})};F.propTypes={data:E().object.isRequired,showButton:E().bool};let D=e=>{let{data:t}=e;return(0,g.jsx)(eB,{link:t.primaryCta,className:"article-card text-brand-soft-white w-full h-[468px] md:h-[516px] lg:h-[612px]",children:(0,g.jsxs)("div",{className:"relative w-full h-full",children:[t.image&&(0,g.jsx)(e0,{image:t.image,widths:{xs:258,md:352,lg:424},heights:{xs:468,md:516,lg:612},className:"h-full w-full object-cover","image-class":"h-full w-full object-cover"}),(0,g.jsxs)("div",{className:"content-wrapper gradient-bottom-to-top absolute left-0 top-0 w-full h-full font-didot flex flex-col justify-between grow p-6",children:[(0,g.jsx)("div",{className:"category-wrapper w-fit bg-black/25 px-5 py-2 rounded-full font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:(0,g.jsx)("span",{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:t.preHeading})}),(0,g.jsxs)("div",{className:"text-wrapper",children:[t.headingTitle&&(0,g.jsx)("p",{className:"font-didot text-2xl italic font-normal leading-normal -tracking-card-s mb-4 lg:text-title-m lg:-tracking-card-m",role:"heading","aria-level":"7",children:t.headingTitle}),t.description&&(0,g.jsx)("div",{dangerouslySetInnerHTML:{__html:t.description},className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase"})]})]})]})})};D.propTypes={data:E().object.isRequired};let $=e=>{let{data:t,className:l,dark:a,numberOfColumns:r,loading:n,...s}=e,{t:i}=(0,z.$G)("common");return(0,g.jsxs)("div",{className:b()("main-wrapper experience-card flex flex-col",l,t.isDarkTheme?"bg-background-spotlight":"bg-white"),...s,children:[(0,g.jsx)("div",{className:"img-wrapper aspect-[332/250] lg:aspect-[600/420] w-full max-h-[250px] lg:max-h-full",children:t.image&&(0,g.jsx)(e0,{image:t.image,widths:{xs:498,md:498,lg:600}
1,heights:{xs:375,md:375,lg:420},className:"h-full w-full object-cover","image-class":"h-full w-full object-cover"})}),(0,g.jsxs)("div",{className:b()("content-wrapper font-didot mx-4 mt-6 mb-4 md:my-6 lg:mx-5 flex flex-col justify-between grow",t.isDarkTheme?"text-brand-soft-white":"text-brand-black"),children:[(0,g.jsxs)("div",{className:"text-wrapper",children:[t.preHeading&&(0,g.jsx)(e6,{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase lg:tracking-button-reg",children:t.preHeading}),t.headingTitle&&(0,g.jsx)("div",{className:"mt-4 mb-3 font-didot text-xl italic font-normal leading-normal -tracking-card-xs md:text-2xl md:-tracking-card-s lg:text-title-m lg:-tracking-card-m",dangerouslySetInnerHTML:{__html:t.headingTitle},role:"heading","aria-level":"7"}),t.description&&(0,g.jsx)("div",{className:b()("font-montserrat text-sm not-italic font-normal leading-6",t.isDarkTheme?"opacity-90":"opacity-75"),dangerouslySetInnerHTML:{__html:t.description}})]}),t.primaryCta&&(0,g.jsx)("div",{className:"button-wrapper mt-8",children:(0,g.jsxs)(eB,{className:b()("btn w-full md:w-fit border-opacity-25",t.isDarkTheme?"primary-light border-brand-soft-white":"primary border-brand-black"),link:t.primaryCta,children:[(0,g.jsx)("span",{children:i("general.$viewMore")}),(0,g.jsx)(O.Z,{className:b()("!ml-6 !stroke-none",t.isDarkTheme?"!fill-brand-soft-white":"!fill-brand-black"),role:"presentation"})]})})]})]})};$.propTypes={data:E().object.isRequired};let U=e=>{let{data:t,dark:l,className:a,numberOfColumns:r,loading:n,...s}=e;return(0,g.jsxs)("div",{className:b()("main-wrapper flex flex-col",l?"bg-background-spotlight":"bg-background-card",a),...s,children:[(0,g.jsx)("div",{className:"img-wrapper aspect-[332/250] w-full lg:aspect-[392/408]",children:t.image&&(0,g.jsx)(e0,{image:t.image,widths:{xs:498,md:498,lg:392},heights:{xs:375,md:375,lg:408},className:"h-full w-full object-cover","image-class":"h-full w-full object-cover"})}),(0,g.jsx)("div",{className:"content-wrapper font-didot mx-4 mt-6 mb-4 md:my-6 lg:mx-5 flex flex-col justify-between grow",children:(0,g.jsxs)("div",{className:"text-wrapper",children:[t.headingTitle&&(0,g.jsx)("p",{className:"mb-4 font-didot text-2xl italic font-normal leading-normal -tracking-card-s\n                          lg:text-title-m lg:-tracking-card-m ".concat(l?"text-brand-soft-white":"text-brand-black","\n            "),role:"heading","aria-level":"7",children:t.headingTitle}),t.subHeading&&(0,g.jsx)(e6,{className:"".concat(l?"text-brand-soft-white/75":"text-brand-black/75"," font-montserrat mb-2 text-sm not-italic font-semibold leading-6 mr-2 lg:mr-4"),children:t.subHeading}),t.description&&(0,g.jsx)("div",{className:"font-montserrat text-sm not-italic font-normal leading-6 mr-2 lg:mr-4 ".concat(l?"text-brand-soft-white/75":"text-brand-black/75"),dangerouslySetInnerHTML:{__html:t.description}})]})})]})};U.propTypes={data:E().object.isRequired};let Z=e=>{let{data:t,dark:l}=e,{t:a}=(0,z.$G)("common");return(0,g.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,g.jsx)("div",{className:"image-wrapper w-full h-[204px] md:h-[376px]",children:(0,g.jsx)(e0,{image:t.image,widths:{xs:300,md:400,lg:472,xl:472},heights:{xs:204,md:245,lg:376,xl:376}})}),(0,g.jsxs)("div",{className:"content-wrapper flex flex-col h-full justify-between",children:[(0,g.jsxs)("div",{className:"text-wrapper color-from-bg",children:[(0,g.jsx)("p",{role:"heading","aria-level":"7",className:"font-montserrat text-base md:text-xl leading-5 md:leading-6 font-semibold tracking-headline-m-tablet md:tracking-title-m uppercase mb-3 md:mb-4",children:t.headingTitle}),(0,g.jsx)("p",{className:"font-montserrat text-xs md:text-sm leading-5 md:leading-6 font-normal opacity-75",children:t.description})]}),(0,g.jsxs)("div",{children:[(0,g.jsx)("div",{className:"my-6 md:my-8 md:grid md:grid-cols-2",children:t.keyFeatures.map((e,t)=>(0,g.jsxs)("div",{className:"py-3 flex gap-3 items-center",children:[(0,g.jsx)("div",{className:"w-6 h-6",children:(0,g.jsx)(e0,{image:e.logo,imgProps:{className:l?"invert w-full h-full block object-cover":"w-full h-full block object-cover"}})}),(0,g.jsx)("span",{className:"color-from-bg text-sm leading-6 font-montserrat font-normal",children:e.text})]},"feature-".concat(t)))}),(0,g.jsx)(eB,{link:t.primaryCta,className:"btn primary color-from-bg w-full md:w-fit",children:a("general.$explore")})]})]})]})};Z.propTypes={data:E().object.isRequired};let B=e=>{let{data:t,large:l,showButton:a,className:r,...n}=e,s={...n},i=null;return"GenericCard"===t.moduleName?i=H:"ResortCard"===t.moduleName?i=P:"ProductCard"===t.moduleName?i=F:"ArticleCard"===t.moduleName?i=D:"ExperienceCard"===t.moduleName?i=$:"OverviewCard"===t.moduleName?i=U:"SmallProductCard"===t.moduleName&&(i=Z),i?(0,g.jsx)(i,{data:t.props,showButton:a,className:b()(r,"".concat(t.moduleName).concat(l?"Large":"Small")),...s}):t.moduleName+" card not implemented"};B.propTypes={data:E().object.isRequired,large:E().bool,showButton:E().bool};var G=B,V=e=>{var t;let{name:l,options:a,value:r,placeholder:n,onChange:s,onBlur:i,displayEmpty:o,className:c,setPreferedMethod:d,dropdownOptions:m,...u}=e,[x,p]=(0,h.useState)(!1),[f,v]=(0,h.useState)(),w=e=>{if(!e||void 0===e.value)return;let t={target:{name:l,value:e.value}};s&&(s(t),"royaltyCardLevel"===l&&d(e.value)),p(!1),i&&setTimeout(()=>{i(t)},0)};return(0,h.useEffect)(()=>
1{if(r&&a){let e=a.find(e=>e.value===r);v(null==e?void 0:e.label)}else v(null)},[r,a]),(0,g.jsx)(tr,{open:x,title:f||n,titleClass:!f&&n&&"placeholder",onOpen:()=>p(!0),className:b()(f&&"selected",c),...u,children:(0,g.jsxs)("ul",{className:"py-2 text-sm text-gray-700 dark:text-gray-200 w-full",children:[o&&(0,g.jsx)("li",{onClick:()=>w({}),children:(0,g.jsx)("div",{className:"option block px-4 py-2 cursor-pointe",children:"\xa0"})}),null===(t=m||a)||void 0===t?void 0:t.map(e=>{var t;return(0,g.jsx)("li",{onClick:()=>w(e),children:(0,g.jsx)("div",{className:"option block px-4 py-2 cursor-pointer",dangerouslySetInnerHTML:{__html:null===(t=e.label)||void 0===t?void 0:t.replace(/<(p)>/g,"").replace(/<\/(p)>/g,"")}})},e.value)})]})})},W=l(9198),Y=l.n(W),J=l(5826),Q=l(2864),K=l(1806),X=l(879),ee=l(2298),et=l(8966),el=l(5570),ea=l(6026),er=l.n(ea);function en(){return(en=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var es=function(e){return h.createElement("svg",en({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=h.createElement("path",{d:"m18 6-6 6 6 6M12 6l-6 6 6 6"})))};function ei(){return(ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var eo=function(e){return h.createElement("svg",ei({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=h.createElement("path",{d:"m9 6 6 6-6 6"})))};(0,W.registerLocale)("en-US",J.Z),(0,W.registerLocale)("tr",Q.Z),(0,W.registerLocale)("ru",K.Z),(0,W.registerLocale)("de",X.Z);var ec=e=>{let{name:t,value:l,onChange:a,className:r,placeholder:n,selectsRange:s,dateFormat:i="dd/MM/yyyy",popoverRef:o,yearMonthSelector:c,setFieldTouched:d,...m}=e,[u,x]=(0,h.useState)(!1),p=(0,I.useRouter)(),{t:f}=(0,z.$G)("common"),v=(e,t)=>{e.preventDefault(),t(e)},w=er()(0,12,1).map(e=>new Date(2e3,e,1).toLocaleString(p.locale,{month:"long"})),j=s?m.startDate||m.endDate?"".concat(m.startDate&&(0,ee.default)(m.startDate,i)||""," - ").concat(m.endDate&&(0,ee.default)(m.endDate,i)||""):null:l&&(0,ee.default)(l,i);return(0,g.jsx)(tr,{open:u,title:j||n,titleClass:!j&&n&&"placeholder",onOpen:()=>x(!0),className:b()(r,"datepicker",l&&"selected"),ref:o,children:(0,g.jsx)(Y(),{selected:l,onChange:e=>{s?e[0]&&e[1]&&x(!1):x(!1),a&&a({target:{name:t,value:e}}),setTimeout(()=>{d(t,!0,!0)},0)},locale:p.locale,startDate:new Date,placeholderText:n,dateFormat:i,name:t,showDisabledMonthNavigation:!0,renderCustomHeader:e=>{let{monthDate:t,date:l,changeYear:a,changeMonth:r,decreaseMonth:n,increaseMonth:s,decreaseYear:i,increaseYear:o,prevMonthButtonDisabled:d,nextMonthButtonDisabled:m,prevYearButtonDisabled:u,nextYearButtonDisabled:x}=e,h=er()((0,el.default)(t)<(0,el.default)(new Date)?(0,el.default)(new Date):(0,el.default)(t),1939,-1);return(0,g.jsxs)("div",{className:"flex justify-between",children:[(0,g.jsxs)("div",{className:"flex gap-4",children:[(0,g.jsx)("button",{onClick:e=>v(e,i),disabled:u,"aria-label":f("general.$previous"),children:(0,g.jsx)(es,{className:b()(u?"stroke-black/25":"stroke-black")})}),(0,g.jsx)("button",{onClick:e=>v(e,n),disabled:d,"aria-label":f("general.$previous"),children:(0,g.jsx)(eo,{className:b()(d?"stroke-black/25":"stroke-black","rotate-180")})})]}),c?(0,g.jsxs)("div",{className:"react-datepicker__year-month-select",children:[(0,g.jsx)("select",{value:(0,el.default)(l),onChange:e=>{let{target:{value:t}}=e;return a(t)},children:h.map(e=>(0,g.jsx)("option",{value:e,children:e},e))}),(0,g.jsx)("select",{value:w[(0,et.default)(l)],onChange:e=>{let{target:{value:t}}=e;return r(w.indexOf(t))},children:w.map(e=>(0,g.jsx)("option",{value:e,children:e},e))})]}):(0,g.jsx)("span",{className:"react-datepicker__current-month",children:t.toLocaleString(p.locale,{month:"long",year:"numeric"})}),(0,g.jsxs)("div",{className:"flex gap-4",children:[(0,g.jsx)("button",{onClick:e=>v(e,s),disabled:m,"aria-label":f("general.$next"),children:(0,g.jsx)(eo,{className:b()(m?"stroke-black/25":"stroke-black")})}),(0,g.jsx)("button",{onClick:e=>v(e,o),disabled:x,"aria-label":f("general.$next"),children:(0,g.jsx)(es,{className:b()(x?"stroke-black/25":"stroke-black","rotate-180")}
1)})]})]})},inline:!0,selectsRange:s,...m})})};function ed(){return(ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var em=function(e){return h.createElement("svg",ed({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),n||(n=h.createElement("path",{d:"M8.001 3.5v9m4.5-4.5h-9"})))};function eu(){return(eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var ex=function(e){return h.createElement("svg",eu({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),s||(s=h.createElement("path",{d:"M12.5 8.001h-9"})))},ep=e=>{let{name:t,value:l,onChange:a,className:r,minValue:n=0,maxValue:s=1/0,...i}=e,{t:o}=(0,z.$G)("common"),c=(0,h.useRef)(),d=e=>{let l=+c.current.value;a&&a({target:{name:t,value:l+ +e}})};return l||(l=n),(0,g.jsxs)("div",{className:b()("number-input items-center justify-between px-4 py-2",r),...i,children:[(0,g.jsx)("button",{className:"flex items-center justify-center",disabled:l<=n||i.disabled,"aria-label":o("general.$decrease"),onClick:e=>{e.preventDefault(),d(-1)},children:(0,g.jsx)(ex,{className:b()("fill-current w-5 h-5",l<=n&&"fill-grey3")})}),(0,g.jsx)("input",{type:"number",name:t,ref:c,min:n,value:l,autoComplete:"off",disabled:i.disabled,className:b()("mx-6",l>n&&"is-value"),onChange:e=>{e.preventDefault(),e.target.value=+e.target.value,a(e)}}),(0,g.jsx)("button",{className:"flex items-center justify-center",disabled:l>=s||i.disabled,"aria-label":o("general.$increase"),onClick:e=>{e.preventDefault(),d(1)},children:(0,g.jsx)(em,{className:b()("fill-current w-5 h-5",l>=s&&"fill-grey3")})})]})},eg=e=>{let{options:t,name:l,onChange:a,setPreferedMethod:r,...n}=e,s=(0,h.useRef)([]),i=e=>{a&&a({target:{name:l,value:e}})};return(0,h.useEffect)(()=>{s.current&&s.current.forEach(e=>{e.value===n.value&&"preferredMethodOfContact"===l&&r(e.value)})},[r,n.value,l]),(0,g.jsx)("div",{className:"radio-group-container",children:t.map((e,t)=>(0,g.jsxs)("label",{className:"radio-group w-full",onClick:()=>i(e.value),children:[(0,g.jsx)("input",{type:"radio",className:"input",id:e.value.toLowerCase(),name:l,value:e.value,defaultChecked:n.value===e.value,ref:e=>{e&&(s.current[t]=e)}}),(0,g.jsx)("span",{className:"radio-mark"}),(0,g.jsx)("span",{className:"w-[85%]",children:e.label})]},l+"-"+t))})},eh=e=>{let{id:t,label:l,name:a,onScrollToBottom:r,...n}=e,s=(0,h.useRef)(null),i=(0,h.useRef)(null);return(0,h.useEffect)(()=>{var e;let t=s.current,a=()=>{if(t){let{scrollTop:e,scrollHeight:l,clientHeight:a}=t;e+a>=l&&r(!0)}};return(null==i?void 0:i.current)&&(null==i?void 0:null===(e=i.current)||void 0===e?void 0:e.checked)&&l.length<1500&&r(!0),t&&t.addEventListener("scroll",a),()=>{t&&t.removeEventListener("scroll",a)}},[r,l.length]),(0,g.jsx)("div",{ref:s,className:"scrollable-checkbox-group-container ".concat(l.length>=1500?"max-h-[150px] overflow-auto":"h-auto"),children:(0,g.jsxs)("div",{className:"checkbox",children:[(0,g.jsx)("input",{id:t,type:"checkbox",className:"input",name:a,ref:i,...n}),(0,g.jsx)("span",{className:"checkmark"}),(0,g.jsx)("label",{htmlFor:t,className:"ml-10 color-from-bg text-xs not-italic font-normal leading-5 font-montserrat normal-case tracking-normal w-full",dangerouslySetInnerHTML:{__html:l||n.placeholder}})]})})},ef=e=>{let{options:t,name:l,...a}=e,r=e=>{let t=[...a.value];if(t.includes(e)){let l=t.indexOf(e);t.splice(l,1)}else t.push(e);a.onChange&&a.onChange({target:{name:l,value:t}})};return(0,g.jsx)(g.Fragment,{children:t.map((e,t)=>(0,g.jsxs)("label",{className:"multi-checkbox ".concat(l),children:[(0,g.jsx)("input",{type:"checkbox",className:"input ".concat(a.value.includes(e.value)?"checked":""),id:l+"-"+e.value,name:l,disabled:a.disabled,value:e.value,checked:a.value.includes(e.value),onChange:()=>r(e.value)}),e.label]},l+"-"+t))})},eb=e=>{let{settings:t={captionTag:"",caption:"",bodyText:""},formDefinitionName:l,name:a,...r}=e,{captionTag:n,caption:s,bodyText:i}=t,{t:o}=(0,z.$G)("common");return(0,g.jsxs)("section",{className:"title-and-description",...r,children:[n&&(0,g.jsx)(n,{className:"form-title",children:s}),(0,g.jsx)("p",{className:"text-[14px] not-italic font-medium leading-6 tracking-[-0.14px] font-montserrat text-white",children:i||o("forms.".concat(l,".$").concat(l).concat(a.charAt(0).toUpperCase()+a.slice(1)))})]})},ev=l(4853),ew=l(7555),ej=l.n(ew),ey=e=>
1{let{value:t,name:l,onChange:a,...r}=e,[n,s]=(0,h.useState)(null);return(0,h.useEffect)(()=>{(async function(){let e=await fetch("https://ip2c.org/s").catch(e=>{console.error(e)});if(e.ok){let t=await e.text(),l=t.split(";");l&&l[1]&&s(t.split(";")[1].toLowerCase())}})()},[]),(0,g.jsx)(ej(),{country:n,specialLabel:null,value:t,onChange:(e,t)=>{a&&(a({target:{name:l,value:e}}),a({target:{name:"phoneCountryCode",value:t.dialCode}}))},inputProps:{name:l,...r},preferredCountries:["us","gb","tr","ru"]})},eN=e=>{let t,{id:l,type:a,label:r,name:n,error:s,options:i,selectPrompt:o,required:c,settings:d,formDefinitionName:m,onChildScrollToBottom:u,dropdownOptions:x,setPreferedMethod:p,setFieldTouched:f,...v}=e,w=null;["text","Short answer"].includes(a)&&(null==d?void 0:d.fieldType)==="number"?w="number":["text","Short answer"].includes(a)&&(null==d?void 0:d.fieldType)==="date"?w="datepicker":["text","Short answer"].includes(a)&&(null==d?void 0:d.fieldType)==="tel"?w="phoneInput":["text","Short answer"].includes(a)?w="text":["checkbox","Data Consent"].includes(a)?w="checkbox":["scrollableCheckbox"].includes(a)?w="scrollableCheckbox":["select","Dropdown"].includes(a)?w="dropdown":["textarea","Long answer"].includes(a)?w="textarea":["datepicker","Date"].includes(a)?w="datepicker":["number"].includes(a)?w="number":["Hidden"].includes(a)?w="hidden":["Single choice"].includes(a)?w="radio":["Multiple choice"].includes(a)?w="multicheckbox":["Title and description"].includes(a)?w="titleAndDescription":["reCAPTCHA v3 with score","Recaptcha2"].includes(a)&&(w="recaptcha");let[j,y]=(0,h.useState)(v.value),N=(e,t)=>{e=e.replace(/\D/g,"").substring(0,8);let l=e.length,a=e.substring(0,2),r=e.substring(2,4),n=e.substring(4,8),s=new Date().getFullYear();l>2&&(e=e.slice(0,2)+"/"+e.slice(2)),l>4&&(e=e.slice(0,5)+"/"+e.slice(5)),"00"===a&&(e=e.replaceAll("00","01")),Number(a)>31&&(e=e.replaceAll(a,"31")),"00"===r&&(e=e.replaceAll("00","01")),Number(r)>12&&(e=e.replaceAll(r,"12")),10===e.length&&1900>Number(n)&&(e=e.replaceAll(n,"1900")),Number(n)>s&&(e=e.replaceAll(n,s.toString())),y(e),v.onChange&&v.onChange({target:{name:t,value:e}})},k=e=>{e&&u(e)},C=(0,M.v9)(T.UV),_=null;["text"].includes(w)?_="dateOfBirth"===n&&"text"===w?(0,g.jsx)("input",{id:l,type:w,className:"input",name:n,"aria-label":v.placeholder,"aria-required":c,...v,onChange:e=>N(e.target.value,n),value:j||v.value||""}):(0,g.jsx)("input",{id:l,type:w,className:"input",name:n,"aria-label":v.placeholder,"aria-required":c,...v}):"dropdown"===w?_=(0,g.jsx)(V,{id:n,className:"input dropdown",name:n,options:i,displayEmpty:!c,required:c,...v,placeholder:o||v.placeholder,setPreferedMethod:p,dropdownOptions:x}):"textarea"===w?_=(0,g.jsx)("textarea",{id:n,type:w,className:"input",name:n,rows:null==d?void 0:d.numberOfRows,...v}):"datepicker"===w?_=(0,g.jsx)(ec,{id:n,className:"input",name:n,placeholderText:v.placeholder,required:c,...v,maxDate:(null==d?void 0:d.maxDate)||v.maxDate,yearMonthSelector:null==d?void 0:d.yearMonthSelector,setFieldTouched:f}):"number"===w?_=(0,g.jsx)(ep,{id:n,className:"input",type:w,name:n,defaultValue:(null==d?void 0:d.defaultValue)!==""?null==d?void 0:d.defaultValue:0,...v}):"hidden"===w?_=(0,g.jsx)("input",{id:n,type:w,className:"input",name:n,...v}):"radio"===w?_=(0,g.jsx)(eg,{options:i,required:c,settings:d,name:n,setPreferedMethod:p,...v}):"scrollableCheckbox"===w?_=(0,g.jsx)(eh,{label:r,required:c,settings:d,name:n,onScrollToBottom:k,...v}):"multicheckbox"===w?_=(0,g.jsx)(ef,{options:i,required:c,settings:d,name:n,...v}):"titleAndDescription"===w?_=(0,g.jsx)(eb,{settings:d,name:n,formDefinitionName:m,...v}):"recaptcha"===w?_=C?null:(0,g.jsx)(ev.Z,{className:"recaptcha",sitekey:"6LdFqk0pAAAAAB1xiSX-cL1dxX9hH0umNIBn0vcM",...v,onChange:e=>v.onChange({target:{name:n,value:e}})}):"phoneInput"===w&&(_=(0,g.jsx)(ey,{id:n,className:"input",name:n,...v}));let L=r&&"hidden"!==w&&(0,g.jsx)("label",{htmlFor:"checkbox"===w?l:n,className:"label",dangerouslySetInnerHTML:{__html:r}});return w&&(t="checkbox"===w?(0,g.jsx)(eh,{label:r,required:c,settings:d,name:n,onScrollToBottom:k,...v}):"recaptcha"===w||"scrollableCheckbox"===w?_:(0,g.jsxs)(g.Fragment,{children:[L," ",_]})),(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("div",{className:b()("input-group","field-".concat(n),{error:s}),children:[t||(0,g.jsxs)("div",{children:["Input type ",(0,g.jsx)("b",{children:a})," not implemented"]}),s&&(0,g.jsx)("div",{className:"error-message",children:s})]})})},ek=l(2175),eC=(0,h.createContext)(),e_=l(3894);function eM(){return(eM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var eT=function(e){return h.createElement("svg",eM({xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},e),i||(i=h.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"currentColor",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:5,transform:"rotate(-169.201 50 50)"})))},eL=e=>{let{formDefinition:t,setHeadingData:l,onFinish:a,preferedMethod:r,setPreferedMethod:n,submitted:s,setSubmitted:i,...o}=e,[c,d]=(0,h.useState)(0),[m,u]=(0,h.useState)(!1),[x,p]=(0,h.useState)(!1),f=(0,h.useRef)(),{t:v}=(0,z.$G)("common"),w=(0,h.useContext)(eC),j=(0,I.useRouter)(),y=j.locale,k={tr:"En az 18 yaşında olmalısınız.","en-US":"You must be at least 18 years old.",de:"Sie m\xfcssen mindestens 18 Jahre alt sein.",ru:"Вам должно быть не менее 18 лет."},C={tr:"L\xfctfen Doğum Tarihi i\xe7in ge\xe7erli bir değer girin","en-US":"Please provide a valid value for Date Of Birth",de
1:"Bitte geben Sie einen g\xfcltigen Wert f\xfcr die Geburtsdatum ein",ru:"Введите допустимое значение даты рождения."},_={tr:"\xdcyelik tipini ve numarasını bilmiyorum","en-US":"I don’t know my Member Number and Type",de:"Ich kenne nicht meinen Mitgliedschaftstyp und meine Nummer",ru:"Я не знаю cвой номер и тип членства"},M={tr:"/caja-by-maxx-royal/iletisim","en-US":"/caja-by-maxx-royal/contact",de:"/caja-by-maxx-royal/kontakt",ru:"/caja-by-maxx-royal/kontakty"},T={tr:"/iletisim","en-US":"/contact",de:"/kontakt",ru:"/kontakty"};if(!t||!t.pages)return null;let L={};null==t||t.pages.forEach(e=>e.fieldsets.forEach(e=>e.columns.forEach(e=>e.fields.forEach(e=>{"Multiple choice"===e.type.name?L[e.alias]=[e.settings.defaultValue]:L[e.alias]=e.settings.defaultValue}))));let S=()=>{let e=[];return(null==t?void 0:t.pages[c])&&(null==t||t.pages[c].fieldsets.forEach(t=>t.columns.forEach(t=>t.fields.forEach(t=>e.push(t))))),e},A=t.name.replace(/[\W_]+/g,"").toLowerCase(),E=e=>e?e.charAt(0).toUpperCase()+e.slice(1):null,O=(e,t)=>{if(0===Object.keys(e).length)d(c+1);else{let e=S(),l={};e.forEach(e=>{l[e.alias]=!0}),t(l)}},H=()=>{d(c-1)},P=e=>{let t={};for(let[l,a]of Object.entries(e)){let e=a;"domainAddress"===l?e=window.location.href:"language"===l&&""===a?e="en-US"===j.locale?"en":j.locale:"boolean"==typeof a?e="".concat(a):a&&"function"==typeof a.getMonth&&(e=(0,ee.default)((0,e_.default)(a),"yyyy-MM-dd'T'HH:mm:ss'Z'")),t[l]=e||""}return t},R=async(e,r)=>{let{setSubmitting:n}=r;n(!1),u(!0);let s=crypto.getRandomValues(new Uint32Array(1))[0]%9e3+1e3,o=P(e);o.leadID=String(s);let c=await fetch("/api/umbraco/forms/api/v1/entries/".concat(t.id),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({values:o})});if(c.ok)u(!1),i(!0),"tr"===y&&"afeda06e-a058-48c9-b066-18662b9c9b11"===t.id?l({preHeading:"Başarılı!",heading:"Formunuz başarıyla g\xf6nderildi",text:"Teşekk\xfcr ederiz! Sizi en kısa s\xfcrede bilgilendireceğiz.",cta:{link:"/",text:"Anasayfaya D\xf6n"}}):"tr"===y&&"e50fff9b-c310-417d-8356-82ae3d6028a8"===t.id?l({preHeading:"Başarılı!",heading:"Formunuz başarıyla g\xf6nderildi",text:"Teşekk\xfcr ederiz! WhatsApp’a y\xf6nlendiriliyorsunuz...",cta:{link:"/",text:"Anasayfaya D\xf6n"}}):l({preHeading:v("general.$success"),heading:v("forms.".concat(A,".$").concat(A,"SuccessHeading")),text:v("forms.".concat(A,".$").concat(A,"SuccessMessage")),cta:{link:"/",text:v("general.$returnToHomepage")}});else{i(!0),u(!1);let e=await c.text();console.log("Post Error. HTTP Response Code: ".concat(null==c?void 0:c.status," ErrorMessage: ").concat(e)),l({preHeading:v("general.$error"),errorHeading:v("forms.".concat(A,".$").concat(A,"ErrorHeading"))})}a&&a(),"afeda06e-a058-48c9-b066-18662b9c9b11"===t.id?(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"caja_lead_success",emailAddress:e.emailAddress,firstName:e.firstName,lastName:e.lastName,notes:e.notes,phone:"+".concat(e.phone)||0,phoneCountryCode:"+".concat(e.phoneCountryCode)||0,language:j.locale,lead_type:"pop_up",lead_id:s})):"2683aee4-7cf1-465e-bb14-2184ce3e2e96"===t.id&&j.asPath.includes("caja-by-maxx-royal/caja-landing")?(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"caja_lead_success",emailAddress:e.emailAddress||"",firstName:e.firstName,surname:e.surname,preferredMethodOfContact:e.preferredMethodOfContact,preferredTimeOfCall:e.preferredTimeOfCall,resortOfInterest:e.resortOfInterest,phone:"+".concat(e.phone)||0,phoneCountryCode:"+".concat(e.phoneCountryCode)||0,language:j.locale,lead_type:"pop_up_footer",lead_id:s})):"2683aee4-7cf1-465e-bb14-2184ce3e2e96"===t.id&&j.asPath.includes(M[j.locale])&&!j.asPath.includes(T[j.locale])?(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"caja_lead_success",emailAddress:e.emailAddress||"",firstName:e.firstName,surname:e.surname,preferredMethodOfContact:e.preferredMethodOfContact,preferredTimeOfCall:e.preferredTimeOfCall,resortOfInterest:e.resortOfInterest,phone:"+".concat(e.phone)||0,phoneCountryCode:"+".concat(e.phoneCountryCode)||0,language:j.locale,lead_type:"main_footer",lead_id:s})):"8b96f780-2caa-4a32-a793-7c71e47726d1"===t.id&&j.asPath.includes(T[j.locale])&&!j.asPath.includes(M[j.locale])&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"maxx_lead_success",emailAddress:e.ph
1one?"":e.emailAddress||"",firstName:e.firstName,surname:e.surname,enquiryType:e.enquiryType,preferredMethodOfContact:e.preferredMethodOfContact,preferredTimeOfCall:e.emailAddress?"":e.preferredTimeOfCall||"",resortOfInterest:e.resortOfInterest,phone:e.emailAddress?"":"+".concat(e.phone)||0,phoneCountryCode:e.emailAddress?"":"+".concat(e.phoneCountryCode)||0,language:j.locale,lead_type:"pop_up",lead_id:s})),"e50fff9b-c310-417d-8356-82ae3d6028a8"===t.id&&setTimeout(()=>{window.open("https://wa.me/905382115811","_blank","noopener,noreferrer")},1500)},q=e=>{e&&p(!0)};return(0,g.jsx)("div",{...o,children:s?(0,g.jsx)("div",{}):(0,g.jsx)(ek.J9,{initialValues:L,validate:e=>{let l={};if(null==t?void 0:t.pages[c]){let t=S();t.forEach(t=>{var a,n,s,i,o,c,d;let m=t.condition&&(null===(n=t.condition)||void 0===n?void 0:null===(a=n.rules[0])||void 0===a?void 0:a.value)===r;if(!m){if(!t.required||"dateOfBirth"===t.alias||(["checkbox","Data Consent","scrollableCheckbox"].includes(t.type.name)?e[t.alias]||(l[t.alias]=v("forms.$mandatoryMessage",{fieldName:v("forms.".concat(A,".$").concat(A).concat(E(null==t?void 0:t.alias)))})):e[t.alias]&&(null===(i=e[t.alias])||void 0===i?void 0:i.trim())||(l[t.alias]=v("forms.$mandatoryMessage",{fieldName:v("forms.".concat(A,".$").concat(A).concat(E(null==t?void 0:t.alias)))}))),t.pattern&&!l[t.alias]){let a=t.condition&&(null===(c=t.condition)||void 0===c?void 0:null===(o=c.rules[0])||void 0===o?void 0:o.value)===r;if(a)return;let n=new RegExp(t.pattern);n.test(null===(d=e[t.alias])||void 0===d?void 0:d.trim())||(l[t.alias]=v("forms.".concat(A,".$").concat(A).concat(E(null==t?void 0:t.alias),"PatternError")))}if("reEnterEmailAddress"!==t.alias||l[t.alias]||(null===(s=e.reEnterEmailAddress)||void 0===s?void 0:s.toLowerCase())===(null==e?void 0:e.emailAddress.toLowerCase())||(l[t.alias]=v("forms.".concat(A,".$").concat(A).concat(E(E(null==t?void 0:t.alias)),"MatchError"))),(null==t?void 0:t.alias)==="dateOfBirth"&&e.dateOfBirth){let[a,r,n]="Date"===t.type.name?e.dateOfBirth.toLocaleDateString("tr-TR").replace(/\./g,"/").split("/").map(Number):e.dateOfBirth.split("/").map(Number),s=new Date(n,r-1,a),i=new Date,o=i.getFullYear()-s.getFullYear(),c=i.getMonth()-s.getMonth();(c<0||0===c&&i.getDate()<s.getDate())&&o--,(e[t.alias].length<10||10===e[t.alias].length&&!/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/.test(e[t.alias]))&&(l[t.alias]=C[y]),18>Math.abs(o)&&(l[t.alias]=k[y])}}})}return setTimeout(()=>{let e=f.current.querySelector(".input-group.error");e&&!N.ScrollTrigger.isInViewport(e)&&w.scrollTo(e,!0,"top 100px")},0),l},onSubmit:R,children:e=>{let{handleSubmit:l,isSubmitting:a,validateForm:s,setTouched:i,setFieldTouched:o}=e;return(0,g.jsxs)("form",{ref:f,onSubmit:l,className:"form",children:[(0,g.jsx)("div",{className:"flex",children:t.pages&&t.pages.map((e,t)=>{var l;return(0,g.jsx)("div",{className:b()("page-container w-full flex-col gap-4 lg:gap-6",c===t?"flex":"hidden"),children:null===(l=e.fieldsets)||void 0===l?void 0:l.map(e=>{var t,l;let s=null===(t=e.columns)||void 0===t?void 0:t.some(e=>{var t;return null===(t=e.fields)||void 0===t?void 0:t.some(e=>{var t,l,a;return"royaltyCardNumber"===e.alias?r===_[y]:(null==e?void 0:null===(a=e.condition)||void 0===a?void 0:null===(l=a.rules)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.value)===r})});return s?null:(0,g.jsx)("fieldset",{className:b()("fieldset flex flex-col sm:flex-row gap-4 lg:gap-6",e.caption?"".concat(e.caption,"-fieldset"):null),children:null===(l=e.columns)||void 0===l?void 0:l.map((e,t)=>{var l;return(0,g.jsx)("div",{className:"flex w-full flex-col fieldset-column",children:null===(l=e.fields)||void 0===l?void 0:l.map(e=>(0,g.jsx)(ek.gN,{name:null==e?void 0:e.alias,children:t=>{var l,r,s,i,c,d,m,u,x;let{field:p,meta:h}=t;return(0,g.jsx)(eN,{id:e.id,type:null==e?void 0:null===(l=e.type)||void 0===l?void 0:l.name,label:(null==e?void 0:null===(r=e.settings)||void 0===r?void 0:r.showLabel)==="True"&&((null==e?void 0:e.caption)?v("forms.".concat(A,".$").concat(A).concat(E(null==e?void 0:e.alias),"Label")):null),error:h.touched&&h.error,maxLength:null==e?void 0:null===(s=e.settings)||void 0===s?void 0:s.maximumLength,placeholder:(null==e?void 0:null===(i=e.settings)||void 0===i?void 0:i.placeholder)?v("forms.".concat(A,".$").concat(A).
1concat(E(null==e?void 0:e.alias),"Placeholder")):null,condition:null==e?void 0:null===(m=e.condition)||void 0===m?void 0:null===(d=m.rules)||void 0===d?void 0:null===(c=d[0])||void 0===c?void 0:c.value,settings:null==e?void 0:e.settings,options:null==e?void 0:null===(u=e.preValues)||void 0===u?void 0:u.map(t=>{var l;let{caption:a,value:r}=t;return{label:["Single choice","Dropdown"].includes(null==e?void 0:null===(l=e.type)||void 0===l?void 0:l.name)?v("forms.".concat(A,".").concat(A).concat(E(null==e?void 0:e.alias),".$").concat(A).concat(r.split(" ").join("")),{defaultValue:a}):a,value:r}}),required:null==e?void 0:e.required,disabled:a,selectPrompt:(null==e?void 0:null===(x=e.settings)||void 0===x?void 0:x.selectPrompt)?v("forms.".concat(A,".$").concat(A).concat(E(null==e?void 0:e.alias),"Placeholder")):null,setPreferedMethod:n,setFieldTouched:o,formDefinitionName:A,...p,onChildScrollToBottom:q})}},e.id))},t)})},e.id)})},t)})}),(0,g.jsxs)("div",{className:"btn-container flex justify-center mt-4",children:[0!==c&&(0,g.jsx)("button",{className:"btn secondary first:mr-4 only:mr-0",onClick:H,children:t.previousLabel}),c===t.pages.length-1?(0,g.jsx)("button",{type:"submit",className:"btn secondary disabled:cursor-not-allowed !px-12 ".concat(!x||m?"!bg-grey4":""),disabled:m||!x,children:m?(0,g.jsx)(eT,{className:"w-6 h-6 animate-spin"}):v("forms.".concat(A,".$").concat(A,"SubmitButton"))}):(0,g.jsx)("button",{type:"button",className:"btn secondary disabled:cursor-not-allowed !px-12  ".concat(!x||m?"!bg-grey4":""),onClick:()=>s().then(e=>O(e,i)),disabled:!x,children:t.nextLabel})]})]})}})})},eS=l(7484),eA=l.n(eS),eE=e=>{var t,l;let{availabilityData:a,searchClass:r,placement:n,searchBtnText:s}=e,[i,o]=(0,h.useState)(),[c,d]=(0,h.useState)(null),[m,u]=(0,h.useState)(null),[x,p]=(0,h.useState)(2),[f,v]=(0,h.useState)(0),[w]=(0,h.useState)(0),j=(0,I.useRouter)(),{t:y}=(0,z.$G)("common"),N=(0,h.useRef)(),k=(0,h.useRef)();(0,h.useEffect)(()=>{o(null==a?void 0:a.selectedResortBookingCode)},[null==a?void 0:a.selectedResortBookingCode]);let C=e=>{let[t,l]=e;d(t),u(l),t&&l&&k.current.open()},_=!!i&&!!c&&!!m,M={};if(null==a?void 0:a.bookingSystemUrl)try{M=new URL(a.bookingSystemUrl+i);let e=1;"ru"===j.locale?e=9:"tr"===j.locale?e=19:"de"===j.locale&&(e=7),M.searchParams.set("languageid",e),c&&M.searchParams.set("DateIn",null===(t=eA()(c))||void 0===t?void 0:t.format("MM%2FDD%2FYYYY")),m&&M.searchParams.set("DateOut",null===(l=eA()(m))||void 0===l?void 0:l.format("MM%2FDD%2FYYYY")),x&&M.searchParams.set("Adults",x),f&&M.searchParams.set("Children",f),w&&M.searchParams.set("Children2",w)}catch(e){console.error("Invalid URL: "+a.bookingSystemUrl)}return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"form-items-container flex flex-col lg:flex-row gap-2 [&_.main-button]:!h-12",children:[(0,g.jsx)("div",{className:"w-full form-item resort",children:(0,g.jsx)(eN,{type:"select",className:b()("dropdown [&_.main-button]:pt-[11px] [&_.main-button]:pb-[11px] [&_em]:not-italic",i&&"selected"),value:i,onChange:e=>{o(e.target.value),N.current.open()},displayEmpty:!1,placeholder:y("booking.$selectResort"),options:null==a?void 0:a.resorts.filter(e=>"<p>Maxx Royal Maldives</p>"!==e.resortName).map(e=>({value:e.bookingCode,label:e.resortName})),placement:n})}),(0,g.jsx)("div",{className:"spacer"}),(0,g.jsx)("div",{className:"w-full form-item dates",children:(0,g.jsx)(eN,{popoverRef:N,type:"datepicker",selectsRange:!0,startDate:c,endDate:m,onChange:e=>C(e.target.value),placeholder:y("booking.$selectDates"),minDate:new Date(null==a?void 0:a.nextBookableDate),className:b()(c&&m&&"selected"),placement:n})}),(0,g.jsx)("div",{className:"spacer"}),(0,g.jsx)("div",{className:"w-full form-item guests input-group mt-0",children:(0,g.jsx)(tr,{title:y("booking.$xAdultsXChildren",{adults:x,children:f}),className:b()("dropdown [&_.popover-title]:text-brand-soft-white/75 [&_.popover-title]:!text-sm [&_.popover-title]:!leading-6",(2!==x||0!==f||0!==w)&&"selected"),placement:n,ref:k,children:(0,g.jsxs)("div",{className:"p-3 w-full",children:[(0,g.jsxs)("div",{className:"flex items-center justify-between [&_.input-group]:!mt-0",children:[(0,g.jsx)("div",{className:"font-montserrat text-sm not-italic font-normal leading-6 py-2.5",children:y("booking.$adults")}),(0,g.jsx)(eN,{type:"number",value:x,onChange:e=>p(e.target.value),minValue:1,maxValue:null==a?void 0:a.maxAdults,className:"input !p-0 !w-24 [&_input]:mx-3"})]}),(0,g.jsxs)("div",{className:"flex items-center justify-between [&_.input-group]:!mt-0",children:[(0,g.jsxs)("div",{className:"py-2.5",children:[(0,g.jsx)("div",{className:"font-montserrat text-sm not-italic font-normal leading-6",children:y("booking.$children")}),(0,g.jsx)("div",{className:"font-montserrat text-xs not-italic font-normal leading-5 text-black/25",children:y("booking.$ages511")})]}),(0,g.jsx)(eN,{type:"number",value:f,onChange:e=>v(e.target.value),minValue:0,maxValue:null==a?void 0:a.maxChildren,className:"input !p-0 !w-24 [&_input]:mx-3"})]})]})})})]}),(0,g.jsx)("div",{className:"search-container",children:(0,g.jsx)("a",{href:M.href,className:b()("btn h-12 px-12",r,!_&&"!opacity-25 pointer-events-none"),"aria-label":y("general.$opensanewwindow",{ariaLabel:y("general.$search")}),target:"_blank",children:s||y("general.$search")})})]})},ez=l(9582),eO=l(2757);v.gsap.registerPlugin(N.ScrollTrigger,ez.ScrollSmoother,eO.SplitText);var eI=e=>{let{className:t,...l}=e,a=(0,h.useRef)(),r=(0,h.useRef)(),[n,s]=(0,h.useState)(),i=(0,I.useRouter)(),o=(0,h.useRef)(),c=(0,M.v9)(T.UV);(0,h.useEffect)(()=>{let e=e=>{ez.ScrollSmoother.get().scrollTo(e,!0,"top top"),N.ScrollTrigger.refresh()},t=l=>{if(!l)return;if(!n){setTimeout(()=>{t(l)},100);return}let a=l.replace("#","#id-"),r=document.querySelector(a);r&&(console.log(r),setTimeout(()=>{e(a)},300))};setTimeout(()=>{/#[A-Za-z][-A-Za-z0-9_:.]*/.test(i.asPath)&&t(i.asPath.match(/#[A-Za-z][-A-Za-z0-9_:.]*/)[0])},300)},[i.asPath,n]);let d=(0,h.useRef)(i.pathname);(0,w.bt)(()=>{d.current===i.pathname||(d.current=i.pathname,/#[A-Za-z][-A-Za-z0-9_:.]*/.test(i.asPath)||(n?n.scrollTop(0):window.scrollTo(0,0)))},[i.asPath,i.pathname,n]),(0,w.bt)(()=>{let e=ez.ScrollSmoother.create({wrapper:a.current,content:r.current,smooth:1.2,effects:!1,preventDefault:!0});return s(e),u(),m(e),()=>{e.kill()}},[]);let m=e=>{document.getElementsByClassName("disable-scroll").length>0?(document.body.classList.add("overflow-hidden"),document.body.classList.add("lg:overflow-auto"),e.paused()||e.paused(!0)):(document.body.classList.remove("overflow-hidden"),document.body.classList.remove("lg:overflow-auto"),e.paused()&&e.paused(!1)),setTimeout(()=>{m(e)},200)},u=()=>{clearTimeout(o.current),o.current=setTimeout(()=>{x()},2e3)},x=()=>
1{if(!c){let e=document.querySelectorAll(".lazy-image:not(.lazy-loaded)");if(e&&e.length>0){let t=null;for(let l=0;l<5;l++)if((0,w.TV)(e[l]),e[l]&&4===l){let a=e[l].children&&e[l].children.length>0?[...e[l].children,e[l]]:[e[l]];t=a.find(e=>"img"===e.tagName.toLowerCase())}t?t.complete?x():t.addEventListener("load",()=>{x()}):x()}else u()}};return(0,g.jsx)(eC.Provider,{value:n,children:(0,g.jsx)("div",{ref:a,children:(0,g.jsx)("div",{className:b()("page-container will-change-transform",t),...l,ref:r})})})};let eH=e=>{let{data:t,className:l,hTag:a,...r}=e,n=["module",l],s=(0,w.iy)(null==t?void 0:t.backgroundColour);return(null==t?void 0:t.paddingTop)&&("medium"===t.paddingTop.toLowerCase()?n.push("pt-10 md:pt-12 lg:pt-16"):"large"===t.paddingTop.toLowerCase()?n.push("pt-16 md:pt-20 lg:pt-26"):"none"!==t.paddingTop.toLowerCase()&&n.push("pt-6 md:pt-8 lg:pt-10")),(null==t?void 0:t.paddingBottom)&&("medium"===t.paddingBottom.toLowerCase()?n.push("pb-10 md:pb-12 lg:pb-16"):"large"===t.paddingBottom.toLowerCase()?n.push("pb-16 md:pb-20 lg:pb-26"):"none"!==t.paddingBottom.toLowerCase()&&n.push("pb-6 md:pb-8 lg:pb-10")),(0,w.DP)(s)?n.push("[&_.color-from-bg]:text-white [&_.color-from-bg>svg]:!stroke-transparent [&_.color-from-bg>svg]:!fill-brand-soft-white [&_.color-from-bg.btn:hover>svg]:!fill-brand-soft-white  [&_.color-from-bg]:!border-brand-soft-white [&_.color-from-bg]:!border-opacity-25 [&_.color-from-bg.btn:hover]:!border-transparent [&_.color-from-bg.btn.link::after]:!bg-current [&_.color-from-bg.btn.secondary:hover>svg]:!fill-black"):n.push("[&_.color-from-bg]:text-black [&_.color-from-bg>svg]:!stroke-transparent [&_.color-from-bg>svg]:!fill-black [&_.color-from-bg.btn:hover>svg]:!fill-brand-soft-white  [&_.color-from-bg]:!border-brand-black [&_.color-from-bg]:!border-opacity-25 [&_.color-from-bg.btn:hover]:!border-transparent [&_.color-from-bg.btn.link::after]:!bg-current [&_.color-from-bg.btn.secondary:hover>svg]:!fill-black"),n.push((null==t?void 0:t.moduleName)||null),h.createElement((null==a?void 0:a.toLowerCase())||"section",{id:t.anchor?"id-".concat(null==t?void 0:t.anchor):null,style:{backgroundColor:s},className:b()(n),...r})};eH.propTypes={data:E().object.isRequired};var eP=eH;let eR=l(5725),eq={};eR.keys().forEach(e=>{if("./index.js"===e)return;let t=e.replace(/^.+\/([^/]+)\.jsx$/,"$1");eq[t]=eR(e).default||eR(e)});let eF=e=>{let{module:t,...l}=e;return(null==t?void 0:t.moduleName)&&void 0!==eq[t.moduleName]?h.createElement(eq[t.moduleName],{data:{moduleName:t.moduleName,moduleId:t.moduleId,...t.props},...l}):(0,g.jsxs)("div",{...l,className:"bg-white text-black ".concat(l.className),children:["The Module ",(0,g.jsx)("b",{children:null==t?void 0:t.moduleName})," has not been created yet."]})};eF.propTypes={module:E().object.isRequired};var eD=eF,e$=l(1664),eU=l.n(e$);let eZ=e=>{let{link:t,children:l,ariaLabel:a,...r}=e,n=(0,M.v9)(T.Mv),s=(0,w.TZ)(t,n),{t:i}=(0,z.$G)("common");return t?(0,g.jsx)(eU(),{href:(null==s?void 0:s.href)||"",target:null==s?void 0:s.target,"aria-label":(null==s?void 0:s.target)==="_blank"?i("general.$opensanewwindow",{ariaLabel:a})||(null==t?void 0:t.text):null,...r,children:l||(null==t?void 0:t.text)}):null};eZ.propTypes={link:E().object};var eB=eZ;let eG=(0,h.forwardRef)(function(e,t){let{media:l,widths:a,heights:r,preload:n,cdnProps:s,dataNotLazy:i,imgProps:o,cover:c,controls:d,muted:m,className:u,onAutoPlayStarted:x,onPayerReady:p,...f}=e,v=(0,M.v9)(T.UV),w=(0,h.useRef)(),j=(0,h.useRef)();return((0,h.useImperativeHandle)(t,()=>({openFullscreen(){var e,t;l.vimeoId?null==w||null===(e=w.current)||void 0===e||e.openFullscreen():l.videoFromGallery&&(null==j||null===(t=j.current)||void 0===t||t.openFullscreen())},play(){var e,t;l.vimeoId?null==w||null===(e=w.current)||void 0===e||e.play():l.videoFromGallery&&(null==j||null===(t=j.current)||void 0===t||t.play())},pause(){var e,t;l.vimeoId?null==w||null===(e=w.current)||void 0===e||e.pause():l.videoFromGallery&&(null==j||null===(t=j.current)||void 0===t||t.pause())},getDuration(){if(l.vimeoId){var e;return null==w?void 0:null===(e=w.current)||void 0===e?void 0:e.getDuration()}},getCurrentTime(){if(l.vimeoId){var e;return null==w?void 0:null===(e=w.current)||void 0===e?void 0:e.getCurrentTime()}}}),[l]),l)?(0,g.jsxs)("div",{className:b()("w-full h-full relative overflow-hidden",u),...f,children:[l.coverImage&&(0,g.jsx)(e0,{image:l.coverImage,widths:a,heights:r,preload:n,cdnProps:s,dataNotLazy:i,imgProps:o,className:"object-cover",hasPriority:!0}),!v&&(l.videoFromGallery||l.vimeoId||l.youtubeId||l.mobileVimeoId)&&(l.vimeoId||l.mobileVimeoId?(0,g.jsx)(tg,{ref:w,media:l,cover:c,controls:d,onAutoPlayStarted:x,muted:m,onPayerReady:p}):l.videoFromGallery?(0,g.jsx)(tu,{ref:j,media:l,cover:c,controls:d,onAutoPlayStarted:x,muted:m}):null)]}):null});
1eG.propTypes={media:E().object.isRequired,widths:E().object,heights:E().object,preload:E().bool,cdnProps:E().object,dataNotLazy:E().bool,imgProps:E().object,cover:E().bool,controls:E().bool};var eV=eG,eW=l(9008),eY=l.n(eW);function eJ(){let e=[{key:"xs",value:y().theme.screens.sm}];return e.push(...Object.entries(y().theme.screens).map(e=>{let[t,l]=e;return{key:t,value:l}})),e}function eQ(e,t){if(e){if(e[t])return e[t]>0?e[t]:null;let l=eJ().map(e=>e.key),a=l.indexOf(t);for(;a>-1;)if(e[l[--a]])return e[l[a]]}return null}let eK=[1,2,3],eX=e=>{let{image:t,widths:l,heights:a,preload:r,cdnProps:n,dataNotLazy:s,imgProps:i,className:o,hasPriority:c,...d}=e,m=(0,h.useRef)(),u=(0,M.v9)(T.UV);if((0,h.useEffect)(()=>{let e=m.current,t=new IntersectionObserver(l=>{let[a]=l;a.isIntersecting&&((0,w.TV)(a.target),t.unobserve(e))});return!u&&e&&t.observe(e),()=>{e&&t.unobserve(e)}},[u]),!t)return;let x=eJ(),p=(e,t)=>{let l=eK.map(l=>f(e,t,l));return l},f=(e,r,s)=>{let i=(0,w.HH)(t.imageUrl),o=new URL(t.imageUrl,i?void 0:"http://fake-base.com"),c=eQ(l,e),d=eQ(a,e);return(c&&o.searchParams.set("width",c*(s-1||1)),d&&o.searchParams.set("height",d*(s-1||1)),r&&o.searchParams.set("format",r),n&&Object.entries(n).forEach(e=>{let[t,l]=e;o.searchParams.set(t,l)}),i)?o.href:o.pathname+o.search+(s?" ".concat(s,"x"):"")},v=[],j=[];return x.forEach((e,l)=>{let a;a=0===l?"(max-width: ".concat(parseInt(e.value,10)-1,"px)"):l===x.length-1?"(min-width: ".concat(e.value,")"):"(min-width: ".concat(e.value,") and (max-width: ").concat(parseInt(x[l+1].value,10)-1,"px)");let n=eK.map(e=>
1"".concat(e,"x")).join(", "),i=p(e.key,"webp"),o=p(e.key);t.isSvg||v.push((0,g.jsx)("source",{sizes:n,...r||s?{srcSet:i.join(", ")}:{"data-srcset":i.join(", ")},media:a,type:"image/webp"},l)),v.push((0,g.jsx)("source",{sizes:n,...r||s?{srcSet:o.join(", ")}:{"data-srcset":o.join(", ")},media:a},l+10)),r&&j.push((0,g.jsx)("link",{rel:"preload",as:"image",fetchpriority:"high",href:f("xs","webp"),imageSrcSet:t.isSvg?o.join(", "):i.join(", "),media:a},l))}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(eY(),{children:j}),(0,g.jsxs)("picture",{className:b()("w-full h-full",o,!r&&!s&&"lazy-image"),"data-not-lazy":s,ref:m,...d,children:[v,(0,g.jsx)("img",{...c?{fetchpriority:"high"}:{},...r||s?{src:f("lg")}:{"data-src":f("lg"),src:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="},alt:t.imageAlt||t.caption||null,className:"w-full h-full block object-cover",...i})]})]})};eX.propTypes={image:E().object,widths:E().object,heights:E().object,preload:E().bool,cdnProps:E().object,dataNotLazy:E().bool,imgProps:E().object};var e0=eX;let e1=e=>{let{data:t,children:l,...a}=e,{htag:r,heading:n}=t||{},s=null==n?void 0:n.replace(/<(p|h[0-6])>/g,"").replace(/<\/(p|h[0-6])>/g,""),i=n?{dangerouslySetInnerHTML:{__html:s}}:l,o="7";return r&&parseInt(r[1])>0&&(o=r[1]),h.createElement((null==r?void 0:r.toLowerCase())||"div",{role:"heading","aria-level":o,...a,...i})};e1.propTypes={data:E().exact({htag:E().string,heading:E().string}).isRequired,children:E().node};var e2=e1,e4=e=>{var t,l;let{metadata:a,className:r,onChange:n,...s}=e,i=(0,I.useRouter)(),{t:o}=(0,z.$G)("common"),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.toLowerCase();return"en-us"===t?"en":t},d=null!==(l=null===(t=a.languages.find(e=>c(e.language)===c(i.locale)))||void 0===t?void 0:t.language)&&void 0!==l?l:i.locale,m={en:["tr","de","ru"],tr:["en-us","de","ru"],ru:["tr","en-us","de"],de:["tr","en-us","ru"]}[c(i.locale)]||[],u=a.languages.map(e=>({label:o("language.$".concat(e.language.replace("-",""))),value:e.language})),x=m.map(e=>{let t=a.languages.find(t=>c(t.language)===c(e));return t?{label:o("language.$".concat(t.language.replace("-",""))),value:t.language}:null}).filter(Boolean);return(0,g.jsx)(eN,{"aria-label":o("general.$languageSwitcher"),type:"select",required:!0,name:"language",value:d,className:b()("font-montserrat text-sm not-italic font-medium leading-5 tracking-button-reg uppercase [&_.main-button]:bg-transparent [&_.main-button]:border-transparent [&_.popover-title]:font-montserrat [&_.popover-title]:text-sm [&_.popover-title]:not-italic [&_.popover-title]:font-medium [&_.popover-title]:leading-5 [&_.popover-title]:tracking-button-reg [&_.popover-title]:uppercase [&_.main-button_svg]:stroke-brand-soft-white [&_.main-button_svg]:ml-2 [&_.content]:rounded-sm [&_.content_ul]:py-0 [&_.content_.option]:border-b [&_.content_.option]:border-b-black/25 [&_.content_.option]:text-center [&_.content_.option]:p-1.5 [&_.content_.option]:text-black ",r),options:u,dropdownOptions:x,onChange:e=>{let t=e.target.value,l=a.languages.find(e=>c(e.language)===c(t));l&&(document.cookie="NEXT_LOCALE=".concat(l.language,"; path=/;"),n&&n(e),window.location.href=l.languageUrl)},...s})},e6=e=>{let{...t}=e;return(0,g.jsx)("p",{...t})};let e3=e=>{var t;let{metadata:l}=e,a=(0,M.v9)(T.RR),r=(0,M.v9)(T.iL);if(!l)return;let n=l.headSectionScripts.map(e=>e&&""!==e?e.replace(/<script[^>]*>/g,"").replace(/<\/script>/g,""):null).join("\n"),s=[];l.headSectionScripts.forEach(e=>{if(e&&""!==e){let t=/src\s*=\s*"([^"]+)/g.exec(e);t&&s.push(...t.filter(e=>!e.startsWith("src=")))}});let i=[];if(l.languages&&l.languages.length>0){let e="".concat(r,"//").concat(a);
1l.languages.forEach((t,l)=>{"en-us"===t.language&&i.push((0,g.jsx)("link",{rel:"alternate",href:e+t.languageUrl,hrefLang:"x-default"},l)),i.push((0,g.jsx)("link",{rel:"alternate",href:e+t.languageUrl,hrefLang:"en-us"===t.language?"en":t.language},l+1))})}return(0,g.jsxs)(eY(),{children:[(0,g.jsx)("title",{children:l.pageTitle}),(0,g.jsx)("meta",{name:"keywords",content:l.metaKeywords}),(0,g.jsx)("meta",{name:"description",content:l.metaDescription}),(0,g.jsx)("meta",{property:"og:url",content:l.absolutePageUrl}),(0,g.jsx)("meta",{property:"og:type",content:"website"}),(0,g.jsx)("meta",{property:"og:title",content:l.openGraphPageTitle}),(0,g.jsx)("meta",{property:"og:description",content:l.openGraphDescription}),(0,g.jsx)("meta",{property:"og:image",content:l.openGraphImageUrl}),(0,g.jsx)("meta",{name:"google-site-verification",content:"_yUBe5g70dUd9mdrdruRZI7B6dJFLek5poJW6N83pjY"}),(0,g.jsx)("link",{rel:"canonical",href:l.canonicalLink}),...i,l.hideFromSearch&&(0,g.jsx)("meta",{name:"robots",content:"noindex"}),s.map((e,t)=>(0,g.jsx)("script",{src:e,defer:!0},t)),l.headSectionScripts&&l.headSectionScripts.length>0&&(0,g.jsx)("script",{dangerouslySetInnerHTML:{__html:n}}),l.structuredDataTags.map((e,t)=>(0,g.jsx)("script",{type:"application/ld+json",id:"structuredDataTags",children:e},t)),(null===(t=l.favicon)||void 0===t?void 0:t.imageUrl)&&(0,g.jsx)("link",{rel:"icon",type:"image/png",href:l.favicon.imageUrl})]})};e3.propTypes={metadata:E().object.isRequired};var e5=e3,e8=l(3935);let e7=e=>{let{children:t}=e,l=(0,h.useRef)(),[a,r]=(0,h.useState)(!1);return(0,h.useEffect)(()=>{l.current=document.getElementById("modal-portal"),r(!0)},[]),a&&l.current?(0,e8.createPortal)((0,g.jsx)("div",{children:t}),l.current):null};e7.propTypes={children:E().node.isRequired};var e9=e7,te=l(5551);function tt(){return(tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var tl=function(e){return h.createElement("svg",tt({xmlns:"http://www.w3.org/2000/svg",width:12,height:8,fill:"none"},e),o||(o=h.createElement("path",{d:"M10.59 1.59 6 6.17 1.41 1.59 0 2l6 6 6-6z"})))};let ta=(0,h.forwardRef)(function(e,t){let{title:l,open:a,placement:r,onOpen:n,onClose:s,children:i,className:o,titleClass:c,...d}=e,[m,u]=(0,h.useState)(),x=(0,h.useRef)(),p=(0,h.useRef)(),f=(0,h.useRef)(),v=(0,h.useRef)();(0,h.useImperativeHandle)(t,()=>({open(){u(!0)}})),(0,h.useEffect)(()=>{j(a)},[a]),(0,h.useEffect)(()=>{if(m){if(!v.current){let e={modifiers:[{name:"offset",options:{offset:[0,4]}}]};r&&(e.placement=r),v.current=(0,te.fi)(p.current,f.current,e)}setTimeout(()=>{window.addEventListener("mousedown",w)},0),n&&n()}else window.removeEventListener("mousedown",w),s&&s();return()=>{window.removeEventListener("mousedown",w)}},[m]);let w=e=>{let t=!1;e.composedPath().forEach(e=>{x.current===e&&(t=!0)}),t||u(!1)},j=e=>{u(e)};return(0,g.jsxs)("div",{ref:x,className:b()("relative",m&&"open",o),...d,children:[(0,g.jsxs)("button",{ref:p,type:"button",className:b()("main-button flex items-center w-full justify-between px-4 py-3",m&&("top"===r?"border-t-transparent":"border-b-transparent")),onClick:()=>j(!m),children:[(0,g.jsx)("span",{className:b()("popover-title",c),dangerouslySetInnerHTML:{__html:(null==l?void 0:l.replace)?l.replace(/<(p)>/g,"").replace(/<\/(p)>/g,""):l}}),(0,g.jsx)("span",{className:"arrow ml-4",children:(0,g.jsx)(tl,{role:"presentation",className:b()("fill-white/75 transition",m?"top"===r?"rotate-180":"-rotate-180":"top"===r?"-rotate-0":"rotate-0")})})]}),(0,g.jsx)("div",{ref:f,className:"w-full z-10",children:(0,g.jsx)("div",{className:b()("content left-0 w-full bg-white border transform border-grey5 focus:outline-none transition-opacity",m?"flex opacity-100 scale-100":"hidden opacity-0 scale-0"),tabIndex:"-1",children:i})})]})});ta.propTypes={title:E().string,open:E().bool,placement:E().oneOf(["top","bottom"])};var tr=ta,tn=l(4554),ts=l(9539),ti=l(5506),to=e=>{let{isOpen:t,setIsOpen:l,moduleName:a,backgroundColour:r,closeOnBgClick:n=!1,slides:s,imageWidths:i,imageHeights:o,imageContainerWidthClassName:c="w-[332px] md:w-[688px] lg:w-[1016px]",imageContainerHeight
1ClassName:d="h-[163px] md:h-[328px] lg:h-[485px]"}=e,m=(0,h.useRef)(),[u,x]=(0,h.useState)(!1),[p,f]=(0,h.useState)(null),{t:b}=(0,z.$G)("common"),[v,w]=(0,h.useState)(0),j=(0,ti.DP)((0,ti.iy)(r)),y=async e=>{try{e>0?await m.current.next():await m.current.prev()}catch(e){if(!(e instanceof tn.wb))throw Error(e)}},N=async e=>{try{m.current&&(await m.current.init(),await m.current.moveTo(e),w(e),x(!0))}catch(e){if(!(e instanceof tn.wb))throw Error(e)}};(0,h.useEffect)(()=>{let e=()=>{f(window.innerHeight)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,h.useEffect)(()=>{null!==t&&N(t)},[t]);let k=()=>{m.current.destroy(),x(!1),setTimeout(()=>{l(null)},1e3)};return(0,g.jsx)(e9,{children:t?(0,g.jsxs)("div",{className:"media-lightbox-carousels fixed top-0 z-50 w-screen h-dvh lg:h-screen flex justify-center items-center flex-col ".concat(u?"disable-scroll opacity-100 transition-all duration-1000":"opacity-0 transition-all duration-1000"),children:[(0,g.jsx)("div",{className:"absolute opacity-75 bg-black w-screen h-screen",onClick:()=>{n&&k()}}),(0,g.jsx)("button",{className:"absolute right-6 border-none md:top-12 md:right-10 lg:right-[52px] btn text invert border circle p-0 w-10 h-10 z-10 ".concat("MediaMasonryGridModule"===a?"top-6":"top-10"),onClick:()=>{k()},children:(0,g.jsx)(ts.Z,{className:"stroke-black w-10 h-10"})}),s&&(null==s?void 0:s.length)>0&&(0,g.jsxs)("div",{className:"relative",children:[(0,g.jsx)(R.Co,{ref:m,align:"center",useResizeObserver:!0,horizontal:!0,circular:!0,preventDefaultOnDrag:!0,onWillChange:e=>{w(e.index)},className:"m-auto h-full ".concat(p>768?c:"w-[332px] md:w-[688px] lg:w-full lg:max-w-[70vw] !overflow-hidden"),children:s.map((e,t)=>(0,g.jsxs)("div",{className:"flex flex-col w-full ".concat("MediaMasonryGridModule"!==a?"justify-center items-start":"justify-start items-center"),children:[(0,g.jsxs)("div",{className:"ml-px h-fit flex items-end mb-6 lg:mb-6 text-brand-soft-white font-montserrat text-xs leading-normal tracking-title-m uppercase font-medium lg:text-sm lg:leading-normal lg:tracking-button-reg ".concat("MediaMasonryGridModule"===a?"w-full justify-center":""),children:[t+1," of ",s.length]}),(0,g.jsx)("div",{className:"".concat("MediaMasonryGridModule"!==a?"w-full ".concat(p>768?d:"h-[163px] md:h-[328px] lg:h-full lg:max-h-[50vh]"):"h-fit max-h-[55vh] md:max-h-[60vh] m-auto shrink-0 self-center ".concat(e.caption||e.imageAlt?"mb-0":"")),children:(0,g.jsx)(e0,{image:e.image?e.image:e,widths:"MediaMasonryGridModule"!==a?i:{},heights:"MediaMasonryGridModule"!==a?o:{}})}),(e.imageAlt||e.caption)&&(0,g.jsxs)("div",{className:"h-fit w-full mt-4 ".concat("MediaMasonryGridModule"===a?"text-center mb-auto":""),children:[e.imageAlt&&(0,g.jsx)("p",{className:"font-montserrat uppercase text-brand-soft-white text-sm not-italic font-semibold leading-normal tracking-title-s mb-1",children:e.imageAlt}),e.caption&&(0,g.jsx)("p",{className:"font-montserrat text-brand-soft-white text-sm not-italic font-normal leading-6",children:e.caption})]})]},t))}),"MediaMasonryGridModule"!==a&&(0,g.jsx)(q.Z,{dark:j,current:v,total:s.length,className:"mx-auto absolute top-[2%] right-0",moduleName:a})]}),(0,g.jsxs)("div",{className:"w-fit h-fit flex gap-4 md:gap-6 lg:w-full lg:absolute lg:top-1/2 lg:-translate-y-1/2 lg:max-w-[1208px] lg:justify-between ".concat("MediaMasonryGridModule"===a?"mb-0 mt-4 lg:mt-0":"my-10"),children:[(0,g.jsx)("button",{className:"btn text-light hover:!bg-brand-soft-white/25 lg:hover:!bg-grey6 border-none circle bg-brand-soft-white/25 p-0 w-10 h-10 z-10 group/next",onClick:y,"aria-label":b("general.$previous"),children:(0,g.jsx)(O.Z,{className:"rotate-180 group-hover/next:lg:!stroke-brand-black"})}),(0,g.jsx)("button",{className:"btn text-light hover:!bg-brand-soft-white/25 lg:hover:!bg-grey6 border-none circle bg-brand-soft-white/25 p-0 w-10 h-10 z-10 group/prev",onClick:()=>y(1),"aria-label":b("general.$next"),children:(0,g.jsx)(O.Z,{className:"group-hover/prev:lg:!stroke-brand-black"})})]})]}):(0,g.jsx)(g.Fragment,{})})};let tc=(0,h.forwardRef)(function(e,t){let{tabs:l,dark:a,activeTab:r,onChange:n,className:s}=e,[i,o]=(0,h.useState)({}),c=(0,h.useRef)();(0,h.useEffect)(()=>{d()},[r]),(0,w.bt)(()=>(window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)),[]);let d=()=>{setTimeout(()=>{var e;(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.children)&&Array.from(c.current.children).forEac
1h(e=>{e&&e.classList&&e.classList.contains("active-tab")&&o({left:"".concat(e.offsetLeft,"px"),width:"".concat(e.offsetWidth,"px")})})},0)},m=(e,t)=>{n&&n(e,t)};return(0,g.jsx)("div",{ref:t,className:b()(s,"flex flex-wrap justify-between  overflow-x-auto overflow-y-hidden scrollbar-hide",a?"text-black":"text-white"),children:l&&(0,g.jsx)("div",{className:"container w-auto lg:w-full",children:(0,g.jsxs)("div",{ref:c,className:"tab-item-wrapper relative flex m-auto h-16 sm:h-20 w-max md:w-full",children:[l.map((e,t)=>(0,g.jsx)("div",{className:b()("tab-item font-montserrat  cursor-pointer py-6 px-10 md:py-7 md:px-8 flex items-center justify-center transition-colors text-center whitespace-nowrap lg:whitespace-normal","text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase","md:text-sm md:tracking-button-reg","border-b",a?"border-brand-soft-white/50":"border-black/50",r===t?a?"active-tab text-brand-soft-white !border-brand-soft-white":"active-tab text-black !border-black":a?"opacity-50 text-brand-soft-white":"opacity-50 text-black"),onClick:()=>m(t,e),role:"button","aria-label":e.tabTitle,children:e.tabTitle},t)),(0,g.jsx)("div",{className:"absolute bottom-0 h-px md:h-px transition-all duration-500 ease-out ".concat(a?"bg-brand-soft-white":"bg-black"),style:i})]})})})});var td=tc;let tm=(0,h.forwardRef)(function(e,t){let{media:l,cover:a,onAutoPlayStarted:r,muted:n,...s}=e,i=(0,h.useRef)();return((0,h.useImperativeHandle)(t,()=>({openFullscreen(){(void 0===l.allowFullScreen||!0===l.allowFullScreen)&&i.current&&l.videoFromGallery&&(i.current.requestFullscreen?i.current.requestFullscreen():i.current.webkitRequestFullscreen?i.current.webkitRequestFullscreen():i.current.msRequestFullscreen&&i.current.msRequestFullscreen(),i.current.play())}}),[l]),l)?(0,g.jsxs)("video",{className:b()("video absolute w-full h-full top-0 left-0",a&&"object-cover"),ref:i,autoPlay:l.autoPlay,muted:!!l.autoPlay||n,loop:l.loop,onPlay:()=>{l.autoPlay&&r&&r()},...s,children:[(0,g.jsx)("source",{src:l.videoFromGallery,type:"video/mp4"}),"Your browser does not support HTML5 video."]}):null});tm.propTypes={media:E().object.isRequired,cover:E().bool,controls:E().bool};var tu=tm,tx=l(8333);let tp=(0,h.forwardRef)(function(e,t){let{media:l,cover:a,controls:r,onAutoPlayStarted:n,onPayerReady:s,...i}=e,o=(0,h.useRef)(),c=(0,h.useRef)(),d=(0,h.useRef)(),m=(0,h.useRef)(),[u,x]=(0,h.useState)(!1),[p,f]=(0,h.useState)(!a),[v,j]=(0,h.useState)(),[y,N]=(0,h.useState)();(0,h.useEffect)(()=>{let e;l&&(window.innerWidth<768&&!isNaN(l.mobileVimeoId)?e=l.mobileVimeoId:isNaN(l.vimeoId)||(e=l.vimeoId),e?(d.current=new tx.Z(c.current,{id:e,autoplay:l.autoPlay,background:l.autoPlay,loop:l.loop,controls:r,dnt:!0}),l.autoPlay&&n&&d.current.play().then(()=>{n()}),d.current.ready().then(()=>{x(!0),s&&s()})):console.error("'".concat(window.innerWidth<768&&l.mobileVimeoId?l.mobileVimeoId:l.vimeoId,"' is not a valid vimeo ID")))},[s,n,l,r]),(0,h.useImperativeHandle)(t,()=>{let e=()=>{document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen?setTimeout(()=>{e()},100):m.current&&(m.current=!1)};return{openFullscreen(){(void 0===l.allowFullScreen||!0===l.allowFullScreen)&&!m.current&&d.current&&(m.current=!0,d.current.requestFullscreen(),d.current.play(),setTimeout(()=>{e()},1e3))},play(){var e;null===(e=d.current)||void 0===e||e.play().catch(e=>{console.warn(e)})},pause(){var e;null===(e=d.current)||void 0===e||e.pause().catch(e=>{console.warn(e)})},getDuration(){var e;return null===(e=d.current)||void 0===e?void 0:e.getDuration()},getCurrentTime(){var e;return null===(e=d.current)||void 0===e?void 0:e.getCurrentTime()}}},[l]),(0,w.bt)(()=>{if(u&&a)return k(),window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)},[u,a]);let k=async()=>{let e=await d.current.getVideoWidth(),t=await d.current.getVideoHeight(),l=t/e,a=o.current.parentElement.offsetHeight/o.current.parentElement.offsetWidth;a>l?(j(a/l*100+"%"),N("100%")):(j("100%"),N(l/a*100+"%")),f(!0)};return l?(0,g.jsx)("div",{ref:o,className:b()("absolute w-full h-full top-1/2 left-1/2 -translate-y-2/4 -translate-x-2/4",!p&&"hidden"),style:{width:v,height:y},children:(0,g.jsx)("div",{className:"vimeo w-full h-full [&_iframe]:w-full [&_iframe]:h-full",ref:c,...i})}):null});tp.propTypes={media:E().object.isRequired,cover:E().bool,controls:E().bool};var tg=tp;function th(){return(th=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var tf=function(e){return h.createElement("svg",th({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 44"},e),c||(c=h.createElement("g",{clipPath:"url(#maxx_logo_svg__a)"},h.createElement("path",{d:"M185.638 26.322 176.713 4.58l-8.936 21.742h-1.565L176.713.748l10.496 25.574zM114.256 26.319l-7.828-11.614h-.801V26.32h-1.469V1.87h2.961c.979 0 1.936.055 2.853.159.944.116 1.796.467 2.6 1.065.876.646 1.48 1.402 1.851 2.313.371.91.552 1.87.552 2.928 0 1.059-.17 2.004-.508 2.798a5.168 5.168 0 0 1-1.417 2.004c-.621.53-1.35.931-2.168 1.196a8.092 8.092 0 0 1-2.522.378c-.085 0-.174 0-.252-.007h-.034l7.855 11.614zm-6.666-13.002c.719 0 1.441-.052 2.205-.165.716-.103 1.397-.433 2.014-.983a4.325 4.325 0 0 0 1.285-1.753c.273-.68.412-1.403.412-2.145 0-.91-.211-1.79-.627-2.615-.405-.822-1.056-1.437-1.936-1.832-.62-.303-1.325-.468-2.113-.509a47.216 47.216 0 0 0-2.194-.045h-1.013v10.047zM132.857 26.642c-1.7 0-3.268-.323-4.795-.99a12.636 12.636 0 0 1-3.929-2.709 13.276 13.276 0 0 1-2.686-3.993 12.03 12.03 0 0 1-.995-4.857c0-1.711.33-3.327.985-4.846a12.94 12.94 0 0 1 2.675-4.007 12.75 12.75 0 0 1 3.947-2.709 11.832 11.832 0 0 1 4.798-.986c1.698 0 3.265.33 4.778.986 1.51.
166 2.839 1.568 3.95 2.702a13.373 13.373 0 0 1 2.686 4.007c.661 1.52.995 3.149.995 4.846 0 1.698-.334 3.348-.995 4.857a13.376 13.376 0 0 1-2.686 3.994 12.523 12.523 0 0 1-3.95 2.708 11.9 11.9 0 0 1-4.778.99zm0-23.705c-1.496 0-2.92.306-4.236.904a11.545 11.545 0 0 0-3.48 2.406 11.362 11.362 0 0 0-2.361 3.536 10.924 10.924 0 0 0-.863 4.31c0 1.516.29 2.956.863 4.303a11.38 11.38 0 0 0 2.361 3.54 11.378 11.378 0 0 0 3.473 2.41 10.15 10.15 0 0 0 4.24.897c1.51 0 2.914-.303 4.226-.894a11.277 11.277 0 0 0 3.473-2.413 11.804 11.804 0 0 0 2.362-3.553c.582-1.354.882-2.798.882-4.286 0-1.488-.296-2.963-.882-4.307a11.68 11.68 0 0 0-2.362-3.536 11.438 11.438 0 0 0-3.473-2.417 10.33 10.33 0 0 0-4.226-.893zM155.702 26.319V15.867L147.744 1.87h1.619l7.072 12.45 7.078-12.45h1.609l-7.948 14v10.448zM192.42 26.315V1.871h1.466v23.056H200v1.388zM93.89 26.322 76.316 1.882h1.796l17.572 24.44z"}),h.createElement("path",{d:"M75.625 26.322 93.191 1.885h1.785L77.419 26.322zM51.431 26.322 42.502 4.58l-8.929 21.742h-1.568L42.502.748l10.504 25.574zM54.424 26.319l8.206-12.714-7.5-11.734h1.72l7.55 9.762 7.555-9.748h1.728l-7.505 11.72 8.21 12.703h-1.745L64.41 15.592l-8.264 10.727zM8.074 5.356 1.52 26.322H0L8.07.5l7.024 22.347L22.115.5l8.074 25.822h-1.52L22.115 5.356l-7.02 22.337zM67.688 35.368h-.11v-.113h2.758c.443 0 .818.069 1.128.21.307.137.549.312.716.525.17.213.296.437.368.674.075.237.112.47.112.698 0 .292-.061.57-.18.838a1.88 1.88 0 0 1-.556.691 2.155 2.155 0 0 1-.937.392v.02c.474.234.917.695 1.319 1.386l.719 1.227c.324.55.583.897.78 1.041.198.144.392.227.583.248v.085H72.94a8.247 8.247 0 0 1-.174-.233c-.055-.073-.113-.155-.174-.237-.034-.055-.088-.138-.16-.248a1.24 1.24 0 0 0-.126-.186l-.951-1.587a4.04 4.04 0 0 0-.586-.787 2.195 2.195 0 0 0-.56-.434 1.642 1.642 0 0 0-.466-.161 3.337 3.337 0 0 0-.487-.034v2.938c0 .57.286.866.865.884v.085h-2.539v-.085c.16-.007.3-.038.423-.093a.675.675 0 0 0 .303-.272c.082-.127.123-.302.123-.519v-6.073c0-.32-.075-.546-.232-.677a.768.768 0 0 0-.508-.196zm1.564 3.795h.454c.477 0 .865-.07 1.168-.207.307-.137.525-.333.662-.59.136-.255.204-.568.204-.939 0-.31-.061-.612-.184-.907a1.69 1.69 0 0 0-.624-.746c-.293-.2-.688-.303-1.186-.303-.2 0-.368.018-.497.048v3.647zM77.95 35.348v-.093h4.747v1.265h-.075c0-.678-.446-1.014-1.34-1.014h-1.66v3.646h1.46c.29 0 .548-.048.773-.14.229-.093.358-.313.389-.65h.078v1.818h-.078c-.034-.206-.096-.364-.184-.474a.744.744 0 0 0-.266-.22.606.606 0 0 0-.235-.055 2.584 2.584 0 0 0-.406-.035h-1.53v2.85c0 .216.044.398.123.556.081.155.269.234.565.234h1.183c.286 0 .518-.041.702-.124.184-.082.33-.199.436-.35.106-.148.198-.327.27-.54h.075l-.273 1.262h-4.748v-.086h.11c.166 0 .333-.07.494-.21.163-.138.242-.364.242-.677v-6.053c0-.247-.055-.46-.164-.642-.109-.182-.3-.272-.576-.272h-.109zM90.938 36.798h-.085a1.732 1.732 0 0 0-.505-1.02c-.286-.293-.664-.44-1.135-.44-.306 0-.576.072-.818.216-.235.144-.419.343-.552.594-.13.251-.194.537-.194.863 0 .247.037.474.12.667.074.196.19.368.34.515.153.148.33.29.535.416.205.13.484.292.832.488.582.323 1.04.646 1.363.966.324.323.484.763.484 1.323 0 .34-.085.67-.26.99-.176.32-.439.581-.79.784-.354.203-.79.306-1.315.306-.328 0-.617-.035-.87-.107a4.333 4.333 0 0 1-.766-.295.783.783 0 0 0-.222-.055c-.075 0-.126.027-.15.082a2.201 2.201 0 0 0-.092.354h-.095v-2.01h.095c.13.587.382 1.03.757 1.333.371.303.831.454 1.367.454.405 0 .725-.076.97-.23a1.25 1.25 0 0 0 .509-.557c.092-.217.14-.437.14-.653 0-.454-.137-.818-.41-1.104-.272-.285-.688-.577-1.24-.873a19.693 19.693 0 0 1-.849-.491 3.527 3.527 0 0 1-.559-.45 2.227 2.227 0 0 1-.453-.657 2.183 2.183 0 0 1-.164-.87c0-.378.1-.742.297-1.086.198-.343.48-.622.845-.831.365-.21.777-.313 1.237-.313.351 0 .706.058 1.077.179a.546.546 0 0 0 .232.044c.12 0 .198-.082.242-.247h.085V36.8zM132.033 36.798h-.089a1.735 1.735 0 0 0-.504-1.02c-.287-.293-.665-.44-1.135-.44-.307 0-.58.072-.818.216a1.462 1.462 0 0 0-.552.594c-.13.251-.195.537-.195.863 0 .247.038.474.12.667.075.196.191.368.34.515.154.148.331.29.536.416.204.13.483.292.831.488.583.323 1.04.646 1.363.966.324.323.484.763.484 1.323 0 .34-.085.67-.259.99-.177.32-.439.581-.79.784-.355.203-.791.306-1.316.306-.327 0-.617-.035-.869-.107a4.34 4.34 0 0 1-.767-.295.805.805 0 0 0-.221-.055c-.075 0-.126.027-.15.082a2.147 2.147 0 0 0-.092.354h-.092v-2.01h.092c.129.587.381 1.03.756 1.333.372.303.832.454 1.367.454.405 0 .726-.076.971-.23.242-.152.413-.337.508-.557.092-.217.14-.437.14-.653 0-.454-.137-.818-.409-1.104-.273-.285-.689-.577-1.241-.873a20.034 20.034 0 0 1-.848-.491 3.51 3.51 0 0 1-.559-.45 2.222 2.222 0 0 1-.454-.657 2.185 2.185 0 0 1-.163-.87c0-.378.099-.742.296-1.086.198-.343.481-.622.842-.831.365-.21.777-.313 
11.237-.313.351 0 .706.058 1.077.179a.548.548 0 0 0 .232.044c.119 0 .198-.082.242-.247h.089V36.8zM103.585 39.28c0 .752-.184 1.45-.552 2.1a4.18 4.18 0 0 1-1.51 1.543 4.065 4.065 0 0 1-2.12.574 4.155 4.155 0 0 1-2.14-.574 4.243 4.243 0 0 1-2.093-3.678 4.148 4.148 0 0 1 1.261-3.014c.4-.385.852-.68 1.364-.894a4.17 4.17 0 0 1 1.598-.316 4.163 4.163 0 0 1 2.914 1.179c.399.381.712.835.937 1.358.229.522.341 1.096.341 1.721m-.951.02c0-1.069-.187-1.904-.562-2.509-.375-.601-.808-1.007-1.295-1.213-.491-.206-.951-.31-1.384-.31a3.47 3.47 0 0 0-1.043.169 2.91 2.91 0 0 0-1.053.608c-.337.296-.62.708-.838 1.244-.218.537-.327 1.193-.327 1.98 0 .691.092 1.293.272 1.808.18.516.433.935.753 1.258.317.326.668.56 1.05.705.385.14.784.213 1.2.213.371 0 .746-.066 1.124-.2.382-.13.73-.35 1.043-.646.317-.302.573-.708.767-1.22.198-.515.293-1.145.293-1.883zM107.764 35.368h-.106v-.113h2.757c.443 0 .818.069 1.128.21.307.137.549.312.719.525.174.213.293.437.368.674.072.237.109.47.109.698 0 .292-.061.57-.18.838a1.882 1.882 0 0 1-.556.691c-.249.193-.562.323-.937.392v.02c.477.234.917.695 1.319 1.386l.719 1.227c.324.55.586.897.781 1.041.194.144.388.227.579.248v.085h-1.449a7.82 7.82 0 0 1-.173-.233c-.055-.073-.109-.155-.174-.237-.034-.055-.089-.138-.16-.248a1.88 1.88 0 0 0-.126-.186l-.951-1.587a3.914 3.914 0 0 0-.586-.787 2.156 2.156 0 0 0-.559-.434 1.617 1.617 0 0 0-.467-.161 3.362 3.362 0 0 0-.491-.034v2.938c0 .57.29.866.866.884v.085h-2.533v-.085c.157-.007.297-.038.42-.093a.685.685 0 0 0 .306-.272c.079-.127.12-.302.12-.519v-6.073c0-.32-.079-.546-.232-.677a.775.775 0 0 0-.508-.196zm1.561 3.795h.456c.474 0 .866-.07 1.169-.207.307-.137.528-.333.665-.59.136-.255.208-.568.208-.939 0-.31-.065-.612-.184-.907a1.694 1.694 0 0 0-.624-.746c-.297-.2-.689-.303-1.186-.303-.201 0-.368.018-.498.048v3.647zM124.133 36.822h-.086c-.037-.526-.19-.863-.453-1.017-.262-.155-.586-.234-.971-.234h-1.585v6.743c0 .57.29.867.866.884v.086h-2.536v-.086a.983.983 0 0 0 .603-.21c.164-.134.246-.358.246-.674v-6.743h-1.585c-.385 0-.709.076-.971.234-.259.154-.413.491-.457 1.017h-.089v-1.963h.089c.058.09.106.159.15.203.044.045.099.08.167.11.068.031.15.052.242.066.092.013.201.017.327.017h5.157c.344 0 .61-.13.8-.399h.086z"}))),d||(d=h.createElement("defs",null,h.createElement("clipPath",{id:"maxx_logo_svg__a"},h.createElement("path",{fill:"#fff",d:"M0 .5h200v43H0z"})))))},tb=e=>{let{availabilityData:t}=e,[l,a]=(0,h.useState)(!1),{t:r}=(0,z.$G)("common"),n=(0,I.useRouter)();return(0,h.useEffect)(()=>{n.query.book?a(!0):a(!1)},[n.query.book]),(0,g.jsxs)(e9,{children:[(0,g.jsx)("div",{className:b()("fixed top-0 left-0 z-40 w-screen backdrop-blur transition-backdrop-filter duration-500",l?"h-dvh lg:h-screen disable-scroll":"h-0")}),(0,g.jsx)("div",{className:b()("bg-black fixed top-0 left-0 z-40 w-screen transition-opacity duration-500",l?"h-dvh lg:h-screen opacity-75":"h-0 opacity-0")}),(0,g.jsx)("div",{className:b()(" fixed top-0 left-0 z-50 w-screen h-dvh lg:h-screen transition-transform duration-500 overflow-hidden",{"-translate-y-full":!l}),children:(0,g.jsxs)("div",{className:"relative h-full",children:[(0,g.jsx)("div",{className:"bg-background-spotlight absolute top-0 w-screen h-dvh lg:h-[c
1alc(100vh-141px)] lg:min-h-[630px]"}),(0,g.jsxs)("div",{className:"flex flex-col h-full relative",children:[(0,g.jsxs)("div",{className:"w-full flex justify-between lg:justify-end items-center px-6 sm:px-10 lg:px-16 py-6 gap-4 border-b-brand-soft-white/25 border-b",children:[(0,g.jsx)("div",{className:"text-background-card font-montserrat text-sm not-italic font-medium leading-5 tracking-button-reg uppercase",children:r("general.$close")}),(0,g.jsx)("button",{onClick:()=>{let e={...n.query};delete e.book,n.replace({query:e},void 0,{shallow:!0}),a(!1)},className:"btn p-1.5 h-auto bg-transparent border border-brand-soft-white/25 [&_svg]:stroke-brand-soft-white hover:text-black hover:bg-brand-soft-white  hover:border-brand-soft-white [&_svg]:hover:stroke-black","aria-label":r("general.$close"),children:(0,g.jsx)(ts.Z,{className:"w-6 h-6 lg:w-8 lg:h-8"})})]}),(0,g.jsx)("div",{className:"overflow-y-auto relative h-full",children:(0,g.jsx)("div",{className:"py-10 sm:py-14 lg:py-[72px] container h-full lg:h-auto mb-10 lg:mb-0",children:(0,g.jsxs)("div",{className:"flex flex-col justify-center items-center h-full lg:h-auto",children:[(0,g.jsx)("div",{children:(0,g.jsx)(tf,{className:"fill-brand-soft-white w-[200px] h-[43px]",role:"presentation"})}),(0,g.jsx)("div",{className:"mt-14 text-brand-soft-white text-center font-didot italic font-normal  text-title-l leading-10 -tracking-headline-m-mobile lg:text-title-xl lg:leading-12 lg:-tracking-headline-s",children:r("booking.$searchforroomavailability")}),(0,g.jsx)("div",{className:"mt-10 lg:mt-[88px] w-full flex flex-col justify-center lg:w-[1025px] gap-10 lg:gap-14 items-center grow [&_.form-items-container]:w-full [&_.form-items-container]:grow [&_.main-button]:!border  [&_.popover-title.placeholder]:!text-brand-soft-white/75 [&_.popover-title]:!text-sm [&_.popover-title]:!leading-6 [&_.popover-title]:!normal-case [&_.popover-title]:!font-normal [&_.popover-title]:!tracking-normal [&_.dropdown.selected:not(.open)_.main-button]:border-black/75 [&_.dropdown.selected:not(.open)_.popover-title]:text-black/75 [&_.dropdown.selected:not(.open)_.arrow_svg]:!fill-black/75 [&_.datepicker.selected:not(.open)_.main-button]:border-black/75 [&_.datepicker.selected:not(.open)_.popover-title]:text-black/75 [&_.datepicker.selected:not(.open)_.arrow_svg]:!fill-black/75 [&_.open.dropdown_.popover-title.placeholder]:!text-black/90 [&_.open.datepicker_.popover-title.placeholder]:!text-black/90 [&_.option]:!text-sm [&_.option]:!leading-6 [&_.option]:!normal-case [&_.option]:py-3 [&_.option]:!font-normal [&_.input.number-input]:text-black [&_.search-container]:w-full [&_.search-container]:sm:w-auto [&_.search-container_a]:w-full [&_.arrow_svg]:!fill-brand-soft-white/25 [&_.open_.arrow_svg]:!fill-black/75  ",children:(0,g.jsx)(eE,{availabilityData:t,searchClass:"secondary-reverse",searchBtnText:r("general.$search2")})})]})})})]})]})})]})},tv=e=>{var t,l;let{contactDetails:a}=e,[r,n]=(0,h.useState)(!1),[s,i]=(0,h.useState)(!1),o=(0,I.useRouter)(),c=o.asPath.includes("caja-by-maxx-royal"),d=o.locale,{t:m}=(0,z.$G)("common");(0,h.useEffect)(()=>{o.query.contact?(n(!0),i(!0)):(n(!1),setTimeout(()=>{i(!1)},500))},[o.query.contact]);let u=()=>{let e={...o.query};delete e.contact,o.replace({query:e},void 0,{shallow:!0})};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:b()("fixed top-0 left-0 z-40 w-screen backdrop-blur transition-backdrop-filter duration-500",r?"h-dvh lg:h-screen disable-scroll":"h-0")}),(0,g.jsx)("div",{className:b()("bg-black fixed top-0 left-0 z-40 w-screen transition-opacity duration-500",r?"h-dvh lg:h-screen opacity-75":"h-0 opacity-0")}),(0,g.jsx)("div",{className:b()("fixed top-0 left-0 z-50 transition-opacity duration-500 w-screen flex justify-center items-center overflow-hidden px-6",r?"opacity-1":"opacity-0",s?"h-dvh lg:h-screen":"h-0"),onClick:u,children:(0,g.jsxs)("div",{className:"bg-brand-soft-white w-full sm:w-[448px] h-[522px] rounded-contact relative flex flex-col justify-between items-center shrink-0 px-10 py-8 lg:py-12",onClick:e=>{e.stopPropagation()},children:[(0,g.jsx)("button",{onClick:u,className:"btn absolute right-0 top-0 p-4 h-auto bg-transparent [&_svg]:stroke-black [&_svg]:hover:stroke-black/75","aria-label":m("general.$close"),children:(0,g.jsx)(ts.Z,{className:"stroke-black w-6 h-6"})}),(0,g.jsx)("p",{className:"font-didot text-title-m italic font-normal leading-normal -tracking-card-m",children:m("general.$contactUs2")}),null===(t=a.contacts)||void 0===t?void 0:t.map((e,t)=>[(0,g.jsxs)("div",{className:"flex flex-col w-full items-center gap-[13.6px]",children:[(0,g.jsx)("div",{className:"text-sm not-italic font-medium leading-normal tracking-button-reg uppercase font-montserrat",children:e.contactTitle}),(0,g.jsx)("a",{href:"tel:".concat(e.phoneNumber),className:"text-xs italic font-normal leading-5 -tracking-contact underline font-montserrat",children:e.phoneNumber}),(0,g.jsx)("a",{href:"mailto:".concat(e.emailAddress),className:"text-xs italic font-normal leading-5 -tracking-contact underline font-montserrat",children:e.emailAddress})]},t),(0,g.jsx)("hr",{className:"h-px w-full text-black opacity-15"},"_"+t)]),(0,g.jsxs)("div",{className:"flex flex-col items-center w-full",children:[(0,g.jsx)("div",{className:"text-sm not-italic font-medium leading-normal tracking-button-reg uppercase font-montserrat text-black/50",children:m("contacts.$otherenquiries")}),(null===(l=a.ctaLink)||void 0===l?void 0:l.text)&&(c?(0,g.jsxs)(eU(),{className:"btn primary border-black/25 mt-[13.6px] w-full",href:{tr:"https://www.maxxroyal.com/tr/caja-by-maxx-royal/iletisim","en-US":"https://www.maxxroyal.com/caja-by-maxx-royal/contact",de:"https://www.maxxroyal.com/de/caja-by-maxx-royal/kontakt",ru:"https://www.maxxroyal.com/ru/caja-by-maxx-royal/kontakty"}[d],target:"_blank",children:[(0,g.jsx)("span",{children:a.ctaLink.text.toLocaleUpperCase(o.locale)}),(0,g.jsx)(O.Z,{})]}):(0,g.jsxs)(eB,{className:"btn primary border-black/25 mt-[13.6px] w-full",link:a.ctaLink,children:[(0,g.jsx)("span",{children:a.ctaLink.text.toLocaleUpperCase(o.locale)}),(0,g.jsx)(O.Z,{})]}))]})]})})]})},tw=e=>{let{left:t,right:l,value:a,onToggle:r,controlCssClass:n}=e,[s,i]=(0,h.useState)(null==a||a),o=e=>{r&&(i(e),r(e))};return(0,g.jsxs)("div",{className:b()("cursor-pointer rounded-full px-8 md:px-6 lg:px-8 h-[56px] backdrop-blur-[63px] bg-[#FFFEF980] relative z-50",s?"text-right":"text-left",n),onClick:()=>o(!s),children:[(0,g.jsx)("span",{className:b()("z-0 btn small p-5 h-full bg-[#BCAB5D] rounded-full absolute top-0 text-sm font-semibold w-1/2",s?"left-0 text-left":"left-1/2 text-right"),children:s?t:l}),(0,g.jsx)("span",{className:"h-full inline-flex items-center",children:s?l:t})]})},tj=l(6149),ty=e=>{var t;let{form:l,id:a}=e,[r,n]=(0,h.useState)(!1),[s,i]=(0,h.useState)(!1),o=(0,I.useRouter)(),c=(0,w.DP)(null!==(t=null==l?void 0:l.backgroundColour)&&void 0!==t?t:"#475A4F"),{t:d}=(0,z.$G)("common");(0,h.useEffect)(()=>{let e=null==l?void 0:l.formFields.id;if(e){if(o.asPath.includes("caja-by-maxx-royal")&&o.query.form_id===e)n(!0),i(!0);else if(o.query.form&&o.query.form_id===a)n(!0),i(!0);else{n(!1);let e=setTimeout(()=>{i(!1)},500);return()=>clearTimeout(e)}}},[o.query.form,o.query.form_id,o.asPath,l,a]);let m=()=>{let e={...o.query};delete e.form,delete e.form_id,o.replace({query:e},void 0,{shallow:!0})};return(0,g.jsxs)(e9,{children:[(0,g.jsx)("div",{className:b()("",r?"h-dvh lg:h-screen disable-scroll":"h-0")}),(0,g.jsx)("div",{className:b()("bg-black fixed top-0 left-0 z-40 w-screen transition-opacity duration-500",r?"h-dvh lg:h-screen opacity-75":"h-0 opacity-0")}),(0,g.jsx)("div",{className:b()("fixed top-[50%] left-[50%] -translate-y-1/2 -translate-x-1/2 z-50 transition-opacity duration-500 w-screen flex justify-center items-center overflow-hidden",r?"opacity-1":"opacity-0",s?"max-h-[calc(100vh-40px)] lg:h-fit":"h-0"),onClick:m,children:(0,g.jsxs)("div",{className:b()("max-h-[calc(100vh-40px)] sm:h-fit w-11/12 md:w-4/5 rounded-contact relative flex flex-col justify-between items-center shrink-0 overflow-auto",(null==l?void 0:l.backgroundColour)?"":"bg-background-spotlight"),style:(null==l?void 0:l.backgroundColour)?{backgroundColor:l.backgroundColour}:{backgroundColor:"#475A4F"},onClick:e=>{e.stopPropagation()},children:[(0,g.jsx)("button",{onClick:m,className:"btn absolute right-0 top-0 p-4 h-auto bg-transparent ".concat(c?"[&_svg]:stroke-brand-soft-white [&_svg]:hover:stroke-brand-soft-white/75":"[&_svg]:stroke-black [&_svg]:hover:stroke-black/75"),"aria-label":d("general.$close"),children:(0,g.jsx)(ts.Z,{className:"stroke-black w-6 h-6"})}),(0,g.jsx)("div",{className:"flex flex-col items-center w-full px-10 py-8 lg:py-12",children:l&&(0,g.jsx)(tj.default,{data:l,isPopup:!0})})]})})]})};function tN(){return(tN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var tk=function(e){return h.createElement("svg",tN({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),m||(m=h.createElement("path",{d:"m14.521 16.92.436.448L20 12.184 14.957 7l-.436.448 4.296 4.416H4v.64h14.817z"})))};function tC(){return(tC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var t_=function(e){return h.createElement("svg",tC({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none"},e),u||(u=h.createElement("path",{d:"M11.862.7 1.925.4a.437.437 0 0 0-.442.414.448.448 0 0 0 .414.442l8.949.273L.702 11.673a.426.426 0 0 0 .602.602L11.448 2.131l.273 8.949a.445.445 0 0 0 .442.414.433.433 0 0 0 .414-.443l-.3-9.936A.458.458 0 0 0 11.861.7z"})))},tM=e=>{var t,l,a,r,n,s;let{navItem:i,level:o,activeMenu:c,setActiveMenu:d,close:m,parentMenuName:u,divi
1derTop:x,dividerBottom:p}=e,h=e=>{let t={};t["l".concat(o+1)]=e,d(t)},f=b()("py-3 lg:py-2 font-montserrat text-base not-italic font-normal leading-6.5 cursor-pointer flex items-center justify-between duration-500 [&_svg]:duration-500","text-black [&_svg]:fill-black",2===o?"hover:text-white [&_svg]:hover:fill-white":"hover:text-black [&_svg]:hover:fill-black",(c&&c["l".concat(o+1)]&&(null===(t=i.flyout)||void 0===t||t.length),2===o?"lg:text-brand-soft-white lg:[&_svg]:fill-brand-soft-white":"lg:text-black lg:[&_svg]:fill-black"));return(0,g.jsxs)(g.Fragment,{children:[x&&(0,g.jsx)("hr",{className:b()(2===o?"lg:text-white/25":"lg:text-black/25","text-black/25 my-5 lg:my-2")}),(0,g.jsxs)("div",{children:[(null===(l=i.flyout)||void 0===l?void 0:l.length)>0?(0,g.jsxs)("div",{className:f,onClick:()=>h({}),children:[i.navItemText||i.navigationalTitle,(null===(a=i.flyout)||void 0===a?void 0:a.length)>0&&(0,g.jsx)(tk,{role:"presentation"})]}):(0,g.jsxs)(eB,{className:f,link:i.navItemLink||i.ctaLink&&{...i.ctaLink,text:i.navigationalTitle||i.ctaLink.text},onClick:m,children:[(null===(r=i.navItemLink)||void 0===r?void 0:r.text)||i.navigationalTitle||(null===(n=i.ctaLink)||void 0===n?void 0:n.text),i.navigationText&&(0,g.jsx)(t_,{role:"presentation"})]}),(!i.flyout||0===i.flyout.length)&&!(i.navItemLink||i.ctaLink)&&(0,g.jsx)("div",{className:f,onClick:()=>h({}),children:i.navItemText||i.navigationalTitle}),i.navigationText&&(0,g.jsx)("div",{className:" not-italic font-normal text-sm leading-6 lg:leading-5 lg:text-xs font-montserrat text-black lg:text-brand-soft-white mt-6",children:i.navigationText})]}),(null===(s=i.flyout)||void 0===s?void 0:s.length)>0&&(0,g.jsx)(tT,{navItems:i.flyout,detailedNavItems:i.detailedNavItems,level:o+1,activeMenu:c,setActiveMenu:e=>h(e),close:m,cta:i.flyout&&0!==i.flyout.length?i.navItemLink||i.ctaLink:null,ctaClass:f,parentMenuName:0===o?i.navItemText||i.navigationalTitle:u}),p&&(0,g.jsx)("hr",{className:b()(2===o?"lg:text-white/25":"lg:text-black/25","text-black/25 mt-8 lg:mt-4 mb-5 lg:mb-2")})]})},tT=e=>{let{navItems:t,detailedNavItems:l,level:a,activeMenu:r,setActiveMenu:n,close:s,cta:i,ctaClass:o,parentMenuName:c,addQueryParam:d,metadata:m,showHomeLink:u}=e,x="l".concat(a),p=(e,t)=>{let l={};l["m".concat(e)]=t,n(l)},{t:h}=(0,z.$G)("common");return(0,g.jsx)("div",{className:b()("absolute top-0 w-full h-full transition-transform duration-700 ease-out origin-right overflow-hidden pointer-events-none",!(r&&r[x])&&"translate-x-full lg:-translate-x-full",a?"left-0 lg:left-1/3":"left-0",{"z-0":0===a,"z-10 lg:-z-10":1===a,"z-20 lg:-z-20":2===a}),children:(0,g.jsx)("div",{className:"w-full h-full relative pointer-events-none",children:(0,g.jsxs)("div",{className:b()("lg:w-1/3 h-full pt-[90px] pb-[81px] lg:pb-0 lg:pt-[116px] pointer-events-auto bg-brand-soft-white",{"lg:bg-brand-soft-white":0===a,"lg:bg-background-primary":1===a,"lg:bg-background-spotlight":2===a}),children:[c&&(0,g.jsxs)("button",{className:"pl-8 sm:pl-10 lg:pl-16 pt-10 lg:hidden cursor-pointer text-black flex items-center py-3 text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase font-montserrat",onClick:()=>n(null),children:[(0,g.jsx)(tk,{className:"-rotate-180 fill-black mr-2",role:"presentation"}),(0,g.jsx)("span",{className:"-mt-px",children:h("general.$back")})]}),(0,g.jsxs)("div",{className:b()("overflow-y-auto flex flex-col lg:gap-4 h-full max-h-full lg:pt-7 pl-8 sm:pl-10 lg:pl-16 pr-8 sm:pr-10 lg:pr-14",!c&&"pt-7",0!==a&&"pb-20 lg:pb-0"),children:[u&&(0,g.jsx)(eB,{className:"hidden lg:flex py-3 lg:py-2 font-montserrat text-base not-italic font-normal leading-6.5 cursor-pointer  items-center justify-between duration-500 [&_svg]:duration-500 text-black hover:text-black",link:{href:"/",text:h("general.$maxxRoyalHome")},onClick:s}),null==t?void 0:t.map((e,l)=>(0,g.jsx)(tM,{navItem:e,level:a,activeMenu:r&&r[x]?r[x]["m".concat(l)]:{},setActiveMenu:e=>p(l,e),close:s,parentMenuName:c,dividerTop:0===a&&t.length-1==l},l)),null==l?void 0:l.map((e,t)=>(0,g.jsx)(tM,{navItem:e,level:a,activeMenu:r&&r[x]?r[x]["m".concat(t)]:{},setActiveMenu:e=>p(t,e),close:s,parentMenuName:c,dividerTop:!0,dividerBottom:!0},t)),0===a&&(0,g.jsx)("button",{className:"hidden lg:flex py-3 lg:py-2 font-montserrat text-base not-italic font-normal leading-6.5 cursor-pointer  items-center justify-between duration-500 [&_svg]:duration-500 text-black hover:text-black",onClick:()=>d({contact:!0}),children:h("general.$contact")}),0===a&&(0,g.jsx)("div",{className:"w-max lg:hidden",children:(0,g.jsx)(e4,{metadata:m,className:"[&_.main-button]:px-0 [&_.main-button_svg]:fill-black",onChange:s})}),i&&(0,g.jsx)(eB,{className:b()(o,2===a?" lg:text-brand-soft-white":"lg:text-black"),link:i,onClick:s})]})]})})})},tL=e=>{let{open:t,onClose:l,navItems:a,metadata:r,addQueryParam:n,availabilityBar:s,logoElement:i,showHomeLink:o}=e,[c,d]=(0,h.useState)({l0:{}}),{t:m}=(0,z.$G)("common"),u=()=>{d({l0:{}}),l()};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:b()("fixed top-0 left-0 z-40 w-screen backdrop-blur transition-backdrop-filter duration-500",t?"h-dvh lg:h-screen disable-scroll":"h-0")}),(0,g.jsx)("div",{className:b()("bg-black fixed top-0 left-0 z-40 w-screen transition-opacity duration-500",t?"h-dvh lg:h-screen opacity-50":"h-0 opacity-0"),onClick:u}),(0,g.jsxs)("div",{className:b()("fixed top-0 left-0 z-40 w-full lg:w-[calc(100vw-120px)] h-dvh lg:h-screen overflow-y-auto transition-transform duration-700 ease-out dark:bg-gray-800 overflow-x-hidden",{"-translate-x-full":!t}),children:[(0,g.jsx)("div",{className:"absolute top-0 right-0 h-full w-2/3",onClick:u}),(0,g.jsxs)("div",{className:"absolute z-20 w-full h-[90px] lg:h-auto pt-0 lg:pt-[42px] lg:px-8 flex justify-between items-center border-b border-b-black/25 lg:border-b-0 lg:pointer-events-none",children:[(0,g.jsx)("button",{onClick:u,className:"btn z-10 hover:[&_svg]:stroke-black/50 [&_svg]:stroke-black !h-auto pointer-events-auto","aria-label":m("general.$close"),children:(0,g.jsx)(ts.Z,{className:"stroke-black w-8 h-8",role:"presentation"})}),i&&(0,g.jsx)(eB,{link:i.homeLink,className:"h-20 w-60 lg:hidden pointer-events-auto","aria-label":m("general.$goToHomepage"),onClick:u,children:(0,g.jsx)(e0,{image:i.logo,heights:{xs:60,md:60,lg:60,xl:60},imgProps:{className:"h-full w-full object-contain invert",height:"60",width:"200",alt:"logo"},dataNotLazy:!0})}),(0,g.jsx)("div",{className:"w-20 h-full lg:hidden"})]}),(0,g.jsx)(tT,{navItems:a,activeMenu:c,level:0,setActiveMenu:e=>d({l0:e}),close:u,metadata:r,addQueryParam:n,showHomeLink:o}),(0,g.jsxs)("div",{className:"lg:hidden absolute bottom-0 z-30 w-full px-6 py-4 flex justify-between bg-brand-soft-white gap-4 border-t border-t-black/25",children:[(0,g.jsx)("button",{className:"btn primary w-full h-12",onClick:()=>n({contact:!0}),children:(0,g.jsx)("span",{children:m("general.$contact")})}),s&&(0,g.jsx)("button",{className:"btn secondary w-full h-12 !bg-background-spotlight !border !border-background-spotlight",onClick:()=>n({book:!0}),children:(0,g.jsx)("span",{children:m("general.$book")})})]})]})]})},tS=e=>{var t,l;let{activeMenu:a,nav:r,setActiveMenu:n}=e,[s,i]=(0,h.useState)(),o=(0,h.useRef)(),c=(0,I.useRouter)(),d=c.asPath.includes("caja-by-maxx-royal/caja-landing");(0,w.bt)(()=>(m(),setTimeout(()=>{m()},2e3),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)),[]);let m=()=>{var e;i((null===(e=o.current)||void 0===e?void 0:e.offsetLeft)+16)},u=b()("nav-item block text-xs not-italic leading-normal tracking-quote-reg-mobile uppercase font-montserrat","group-hover:text-black py-6 px-4 transition whitespace-nowrap",(null==a?void 0:a.moduleId)===r.moduleId?"group-hover:opacity-100":"group-hover:opacity-50",r.props.isActive?"font-bold":"font-normal");return(0,g.jsxs)("div",{className:"cursor-pointer transition",onMouseOver:()=>n(r),ref:o,children:[d?r.props.navigationItemTitle===({tr:"Villalar","en-US":"Villas",ru:"Резиденции",de:"Villen"})[c.locale]?(0,g.jsx)(eB,{link:r.props.navigationItemLink,className:u,onClick:()=>n(null),children:r.props.navigationItemTitle}):null:r.props.navigationItemLink?(0,g.jsx)(eB,{link:r.props.navigationItemLink,className:u,onClick:()=>n(null),children:r.props.navigationItemTitle}):(0,g.jsx)("div",{className:u,role:"button",tabIndex:0,children:r.props.navigationItemTitle}),(0,g.jsx)("div",{className:b()("bg-brand-soft-white absolute left-0 -mt-px w-full overflow-hidden transition-all ease-in cursor-auto h-auto resort-nav-shadow",(null==a?void 0:a.moduleId)===r.moduleId?"max-h-[600px] z-10 duration-700 delay-100":"max-h-0 duration-500"),children:r.props.flyOut&&r.props.flyOut[0]&&("VisualizedNavItemModel"===r.props.flyOut[0].moduleName?(0,g.jsxs)("div",{className:"max-w-[1016px] mx-auto my-12 flex flex-col gap-10 ",children:[(0,g.jsx)("div",{className:"flex w-full gap-10",children:null===(t=r.props.flyOut)||void 0===t?void 0:t.map(e=>(0,g.jsx)(eB,{link:e.props.link,className:"w-full aspect-[2/1] font-montserrat",onClick:()=>n(null),children:(0,g.jsxs)("div",{children:[(0,g.jsx)(e0,{image:e.props.image,widths:{xs:448},heights:{xs:224}}),(0,g.jsx)("div",{className:"mt-6 text-sm not-italic font-medium leading-normal tracking-button-reg uppercase",children:e.props.title}),(0,g.jsx)("p",{className:"mt-1 text-xs not-italic font-normal leading-5",children:e.props.description})]})},e.moduleId))}),(0,g.jsx)("div",{className:"text-center",children:(0,g.jsx)(eB,{link:r.props.highlightedLink,className:"btn link after:!bottom-2 ",onClick:()=>n(null)})})]}):(0,g.jsxs)("div",{className:"my-10 flex flex-col gap-6",style:{paddingLeft:s},children:[(0,g.jsx)("div",{className:"flex flex-col gap-4",children:null===(l=r.props.flyOut)||void 0===l?void 0:l.map(e=>(0,g.jsx)(eB,{link:{...e.props.link,text:e.props.title},className:"font-montserrat text-sm not-italic font-normal leading-6 w-max",onClick:()=>n(null)},e.moduleId))}),(0,g.jsx)(eB,{link:r.props.highlightedLink,className:"btn link after:!bottom-2 w-max text-xs",onClick:()=>n(null)})]}))})]})};function tA(){return(tA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var tE=function(e){return h.createElement("svg",tA({xmlns:"http://www.w3.org/2000/svg",width:15,height:16,fill:"none"},e),x||(x=h.createElement("path",{d:"m4.15 6.166-.327-.317 3.77-3.667 3.77 3.667-.325.317-3.212-3.124v10.776h-.465V3.042z"})))},tz=l(2629),tO=e=>{var t;let{navItems:l,mainNav:a,addQueryParam:r,availabilityBar:n,filledHeader:s}=e,[i,o]=(0,h.useState)(null),[c,d]=(0,h.useState)(!1),[m,u]=(0,h.useState)(!1),x=(0,h.useRef)(),p=(0,h.useRef)(),f=(0,h.useRef)(),{t:v}=(0,z.$G)("common"),w=(0,h.useContext)(eC),j=(0,I.useRouter)(),y=j.asPath.includes("caja-by-maxx-royal/caja-landing");(0,h.useEffect)(()=>(window.removeEventListener("scroll",N),window.addEventListener("scroll",N,{passive:!0}),()=>window.removeEventListener("scroll",N)),[]);let N=()=>{var e,t;window.scrollY>((null==a?void 0:null===(e=a.current)||void 0===e?void 0:e.offsetHeight)+(null==f?void 0:null===(t=f.current)||void 0===t?void 0:t.offsetHeight)+100||window.innerHeight)?(d(!0),x.current||(x.current=setTimeout(()=>{x.current=0,u(!0)},500)),clearTimeout(p.current),p.current=0):(u(!1),p.current||(p.current=setTimeout(()=>{p.current=0,d(!1)},300)),clearTimeout(x.current),x.current=0)};if(!l||(null===(t=l.navigationItems)||void 0===t?void 0:t.length)===0)return null;let k=(0,g.jsx)("div",{className:b()("hidden lg:block group hover:bg-brand-soft-white transition duration-300 w-full",s?"":"backdrop-blur-[3px]",c?"fixed resort-nav-shadow top-0":s?"border-t border-t-black/10 relativ":"relativ",c&&
1!m&&"-translate-y-full",m?"bg-brand-soft-white [&_.nav-item]:text-black":s?"[&_.nav-item]:text-black":"bg-brand-soft-white/5 [&_.nav-item]:text-brand-soft-white"),onMouseOut:()=>o(null),ref:f,children:(0,g.jsxs)("div",{className:b()("container px-20 flex items-center",c?"justify-between":"justify-center"),children:[c&&(0,g.jsx)("button",{className:"btn h-auto p-2 !bg-black/10 !border-0 ml-10",onClick:()=>{w.scrollTo(0,!0)},"aria-label":v("general.$book"),children:(0,g.jsx)(tE,{className:"fill-black"})}),(0,g.jsx)("div",{className:"flex justify-center",children:l.navigationItems.map(e=>(0,g.jsx)(tS,{activeMenu:i,nav:e,setActiveMenu:o},e.moduleId))}),c&&(n?(0,g.jsx)("button",{className:"btn primary-dark small rounded px-8",onClick:()=>r({book:!0}),"aria-label":v("general.$book"),children:(0,g.jsx)("span",{className:"text-xs not-italic font-medium leading-4.5 tracking-quote-reg-mobile",children:v("general.$book")})}):!y&&(0,g.jsx)("div",{className:"w-8"})),c&&y&&(0,g.jsx)(tz.Z,{popupId:"3",filledHeader:s,hasSticky:!0,id:"afeda06e-a058-48c9-b066-18662b9c9b11"})]})});return c?(0,g.jsx)("div",{className:"lg:h-[63px]",children:(0,g.jsx)(e9,{children:k})}):k},tI=e=>{var t,l,a,r,n;let{navItem:s,level:i,activeMenu:o,setActiveMenu:c,close:d,moduleName:m}=e,u=e=>{let t={};t["l".concat(i+1)]=e,c(t)},x="py-3 lg:py-2 font-montserrat text-base not-italic font-normal leading-6.5 cursor-pointer flex items-center justify-between text-black [&_svg]:fill-black";return(0,g.jsx)(g.Fragment,{children:"VisualizedNavItemModel"===m?(0,g.jsx)("div",{className:"flex w-full gap-10 border-t first:border-t-0 border-t-opacity-black/10 sm:border-t-0 pt-6 first:pt-0 sm:pt-0",children:(0,g.jsxs)(eB,{link:s.props.link,className:"w-full font-montserrat flex sm:flex-col gap-4 sm:gap-6",onClick:d,children:[(0,g.jsx)("div",{className:"min-w-[108px] sm:h-[146px]",children:(0,g.jsx)(e0,{image:s.props.image,widths:{xs:150,sm:400},heights:{xs:150,sm:200}})}),(0,g.jsxs)("div",{className:"",children:[(0,g.jsx)("div",{className:"text-sm not-italic font-medium leading-normal tracking-button-reg uppercase",children:s.props.title}),(0,g.jsx)("p",{className:"mt-1 text-xs not-italic font-normal leading-5",children:s.props.description})]})]},s.moduleId)}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{children:(null===(l=s.props)||void 0===l?void 0:null===(t=l.flyOut)||void 0===t?void 0:t.length)>0?(0,g.jsxs)("div",{className:x,onClick:()=>u({}),children:[s.props.navigationItemTitle||s.props.title,(null===(a=s.props.flyOut)||void 0===a?void 0:a.length)>0&&(0,g.jsx)(tk,{role:"presentation"})]}):(0,g.jsx)(eB,{className:x,link:{...s.props.navigationItemLink||s.props.link||{href:"/"},text:s.props.navigationItemTitle||s.props.title},onClick:d})}),(null===(n=s.props)||void 0===n?void 0:null===(r=n.flyOut)||void 0===r?void 0:r.length)>0&&(0,g.jsx)(tH,{navItems:s.props.flyOut,level:i+1,activeMenu:o,setActiveMenu:e=>u(e),close:d,cta:s.props.highlightedLink,ctaClass:x})]})})},tH=e=>{var t;let{navItems:l,level:a,activeMenu:r,setActiveMenu:n,close:s,cta:i,ctaClass:o,metadata:c}=e,d="l".concat(a),m=(e,t)=>{let l={};l["m".concat(e)]=t,n(l)},{t:u}=(0,z.$G)("common"),x=null===(t=l[0])||void 0===t?void 0:t.moduleName,p=null==l?void 0:l.map((e,t)=>(0,g.jsx)(tI,{navItem:e,level:a,activeMenu:r&&r[d]?r[d]["m".concat(t)]:{},setActiveMenu:e=>m(t,e),close:s,dividerTop:0===a&&l.length-1==t,moduleName:x},t));return(0,g.jsx)("div",{className:b()("absolute top-0 w-full h-full transition-transform duration-700 ease-out origin-right overflow-hidden",!(r&&r[d])&&"translate-x-full lg:-translate-x-full",a?"left-0 lg:left-1/3":"left-0",{"z-0":0===a,"z-10 lg:-z-10":1===a,"z-20 lg:-z-20":2===a}),children:(0,g.jsx)("div",{className:"w-full h-full relative pointer-events-none",children:(0,g.jsxs)("div",{className:"lg:w-1/3 h-full pt-[90px] lg:pb-0 lg:pt-[116px] pointer-events-auto bg-background-primary pb-[75px]",children:[0!==a&&(0,g.jsxs)("button",{className:"pl-8 sm:pl-10 lg:pl-16 pt-10 cursor-pointer text-black flex items-center py-3 text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase font-montserrat",onClick:()=>n(null),children:[(0,g.jsx)(tk,{className:"-rotate-180 fill-black mr-2",role:"presentation"}),(0,g.jsx)("span",{className:"-mt-px",children:u("general.$back")})]}),(0,g.jsxs)("div",{className:b()("overflow-y-scroll flex flex-col pl-8 sm:pl-10 pr-8 sm:pr-10",0===a?"pt-7 h-full":"h-[calc(100%-76px)]"),children:["VisualizedNavItemModel"===x?(0,g.jsx)("div",{className:"w-full flex flex-col sm:flex-row gap-6 py-3",children:p}):p,0===a&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("hr",{className:"text-black/10 my-5 lg:my-2"}),(0,g.jsx)(eB,{link:{href:"/"},className:"flex my-3 lg:py-2 font-montserrat text-base not-italic font-normal leading-6.5 cursor-pointer items-center justify-between duration-500 [&_svg]:duration-500 text-black hover:text-black w-max",children:u("general.$backtoMaxxRoyalHome")}),(0,g.jsx)("div",{className:"w-max lg:hidden mb-10 relative",children:(0,g.jsx)(e4,{metadata:c,className:"[&_.main-button]:px-0 [&_.main-button_svg]:!fill-black [&_.main-button_svg]:!stroke-transparent",onChange:s,placement:"top"})})]}),i&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("hr",{className:"text-black/10 my-5 lg:my-2"}),(0,g.jsx)(eB,{className:b()(o,"mb-10"),link:i,onClick:s})]})]})]})})})},tP=e=>{let{open:t,onClose:l,navItems:a,metadata:r,mainNav:n,addQueryParam:s,availabilityBar:i,filledHeader:o,logoElement:c}=e,[d,m]=(0,h.useState)({l0:{}}
1),[u,x]=(0,h.useState)(!1),{t:p}=(0,z.$G)("common"),f=()=>{m({l0:{}}),l()};(0,w.bt)(()=>(window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)),[]),(0,w.bt)(()=>(window.removeEventListener("scroll",j),window.addEventListener("scroll",j,{passive:!0}),()=>window.removeEventListener("scroll",j)),[]);let v=()=>{window.innerWidth>=parseInt(y().theme.screens.lg,10)&&f()},j=()=>{window.innerWidth<parseInt(y().theme.screens.lg,10)&&window.scrollY>window.innerHeight?x(!0):x(!1)},N=()=>{window.scrollTo({top:0,behavior:"smooth"})};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(e9,{children:(0,g.jsx)("button",{className:b()("scroll-up btn h-11 aspect-square p-2 !bg-brand-soft-white shadow-md ml-10 fixed right-4 duration-300",u?"bottom-4 opacity-100":"-bottom-5 opacity-0"),onClick:N,"aria-label":p("general.$book"),children:(0,g.jsx)(tE,{className:"fill-black"})})}),(0,g.jsx)(tO,{navItems:a,mainNav:n,addQueryParam:s,availabilityBar:i,filledHeader:o,scrollTop:N}),(0,g.jsx)("div",{className:b()("fixed top-0 left-0 z-40 w-screen backdrop-blur transition-backdrop-filter duration-500",t?"h-dvh lg:h-screen disable-scroll":"h-0")}),(0,g.jsx)("div",{className:b()("bg-black fixed top-0 left-0 z-40 w-screen transition-opacity duration-500",t?"h-dvh lg:h-screen opacity-50":"h-0 opacity-0")}),(0,g.jsxs)("div",{className:b()("fixed top-0 left-0 z-40 w-full h-dvh overflow-y-auto transition-transform duration-700 ease-out overflow-x-hidden bg-background-primary",{"-translate-x-full":!t}),children:[(0,g.jsxs)("div",{className:"absolute z-20 w-full h-[90px] lg:h-auto pt-0 lg:pt-[42px] lg:px-8 flex justify-between items-center border-b border-b-black/25 lg:border-b-0",children:[(0,g.jsx)("button",{onClick:f,className:"btn z-10 hover:[&_svg]:stroke-black/50 [&_svg]:stroke-black !h-auto","aria-label":p("general.$close"),children:(0,g.jsx)(ts.Z,{className:"stroke-black w-8 h-8",role:"presentation"})}),c&&(0,g.jsx)(eB,{link:c.homeLink,className:"h-6 sm:h-9 aspect-[39/8]","aria-label":p("general.$goToHomepage"),onClick:f,children:(0,g.jsx)(e0,{image:c.logo,heights:{xs:50,md:50,lg:50,xl:50},imgProps:{className:"h-full w-full object-contain invert",height:"48",width:"300",alt:"logo"},dataNotLazy:!0})}),(0,g.jsx)("div",{className:"w-[72px] lg:hidden"})]}),(0,g.jsx)(tH,{navItems:a.navigationItems,activeMenu:d,level:0,setActiveMenu:e=>m({l0:e}),close:f,metadata:r,addQueryParam:s}),(0,g.jsxs)("div",{className:"lg:hidden absolute bottom-0 z-30 w-full px-6 py-4 flex justify-between bg-background-secondary gap-4 resort-nav-shadow-mobile",children:[(0,g.jsx)("button",{className:"btn primary w-full h-12",onClick:()=>s({contact:!0}),children:(0,g.jsx)("span",{children:p("general.$contact")})}),i&&(0,g.jsx)("button",{className:"btn secondary w-full h-12 !bg-background-spotlight !border !border-background-spotlight",onClick:()=>s({book:!0}),children:(0,g.jsx)("span",{children:p("general.$book")})})]})]})]})};function tR(){return(tR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var tq=function(e){return h.createElement("svg",tR({xmlns:"http://www.w3.org/2000/svg",width:15,height:10,fill:"none"},e),p||(p=h.createElement("path",{fill:"#000",d:"m9.601 9.1.363.373 4.203-4.32L9.964.833l-.363.374 3.58 3.68H.833v.533h12.348z"})))},tF=e=>{let{pageSize:t,totalCount:l,onChange:a,queryMode:r,backgroundColour:n,className:s,...i}=e,[o,c]=(0,h.useState)(1),[d,m]=(0,h.useState)([]),u=(0,h.useRef)(1),x=(0,I.useRouter)(),{t:p}=(0,z.$G)("common");(0,h.useEffect)(()=>{let e={page:1};(0,w.q8)(x,e),c(Number(e.page||1))},[x.query]),(0,h.useEffect)(()=>{u.current=Math.ceil(l/t);let e=[];for(let t=1;t<=u.current;t++)u.current>4?1===t||o===t||o-1===t||o+1===t||2===t&&4===o||t===u.current&&o===u.current-2||o<4&&u.current>3&&t<4||o===u.current&&t===o-2?e.push({label:t,value:t}):(2===t&&o>3||2!==t&&t===u.current&&u.current>3)&&e.push({label:"...",value:t}):e.push({label:t,value:t});m(e)},[t,l,o]);let f=e=>{r&&(0,w.z)(x,{page:e>1?e:null}),a&&a({page:e})};if(!(u.current<=1))return(0,g.jsxs)("div",{className:b()("flex justify-center items-center pagination mt-12 md:mt-[72px]",s),...i,children:[(0,g.jsx)("button",{className:"btn small secondary circle color-from-bg  mx-3 w-10 h-10 p-2.5 rounded-[56px] hover:!bg-brand-soft-white",disabled:o<=1,onClick:()=>f(o-1),"aria-label":p("general.$previous"),children:(0,g.jsx)(tq,{className:"-rotate-180"})}),d.map(e=>(0,g.jsxs)("button",{className:"text-sm not-italic font-medium leading-5 tracking-button-reg ".concat((0,w.DP)(n)&&o===e.value?"bg-background-primary ":"bg-background-spotlight "," ").concat((0,w.DP)(n)||o===e.value?"":"bg-transparent !text-black"," ").concat(b()("hidden lg:block btn text small mx-3 px-6 w-auto",o===e.value&&"text-white")),disabled:"..."===e.label,onClick:()=>f(e.value),children:[e.label," ",o===e.value]},e.value)),(0,g.jsxs)("div",{className:"wrapper lg:hidden ",children:[(0,g.jsx)("span",{className:"font-montserrat text-sm not-italic font-medium leading-5 tracking-button-reg uppercase",children:o}),(0,g.jsx)("span",{className:"mx-1 font-montserrat  text-sm not-italic font-medium leading-5 tracking-button-reg uppercase",children:p("general.$pagination")}),(0,g.jsx)("span",{className:"font-montserrat text-sm not-italic font-medium leading-5 tracking-button-reg uppercase",children:u.current})]}),(0,g.jsx)("button",{className:"btn small secondary circle color-from-bg mx-3 w-10 h-10 p-2.5 rounded-[56px] hover:!bg-brand-soft-white",disabled:o>=u.current,onClick:()=>f(o+1),"aria-label":p("general.$next"),children:(0,g.jsx)(tq,{})})]})}},8987:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return x}});var a,r=l(5893),n=l(7294),s=l(5158);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var o=function(e){return n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:14,height:26,fill:"none"},e),a||(a=n.createElement("path",{d:"m1.002 25.002 12.002-12.001L1.002.999"})))},c=l(7939),d=l(3967),m=l.n(d),u=l(1583),x=e=>{let{data:t}
1=e,[l,a]=(0,n.useState)([]),i=e=>{let r=[...l];a(r=r.includes(e)?r.filter(t=>t!==e):t.allowOpeningMultiple?[e,...r]:[e])};return(0,r.jsx)(s.hp,{data:t,children:(0,r.jsxs)("div",{className:"container lg:py-4 color-from-bg",children:[(0,r.jsxs)("div",{className:"title-wrapper",children:[t.preHeading&&(0,r.jsx)(s.bl,{className:"uppercase font-montserrat font-medium text-xs tracking-title-m leading-normal",children:t.preHeading}),t.headingTitle&&(0,r.jsx)(s.lb,{data:t.headingTitle,className:"font-montserrat mt-4 color-from-bg uppercase text-base leading-5 tracking-headline-m-tablet font-semibold md:text-xl md:leading-6 md:tracking-title-m"})]}),t.accordionElements&&(0,r.jsx)("div",{className:"my-10 lg:my-12",children:t.accordionElements.map((e,a)=>(0,r.jsxs)("div",{className:"border-b color-from-bg border-opacity-10 py-4 first:pt-0 md:px-2 first:md:pt-4",children:[(0,r.jsxs)("button",{type:"button",className:"flex items-center justify-between w-full text-left font-montserrat text-base leading-6.5",onClick:()=>i(a),children:[(0,r.jsx)("span",{className:m()(l.includes(a)?"font-semibold":"font-normal delay-300","transition-all duration-100"),children:e.title}),(0,r.jsx)("div",{className:"stroke-['".concat((0,u.FM)(t.backgroundColour),"']"),children:(0,r.jsx)(o,{role:"presentation",className:m()("scale-50 transition-transform duration-200 !stroke-current",l.includes(a)?"-rotate-90":" rotate-90")})})]}),(0,r.jsx)("div",{className:m()("transition-all overflow-hidden duration-500",l.includes(a)?"max-h-screen pt-3 ".concat(t.allowOpeningMultiple?"":"delay-500"):"max-h-0 pt-0"),children:e.text&&(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e.text},className:"font-montserrat text-sm leading-6 font-normal max-w-[1049px]"})})]},a))}),t.primaryCTA&&(0,r.jsx)("div",{className:"flex md:justify-start lg:justify-end ",children:(0,r.jsxs)(s.rU,{className:"btn primary w-full color-from-bg md:w-fit",link:t.primaryCTA,children:[(0,r.jsx)("span",{children:t.primaryCTA.text}),(0,r.jsx)(c.Z,{role:"presentation",className:"!ml-6"})]})})]})})}},5592:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(94),n=l(5158),s=l(1163);t.default=e=>{let{data:t}=e,{t:l}=(0,r.$G)("common"),i=(0,s.useRouter)();return(0,a.jsx)(n.hp,{data:t,className:"relative",children:(0,a.jsx)("div",{className:"absolute bottom-0 w-full z-10 backdrop-blur-[10px] transition-backdrop-filter duration-500 bg-black/50 h-[63px] -top-[63px] sm:h-[71px] sm:-top-[71px] lg:h-[84px] lg:-top-[84px]",children:(0,a.jsxs)("div",{className:"container flex h-full justify-between items-center xl:px-[108px] py-4  [&_.form-item]:w-64 [&_.form-item.resort]:w-64 [&_.form-item.dates]:w-64 [&_.form-items-container]:md:gap-0 [&_.form-items-container]:xl:gap-6 [&_.form-items-container]:hidden [&_.form-items-container]:lg:flex [&_.search-container]:hidden [&_.search-container]:lg:flex [&_.spacer]:w-px [&_.spacer]:bg-brand-soft-white [&_.main-button]:!border-b-transparent [&_.number-input_input]:!text-black [&_.arrow_svg]:!rotate-180 [&_.open_.arrow_svg]:!rotate-0 [&_.arrow]:border [&_.arrow]:border-brand-soft-white/50 [&_.arrow]:rounded-full [&_.arrow]:h-7 [&_.arrow]:min-w-7 [&_.arrow]:flex [&_.arrow]:items-center [&_.arrow]:justify-center [&_.arrow_svg]:!fill-brand-soft-white [&_.dropdown.open_.arrow]:border-black/50 [&_.dropdown.open_.arrow_svg]:!fill-black [&_.dropdown.open_.popover-title.placeholder]:!text-black [&_.datepicker.open_.arrow]:border-black/50 [&_.datepicker.open_.arrow_svg]:!fill-black [&_.datepicker.open_.popover-title.placeholder]:!text-black [&_.popover-title.placeholder]:!text-brand-soft-white [&_.popover-title]:!text-brand-soft-white [&_.dropdown.open_.popover-title]:!text-black [&_.datepicker.open_.popover-title]:!text-black [&_.popover-title]:!text-xs  [&_.popover-title]:!leading-6 [&_.popover-title]:!font-normal [&_.popover-title]:!tracking-quote-reg-mobile [&_.popover-title]:!uppercase [&_.option]:!text-sm [&_.option]:!leading-6 [&_.option]:!normal-case [&_.option]:py-3 [&_.option]:!font-normal [&_.arrow_svg]:scale-75 ",children:[(0,a.jsx)("button",{className:"text-brand-soft-white font-montserrat text-center text-xs not-italic font-semibold leading-normal tracking-quote-reg-mobile uppercase w-full lg:w-auto h-full",onClick:()=>{i.replace({query:{...i.query,book:!0}},void 0,{shallow:!0})},children:l("booking.$bookyourstay")}),(0,a.jsx)(n.Rk,{availabilityData:t,searchClass:"secondary",placement:"top"})]})})})}},5328:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(5158),s=l(7939),i=l(3967),o=l.n(i),c=l(2987),d=l.n(c);t.default=e=>{var t,l;let{data:i}=e,[c,m]=(0,r.useState)(0),u=(0,r.useRef)();return(0,r.useEffect)(()=>{let e=()=>{m(window.innerWidth>=parseInt(d().theme.screens.sm,10))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,a.jsxs)(n.hp,{data:i,className:"font-didot relative h-[844px] md:h-[928px] lg:h-screen lg:max-h-[800px]",children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 right-0 h-full w-full gradient-left-to-right"}),(0,a.jsx)("div",{className:o()("absolute h-full w-full overflow-hidden",{"lg:p-8":!i.isFullBleed}),children:(0,a.jsx)(n.pU,{ref:u,media:{...i.backgroundMedia,videoFromGallery:c?null===(t=i.backgroundMedia)||void 0===t?void 0:t.videoFromGallery:null,vimeoId:c?null===(l=i.backgroundMedia)||void 0===l?void 0:l.vimeoId:null}
1,widths:{xs:327,sm:640,md:1024,lg:1024,xl:1440,xxl:2560},heights:{xs:844,sm:640,md:928,lg:928,xl:800,xxl:1440},cover:!0})}),i&&(i.preHeading||i.headingTitle.heading||i.description||i.primaryCTA)&&(0,a.jsx)("div",{className:"w-full h-full relative",onClick:()=>{var e;null==u||null===(e=u.current)||void 0===e||e.openFullscreen()},children:(0,a.jsx)("div",{className:"container mx-auto h-full flex content-end flex-wrap",children:(0,a.jsx)("div",{className:"lg:px-0 w-full lg:w-[401px] mb-10 lg:mb-20",children:(0,a.jsxs)("div",{className:"h-min text-brand-soft-white backdrop-blur-[50px] bg-black/25 w-full px-6 py-8 md:px-8 md:py-10 lg:p-10",onClick:e=>e.stopPropagation(),children:[i.preHeading&&(0,a.jsx)(n.bl,{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-10",children:i.preHeading}),i.headingTitle&&(0,a.jsx)(n.lb,{data:i.headingTitle,className:"main-title font-didot text-brand-soft-white text-2xl italic font-normal leading-normal -tracking-card-s md:text-title-m md:-tracking-card-m lg:text-title-l lg:-tracking-headline-m-mobile mb-6"}),i.description&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:i.description},className:"font-montserrat mb-10 lg:mb-[88px] text-sm not-italic font-normal leading-6 text-brand-soft-white"}),i.primaryCTA&&(0,a.jsxs)(n.rU,{className:"btn primary-light first-link w-full border-brand-soft-white/25 px-5",link:i.primaryCTA,children:[(0,a.jsx)("span",{className:"font-montserrat text-brand-soft-white text-sm not-italic font-medium leading-5 tracking-button-reg uppercase",children:i.primaryCTA.text}),(0,a.jsx)(s.Z,{className:"!ml-6",role:"presentation"})]})]})})})})]})}},5128:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return u}});var a,r=l(5893),n=l(7294),s=l(5158);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var o=function(e){return n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:6,height:10,fill:"none"},e),a||(a=n.createElement("path",{d:"M.75.5 5.25 5 .75 9.5"})))},c=l(1163),d=l(3967),m=l.n(d),u=e=>{var t;let{data:l}=e,a=(0,c.useRouter)(),i=a.asPath.includes("caja-by-maxx-royal/caja-landing");return(0,r.jsx)(s.hp,{data:l,className:m()("font-montserrat",i?"bg-[#97a4ae]":" bg-background-primary"),children:(0,r.jsx)("div",{className:"container pt-6 pb-4 flex items-center gap-4 text-xs tracking-title-m leading-normal overflow-x-auto",children:null===(t=l.crumbs)||void 0===t?void 0:t.map((e,t)=>e.href?(0,r.jsxs)(n.Fragment,{children:[(0,r.jsx)(s.rU,{className:"font-normal shrink-0",link:e}),(0,r.jsx)("span",{children:(0,r.jsx)(o,{role:"presentation",className:"stroke-black"})})]},t):(0,r.jsx)("span",{className:"font-semibold shrink-0",children:e.text},t))})})}},7382:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(7939),s=l(5675),i=l.n(s);t.default=e=>{let{data:t}=e;return(0,a.jsx)(r.hp,{data:t,className:"font-didot",children:(0,a.jsxs)("div",{className:"container main-wrapper flex flex-col items-center gap-12 lg:gap-[200px] lg:flex-row md:justify-between",children:[(0,a.jsx)("div",{className:"sm:h-[400px] sm:w-[400px] w-full h-auto aspect-square relative flex items-center justify-center",children:t.hasImageLink?(0,a.jsx)(r.rU,{link:t.primaryCTA,target:"_blank",children:(0,a.jsx)(i(),{className:"w-full h-auto",width:320,height:300,sizes:"100vw",src:t.image.imageUrl,alt:""})}):(0,a.jsx)(i(),{className:"w-full h-auto",width:320,height:300,sizes:"100vw",src:t.image.imageUrl,alt:""})}),(0,a.jsxs)("div",{className:"w-full md:w-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-8 mb-12 lg:gap-8",children:[t.headingTitle&&(0,a.jsx)(r.lb,{data:t.headingTitle,className:"font-didot color-from-bg whitespace-pre-wrap text-title-l not-italic font-normal leading-10 -tracking-headline-m-mobile w-fit mx-auto text-center sm:text-left sm:w-[468px] md:text-4xl md:leading-[44px] md:-tracking-headline-l-mobile  lg:mx-0 lg:w-fit lg:text-title-xl lg:leading-12 lg:-tracking-headline-s [&_.indented]:ml-0 [&_.indented]:sm:ml-11"}),t.text&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.text},className:"font-montserrat text-sm not-italic font-normal leading-6 color-from-bg"})]}),!t.hasImageLink&&t.primaryCTA&&(0,a.jsx)("div",{className:"button-wrapper flex flex-row lg:items-center",children:(0,a.jsxs)(r.rU,{className:"btn primary first-link w-full md:w-fit md:mx-auto lg:mx-0 color-from-bg",link:t.primaryCTA,children:[(0,a.jsx)("span",{className:"font-montserrat text-sm not-italic font-medium leading-5 tracking-button-reg uppercase",children:t.primaryCTA.text}),(0,a.jsx)(n.Z,{className:"!ml-6",role:"presentation"})]})})]})]})})}},4682:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(1163),s=l(7939),i=l(1583);t.default=e=>{let{data:t}=e,l=(0,n.useRouter)(),o=e=>{l.replace({query:{...l.query,...e}},void 0,{shallow:!0})};return(0,a.jsxs)(r.hp,{data:t,children:[(0,a.jsx)(r.Gq,{form:t.formModule,id:t.moduleId}),(0,a.jsxs)("div",{className:"container flex flex-col pt-16 md:pt-20 lg:pt-26 pb-16 md:pb-20 lg:pb-26  items-center lg:justify-between gap-8 lg:gap-16 font-montserrat lg:flex-row",children:[(0,a.jsx)("div",{className:"w-full sm:w-fit h-fit gap-0 grid grid-cols-2",children:t.imageCTAs.map((e,l)=>(0,a.jsx)(r.rU,{link:e.ctaLink,className:"col-span-1 row-span-1 ".concat(3===t.imageCTAs.length?"last:col-span-2":""),children:(0,a.jsxs)("div",{className:"relative w-full grid sm:h-full items-center sm:min-h-[368px]",children:[e.image&&(0,a.jsx)(r.t3,{image:e.image,widths:{xs:450,md:450,lg:450},heights:{xs:552,md:552,lg:552},className:"h-full w-full object-cover sm:aspect-auto col-start-1 row-start-1 sm:max-h-[368px] ".concat(3===t.imageCTAs.length&&2===l?"aspect-[2/1]":"aspect-square"),"image-class":"h-full w-full object-cover"}),(0,a.jsx)("div",{className:"absolute col-start-1 row-start-1 h-full w-full p-4 flex items-center justify-center",children:(0,a.jsx)("div",{className:"btn imageCta !h-fit justify-self-center w-fit text-center bg-black/50 px-5 !py-2 rounded-full font-montserrat text-brand-soft-white text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:(0,a.jsx)("span",{className:"font-montserrat inline text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:e.title})})})]})},l))}),(0,a.jsxs)("div",{className:"flex flex-col justify-between w-full sm:w-[468px] lg:w-1/2 lg:p-10 font-montserrat font-normal",children:[t.heading&&(0,a.jsx)(r.lb,{data:t.heading,className:"font-didot color-from-bg whitespace-pre-wrap text-title-l not-italic font-normal leading-10 -tracking-headline-m-mobile w-fit text-left pb-6 md:text-title-xl md:leading-[44px] md:-tracking-headline-l-mobile lg:mx-0 lg:w-fit lg:text-[64px] lg:leading-[80px] lg:-tracking-headline-s [&_.indented]:ml-11"}),t.text&&(0,a.jsx)("div",{className:"color-from-bg description text-sm md:text-base leading-6 mt-1 md:mt-1.5 lg:mt-0 lg:-tracking-[0.14px]  max-w-[392px] lg:pb-[60px]",dangerouslySetInnerHTML:{__html:t.text}}),t.ctaLabel&&(0,a.jsxs)("button",{className:"btn border-black/25 mt-8 lg:mt-[13.6px] md:justify-start px-6 md:w-fit ".concat((0,i.DP)(t.backgroundColour)?"secondary border-brand-soft-white ":"primary ".concat("#bcab5d"===t.backgroundColour&&"hover:!border-brand-soft-white")),onClick:()=>o({form:!0,form_id:t.moduleId}),children:[(0,a.jsx)("span",{children:t.ctaLabel.toLocaleUpperCase(l.locale)}),(0,a.jsx)(s.Z,{})]})]})]})]})}},2161:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(5158),s=l(1408),i=l(3068),o=l(5506),c=l(2987),d=l.n(c);l(4165);var m=l(7939),u=l(3967),x=l.n(u);t.default=e=>{let{data:t}=e,{cardRow:l}=t||{},[c,u]=(0,r.useState)(0),[p,g]=(0,r.useState)(0),h=d().theme.screens,[f,b]=(0,r.useState)(0),v=(0,r.useRef)(),w=(0,o.DP)((0,o.iy)(null==t?void 0:t.backgroundColour)),j=e=>{u(e.index)},y=()=>{g(v.current.panelCount)}
1;return(0,r.useEffect)(()=>{let e=()=>{window.innerWidth<parseInt(h.md)?b(1):window.innerWidth>=parseInt(h.md)&&window.innerWidth<parseInt(h.lg)?b(2):b(3)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[h.md,h.lg]),(0,a.jsxs)(n.hp,{data:t,className:"",children:[(t.headingTitle.heading.length>0||t.description.length>0||t.primaryCta)&&(0,a.jsxs)("div",{className:"content-wrapper container lg:px-[108px] mb-6 pt-12 md:pt-14 lg:pb-4 font-montserrat flex flex-col gap-8 lg:flex-row lg:gap-0 lg:justify-between",children:[(0,a.jsxs)("div",{className:"copy lg:max-w-[808px]",children:[t.headingTitle&&(0,a.jsx)(n.lb,{data:t.headingTitle,className:"color-from-bg mb-4 font-semibold uppercase text-base leading-5 tracking-headline-m-tablet md:text-xl md:leading-6 md:tracking-title-m"}),t.description&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.description},className:"color-from-bg text-sm leading-6 font-normal opacity-75"})]}),t.primaryCta&&(0,a.jsxs)(n.rU,{link:t.primaryCta,className:"btn primary w-full md:w-fit color-from-bg lg:self-end",children:[t.primaryCta.text," ",(0,a.jsx)(m.Z,{className:"!ml-6"})]})]}),(0,a.jsx)("div",{className:"card-carousel-generic-wrapper max-w-[390px] md:max-w-screen-md lg:max-w-[1440px] mx-auto px-6 md:px-10 lg:px-[108px]",children:l&&(null==l?void 0:l.length)>0&&l.map((e,l)=>{var r;return(0,a.jsx)("div",{className:"w-full",children:e.props.cards&&(null===(r=e.props.cards)||void 0===r?void 0:r.length)>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Co,{ref:v,align:"prev",panelsPerView:"ArticleCardRow"===e.moduleName||"ResortCardRow"===e.moduleName||"RestaurantCardRowModel"===e.moduleName||"CustomCardRowModel"===e.moduleName?f:"",useResizeObserver:!0,horizontal:!0,preventDefaultOnDrag:!0,circular:!0,onReady:y,onWillChange:j,circularFallback:"bound",className:"",children:e.props.cards.map((e,t)=>(0,a.jsx)("div",{className:"flex mr-6 [&_.article-card]:w-full",children:(0,a.jsx)(n.m7,{data:e,className:"w-full md:w-[332px] xl:w-[392px] akarmi "})},t))}),(0,a.jsx)(i.Z,{dark:w,current:c,total:p,className:x()("mx-auto lg:mx-0 lg:ml-auto mt-12 md:mt-16",{block:p>=3,"lg:hidden":p<=3}),moduleName:t.moduleName})]})},l)})})]})}},1360:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(5158),s=l(3068),i=l(1408),o=l(7939),c=l(94),d=l(5506),m=l(3967),u=l.n(m);t.default=e=>{let{data:t}=e,{headingTitle:l,description:m,primaryCta:x,cardRow:p}=t||{},{t:g}=(0,c.$G)("common"),h=(0,r.useRef)(),[f,b]=(0,r.useState)(0),[v,w]=(0,r.useState)(0),j=e=>{b(e.index)},y=()=>{w(h.current.panelCount)},N=(0,d.DP)((0,d.iy)(null==t?void 0:t.backgroundColour));return(0,a.jsx)(n.hp,{data:t,className:"overflow-hidden",children:(0,a.jsxs)("div",{className:"container pr-0 pt-12 md:pt-14",children:[(0,a.jsxs)("div",{className:"description-data pr-6 md:pr-10 lg:pr-[108px] w-full mb-8  md:mb-10 lg:flex lg:justify-between",role:"contentinfo","aria-label":g("general.$contactInfo"),children:[(0,a.jsxs)("div",{className:"title-wrapper lg:max-w-[808px]",children:[l&&(0,a.jsx)(n.lb,{data:l,className:"main-title color-from-bg font-montserrat mb-4 text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase md:text-xl md:leading-6 md:tracking-quote-reg-mobile"}),m&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:m},className:"font-montserrat color-from-bg text-sm not-italic font-light leading-6 lg:text-base lg:leading-6.5 "})]}),x&&(0,a.jsxs)(n.rU,{className:"btn primary w-full md:w-fit first-link md:self-start color-from-bg mt-8 lg:mt-auto",link:x,children:[(0,a.jsx)("span",{children:x.text}),(0,a.jsx)(o.Z,{className:"!ml-6",role:"presentation"})]})]}),p&&(null==p?void 0:p.length)>0&&p.map((e,t)=>{var l;return(0,a.jsx)("div",{className:"w-full",children:e.props.cards&&(null===(l=e.props.cards)||void 0===l?void 0:l.length)>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Co,{ref:h,align:"prev",useResizeObserver:!0,horizontal:!0,circular:!0,circularFallback:"bound",className:"",onReady:y,onWillChange:j,children:e.props.cards.map((e,t)=>(0,a.jsx)("div",{className:u()("mr-4 w-[300px] md:w-[400px] xl:w-[472px]","ArticleCard"!==e.moduleName?"flex":""),children:(0,a.jsx)(n.m7,{data:e,dark:N,className:"w-full"})},t))}),(0,a.jsx)(s.Z,{dark:N,current:f,total:v,className:"mx-auto mt-10 pr-6 md:mt-16 md:pr-10 lg:mx-0 lg:ml-auto lg:pr-[108px]"})]})},t)})]})})}},9090:function(e,t,l){"use strict";l.r(t);var a=l(5893);l(7294);var r=l(5697),n=l.n(r),s=l(5158),i=l(7939),o=l(94),c=l(1583),d=l(3967),m=l.n(d);let u=e=>{let{data:t}
1=e,{cards:l,headingTitle:r,description:n,primaryCTA:d,numberOfColumns:u}=t||{},{t:x}=(0,o.$G)("common"),p=(0,c.DP)(t.backgroundColour);return(0,a.jsx)(s.hp,{data:t,className:"overflow-hidden pb-10 pt-20 md:pt-20 lg:pb-20 ",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:"description-data w-full mb-6 lg:mb-4 lg:flex lg:justify-between",role:"contentinfo","aria-label":x("general.$contactInfo"),children:[(0,a.jsxs)("div",{className:"title-wrapper lg:max-w-[808px]",children:[r&&(0,a.jsx)(s.lb,{data:r,className:"main-title color-from-bg font-montserrat mb-4 text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase md:text-xl md:leading-6 md:tracking-quote-reg-mobile"}),n&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:n},className:"font-montserrat color-from-bg text-sm not-italic font-normal leading-6 lg:text-base lg:leading-6.5"})]}),d&&(0,a.jsxs)(s.rU,{className:"btn primary first-link md:self-start color-from-bg mt-8",link:d,children:[(0,a.jsx)("span",{children:d.text}),(0,a.jsx)(i.Z,{className:"ml-8",role:"presentation"})]})]}),l.map((e,t)=>(0,a.jsx)("div",{className:m()("flex flex-col gap-8 md:gap-x-6 md:gap-y-10 md:grid ${columnLayout()} mt-8 md:mt-10",{"md:grid-cols-2":"two"===u.toLowerCase(),"md:grid-cols-2 lg:grid-cols-3":"three"===u.toLowerCase()}),children:e.props.cards.map((e,t)=>(0,a.jsx)("div",{className:"card-wrapper flex",children:(0,a.jsx)(s.m7,{data:e,className:"w-full ".concat(("ExperienceCard"===e.moduleName||"GenericCard"===e.moduleName)&&"Three"===u?"[&_.img-wrapper]:lg:aspect-[392/319] [&_.img-wrapper]:lg:max-h-[319px]":""),numberOfColumns:u,dark:p})},t))},t))]})})};u.propTypes={data:n().any.isRequired,buttonWrapperClassName:n().string},t.default=u},1672:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(1163),s=l(1649),i=l(1583),o=l(3967),c=l.n(o),d=l(4246),m=l(5158),u=l(94);t.default=e=>{var t,l,o,x;let{data:p}=e,[g,h]=(0,r.useState)(0),[f,b]=(0,r.useState)([]),[v,w]=(0,r.useState)(!0),[j,y]=(0,r.useState)(0),N=(0,n.useRouter)(),k=(0,r.useRef)(null),C=(0,r.useRef)(),{backgroundColour:_}=p||{},M=(0,r.useRef)({filters:[],page:1}),T=(0,s.v9)(d.Sl),{t:L}=(0,u.$G)("common"),S=(0,r.useContext)(m.A_),A=null;(null==p?void 0:null===(t=p.filtersAndCards)||void 0===t?void 0:t.filter)&&(A=null==p?void 0:null===(x=p.filtersAndCards)||void 0===x?void 0:null===(o=x.filter[0].filters)||void 0===o?void 0:o.map(e=>({tabTitle:e.name,...e})));let E=(null===(l=A)||void 0===l?void 0:l.length)>0?[{tabTitle:L("general.$all")},...A]:null;(0,r.useEffect)(()=>{var e,t,l;let a={filters:(0,i.qL)(N),page:Number(N.query.page||1)};(null==p?void 0:null===(e=p.filtersAndCards)||void 0===e?void 0:e.cards)&&(null==p?void 0:null===(t=p.filtersAndCards)||void 0===t?void 0:t.cards.length)>0&&JSON.stringify(a)===JSON.stringify(M.current)?(b(p.filtersAndCards.cards),y(p.filtersAndCards.totalCount)):T&&(M.current=a,z());let r=null===(l=M.current.filters)||void 0===l?void 0:l.map(e=>e.FieldGuids)[0];h(r&&r[0]?null==E?void 0:E.findIndex(e=>e.filterGuid===r[0]):0)},[T,p]),(0,r.useEffect)(()=>{let e={filters:(0,i.qL)(N),page:Number(N.query.page||1)};JSON.stringify(e)!==JSON.stringify(M.current)&&T&&(M.current={...M.current,...e},z())},[T,N.query]);let z=async()=>{var e,t,l,a,r;w(!1);let n=new Promise(e=>setTimeout(()=>e(),500));k.current&&k.current.abort();let s=new AbortController;k.current=s;let i={pageId:T,ancestorId:p.filtersAndCards.ancestorId,culture:(null===(e=p.filtersAndCards)||void 0===e?void 0:e.culture)||N.locale,ids:(null===(t=M.current.filters)||void 0===t?void 0:t.map(e=>e.FieldGuids)[0])||[],pageSize:p.filtersAndCards.pageSize,pageNumber:M.current.page,cardsType:p.filtersAndCards.cardType,showFilters:!0,filters:[{fieldName:(null==p?void 0:null===(l=p.filtersAndCards)||void 0===l?void 0:l.filter)&&p.filtersAndCards.filter[0].filterLabel,FieldGuids:(null===(a=M.current.filters)||void 0===a?void 0:a.map(e=>e.FieldGuids)[0])||[]}]},o=fetch("/api/umbraco/api/ProductCard/GetCards",{method:"POST",signal:null===(r=k.current)||void 0===r?void 0:r.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}).catch(console.error);Promise.all([o,n]).then(async e=>{let t=e[0];if(t&&t.ok){let e=await t.json();b(e.cards),y(e.totalCount)}setTimeout(()=>{w(!0)},100)})},O=(0,i.DP)((0,i.iy)(null==p?void 0:p.backgroundColour));return(0,a.jsxs)(m.hp,{data:p,className:"py-20",children:[p.headingTitle&&(0,a.jsx)(m.lb,{data:p.headingTitle,className:"main-title font-didot mb-10 md:mb-[72px] lg:mb-14 text-center text-title-l not-italic font-normal leading-8 -tracking-headline-m-mobile md:text-5xl md:leading-10 md:-tracking-headline-m-tablet lg:text-headline-m lg:leading-12 lg:-tracking-headline-l-tablet"}),(0,a.jsx)("div",{ref:C}),E&&(0,a.jsx)(m.mQ,{ref:C,tabs:E,activeTab:g,onChange:(e,t)=>
1{(0,i.z)(N,{category:t.filterGuid,page:null})},dark:O,className:"mb-10 lg:mb-[72px] [&_.tab-item-wrapper]:md:justify-between [&_.tab-item]:sm:w-full"}),(0,a.jsxs)("div",{className:"container min-h-[600px] flex flex-col justify-between",children:[(0,a.jsx)("div",{className:"card-wrapper flex flex-col gap-x-6 gap-y-6 md:flex-row md:flex-wrap lg:gap-y-10",children:f.map(e=>(0,a.jsx)("div",{className:c()("w-full md:w-[48%] lg:w-[31%] xl:w-[32%] transition-all duration-500","ArticleCard"!==e.moduleName&&"flex",v?"opacity-100":"opacity-0"),children:(0,a.jsx)(m.m7,{data:e})},e.moduleId))}),(0,a.jsx)("div",{children:(0,a.jsx)(m.tl,{className:c()("transition-all duration-500",v?"opacity-100":"opacity-0"),totalCount:j,pageSize:p.filtersAndCards.pageSize,queryMode:!0,onChange:()=>S.scrollTo(C.current,!0,"top 100px"),backgroundColour:_})})]})]})}},4619:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(4246),s=l(5158),i=l(94),o=l(1649),c=l(1583),d=l(1163),m=l(3967),u=l.n(m);let x=e=>1===e||"Room"===e||"room"===e;t.default=e=>{var t,l,m,p,g;let{data:h}=e,[f,b]=(0,r.useState)([]),[v,w]=(0,r.useState)(!1),[j,y]=(0,r.useState)(0),[N,k]=(0,r.useState)(!1),C=(0,r.useRef)(null),_=(0,r.useRef)(null),M=(0,r.useRef)(1),T=(0,o.v9)(n.Sl),L=(0,d.useRouter)(),{t:S}=(0,i.$G)("common"),A=x(null==h?void 0:null===(t=h.filtersAndCards)||void 0===t?void 0:t.cardType);(0,r.useEffect)(()=>{var e,t;if(!(null==h?void 0:null===(e=h.filtersAndCards)||void 0===e?void 0:e.cards)||!T)return;let l="".concat(T,"-").concat(h.moduleId);_.current!==l&&(_.current=l,M.current=1,k(!1),b(h.filtersAndCards.cards),y(null!==(t=h.filtersAndCards.totalCount)&&void 0!==t?t:0))},[T,null==h?void 0:h.moduleId,null==h?void 0:null===(l=h.filtersAndCards)||void 0===l?void 0:l.cards,null==h?void 0:null===(m=h.filtersAndCards)||void 0===m?void 0:m.totalCount,null==h?void 0:null===(p=h.filtersAndCards)||void 0===p?void 0:p.cardType]);let E=async()=>{var e;w(!0),C.current&&C.current.abort();let t=new AbortController;C.current=t;let l=h.filtersAndCards.pageSize||3,a=new Set(f.map(e=>e.moduleId)),r=M.current,n=[],s=j;try{for(let i=0;i<20;i+=1){let i={pageId:T,culture:(null===(e=h.filtersAndCards)||void 0===e?void 0:e.culture)||L.locale,ancestorId:h.filtersAndCards.ancestorId,pageSize:l,pageNumber:r,cardsType:h.filtersAndCards.cardType,filters:[]},o=await fetch("/api/umbraco/api/ProductCard/GetCards",{method:"POST",signal:t.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!(null==o?void 0:o.ok)){k(!0);break}let c=await o.json(),d=c.cards||[];null!=c.totalCount&&(s=c.totalCount);let m=d.filter(e=>e.moduleId&&!a.has(e.moduleId));if(m.length>0){n=m,M.current=r+1,d.length<l&&k(!0);break}if(d.length<l){k(!0);break}r+=1,M.current=r}n.length>0&&(b(e=>[...e,...n]),(0,c.z)(L,{page:M.current})),y(s)}catch(e){(null==e?void 0:e.name)!=="AbortError"&&console.error(e)}finally{w(!1)}},z=async()=>{var e,t;w(!0),C.current&&C.current.abort();let l=new AbortController;C.current=l;let a=Math.floor(f.length/(h.filtersAndCards.pageSize||3))+1,r={pageId:T,culture:(null===(e=h.filtersAndCards)||void 0===e?void 0:e.culture)||L.locale,ancestorId:h.filtersAndCards.ancestorId,pageSize:h.filtersAndCards.pageSize,pageNumber:a,cardsType:h.filtersAndCards.cardType};try{let e=await fetch("/api/umbraco/api/ProductCard/GetCards",{method:"POST",signal:l.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(null==e?void 0:e.ok){let l=await e.json();b(e=>[...e,...l.cards||[]]),y(null!==(t=l.totalCount)&&void 0!==t?t:j),(0,c.z)(L,{page:a})}}catch(e){(null==e?void 0:e.name)!=="AbortError"&&console.error(e)}finally{w(!1)}},O=(0,c.DP)((0,c.iy)(null==h?void 0:h.backgroundColour)),I=A?!N:j>0&&f.length<j;return(0,a.jsx)(s.hp,{data:h,className:"overflow-hidden py-6 md:py-10 lg:py-20",children:(0,a.jsxs)("div",{className:"container flex flex-col gap-8 md:gap-12 lg:gap-10 items-center",children:[f.map((e,t)=>{var l;return(0,a.jsx)(s.m7,{data:e,dark:O,showButton:null==h?void 0:null===(l=h.filtersAndCards)||void 0===l?void 0:l.showBookNowButton,className:u()("w-full px-0","Side"===e.props.alignment?"odd:lg:flex-row even:lg:flex-row-reverse":"")},null!==(g=e.moduleId)&&void 0!==g?g:t)}),v&&(0,a.jsx)("div",{className:"w-full flex justify-center py-10",children:(0,a.jsxs)("svg",{className:u()("animate-spin h-10 w-10 ",O?"text-white":"text-black"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),I&&(0,a.jsx)("button",{className:"color-from-bg btn link w-fit px-16",onClick:()=>
1{if(!v){if(A){if(N)return;E();return}f.length>=j||z()}},disabled:v,children:S("general.$viewMore")})]})})}},5540:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(1583),s=l(7939),i=l(3967),o=l.n(i);t.default=e=>{let{data:t}=e,l=(0,n.DP)(t.backgroundColour);return(0,a.jsx)(r.hp,{data:t,className:"font-normal",children:(0,a.jsxs)("div",{className:"main-wrapper container font-montserrat",children:[(0,a.jsxs)("div",{className:o()("text-wrapper w-full",(1!==t.leftColumnContacts.length||t.rightColumnContacts.length)&&(1!==t.rightColumnContacts.length||t.leftColumnContacts.length)?"":"text-center flex flex-col items-center"),children:[t.headingTitle&&(0,a.jsx)(r.lb,{data:t.headingTitle,className:"max-w-[392px] color-from-bg text-base leading-5 tracking-headline-m-tablet md:text-xl md:leading-6 md:tracking-title-m uppercase font-semibold"}),t.description&&(0,a.jsx)("div",{className:"color-from-bg description text-sm leading-6 mt-4 lg:-tracking-[0.14px] max-w-[392px]",dangerouslySetInnerHTML:{__html:t.description}})]}),(0,a.jsxs)("div",{className:o()("contacts-wrapper flex flex-col",t.rightColumnContacts.length>0&&t.leftColumnContacts.length<=1?"lg:flex-row lg:gap-6":""),children:[t.leftColumnContacts.length>0&&(0,a.jsx)("div",{className:"primary-contacts-row w-full flex flex-col gap-7 lg:flex-row lg:gap-6 color-from-bg",children:t.leftColumnContacts.map((e,r)=>(0,a.jsxs)("div",{className:o()("contact w-full",1!==t.leftColumnContacts.length||t.rightColumnContacts.length?"":"flex flex-col items-center"),children:[e.contactTitle&&(0,a.jsx)("p",{className:o()("text-sm tracking-title-s font-semibold leading-normal uppercase",t.description.length>0?"my-10":"my-6"),children:e.contactTitle}),e.phoneNumber&&(0,a.jsx)("a",{href:"tel:".concat(e.phoneNumber),className:"contact-phone text-sm leading-6 flex items-center gap-3 before:content-phone before:h-6 underline underline-offset-[6px] mb-4 ".concat(l?"before:invert":""),children:e.phoneNumber}),e.emailAddress&&(0,a.jsx)("a",{href:"mailto:".concat(e.emailAddress),className:o()("contact-mail text-sm leading-6 flex items-center gap-3 before:content-mail before:h-6 underline underline-offset-[6px]",l?"before:invert":"",e.instagramHandle?"mb-4":""),children:e.emailAddress}),e.instagramHandle&&(0,a.jsx)("a",{href:"https://www.instagram.com/".concat(e.instagramHandle.includes("@")?e.instagramHandle.split("@")[1]:e.instagramHandle,"/"),target:"_blank",className:o()("contact-instagram text-sm leading-6 flex items-center gap-3 before:content-instagram before:h-6 underline underline-offset-[6px]",l?"before:invert":""),children:e.instagramHandle.includes("@")?e.instagramHandle:"@".concat(e.instagramHandle)})]},r))}),t.rightColumnContacts.length>0&&(0,a.jsx)("div",{className:"secondary-contacts-row w-full mt-[72px] flex flex-col gap-7 lg:flex-row lg:gap-6 lg:mt-0 color-from-bg",children:t.rightColumnContacts.map((e,r)=>(0,a.jsxs)("div",{className:o()("contact w-full",1!==t.rightColumnContacts.length||t.leftColumnContacts.length?"":"flex flex-col items-center"),children:[e.contactTitle&&(0,a.jsx)("p",{className:o()("text-sm tracking-title-s font-semibold leading-normal uppercase",t.description.length>0?"my-10 first:mt-0 first:lg:mt-10":"my-6"),children:e.contactTitle}),e.phoneNumber&&(0,a.jsx)("a",{href:"tel:".concat(e.phoneNumber),className:o()("contact-phone text-sm leading-6 flex items-center gap-3 before:content-phone before:h-6 underline underline-offset-[6px] mb-4",l?"before:invert":""),children:e.phoneNumber}),e.emailAddress&&(0,a.jsx)("a",{href:"mailto:".concat(e.emailAddress),className:o()("contact-mail text-sm leading-6 flex items-center gap-3 before:content-mail before:h-6 underline underline-offset-[6px]",l?"before:invert":"",e.instagramHandle?"mb-4":""),children:e.emailAddress}),e.instagramHandle&&(0,a.jsx)("a",{href:"https://www.instagram.com/".concat(e.instagramHandle.includes("@")?e.instagramHandle.split("@")[1]:e.instagramHandle,"/"),target:"_blank",className:"contact-instagram text-sm leading-6 flex items-center gap-3 before:content-instagram before:h-6 underline underline-offset-[6px] ".concat(l?"before:invert":""),children:e.instagramHandle.includes("@")?e.instagramHandle:"@".concat(e.instagramHandle)})]},r))})]}),t.primaryCTA&&(0,a.jsx)("div",{className:"CTA-wrapper mt-14 md:mt-16 lg:mt-20 flex",children:(0,a.jsxs)(r.rU,{className:o()("btn w-full md:w-fit",l?"primary color-from-bg":"primary-dark",(1!==t.leftColumnContacts.length||t.rightColumnContacts.length)&&(1!==t.rightColumnContacts.length||t.leftColumnContacts.length)?"":"mx-auto"),link:t.primaryCTA,children:[(0,a.jsx)("span",{children:t.primaryCTA.text}),(0,a.jsx)(s.Z,{role:"presentation",className:"!ml-6 !stroke-none !fill-current"})]})})]})})}},2308:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return L}});var a,r,n,s,i=l(5893),o=l(5158),c=l(5697),d=l.n(c),m=l(7294);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var x=function(e){return m.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=m.createElement("path",{fill:"#000",d:"M16.375 3.25a4.388 4.388 0 0 1 4.376 4.375v8.75a4.388 4.388 0 0 1-4.376 4.375h-8.75a4.389 4.389 0 0 1-4.375-4.375v-8.75A4.388 4.388 0 0 1 7.626 3.25zm0-1.75h-8.75C4.258 1.5 1.5 4.256 1.5 7.625v8.75c0 3.369 2.757 6.125 6.126 6.125h8.75c3.368 0 6.124-2.756 6.124-6.125v-8.75c0-3.369-2.756-6.125-6.125-6.125"})),r||(r=m.createElement("path",{fill:"#000",d:"M17.691 7.633a1.317 1.317 0 1 1 0-2.634 1.317 1.317 0 0 1 0 2.634M12 8.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m0-1.75a5.25 5.25 0 1 0 0 10.5 5.25 5.25 0 0 0 0-10.5"})))},p=l(8247),g=l(4483);
1function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var f=function(e){return m.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),n||(n=m.createElement("g",{clipPath:"url(#youtube_svg__a)"},m.createElement("path",{fill:"#000",d:"M23.843 6.975c0-2.11-1.552-3.807-3.47-3.807A170.472 170.472 0 0 0 12.423 3h-.844c-2.7 0-5.353.047-7.95.169-1.912 0-3.464 1.706-3.464 3.815A69.731 69.731 0 0 0 0 11.99a72.582 72.582 0 0 0 .16 5.011c0 2.11 1.551 3.82 3.464 3.82 2.728.127 5.526.183 8.371.178 2.85.01 5.641-.05 8.372-.178 1.918 0 3.469-1.71 3.469-3.82.113-1.673.164-3.342.16-5.016.01-1.668-.04-3.339-.153-5.01m-14.14 9.614V7.378L16.5 11.98z"}))),s||(s=m.createElement("defs",null,m.createElement("clipPath",{id:"youtube_svg__a"},m.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))},b=l(604),v=l(94),w=l(1163),j=l(3967),y=l.n(j),N=l(1664),k=l.n(N),C={src:"/_next/static/media/etbis-logo-yeni.8da1e492.png",height:98,width:214,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAYAAACzzX7wAAAAfUlEQVR42mMAgbUCArIz+bnMGdgZGBmYmPj4mZn5WJiZ2ZmZmIQZrrGze2zn5pg5nY9zgQcnmxEDI6M3JxNTNCsTUywLE1MAw1MmJq6NPNy+UwX5Uvy4OQwZWFichJmZbRmYmJwZmJhNGdDBBm19lc3K2spbVXVUNmrqqQAAPiwRkKZv+XUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:4},_=l(5675),M=l.n(_);let T=e=>{var t;let{data:l}=e,{t:a}=(0,v.$G)("common"),r=(0,w.useRouter)(),n=r.asPath.includes("caja-by-maxx-royal/caja-landing"),s=r.asPath.includes("caja-by-maxx-royal"),c=r.asPath.includes("belek-golf-resort"),d=r.asPath.includes("kemer-resort"),m=r.asPath.includes("bodrum-resort"),u=r.asPath.includes("https://www.montgomeriemaxxroyal.com/tr"),h={tr:"Otel İşletme Belge No: 10200","en-US":"Hotel Operating Licence No: 10200",de:"Hotelbetriebslizenz-Nr: 10200",ru:"Лицензия отеля №: 10200"},j={tr:"Otel İşletme Belge No: 11958","en-US":"Hotel Operating Licence No: 11958",de:"Hotelbetriebslizenz-Nr: 11958",ru:"Лицензия отеля №: 11958"},N={tr:"Otel İşletme Belge No: 7471","en-US":"Hotel Operating Licence No: 7471",de:"Hotelbetriebslizenz-Nr: 7471",ru:"Лицензия отеля №: 7471"},_={tr:"Otel İşletme Belge No: 8412","en-US":"Hotel Operating Licence No: 8412",de:"Hotelbetriebslizenz-Nr: 8412",ru:"Лицензия отеля №: 8412"};return(0,i.jsxs)(o.hp,{data:l,className:"font-montserrat bg-brand-soft-white pt-14 pb-6 md:pt-16 md:pb-4",role:"contentinfo","aria-label":a("general.$footer"),hTag:"footer",children:[(0,i.jsx)("div",{className:"logo mx-auto mb-14 w-[193px] md:mb-16 md:w-[226px] lg:w-[185px]",children:(0,i.jsx)(o.t3,{image:l.footerLogo,heights:{xs:50,md:50,lg:50,xl:50},imgProps:{className:"object-contain h-full",alt:"logo",height:"40",width:"180"}})}),(0,i.jsx)("div",{className:"main-data-wrapper container flex flex-col lg:flex-row lg:items-start lg:justify-between lg:gap-10 lg:mb-16",children:l.linkColumns&&(0,i.jsx)("div",{className:"w-full mb-12 flex flex-col lg:flex-row items-center md:mb-16 md:justify-between lg:m-0 sm:items-start gap-10",children:(0,i.jsxs)("div",{className:y()("flex w-full md:w-[100%] flex-col md:flex-nowrap flex-wrap md:flex-row items-start gap-10 lg:gap-4",n&&"justify-center"),children:[!n&&l.linkColumns.map((e,t)=>(0,i.jsxs)("div",{className:"columns w-full md:w-[calc(100%/3-1.75rem)] text-center md:text-start",children:[(0,i.jsx)("p",{className:"font-semibold mb-4 text-sm uppercase tracking-title-s",children:e.columnHeading}),e.links.map((e,t)=>(0,i.jsx)("div",{className:"inner-column-links mb-3 last:mb-0",children:(0,i.jsx)(o.rU,{link:e,className:"font-normal text-sm leading-6",children:e.text})},t)),!u&&s&&2===t&&(0,i.jsx)("div",{className:"inner-column-links mb-3 last:mb-0",children:(0,i.jsx)("p",{className:"font-normal text-sm leading-6",children:_[r.locale]})}),!u&&d&&2===t&&(0,i.jsx)("div",{className:"inner-column-links mb-3 last:mb-0",children:(0,i.jsx)("p",{className:"font-normal text-sm leading-6",children:j[r.locale]})}
1),!u&&c&&2===t&&(0,i.jsx)("div",{className:"inner-column-links mb-3 last:mb-0",children:(0,i.jsx)("p",{className:"font-normal text-sm leading-6",children:h[r.locale]})}),!u&&m&&2===t&&(0,i.jsx)("div",{className:"inner-column-links mb-3 last:mb-0",children:(0,i.jsx)("p",{className:"font-normal text-sm leading-6",children:N[r.locale]})})]},t)),(0,i.jsx)("div",{className:"md:hidden border-t border-t-black/10 h-1 w-full"}),l.displayContactDetails&&(0,i.jsxs)("div",{className:y()("contact-details mb-0 flex flex-col items-center justify-center md:justify-start md:w-auto w-full lg:mb-0 md:items-start"),children:[(0,i.jsxs)("div",{className:y()("inner-wrapper-first w-full ",n?"text-center":"md:text-left text-center"),children:[(0,i.jsx)("p",{className:"font-semibold mb-4 text-sm uppercase tracking-title-s",children:l.contactsLabel}),l.displayAddress&&(0,i.jsxs)("div",{className:"adress text-center md:text-left",children:[l.addressStreet&&(0,i.jsx)("p",{className:"text-sm leading-6 font-normal mb-3",children:l.addressStreet}),l.addressCity&&(0,i.jsx)("p",{className:"text-sm leading-6 font-normal mb-3",children:l.addressCity}),l.addressCountry&&(0,i.jsx)("p",{className:"text-sm leading-6 font-normal mb-3",children:l.addressCountry}),l.addressPostCode&&(0,i.jsx)("p",{className:"text-sm leading-6 font-normal mb-0",children:l.addressPostCode})]}),l.googleMaps&&(0,i.jsx)("div",{className:"external-link-wrapper text-center mt-3 mb-3 md:text-left",children:(0,i.jsx)(o.rU,{link:l.googleMaps,className:"after:content-externalLink text-sm leading-6 font-normal flex justify-center gap-3 items-center lg:justify-start",children:l.googleMaps.text})})]}),(0,i.jsxs)("div",{className:y()("phone-and-email flex items-center w-full md:items-start lg:w-full",n?"md:flex-row flex-col gap-4":"flex-col"),children:[l.contactTitle&&(0,i.jsx)("p",{className:"font-montserrat mb-3 lg:mb-4 text-sm not-italic font-normal leading-6",children:l.contactTitle}),l.phoneNumber&&!n&&(0,i.jsx)("a",{href:"tel:".concat(l.phoneNumber),className:"border-b w-fit mb-3 lg:mb-4 text-sm leading-6 font-normal italic",children:l.phoneNumber}),n&&(0,i.jsx)("a",{href:"tel:4443020",className:"border-b w-fit mb-3 lg:mb-4 text-sm leading-6 font-normal italic",children:"444 30 20"}),l.emailAddress&&!n&&(0,i.jsx)("a",{href:"mailto:".concat(l.emailAddress),className:"border-b mb-3 lg:mb-4 w-fit text-sm leading-6 font-normal italic",children:l.emailAddress}),n&&(0,i.jsx)("a",{href:"mailto:[email protected]",className:"border-b mb-3 lg:mb-4 w-fit text-sm leading-6 font-normal italic",children:"[email protected]"}),l.otherEnquiries&&!n&&(0,i.jsx)(o.rU,{link:l.otherEnquiries,className:"font-montserrat  text-sm not-italic font-normal leading-6"}),n&&(0,i.jsx)(k(),{className:"font-montserrat  text-sm not-italic font-normal leading-6",href:{tr:"https://www.maxxroyal.com/tr/caja-by-maxx-royal/iletisim","en-US":"https://www.maxxroyal.com/caja-by-maxx-royal/contact",de:"https://www.maxxroyal.com/de/caja-by-maxx-royal/kontakt",ru:"https://www.maxxroyal.com/ru/caja-by-maxx-royal/kontakty"}[r.locale],children:l.otherEnquiries.text})]})]})]})})}),(0,i.jsx)("div",{className:"w-full h-px bg-black opacity-10 mb-8 lg:mb-10"}),!n&&(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:y()("flex flex-col items-center justify-between gap-8","sm:flex-row"),children:[(0,i.jsx)("div",{className:y()("hidden","w-[174px]","sm:block")}),l.displaySocialLinks&&(0,i.jsx)("div",{className:"social-link-wrapper container  flex justify-center ",children:l.socialLinks.map((e,t)=>(0,i.jsx)("div",{className:"social-link-item mr-[42px] last:mr-0",children:"facebook"===e.socialPlatform.toLowerCase()?(0,i.jsx)(o.rU,{link:e.link,"aria-label":"Facebook",children:(0,i.jsx)(p.Z,{})}):"instagram"===e.socialPlatform.toLowerCase()?(0,i.jsx)(o.rU,{link:e.link,"aria-label":"Instagram",children:(0,i.jsx)(x,{})}):"linkedin"===e.socialPlatform.toLowerCase()?(0,i.jsx)(o.rU,{link:e.link,"aria-label":"Linkedin",children:(0,i.jsx)(g.Z,{})}):"youtube"===e.socialPlatform.toLowerCase()?(0,i.jsx)(o.rU,{link:e.link,"aria-label":"Youtube",children:(0,i.jsx)(f,{})}):"twitter"===e.socialPlatform.toLowerCase()?(0,i.jsx)(o.rU,{link:e.link,"aria-label":"Twitter",children:(0,i.jsx)(b.Z,{})}):null},t))}),(0,i.jsx)("div",{children:(0,i.jsx)(k(),{target:"_blank",rel:"noopener noreferrer",href:"https://etbis.ticaret.gov.tr/tr/SiteSorgulamaSonuc?siteId=3bc409d5-4d56-4dfc-b6ad-ef0a1262ea32","aria-label":"Etbis",width:214,height:98,children:(0,i.jsx)(M(),{src:C,alt:"etbis"})})})]})}),n&&(0,i.jsxs)("div",{className:"social-link-wrapper container flex justify-center",children:[(0,i.jsx)("div",{className:"social-link-item mr-[42px] last:mr-0",children:(0,i.jsx)(k(),{target:"_blank",href:"https://www.facebook.com/cajabymaxxroyal/","aria-label":"Facebook",children:(0,i.jsx)(p.Z,{})})}),(0,i.jsx)("div",{className:"social-link-item mr-[42px] last:mr-0",children:(0,i.jsx)(k(),{target:"_blank",href:"https://www.instagram.com/cajabymaxxroyal/","aria-label":"Instagram",children:(0,i.jsx)(x,{})})}),(0,i.jsx)("div",{className:"social-link-item mr-[42px] last:mr-0",children:(0,i.jsx)(k(),{target:"_blank",href:"https://www.youtube.com/channel/UCWiDzIXOdt5zDdcGdUdOD_A","aria-label":"Youtube",children:(0,i.jsx)(f,{})})})]}),(0,i.jsx)("div",{className:"w-full h-px bg-black opacity-10 mt-8 lg:mt-10 mb-6 md:mb-4"}),(0,i.jsxs)("div",{className:"bottom-data container flex flex-col md:flex-row md:justify-between",children:[(0,i.jsx)("div",{className:"bottom-links flex flex-col justify-center items-center  md:flex-row md:justify-start md:items-start",children:null===(t=l.bottomLinks)||void 0===t?void 0:t.map((e,t)=>(0,i.jsx)("div",{className:"bottom-link-item mb-6  md:mb-0 md:mr-6 md:last:mr-0 last:mb-0 lg:mr-10",children:(0,i.jsx)(o.rU,{link:e,className:"text-xs font-normal leading-5 opacity-50"})},t))}),(0,i.jsx)("div",{className:"copy-right text-center md:flex md:items-center mt-8 md:mt-0 lg:ml-auto md:text-start text-xs  leading-5 font-normal opacity-50",children:(0,i.jsx)("p",{children:l.copyrightText})})]})]})};var L=T;T.propTypes={data:d().any.isRequired}},6149:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(5158),s=l(1583),i=l(3967),o=l.n(i),c=l(1649),d=l(4246),m=l(1163),u=l(94);t.default=e=>{var t;let l,{data:i,isPopup:x}=e,{t:p}=(0,u.$G)("common"),[g,h]=(0,r.useState)({preHeading:i.preHeading,heading:i.heading,errorHeading:i.errorHeading,text:i.text,cta:null}),[f,b]=(0,r.useState)(""),[v,w]=(0,r.useState)(!1),j=(0,m.useRouter)(),y=(0,r.useContext)(n.A_),N=(0,r.useRef)(),k=j.asPath.includes("caja-by-maxx-royal/caja-landing"),C=(0,c.v9)(d.o0),_=JSON.parse(JSON.stringify(i.formFields));null===(t=_.pages)||void 0===t||t.forEach((e,t)=>
1{null==e||e.fieldsets.forEach((l,a)=>{null==l||l.columns.forEach((r,n)=>{null==r||r.fields.forEach(e=>{["chooseAHotel","resortOfInterest"].includes(e.alias)?e.preValues=i.hotels.map(e=>({caption:e.name,value:e.name})):"royaltyCardLevel"===e.alias?e.preValues=i.royaltyCardTypes.map(e=>({caption:e.value,value:e.value})):"enquiryType"===e.alias?e.preValues=i.requestReasons.map(e=>({caption:e.value,value:e.value})):"preferredTimeOfCall"===e.alias?e.preValues=i.callTimes.map(e=>({caption:e.value,value:e.value})):"language"===e.alias&&"Newsletter"===i.formFields.name?(e.preValues=i.languages.map(e=>({caption:e,value:e})),e.settings.defaultValue=i.languages[0]):"dateOfBirth"===e.alias&&"Date"===e.type.name?(e.settings.maxDate=new Date,e.settings.yearMonthSelector=!0):(null==_?void 0:_.cssClass)==="contact-us"&&"Data Consent"===e.type.name&&(e.type={...e.type,name:"scrollableCheckbox"})}),t===i.formFields.pages.length-1&&a===(null==e?void 0:e.fieldsets.length)-1&&n===(null==l?void 0:l.columns.length)-1&&(null==r||r.fields.push({alias:"recaptcha",caption:"recaptcha",helpText:"",id:"5d4b9338-6532-4316-8607-411a7317bea8",pattern:"",patternInvalidErrorMessage:"Please provide a valid value for recaptcha",placeholder:"",preValues:[],required:!0,requiredErrorMessage:"Please provide a value for recaptcha",settings:{theme:"",size:"",errorMessage:"",showLabel:"True"},type:{id:"b69deaeb-ed75-4dc9-bfb8-d036bf9d3730",name:"Recaptcha2",renderInputType:"Single",supportsPreValues:!1,supportsUploadTypes:!1}}))})})}),l=k&&x?"rgba(0,0,0,0.5)":k||(null==_?void 0:_.cssClass)!=="contact-us"||x||"Gold"===C?i.backgroundColour?i.backgroundColour:"#475A4F":"#C6CEBC";let M=(0,s.DP)((0,s.iy)(l)),T={tr:{preHeading:"Bu Ayrıcalıklı D\xfcnyanın Kapılarını Birlikte Aralayalım!",heading:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("em",{children:"Caja by Maxx Royal’de sizi bekleyen bu benzersiz hayatı daha yakından keşfetmek ve size \xf6zel detayları planlamak i\xe7in yanınızdayız. Aşağıdaki alana bilgilerinizi bırakın, sizinle iletişime ge\xe7elim. Pazarlama ve iletişim s\xfcre\xe7leri FYP tarafından y\xfcr\xfct\xfclmektedir. FYP Aydınlatma Metni'ne ulaşmak i\xe7in"})," ",(0,a.jsx)("a",{className:"italic font-bold",rel:"noopener",target:"_blank",href:"https://www.fyp.com.tr/kisisel-verilerin-islenmesine-iliskin-aydinlatma-ve-acik-riza-metni-2/",children:"tıklayınız"})]})},"en-US":{preHeading:"Begin Your Journey into a Distinctive World!",heading:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("em",{children:"We would be delighted to introduce you to the exceptional lifestyle awaiting you at Caja by Maxx Royal and to guide you through the details tailored to you. Simply leave your details below and our dedicated team will contact you shortly., marketing, and communication processes are carried out by FYP. Click here to access the FYP Clarification Text."})})},de:{preHeading:"Bleiben Sie \xfcber exklusive Vorteile informiert",heading:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("em",{children:"Verkauf, Marketing und Kommunikationsprozesse werden von FYP durchgef\xfchrt. Klicken Sie hier, um auf den FYP Aufkl\xe4rungstext zuzugreifen."})})},ru:{preHeading:"Откройте мир исключительных привилегий с нами.",heading:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("em",{children:"Мы будем рады помочь вам ближе познакомиться с уникальным форматом жизни в Caja by Maxx Royal и продумать решения, которые подойдут именно вам. Заполните форму ниже, и мы свяжемся с вами в ближайшее время. , маркетинг и коммуникационные процессы осуществляются компанией FYP. Нажмите здесь, чтобы ознакомиться с разъяснительным текстом FYP."})})}},L={tr:{preHeading:"MRA Villa Satış WhatsApp Onay Formu",heading:p("forms.whatsappconsentform.$whatsappconsentformKvkkConsentText")},"en-US":{preHeading:"MRA Villa Sales WhatsApp Consent Form",heading:p("forms.whatsappconsentform.$whatsappconsentformKvkkConsentText")},de:{preHeading:"MRA Villa-Verkauf WhatsApp-Einwilligungsformular",heading:p("forms.whatsappconsentform.$whatsappconsentformKvkkConsentText")},ru:{preHeading:"Форма согласия на использование WhatsApp для продаж вилл MRA",heading:p("forms.whatsappconsentform.$whatsappconsentformKvkkConsentText")}};return(0,a.jsxs)(n.hp,{data:{...i,backgroundColour:l},className:o()("text-black font-didot",null==_?void 0:_.cssClass),children:[(0,a.jsx)("div",{ref:N}),!v&&k&&x&&"afeda06e-a058-48c9-b066-18662b9c9b11"===_.id&&(0,a.jsxs)("div",{className:o()("lg:px-10 flex flex-col items-start gap-4 mb-12 font-montserrat"),children:[(0,a.jsx)("div",{className:"text-start font-montserrat font-semibold text-brand-soft-white uppercase",children:T[j.locale].preHeading}),(0,a.jsx)("div",{className:"text-brand-soft-white font-montserrat text-[14px]",children:T[j.locale].heading})]}),!v&&k&&x&&"e50fff9b-c310-417d-8356-82ae3d6028a8"===_.id&&(0,a.jsxs)("div",{className:o()("lg:px-10 flex flex-col items-start gap-4 mb-12 font-montserrat"),children:[(0,a.jsx)("div",{className:"text-start font-montserrat font-semibold text-brand-soft-white uppercase",children:L[j.locale].preHeading}),(0,a.jsx)("div",{className:"text-brand-soft-white font-montserrat text-[14px] [&>a]:italic [&>a]:font-bold",dangerouslySetInnerHTML:{__html:L[j.locale].heading}}
1)]}),(g.preHeading||g.errorHeading||g.heading||g.text)&&(0,a.jsxs)("div",{className:o()("section-container container flex flex-col items-center gap-4 mb-14 sm:mb-16 lg:mb-12 font-montserrat",M?"text-brand-soft-white":"text-black"),children:[g.preHeading&&(0,a.jsx)("div",{className:"text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:g.preHeading}),g.heading&&(0,a.jsx)("div",{className:"heading sm:text-base sm:leading-5 sm:tracking-headline-m-tablet lg:text-xl lg:leading-6 lg:tracking-quote-reg-mobile not-italic font-semibold uppercase text-center",children:g.heading}),g.errorHeading&&(0,a.jsx)("div",{className:"errorHeading sm:text-base sm:leading-5 sm:tracking-headline-m-tablet lg:text-xl lg:leading-6 lg:tracking-quote-reg-mobile not-italic font-semibold uppercase text-center text-error",children:g.errorHeading}),g.text&&(0,a.jsx)("div",{className:"text text-sm not-italic font-normal leading-6 text-center max-w-[716px]",dangerouslySetInnerHTML:{__html:g.text}}),g.cta&&(0,a.jsx)("div",{className:"mt-20",children:(0,a.jsx)(n.rU,{className:o()("btn link",{dark:M}),link:g.cta})})]}),(0,a.jsx)("div",{className:"container ".concat(x?"px-0":""),children:_&&(0,a.jsx)(n.qJ,{className:o()("form-container last:[&_.newsletter-name-fieldset_.fieldset-column]:min-w-32 last:[&_.newsletter-name-fieldset_.fieldset-column]:w-auto",x?"isPopup lg:px-8 xl:px-10 xxl:px-[88px]":"sm:px-8 lg:px-[88px]",M?"[&_.radio-mark]:after:bg-white [&_.radio-mark]:border-white [&_.radio-group]:text-white":'[&_input]:!text-black [&_button[type="submit"]]:!text-black [&_input::placeholder]:!text-black/50 [&_label]:!text-black [&_button[type="submit"]]:!border-black/25 [&_input]:!border-black/25 [&_textarea]:!text-black [&_textarea::placeholder]:!text-black/50 [&_textarea]:!border-black/25 [&_.input-group.error_input]:!border-error [&_.checkbox_.checkmark]:border-black [&_.checkbox_.checkmark::after]:border-black [&_.input-group.error_label]:!text-error [&_input[type="submit"]:hover]:!border-brand-soft-white [&_button[type="submit"]:hover]:!border-brand-soft-white[&_.input.dropdown_button.main-button_.popover-title]:text-black/50 [&_.input.dropdown_button.main-button_.arrow_svg]:fill-black [&_.input.dropdown_button.main-button]:border-black/25 [&_.input.datepicker_button.main-button_.popover-title]:text-black/50 [&_.input.datepicker_button.main-button_.arrow_svg]:fill-black [&_.input.datepicker_button.main-button]:border-black/25'),formDefinition:_,setHeadingData:h,onFinish:()=>{setTimeout(()=>{y.scrollTo(N.current,!0,"top 100px")},100)},preferedMethod:f,setPreferedMethod:b,submitted:v,setSubmitted:w})})]})}},8611:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return w}});var a,r,n,s=l(5893),i=l(7294),o=l(94),c=l(1163),d=l(5158),m=l(3967),u=l.n(m);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var p=function(e){return i.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none"},e),a||(a=i.createElement("path",{d:"M8.615 10.667a.615.615 0 1 0 0 1.23h14.77a.615.615 0 0 0 0-1.23zm0 4.922a.615.615 0 1 0 0 1.231h14.77a.615.615 0 0 0 0-1.23zm0 4.923a.615.615 0 1 0 0 1.231h14.77a.615.615 0 1 0 0-1.23z"})))};function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var h=function(e){return i.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"75 45 1360 305"},e),r||(r=i.createElement("defs",null,i.createElement("style",null,".montgomeriemaxxroyalLogo_svg__cls-1{fill:#fff}"))),n||(n=i.createElement("g",{id:"montgomeriemaxxroyalLogo_svg__Layer_1"},i.createElement("g",{id:"montgomeriemaxxroyalLogo_svg__Layer_1-2","data-name":"Layer_1"},i.createElement("path",{d:"m1334.4 341.2-60.3-145.6-60.3 145.6h-10.5l70.8-171.2 70.9 171.2zM852.6 341.1l-52.8-77.7h-5.4v77.7h-9.9V177.5h20c6.6 0 13.1.4 19.3 1.1 6.4.8 12.1 3.1 17.6 7.1 5.9 4.3 10 9.4 12.5 15.5s3.7 12.5 3.7 19.6-1.2 13.4-3.4 18.7c-2.2 5.4-5.4 9.8-9.6 13.4
1-4.2 3.5-9.1 6.2-14.6 8-5.2 1.7-10.9 2.5-17 2.5h-1.9l53 77.7h-11.3Zm-45-87c4.9 0 9.7-.4 14.9-1.1 4.9-.7 9.4-2.9 13.6-6.6 4-3.3 6.9-7.2 8.7-11.7 1.8-4.6 2.8-9.4 2.8-14.4s-1.4-12-4.2-17.5c-2.7-5.5-7.1-9.6-13-12.3-4.2-2-9-3.2-14.3-3.4-4.6-.2-9.3-.3-14.8-.3h-6.8V254h13.2ZM978.1 343.3c-11.5 0-22.1-2.2-32.4-6.6-10.1-4.4-19-10.5-26.5-18.1-7.6-7.7-13.7-16.7-18.1-26.7-4.5-10.1-6.7-21-6.7-32.5s2.2-22.3 6.6-32.4c4.4-10.1 10.5-19.2 18.1-26.8 7.5-7.6 16.5-13.7 26.6-18.1 10.3-4.4 20.9-6.6 32.4-6.6s22 2.2 32.2 6.6c10.2 4.4 19.2 10.5 26.7 18.1 7.5 7.7 13.6 16.7 18.1 26.8 4.5 10.2 6.7 21.1 6.7 32.4s-2.3 22.4-6.7 32.5c-4.5 10.1-10.6 19-18.1 26.7-7.5 7.6-16.5 13.7-26.7 18.1-10.2 4.4-21 6.6-32.2 6.6m0-158.6c-10.1 0-19.7 2-28.6 6-8.8 3.9-16.7 9.4-23.5 16.1-6.8 6.8-12.1 14.8-15.9 23.7-3.9 9-5.8 18.7-5.8 28.8s2 19.8 5.8 28.8c3.8 8.9 9.2 16.8 15.9 23.7 6.7 6.8 14.6 12.2 23.4 16.1 8.8 4 18.4 6 28.6 6s19.7-2 28.5-6c9-4 16.8-9.4 23.4-16.1 6.6-6.7 12-14.7 15.9-23.8 3.9-9.1 6-18.7 6-28.7s-2-19.8-6-28.8-9.3-17-15.9-23.7c-6.6-6.7-14.4-12.1-23.4-16.2-9-4-18.6-6-28.5-6ZM1132.3 341.1v-69.9l-53.7-93.7h11l47.7 83.3 47.8-83.3h10.8l-53.6 93.7v69.9zM1380.2 341.1V177.5h9.9v154.3h41.2v9.3zM715.1 341.2 596.5 177.6h12.1l118.6 163.6z",className:"montgomeriemaxxroyalLogo_svg__cls-1"}),i.createElement("path",{d:"m591.9 341.2 118.5-163.6h12.1L603.9 341.2zM428.6 341.2l-60.3-145.6L308 341.2h-10.5L368.3 170l70.9 171.2zM448.8 341.1l55.4-85-50.7-78.6h11.6l51 65.4 51-65.3h11.7l-50.7 78.5 55.4 85h-11.8l-55.5-71.7-55.8 71.7zM135.9 200.8 91.7 341.2H81.4l54.5-172.9 47.4 149.6 47.4-149.6 54.5 172.9h-10.3l-44.2-140.4-47.4 149.5z",className:"montgomeriemaxxroyalLogo_svg__cls-1"}),i.createElement("path",{d:"M311.9 124.9s13.9-.5 38.2-1.4c24.3-.8 59-1.8 100.7-2.7 20.8-.4 43.4-.9 67.3-1.2 23.9-.3 49-.8 75.1-1 26-.2 53-.6 80.3-.6 27.4 0 55.1-.2 82.9-.3 27.8 0 55.6.2 82.9.3 27.3 0 54.3.4 80.3.6 26 .2 51.2.6 75.1 1 23.9.3 46.4.8 67.3 1.2 41.7.9 76.4 1.9 100.7 2.7 24.3.9 38.2 1.4 38.2 1.4s-13.9.5-38.2 1.4c-24.3.8-59 1.9-100.7 2.7-20.8.5-43.4.9-67.3 1.2-23.9.4-49 .8-75.1 1-26 .2-53 .6-80.3.6-27.4 0-55.1.2-82.9.2-27.8 0-55.6-.2-82.9-.3-27.4 0-54.3-.4-80.3-.6-26-.2-51.2-.6-75.1-1-23.9-.3-46.4-.8-67.3-1.2-41.7-.9-76.4-1.9-100.7-2.7-24.3-.9-38.2-1.4-38.2-1.4Z",className:"montgomeriemaxxroyalLogo_svg__cls2"}),i.createElement("path",{d:"m519.2 95.4 9.8-50.1 16 36.2 16.6-36.2 8.8 50.1h-7.2l-4.5-28.1-13.8 30.3-13.4-30.3-5 28.2h-7.3ZM576.4 71.9c0-6.6 2.4-12.2 7.2-16.9 4.8-4.7 10.6-7.1 17.3-7.1s12.3 2.4 17.1 7.1c4.8 4.7 7.2 10.4 7.2 17.1s-2.4 12.4-7.2 17.1c-4.8 4.7-10.6 7-17.4 7s-11.4-2.1-16.2-6.2c-5.3-4.6-7.9-10.7-7.9-18.1Zm7.1.1c0 5.2 1.7 9.4 5.2 12.7 3.5 3.3 7.4 5 11.9 5s9-1.7 12.4-5.1c3.4-3.4 5-7.6 5-12.5s-1.6-9.1-5-12.5c-3.3-3.4-7.4-5.1-12.2-5.1s-8.9 1.7-12.3 5.1c-3.3 3.3-5 7.5-5 12.4M633.9 95.4V45.6l34 35.6V48.8h7v49.5l-34-35.5v32.6zM698.8 55.4v40h-7v-40h-10.7v-6.6h28.5v6.6h-10.7ZM737.9 71.1h19.3v1.5c0 3.5-.4 6.6-1.2 9.3-.8 2.5-2.2 4.8-4.1 7-4.3 4.9-9.8 7.3-16.5 7.3s-12.1-2.4-16.8-7.1c-4.6-4.7-7-10.4-7-17s2.4-12.5 7.1-17.2 10.5-7.1 17.3-7.1 7 .8 10.2 2.2c3 1.5 6 3.9 8.9 7.2l-5 4.8c-3.8-5.1-8.5-7.6-14-7.6s-9.1 1.7-12.4 5.1c-3.3 3.3-5 7.5-5 12.6s1.8 9.5 5.6 12.8c3.5 3.1 7.2 4.7 11.3 4.7s6.6-1.2 9.3-3.5c2.8-2.3 4.3-5.2 4.6-8.4h-11.6zM763.5 71.9c0-6.6 2.4-12.2 7.2-16.9 4.8-4.7 10.6-7.1 17.3-7.1s12.4 2.4 17.1 7.1c4.7 4.7 7.2 10.4 7.2 17.1s-2.4 12.4-7.2 17.1c-4.8 4.7-10.6 7-17.4 7s-11.4-2.1-16.2-6.2c-5.3-4.6-7.9-10.7-7.9-18.1Zm7 .1c0 5.2 1.7 9.4 5.2 12.7s7.4 5 11.9 5 9-1.7 12.4-5.1c3.4-3.4 5-7.6 5-12.5s-1.7-9.1-5-12.5c-3.3-3.4-7.4-5.1-12.3-5.1s-8.9 1.7-12.3 5.1c-3.3 3.3-5 7.5-5 12.4ZM817.8 95.4l9.8-50.1 16 36.2 16.5-36.2 8.8 50.1h-7.2l-4.5-28.1-13.8 30.3L830 67.3l-5 28.2h-7.3ZM903.6 55.4h-18.7v11.2H903v6.6h-18.1v15.6h18.7v6.6h-25.7V48.8h25.7zM928.8 75.5l14.4 19.9h-8.6l-13.3-19.1H920v19.1h-7V48.8h8.2c6.2 0 10.6 1.2 13.3 3.5 3 2.6 4.5 6 4.5 10.2s-.9 6.1-2.9 8.5c-1.9 2.4-4.4 3.9-7.5 4.6Zm-8.8-5.3h2.3c6.6 0 10-2.6 10-7.7s-3.2-7.1-9.7-7.1h-2.5v14.8ZM956.8 48.8v46.6h-7V48.8zM993.7 55.4H975v11.2h18.1v6.6H975v15.6h18.7v6.6H968V48.8h25.7z",className:"montgomeriemaxxroyalLogo_svg__cls-1"})))))},f=l(2987),b=l.n(f),v=l(2629),w=e=>{var t,l,a,r;let{header:n,metadata:m,filledHeader:x}=e,[g,f]=(0,i.useState)(!1),[w,j]=(0,i.useState)(!1),{t:y}=(0,o.$G)("common"),N=(0,c.useRouter)(),k=(0,i.useRef)(),C=(0,i.useContext)(d.A_),_=N.asPath.includes("caja-by-maxx-royal/caja-landing"),M=e=>{N.replace({query:{...N.query,...e}},void 0,{shallow:!0})};(0,i.useEffect)(()=>{N.query.contact||T()},[N.query]);let T=()=>{f(!1),j(!1)};return(0,s.jsxs)("header",{className:u()("w-full z-20",x?"relative":"absolute top-0",_?"bg-[#98A4AE]":"bg-background-primary"),style:x?{}:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.10) 8.11%, rgba(0, 0, 0, 0.00) 100%)"},children:[(0,s.jsxs)("div",{className:"container flex justify-between items-center py-[19px] sm:py-6 font-medium font-didot text-white sm:px-10 xl:px-20",ref:k,children:[(0,s.jsx)("div",{className:"w-1/3 flex",children:!_&&(0,s.jsxs)("button",{onClick:()=>{var e,t;C.scrollTo(0),window.innerWidth<parseInt(b().theme.screens.lg,10)&&(null==n?void 0:null===(t=n.hotelNavigation)||void 0===t?void 0:null===(e=t.navigationItems)||void 0===e?void 0:e.length)>0?j(!0):f(!0)},className:u()("text-sm not-italic font-medium leading-5 tracking-button-reg uppercase font-montserrat ","cursor-pointer duration-200 flex items-center min-w-32 py-3",x?"text-black":"text-brand-soft-white"),"aria-label":y("general.$menu"),children:[(0,s.jsx)(p,{className:u()("sm:mr-2",x?"fill-black":"fill-brand-soft-white")}),(0,s.jsx)("span",{className:"hidden sm:block",children:y("general.$menu")})]})}),(0,s.jsxs)("div",{className:"w-1/3 flex justify-center",children:[n.logoElement&&(0,s.jsxs)(d.rU,{link:n.logoElement.homeLink,className:u()("h-20 w-60 justify-center",n.logoElement.mobileLogo&&"sm:flex hidden"),"aria-label":y("general.$goToHomepage"),children:[(0,s.jsx)(d.t3,{image:n.logoElement.logo,heights:{xs:80,md:80,lg:80,xl:80},className:"Gold:hidden Gold:w-0",imgProps:{className:u()("h-full w-full object-contain",x&&"invert"),height:"80",
1width:"300",alt:"logo"},dataNotLazy:!0}),(0,s.jsx)("div",{className:"[&_path.montgomeriemaxxroyalLogo\\_svg\\_\\_cls2]:fill-logo-gold hidden"}),(0,s.jsx)(h,{className:u()("h-full w-0 object-contain hidden Gold:block Gold:w-full",x?"[&_path]:fill-black":"[&_path.montgomeriemaxxroyalLogo\\_svg\\_\\_cls2]:fill-logo-gold")})]}),n.logoElement&&n.logoElement.mobileLogo&&(0,s.jsxs)(d.rU,{link:n.logoElement.homeLink,className:"sm:hidden h-20 flex justify-center","aria-label":y("general.$goToHomepage"),children:[(0,s.jsx)(d.t3,{image:n.logoElement.mobileLogo,heights:{xs:55,md:55,lg:55,xl:55},className:"Gold:hidden Gold:w-0",imgProps:{className:u()("h-full w-full object-contain",x&&"invert"),height:"48",width:"300",alt:"logo"},dataNotLazy:!0}),(0,s.jsx)("div",{className:"[&_path.montgomeriemaxxroyalLogo\\_svg\\_\\_cls2]:fill-logo-gold hidden"}),(0,s.jsx)(h,{className:u()("h-full w-0 object-contain hidden Gold:block Gold:w-full",x?"[&_path]:fill-black":"[&_path.montgomeriemaxxroyalLogo\\_svg\\_\\_cls2]:fill-logo-gold")})]})]}),(0,s.jsxs)("div",{className:"w-1/3 flex justify-end items-center",children:[(0,s.jsx)("div",{className:"hidden lg:block w-13 cursor-pointer",children:(0,s.jsx)(d.Ss,{metadata:m,className:u()(x?"[&_.popover-title]:text-black [&_.main-button_svg]:fill-black [&_.main-button_svg]:!stroke-black":"[&_.popover-title]:text-brand-soft-white [&_.main-button_svg]:fill-brand-soft-white [&_.main-button_svg]:stroke-brand-soft-white","[&_.main-button]:px-1.5 [&_.content]:border-0")})}),N.asPath.includes("caja-by-maxx-royal/caja-landing")?(0,s.jsx)(v.Z,{popupId:"2",filledHeader:x,hasNav:!0,id:"afeda06e-a058-48c9-b066-18662b9c9b11"}):(0,s.jsx)("button",{className:u()(x?"primary":"secondary",n.availabilityBar?"hidden lg:flex":"flex",N.asPath.includes("caja-by-maxx-royal")?"hidden md:flex":"flex","btn ml-5 h-[34px] sm:h-[42px] xl:h-13 py-2 sm:py-3 xl:py-3.5 px-5 sm:px-10 xl:px-[46px]"),onClick:()=>M({contact:!0}),children:(0,s.jsx)("span",{className:"text-xs leading-4.5 xl:text-sm xl:leading-5",children:y("general.$contact").toLocaleUpperCase(N.locale)})}),n.availabilityBar&&(0,s.jsx)("button",{className:u()(x?"primary-dark":"secondary-reverse","btn h-[34px] sm:h-[42px] xl:h-13 py-2 sm:py-3 xl:py-3.5 sm:px-10 xl:px-[46px] ml-2 px-5","lang-de:px-3 sm:lang-de:px-5","lang-ru:px-1 sm:lang-ru:px-5 lang-ru:-mr-2 sm:lang-ru:mr-0","lang-tr:px-1 sm:lang-tr:px-5 lang-tr:-mr-2 sm:lang-tr:mr-0"),onClick:()=>M({book:!0}),children:(0,s.jsx)("span",{className:"text-xs leading-4.5 xl:text-sm xl:leading-5 whitespace-nowrap lang-ru:text-[10px] sm:lang-ru:text-sm",children:y("general.$book")})})]})]}),(0,s.jsx)(d.JL,{open:g,onClose:T,navItems:null==n?void 0:n.mainNavItems,addQueryParam:M,metadata:m,availabilityBar:!!n.availabilityBar,logoElement:n.logoElement,showHomeLink:"resortPage"===m.pageType||(null==n?void 0:null===(l=n.hotelNavigation)||void 0===l?void 0:null===(t=l.navigationItems)||void 0===t?void 0:t.length)>0}),(null==n?void 0:null===(r=n.hotelNavigation)||void 0===r?void 0:null===(a=r.navigationItems)||void 0===a?void 0:a.length)>0&&(0,s.jsx)(d.ox,{open:w,onClose:T,filledHeader:x,navItems:null==n?void 0:n.hotelNavigation,mainNav:k,addQueryParam:M,metadata:m,availabilityBar:!!n.availabilityBar,logoElement:n.logoElement})]})}},2467:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(7939),s=l(94),i=l(3967),o=l.n(i);t.default=e=>{let{data:t,className:l}=e,{t:i}=(0,s.$G)("common"),{alignment:c}=t,d=(null==c?void 0:c.toLowerCase())||"",m="center"===d||""===d?"flex-col text-center xl:px-16":"flex-col lg:flex-row text-left justify-between";return(0,a.jsx)(r.hp,{data:t,children:(0,a.jsxs)("div",{className:o()("container pt-6 pb-4 md:pb-6 lg:pt-10 lg:pb-4  flex",l,m),role:"contentinfo","aria-label":i("general.$contentInfo"),children:[(0,a.jsxs)("div",{className:o()("title-wrapper pr-4"),children:[t.preHeading&&(0,a.jsx)(r.bl,{className:"pre-heading uppercase font-didot text-base font-semibold text-subheading",children:t.preHeading}),t.headingTitle&&(0,a.jsx)(r.lb,{data:t.headingTitle,className:o()("main-title font-didot text-title-l leading-9 -tracking-headline-m-mobile md:-tracking-headline-m-tablet lg:-tracking-headline-l-tablet color-from-bg font-normal mb-10  md:text-5xl md:leading-12  lg:text-headline-m lg:leading-[53px] whitespace-pre-wrap","left"===d?"md:pl-0":"md:mx-10")}),t.subHeading&&(0,a.jsx)(r.bl,{className:"pre-heading font-didot text-base font-semibold text-subheading",children:t.subHeading})]}
1),(t.description||t.primaryCTA||t.secondaryCTA)&&(0,a.jsxs)("div",{className:"description-wrapper ",children:[(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.description},className:o()("font-normal color-from-bg w-full !text-opacity-75 font-montserrat text-sm lg:text-base leading-6 md:leading-6 md:px-10 lg:px-0 lg:mx-auto lg:leading-6.5","left"===d?"md:pl-0 lg:w-[704px]":"md:mx-10 lg:w-[830px] ")}),(t.primaryCTA||t.secondaryCTA)&&(0,a.jsxs)("div",{className:o()("button-wrapper flex flex-col md:flex-row   gap-4","center"===d||""===d?"md:justify-center mt-14 md:mt-16 lg:mt-[72px]":"md:justify-start mt-8 md:mt-12"),children:[t.primaryCTA&&(0,a.jsxs)(r.rU,{className:"btn primary first-link color-from-bg",link:t.primaryCTA,children:[(0,a.jsx)("span",{children:t.primaryCTA.text}),(0,a.jsx)(n.Z,{className:"!ml-6",role:"presentation"})]}),t.secondaryCTA&&(0,a.jsxs)(r.rU,{className:"btn primary secondary-link color-from-bg",link:t.secondaryCTA,children:[(0,a.jsx)("span",{children:t.secondaryCTA.text}),(0,a.jsx)(n.Z,{className:"!ml-6",role:"presentation"})]})]})]})]})})}},7819:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(8247),s=l(4483),i=l(2074),o=l(604);t.default=e=>{let{data:t}=e,{label:l,title:c,description:d,readTime:m,sharingLinksModel:u}=t||{};return(0,a.jsx)(r.hp,{data:t,className:"text-center",children:(0,a.jsx)("div",{className:"hero-article container pt-[134px] pb-8 md:pt-[160px] md:pb-10 lg:pt-[204px] lg:pb-14",children:(0,a.jsxs)("div",{className:"data-wrapper md:max-w-[608px] lg:max-w-[1016px] md:mx-auto",children:[(l||m)&&(0,a.jsxs)("div",{className:"pre-heading-wrapper mb-8 lg:mb-10",children:[l&&(0,a.jsx)("span",{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:l})," ",(0,a.jsx)("span",{className:"mx-2 font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:"|"}),m&&(0,a.jsx)("span",{className:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase",children:m})]}),c&&(0,a.jsx)(r.lb,{data:c,className:"main-title font-didot text-title-l italic font-normal leading-10 -tracking-headline-m-mobile mb-10 md:text-4xl md:leading-[44px] md:-tracking-headline-l-mobile lg:mb-12 lg:text-headline-m lg:leading-12 lg:-tracking-headline-l-tablet"}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:d},className:"font-montserrat text-sm not-italic font-normal leading-6"}),(0,a.jsxs)("div",{className:"social-link-wrapper flex justify-center gap-6 mt-14 md:mt-[72px] lg:mt-20",children:[u.twitterSharingLink&&(0,a.jsx)(r.rU,{link:{text:"",href:u.twitterSharingLink},children:(0,a.jsx)(o.Z,{})}),u.facebookSharingLink&&(0,a.jsx)(r.rU,{link:{text:"",href:u.facebookSharingLink},children:(0,a.jsx)(n.Z,{})}),u.linkedInSharingLink&&(0,a.jsx)(r.rU,{link:{text:"",href:u.linkedInSharingLink},children:(0,a.jsx)(s.Z,{})}),u.emailSharingLink&&(0,a.jsx)(r.rU,{link:{text:"",href:u.emailSharingLink},children:(0,a.jsx)(i.Z,{})})]})]})})})}},8387:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(94),s=l(5158),i=l(7939);t.default=e=>{var t,l,o;let{data:c}=e,{t:d}=(0,n.$G)("common"),m=(0,r.useRef)(),[u,x]=(0,r.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s.hp,{data:c,className:"relative h-svh lg:h-screen overflow-hidden",children:[c.backgroundMedia&&(0,a.jsx)("div",{className:"absolute top-0 left-0 right-0 h-full w-full",children:(0,a.jsx)(s.pU,{ref:m,media:c.backgroundMedia,widths:{xs:414,sm:768,md:768,lg:1024,xl:1280,xxl:2560},heights:{xs:896,sm:1024,md:1024,lg:768,xl:768,xxl:1440},className:"h-full w-full object-cover",cover:!0,dataNotLazy:!0})}),(0,a.jsx)("div",{className:"absolute top-0 left-0 right-0 h-full w-full",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 73.62%)"}}),(0,a.jsxs)("div",{className:"container relative w-full h-full flex flex-col items-center justify-center",onClick:()=>{var e;null==m||null===(e=m.current)||void 0===e||e.openFullscreen()},children:[c.preHeading&&!c.preHeadingIsH1&&(0,a.jsx)(s.H,{children:(0,a.jsx)(s.bl,{className:"text-center text-brand-soft-white flex items-center font-montserrat uppercase text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile lg:text-sm lg:tracking-button-reg mb-5 lg:mb-6",children:(0,a.jsx)("span",{children:c.preHeading})})}),(0,a.jsx)(s.H,{children:(0,a.jsx)(s.lb,{data:{htag:c.headingTitle.htag},className:"font-didot not-italic font-normal leading-normal text-brand-soft-white\n                text-4xl -tracking-headline-l-mobile !text-center\n                sm:text-headline-m sm:-tracking-headline-l-tablet  sm:text-left\n                lg:text-headline-l lg:-tracking-headline-l  \n                ".concat(c.preHeadingIsH1?"":"sm:even:[&_p]:ml-[74px] sm:even:[&_p]:mt-3 lg:even:[&_p]:ml-[41px]"),dangerouslySetInnerHTML:{__html:c.preHeading?c.preHeadingIsH1?'\n                      <p class="text-center text-brand-soft-white flex items-center justify-center font-montserrat uppercase text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile lg:text-sm lg:tracking-button-reg mb-5 lg:mb-6">\n                        '.concat(c.preHeading,'\n                      </p>\n                      <p class="font-didot not-italic font-normal leading-normal text-brand-soft-white text-4xl -tracking-headline-l-mobile !text-center sm:text-headline-m sm:-tracking-headline-l-tablet sm:even:[&_p]:ml-[74px] sm:even:[&_p]:mt-3 sm:text-left lg:text-headline-l lg:-tracking-headline-l lg:even:[&_p]:ml-[41px]">\n                        ').concat(null===(l=c.headingTitle.heading)||void 0===l?void 0:l.replace(/<(p|h[0-6])>/g,"").replace(/<\/(p|h[0-6])>/g,""),"\n                      </p>\n                  "):null===(t=c.headingTitle)||void 0===t?void 0:t.heading:c.headingTitle.heading}}
1)}),(c.primaryCTA||c.mediaLightBox&&c.mediaLightBox.props)&&(0,a.jsxs)("div",{className:"button-wrapper flex justify-start gap-4 mt-8",children:[c.primaryCTA&&(0,a.jsxs)(s.rU,{className:"btn secondary !backdrop-blur-0 !border-brand-soft-white/75 px-5 py-3 sm:px-6 sm:py-3.5 h-11 sm:h-13",link:c.primaryCTA,children:[(0,a.jsx)("span",{className:"text-xs sm:text-sm tracking-quote-reg-mobile sm:tracking-button-reg leading-4.5 sm:leading-5",children:c.primaryCTA.text}),(0,a.jsx)(i.Z,{className:"!ml-7 !stroke-transparent hover:!stroke-transparent !fill-brand-soft-white hover:!fill-black",role:"presentation"})]}),c.mediaLightBox&&c.mediaLightBox.props&&(0,a.jsxs)("button",{className:"btn secondary px-5 py-3 sm:px-6 sm:py-3.5 h-11 sm:h-13 group",onClick:()=>x("0"),children:[(0,a.jsx)("span",{className:"text-xs sm:text-sm tracking-quote-reg-mobile sm:tracking-button-reg leading-4.5 sm:leading-5",children:d("general.$viewGallery")}),(0,a.jsx)(i.Z,{className:"!ml-7 !stroke-transparent hover:!stroke-transparent !fill-brand-soft-white group-hover:!fill-black",role:"presentation"})]})]})]})]}),(0,a.jsx)(s.DU,{className:"media-light-box-carousel",moduleName:c.moduleName,backgroundColour:"#000000",isOpen:u,setIsOpen:x,slides:null===(o=c.mediaLightBox)||void 0===o?void 0:o.props.slides,imageWidths:{xs:332,sm:332,md:688,lg:1016,xl:1016,xxl:1016},imageHeights:{xs:163,sm:163,md:328,lg:485,xl:485,xxl:485},imageContainerWidthClassName:"w-[332px] md:w-[688px] lg:w-[1016px]",imageContainerHeightClassName:"h-[163px] md:h-[328px] lg:h-[485px]"})]})}},4509:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(7939),s=l(2629),i=l(1163);t.default=e=>{var t;let{data:l}=e,{headingTitle:o,preHeading:c,primaryCTA:d,secondaryCTA:m,preHeadingIsH1:u}=l||{},x=(0,i.useRouter)(),p=l.preHeading.startsWith("404");return(0,a.jsxs)(r.hp,{data:l,className:"relative w-full h-[calc(100svh-94px)] sm:h-[calc(100svh-104px)]",children:[(0,a.jsx)("div",{className:"absolute w-full h-full",children:(0,a.jsx)(r.t3,{image:l.backgroundMedia,widths:{xs:640,sm:768,md:768,lg:1024,xl:1280,xxl:2560},heights:{xs:1385,sm:1024,md:1024,lg:768,xl:768,xxl:1440},dataNotLazy:!0,hasPriority:!0})}),(0,a.jsx)("div",{className:"absolute left-0 bottom-0 w-full h-full light-gradient-bottom-to-top"}),(0,a.jsx)("div",{className:"container relative flex flex-col justify-end items-center w-full h-full",children:(0,a.jsxs)("div",{className:"text-wrapper flex flex-col items-center bottom-12 lg:bottom-14 w-full ",children:[c&&!u&&(0,a.jsx)(r.bl,{className:"pre-heading text-brand-soft-white font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-4 md:mb-6 md:text-sm md:tracking-button-reg",children:c}),o&&(0,a.jsx)(r.lb,{data:{htag:null==o?void 0:o.htag},className:"main-title text-center text-brand-soft-white font-didot italic font-normal mb-12 lg:mb-14  text-4xl  leading-10 -tracking-quote-reg-tablet sm:text-headline-m sm:leading-[60px] sm:-tracking-headline-l-tablet lg:text-headline-l lg:leading-normal lg:tracking-[-1.28px]",dangerouslySetInnerHTML:{__html:c&&u?'\n                      <span class="pre-heading block text-center text-brand-soft-white font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-4 md:mb-6 md:text-sm md:tracking-button-reg">'.concat(c,'</span>\n                      <span class="main-title block text-center">').concat(null===(t=o.heading)||void 0===t?void 0:t.replace(/<(p|h[0-6])>/g,"").replace(/<\/(p|h[0-6])>/g,""),"</span>\n                    "):o.heading}}),(d||m)&&(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-6 mb-10 lg:mb-16",children:[d&&(0,a.jsxs)(r.rU,{className:"btn primary-light",link:d,children:[(0,a.jsx)("span",{children:d.text}),(0,a.jsx)(n.Z,{className:"!ml-6",role:"presentation"})]}),m&&(0,a.jsxs)(r.rU,{className:"btn secondary-reverse ",link:m,children:[(0,a.jsx)("span",{children:m.text}),(0,a.jsx)(n.Z,{className:"ml-6",role:"presentation"})]})]}),!p&&x.asPath.includes("caja-by-maxx-royal/caja-landing")&&(0,a.jsx)(s.Z,{popupId:"1",id:"afeda06e-a058-48c9-b066-18662b9c9b11"})]})})]})}},7369:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return h}});var a,r,n=l(5893),s=l(7294),i=l(1163),o=l(5158),c=l(1583),d=l(3967),m=l.n(d);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var x=function(e){return s.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none"},e),s.createElement("mask",{id:"golf_course_svg__a",width:24,height:25,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a||(a=s.createElement("path",{fill:"#D9D9D9",d:"M0 .5h24v24H0z"}))),r||(r=s.createElement("g",{mask:"url(#golf_course_svg__a)"},s.createElement("path",{fill:"#1C1B1F",d:"M19.727 21.548c-.429 0-.793-.151-1.093-.453-.3-.301-.449-.666-.449-1.095 0-.429.15-.794.45-1.096.3-.301.663-.452 1.092-.452.433 0 .799.15 1.098.45.3.3.45.665.45 1.098 0 .433-.15.799-.45 1.098-.3.3-.665.45-1.098.45M10 22.685c-1.719 0-3.18-.214-4.382-.641-1.202-.428-1.804-.942-1.804-1.544 0-.407.286-.777.858-1.109.572-.332 1.318-.601 2.238-.809V20.5h2V2.25
15L17.4 6.4l-6.31 3.255v8.722c1.477.095 2.695.336 3.655.722.96.386 1.44.853 1.44 1.4 0 .579-.59 1.087-1.768 1.527-1.178.44-2.651.66-4.417.66"}))))},p=l(7322),g=l(94),h=e=>{let{data:t}=e,[l,a]=(0,s.useState)(null),[r,d]=(0,s.useState)({}),{t:u}=(0,g.$G)("common"),h=(0,s.useRef)(),f=(0,i.useRouter)();(0,s.useEffect)(()=>{if((null==t?void 0:t.holes)&&null===l){let e=null,l=f.asPath.split("#")[1];if(l&&l.startsWith("t")&&l.length>4){let a=l.substring(1,4);if(a===t.moduleId.substring(0,3)){let t=l.substring(4);isNaN(t)||(e=Number(t))}}if(null===e)for(let l=0;l<t.holes.length;l++){e=l;break}a(e)}},[t,f.asPath,l]),(0,s.useEffect)(()=>{b()},[l]),(0,c.bt)(()=>(window.addEventListener("load",b),window.addEventListener("resize",()=>{b()}),()=>window.removeEventListener("resize",b)),[]);let b=()=>{setTimeout(()=>{var e;(null==h?void 0:null===(e=h.current)||void 0===e?void 0:e.children)&&Array.from(h.current.children).forEach(e=>{if(e&&e.classList&&e.classList.contains("active-tab")){let t=e.offsetLeft+e.offsetWidth/2-7;d({left:"".concat(t,"px")})}});let t=document.querySelector(".holeContainer");if(t){let e=document.querySelector(".activeHoleDetails");t.style.height=e?e.offsetHeight+"px":t.firstChild?t.firstChild.offsetHeight+"px":"100vh"}},0)},v=(e,l)=>{e.tabLink?(0,c.nG)(f,e.tabLink):(f.replace({hash:"t".concat(t.moduleId.substring(0,3)).concat(l)}),a(l))};return(0,n.jsx)(o.hp,{data:t,className:"bg-background-primary !pb-0",children:(0,n.jsxs)("div",{className:"h-fit",children:[(0,n.jsxs)("div",{className:"flex flex-col overflow-x-auto overflow-y-hidden scrollbar-hide font-montserrat ",children:[(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center relative container pb-10 md:pb-16 lg:pb-24 after:content-[''] after:absolute after:bottom-0 after:h-px after:w-screen after:left-1/2 after:-translate-x-1/2 after:bg-[#76908080]",children:[t.heading&&(0,n.jsx)(o.lb,{data:t.heading,className:"w-2/5 font-didot color-from-bg whitespace-pre-wrap text-title-l not-italic font-normal leading-10 -tracking-headline-m-mobile text-left md:text-title-xl md:leading-[44px] md:-tracking-headline-l-mobile lg:text-[56px] lg:leading-[56px] lg:-tracking-headline-s [&_.indented]:ml-11"}),t.text&&(0,n.jsx)("div",{className:"h-fit lg:w-3/5 color-from-bg opacity-75 description text-sm md:text-base font-semibold leading-6 md:leading-[26px] mt-10 lg:mt-0 lg:-tracking-[0.14px]",dangerouslySetInnerHTML:{__html:t.text}})]}),t.holes&&(0,n.jsxs)("div",{className:m()("flex md:w-full xxl:container xxl:p-0"),children:[(0,n.jsxs)("div",{className:"max-w-[220px] hidden lg:flex flex-col grow items-start lg:justify-center border-r border-[#76908080] p-4 lg:pl-16 lg:pr-[82px] md:py-7 text-center font-montserrat lg:whitespace-normal font-bold uppercase text-xl !leading-normal tracking-quote-reg-mobile md:tracking-button-reg text-brand-black",children:[(0,n.jsx)(x,{}),(0,n.jsxs)("span",{children:[" ",u("holeByHole.$holes")]})]}),(0,n.jsx)("div",{ref:h,className:"relative flex md:w-full overflow-x-auto scroll-smooth xl:justify-center lg:px-16 snap-mandatory",style:{mask:"linear-gradient(90deg, white calc(100% - 132px), transparent);"},children:t.holes.map((e,t)=>(0,n.jsx)("div",{className:m()("flex flex-col grow cursor-pointer items-center lg:justify-center whitespace-nowrap py-6 md:py-10 text-center font-montserrat lg:whitespace-normal","font-semibold uppercase text-sm !leading-normal tracking-quote-reg-mobile md:tracking-button-reg","snap-start shrink-0 w-20 md:max-w-[62px] lg:max-w-[62px] xl:max-w-[62px] ",l===t?"active-tab text-brand-black":"text-[#76908080]"),onClick:()=>v(e,t),role:"button",children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("span",{className:m()(l!==t?"mb-2.5":""),children:[u("holeByHole.$holePrefix"),t+1]}),(0,n.jsx)("div",{className:m()("h-[38px] w-[38px] rounded-full mt-2.5 p-[12px]",l===t?"bg-[#475A4F]":"bg-[#76908040]"),children:l===t&&(0,n.jsx)("div",{className:"holeByHoleGolfBall absolute top-50 transition-all duration-500 ease-in-out h-[14px] w-[14px] bg-[#FFFEF9] block rounded-full ",style:r})})]})},t))})]})]}),(0,n.jsx)("div",{className:"holeContainer relative md:overflow-hidden w-screen",children:t.holes&&t.holes.map((e,t)=>(0,n.jsx)("div",{className:m()(" absolute w-full top-0 left-0 pb-0 pt-0 transition-all duration-700 ease-in-out opacity-1 ",l===t?"activeHoleDetails opacity-1":" opacity-0"),children:(0,n.jsx)(p.default,{data:e,active:l===t})},t))})]})})}},7322:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return S}});var a,r,n,s,i,o,c,d,m=l(5893),u=l(7294),x=l(5158),p=l(3967),g=l.n(p);
1function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var f=function(e){return u.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),u.createElement("mask",{id:"expand_svg__a",width:24,height:24,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a||(a=u.createElement("path",{fill:"#D9D9D9",d:"M0 0h24v24H0z"}))),r||(r=u.createElement("g",{mask:"url(#expand_svg__a)"},u.createElement("path",{fill:"#1C1B1F",d:"M4.863 19.137v-6.275h2.275v4h4v2.275zm12-8v-4h-4V4.862h6.275v6.275z"}))))};function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var v=function(e){return u.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),u.createElement("mask",{id:"collapse_svg__a",width:24,height:24,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},n||(n=u.createElement("path",{fill:"#D9D9D9",d:"M0 0h24v24H0z"}))),s||(s=u.createElement("g",{mask:"url(#collapse_svg__a)"},u.createElement("path",{fill:"#000",d:"M11.072 12.922v6.275H8.797v-4h-4v-2.275zm4.131-8.125v4h4v2.275h-6.275V4.797z"}))))};function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var j=function(e){return u.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),i||(i=u.createElement("path",{fill:"#000",d:"M9.999 19.09c-2.525 0-4.67-.884-6.438-2.651C1.794 14.672.911 12.526.911 10c0-2.524.883-4.672 2.65-6.442C5.33 1.79 7.475.904 10 .904c.221 0 .44.008.657.022.218.015.43.039.64.072a5.548 5.548 0 0 0-1.528 1.88 5.295 5.295 0 0 0-.573 2.43c0 1.529.536 2.828 1.608 3.898 1.072 1.07 2.374 1.604 3.905 1.604.877 0 1.689-.19 2.435-.57a5.48 5.48 0 0 0 1.863-1.524 8.911 8.911 0 0 1 .089 1.278c0 2.524-.885 4.671-2.655 6.44-1.77 1.77-3.918 2.656-6.442 2.656m0-2.275c1.364 0 2.597-.364 3.7-1.093a6.698 6.698 0 0 0 2.46-2.87c-.293.068-.587.12-.88.158a5.573 5.573 0 0 1-.875.046c-2.034-.068-3.767-.813-5.198-2.235C7.774 9.4 7.02 7.656 6.944 5.59c-.004-.29.012-.581.049-.875.036-.293.09-.585.16-.874a6.784 6.784 0 0 0-2.869 2.466C3.551 7.41 3.185 8.641 3.185 10c0 1.882.665 3.489 1.996 4.819 1.33 1.33 2.937 1.996 4.819 1.996"})))};function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var N=function(e){return u.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),o||(o=u.createElement("path",{fill:"#000",d:"M10.862 4.09V.813h2.275V4.09zm0 19.095V19.91h2.275v3.275zm9.048-10.048v-2.275h3.275v2.275zm-19.096 0v-2.275H4.09v2.275zm17.916-6.27L17.132 5.27l1.948-1.992L20.72 4.92zM4.92 20.721 3.278 19.08l1.992-1.948 1.597 1.598zm14.16 0-1.948-1.991 1.598-1.598 1.991 1.948zM5.27 6.867 3.278 4.92 4.92 3.278 6.867 5.27zM12 18c-1.667 0-3.084-.584-4.25-1.75C6.583 15.083 6 13.666 6 12c0-1.667.583-3.084 1.75-4.25C8.916 6.583 10.333 6 12 6c1.666 0 3.083.583 4.25 1.75C17.416 8.916 18 10.333 18 12c0 1.666-.584 3.083-1.75 4.25C15.083 17.416 13.666 18 12 18m0-2.275c1.041 0 1.922-.361 2.643-1.083.721-.722 1.082-1.603 1.082-2.643 0-1.04-.361-1.921-1.083-2.643-.722-.72-1.603-1.081-2.643-1.081-1.04 0-1.921.36-2.643 1.083-.72.721-1.081 1.602-1.081 2.643 0 1.04.36 1.92 1.083 2.642.721.721 1.602 1.082 2.643 1.082"})))};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var C=function(e){return u.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:20,height:22,f
1ill:"none"},e),c||(c=u.createElement("path",{fill:"#FFFEF9",d:"M13.237 21.834V.167h6.55v21.667zm-13.023 0V.167h6.56v21.667z"})))};function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var M=function(e){return u.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",className:"play_svg__svg-icon",viewBox:"0 0 1024 1024"},e),d||(d=u.createElement("path",{d:"M852.728 392.447c104.27 66.027 104.213 173.113 0 239.103l-570.84 361.47c-104.27 66.026-188.797 23.034-188.797-95.883V126.86c0-118.98 84.584-161.873 188.798-95.882z"})))},T=e=>{let{videoRef:t}=e,[l,a]=(0,u.useState)(!0),[r,n]=(0,u.useState)(0),[s,i]=(0,u.useState)(0);(0,u.useEffect)(()=>{c(),o();let e=setInterval(o,1e3);return()=>{clearInterval(e)}},[t]);let o=()=>{var e,l;null===(l=t.current)||void 0===l||null===(e=l.getCurrentTime())||void 0===e||e.then(e=>{i(d(e))})},c=()=>{var e,l;null===(l=t.current)||void 0===l||null===(e=l.getDuration())||void 0===e||e.then(e=>{n(d(e))})},d=e=>{let t=parseInt(e,10),l=Math.floor(t/3600),a=Math.floor((t-3600*l)/60),r=t-3600*l-60*a,n=r+"";return r<10&&(n="0"+r),a+":"+n};return(0,m.jsxs)("div",{className:"absolute bottom-6 md:bottom-10 lg:bottom-16 left-0 z-50 flex w-full md:w-fit justify-between items-center gradient-left-to-right gap-4 pl-6 md:pl-10 lg:pl-16 pr-12 text-sm font-semibold uppercase",children:[(0,m.jsx)("button",{className:"z-50 btn small p-0 w-14 h-14 bg-brand-soft-white/10 text-xs md:text-sm rounded-full backdrop-blur-[50px] flex items-center justify-center",onClick:()=>{l?(t.current.pause(),a(!1)):(t.current.play(),a(!0))},children:l?(0,m.jsx)(C,{}):(0,m.jsx)(M,{className:"fill-brand-soft-white w-[22px]"})}),(0,m.jsxs)("div",{className:"text-sm font-semibold leading-title-s tracking-headline-m-tablet text-left text-brand-soft-white tabular-nums",children:[s," / ",r]})]})},L=l(94),S=e=>{var t,l,a,r;let{data:n,active:s}=e,[i,o]=(0,u.useState)(!0),[c,d]=(0,u.useState)(!0),[p,h]=(0,u.useState)(!0),{t:b}=(0,L.$G)("common"),w=(0,u.useRef)(),y=(0,u.useRef)();(0,u.useEffect)(()=>(o(!0),()=>{}),[]);let k=()=>{var e,t,l,a,r,s;return p&&(null===(e=n.mediaItemDay)||void 0===e?void 0:e.coverImage)&&((null===(t=n.mediaItemDay)||void 0===t?void 0:t.videoFromGallery)||(null===(l=n.mediaItemDay)||void 0===l?void 0:l.vimeoId))||!p&&(null===(a=n.mediaItemNight)||void 0===a?void 0:a.coverImage)&&((null===(r=n.mediaItemNight)||void 0===r?void 0:r.videoFromGallery)||(null===(s=n.mediaItemNight)||void 0===s?void 0:s.vimeoId))},C=()=>{o(!i)};return(0,m.jsxs)("div",{data:n,className:"font-montserrat text-brand-black relative h-fit flex flex-col",children:[(0,m.jsxs)("div",{className:"absolute top-6 md:top-10 lg:top-16 left-0 z-50 flex flex-row w-full md:w-fit justify-between gradient-left-to-right gap-4 px-6 md:px-10 lg:pr-0 lg:pl-16 text-sm font-semibold uppercase",children:[k()&&(0,m.jsx)(x.lM,{left:b("holeByHole.$photo"),right:b("holeByHole.$video"),value:c,onToggle:()=>{d(!c)},controlCssClass:"w-[200px] md:w-[170px] lg:w-[200px] h-[56px] md:h-[46px] lg:h-[56px]"}),n.mediaItemDay.coverImage&&n.mediaItemNight.coverImage&&(0,m.jsx)(x.lM,{left:(0,m.jsx)(N,{}),right:(0,m.jsx)(j,{}),value:p,onToggle:()=>{h(!p)},controlCssClass:"w-[144px] md:w-[120px] lg:w-[144px] h-[56px] md:h-[46px] lg:h-[56px]"})]}),(0,m.jsxs)("div",{className:"relative",children:[(0,m.jsxs)("div",{className:g()("relative lg:absolute lg:top-0 lg:left-0 w-full transition-all duration-1000 h-[320px] md:h-[432px] md:aspect-video lg:aspect-auto lg:h-[700px] xl:h-[800px]",p?"opacity-1":"opacity-0"),children:[(0,m.jsx)(x.t3,{image:n.mediaItemDay.coverImage,widths:{xs:640,sm:640,md:1024,lg:1024,xl:1440,xxl:2560},heights:{xs:320,sm:432,md:700,lg:928,xl:800,xxl:1440},className:g()("absolute top-0 left-0 object-cover transition-all duration-1000 ease-in-out")}),s&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(x.pU,{ref:w,media:{coverImage:n.mediaItemDay.coverImage,vimeoId:null===(t=n.mediaItemDay)||void 0===t?void 0:t.vimeoId,mobileVimeoId:null===(l=n.mediaItemDay)||void 0===l?void 0:l.mobileVimeoId},controls:!1,cover:!0,className:g()("absolute top-0 left-0 h-full w-full object-cover transition-all duration-1000 ease-in-out",c?"opacity-0":"opacity-1")}),!c&&k()&&(0,m.jsx)(T,{videoRef:w})]})]}),(0,m.jsxs)("div",{className:g()("absolute top-0 left-0 right-0 w-full transition-all duration-1000 h-[320px] md:h-[432px] md:aspect-video lg:aspect-auto lg:h-[700px] xl:h-[800
1px]",p?"opacity-0":"opacity-1"),children:[(0,m.jsx)(x.t3,{image:n.mediaItemNight.coverImage,widths:{xs:640,sm:640,md:1024,lg:1024,xl:1440,xxl:2560},heights:{xs:320,sm:432,md:700,lg:928,xl:800,xxl:1440},className:g()("absolute top-0 left-0 object-cover transition-all duration-1000",c?"opacity-1":"opacity-0")}),s&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(x.pU,{ref:y,media:{coverImage:n.mediaItemNight.coverImage,vimeoId:null===(a=n.mediaItemNight)||void 0===a?void 0:a.vimeoId,mobileVimeoId:null===(r=n.mediaItemNight)||void 0===r?void 0:r.mobileVimeoId},controls:!1,cover:!0,className:g()("absolute top-0 left-0 h-full w-full object-cover transition-all duration-1000",c?"opacity-0":"opacity-1")}),!c&&k()&&(0,m.jsx)(T,{videoRef:y})]})]})]}),(0,m.jsx)("div",{className:"w-full h-full relative lg:h-screen lg:max-h-[800px]",children:(0,m.jsx)("div",{className:"w-full mx-auto h-full flex content-end justify-end flex-wrap",children:(0,m.jsxs)("div",{className:"relative lg:mr-16 w-full h-full lg:w-[512px] p-0 lg:py-16",children:[(0,m.jsxs)("button",{className:"z-50 btn small h-14 absolute right-0 top-16 lg:p-5 bg-[#BCAB5D] text-xs leading-[14px] font-semibold hidden lg:flex",onClick:()=>{C()},children:[(0,m.jsx)("span",{children:b(i?"holeByHole.$hideInfo":"holeByHole.$showInfo")}),i?(0,m.jsx)(v,{}):(0,m.jsx)(f,{})]}),(0,m.jsxs)("div",{className:g()("flex flex-col justify-end gap-y-6 backdrop-blur-[50px] bg-[#BCAB5D] lg:bg-[#FFFEF980] px-6 py-10 md:p-10 font-semibold","w-full h-full md:h-fit transition-all duration-700 origin-top-right",i?"scale-1 opacity-1":"scale-0 opacity-0"),onClick:e=>e.stopPropagation(),children:[n.holeName&&(0,m.jsx)("div",{className:"transition-colors lg:whitespace-normal uppercase text-xl md:text-lg lg:text-xl !leading-normal tracking-quote-reg-mobile md:tracking-button-reg",children:n.holeName}),(0,m.jsxs)("div",{className:g()("flex flex-col justify-between gap-y-6 h-fit md:grid md:grid-cols-6 lg:flex",i?"block":"hidden"),children:[(0,m.jsx)("div",{className:"order-2 lg:order-1 md:col-start-5 md:col-span-2 md:pl-20 lg:pl-0 flex md:justify-end",children:(0,m.jsx)(x.t3,{image:n.holeMap,heights:{xs:120,md:120,lg:120,xl:120},widths:{xs:190,md:190,lg:190,xl:190},imgProps:{className:"w-1/2 md:w-full lg:w-1/2 object-contain",width:"190",alt:"map"},dataNotLazy:!0})}),(0,m.jsx)("div",{className:"text-sm md:text-xs order-1 lg:order-2 md:col-span-4 lg:text-sm uppercase grid grid-cols-2 gap-x-6 gap-y-4",children:n.holeDetails.map((e,t)=>(0,m.jsxs)("div",{className:"flex justify-between border-b border-black/10 pb-2.5",children:[(0,m.jsx)("span",{children:e.detailName}),(0,m.jsx)("span",{className:"text-right",children:e.detailValue})]},t))}),n.description&&(0,m.jsx)("div",{className:"w-full order-3 md:col-span-full color-from-bg description text-sm font-semibold leading-6 mt-4 lg:-tracking-[0.14px]",dangerouslySetInnerHTML:{__html:n.description}})]})]})]})})})]})}},4634:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(3967),s=l.n(n);l(7294),t.default=e=>{let{data:t}=e,{iconListElements:l}=t;return(0,a.jsx)(r.hp,{data:{...t},className:"font-montserrat color-from-bg pt-10 pb-10 bg-background-secondary",children:(0,a.jsx)("div",{className:s()("container  flex flex-col gap-8 justify-between "),children:(0,a.jsx)("div",{className:s()("icon-item  lg:w-[782px] flex flex-col w-full mb-6 last:mb-0  lg:mb-10"),children:l.map((e,t)=>(0,a.jsxs)("div",{className:s()("icon-wrapper w-full flex items-center gap-3 py-4 border-b color-from-bg border-opacity-10 md:last:pb-0 last:border-none"),children:[(0,a.jsx)("div",{className:"icon aspect-square w-6 h-6 ",children:(0,a.jsx)(r.t3,{image:e.logo,widths:{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24},heights:{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24},"image-class":"h-full w-full object-cover",className:" h-full w-full object-cover"})}),(0,a.jsx)("div",{className:s()("text w-[81%]"),children:(0,a.jsx)("p",{className:s()("text-base not-italic font-normal leading-6.5"),children:e.text})})]},t))})})})}},1136:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(331);t.default=e=>{let{data:t}=e,{desktopLayoutAlignment:l,iconListElements:s}=t,i=[];for(let e=0;e<s.length;e+=6){let t=s.slice(e,e+6);i.push(t)}return(0,a.jsx)(r.hp,{data:{...t,paddingTop:t.paddingTop||"large",paddingBottom:t.paddingBottom||"large"},className:"font-montserrat color-from-bg",children:(0,a.jsxs)("div",{className:"container  flex flex-col gap-8 justify-between \n          ".concat("Left"===l?"lg:flex-row":"lg:flex-row-reverse ","\n          ").concat(s.length>6?"":"lg:justify-between","\n        "),children:[(0,a.jsx)(n.Z,{data:t,preHeadingClassName:"font-montserrat color-from-bg text-xs not-italic !font-medium leading-normal tracking-quote-reg-mobile uppercase mb-4",headingClassName:"text-base not-italic color-from-bg font-semibold leading-5 tracking-headline-m-tablet uppercase md:text-xl md:leading-6 md:tracking-quote-reg-mobile",descriptionClassName:"text-sm not-italic font-normal leading-6",className:"items-start \n             [&_.description-wrapper]:mt-4 [&_.button-wrapper]:mt-10 [&_.button-wrapper]:lg:mt-[153px] [&_.secondary-link]:bg-brand-green [&_.secondary-link]:!border-transparent [&_.secondary-link.btn>svg]:!fill-brand-soft-white\n             [&_.secondary-link.btn:hover>svg]:!fill-black [&_.secondary-link]:text-brand-soft-white\n             ".concat(s.length>6?"lg:w-[339px]":"lg:w-[600px]"," ").concat(t.preHeading?"mt-0":"[&_.main-title]:mt-8","\n             ")}),(0,a.jsx)("div",{className:"main-icon-wrapper flex gap-x-6 ".concat(s.length>6?"flex-row flex-wrap lg:gap-x-26 lg:w-[782px]":"flex-col"),children:i.map((e,t)=>(0,a.jsx)("div",{className:"icon-item flex flex-col w-full mb-6 last:mb-0  lg:mb-10\n              ".concat(s.length>6?"md:w-[48%] lg:w-[339px]":"w-full lg:w-[400px]"),children:e.map((e,t)=>(0,a.jsxs)("div",{className:"icon-wrapper w-full flex items-center gap-3 py-4 border-b color-from-bg border-opacity-10 md:last:pb-0 last:border-none\n                            \n                  ",children:[(0,a.jsx)("div",{className:"icon aspect-square w-6 h-6 ",children:(0,a.jsx)(r.t3,{image:e.logo,widths:{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24},heights:{xs:24,sm:24,md:24,lg:24,xl:24,xxl:24},"image-class":"h-full w-full object-cover",className:" h-full w-full object-cover"})}),(0,a.jsx)("div",{className:"text w-[81%]",children:(0,a.jsx)("p",{className:"text-base not-italic font-normal leading-6.5 ",children:e.text})})]},t))},t))})]})})}},15:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return f}});var a,r,n=l(5893),s=l(7294),i=l(5158);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var c=function(e){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),a||(a=s.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.002,d:"M18 10.5v8.625A1.875 1.875 0 0 1 16.125 21H4.875A1.875 1.875 0 0 1 3 19.125V7.875A1.875 1.875 0 0 1 4.875 6h7.851M15.75 3h5.253v5.252M10.5 13.501 20.626 3.375"})))};function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var m=function(e){return s.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=s.createElement("path",{stroke:"#000",strokeMiterlimit:10,strokeWidth:1.002,d:"M21.14 17.53c-.744-.75-2.546-1.844-3.421-2.285-1.139-.574-1.233-.62-2.128.045-.597.444-.994.84-1.693.691-.7-.149-2.218-.99-3.548-2.315-1.33-1.326-2.219-2.889-2.368-3.585-.15-.697.253-1.09.693-1.688.62-.843.573-.984.043-2.123-.413-.886-1.54-2.672-2.292-3.413-.805-.795-.805-.654-1.324-.439a7.508 7.508 0 0 0-1.211.646c-.75.498-1.166.912-1.457 1.534-.292.622-.422 2.08 1.081 4.811s2.558 4.127 4.74 6.304c2.184 2.177 3.862 3.348 6.316 4.724 3.036 1.7 4.2 1.369 4.824 1.078.624-.29 1.04-.703 1.54-1.453.252-.382.468-.787.646-1.21.216-.516.357-.517-.44-1.321Z"})))},u=l(2074),x=l(1583),p=l(3967),g=l.n(p),h=l(1163),f=e=>{var t,l;let{data:a}=e,r=(0,h.useRouter)(),s=r.asPath.includes("caja-by-maxx-royal/caja-landing");return(0,n.jsx)(i.hp,{data:a,children:(0,n.jsxs)("div",{className:g()("container flex flex-col items-center lg:justify-between md:items-start lg:items-center gap-8 md:gap-16 font-montserrat","Left"===a.alignment?"lg:flex-row":"lg:flex-row-reverse"),children:[a.mapImage&&(0,n.jsx)("div",{className:"w-full lg:max-w-[600px] h-[298px] md:h-[600px]",children:(0,n.jsx)(i.t3,{image:a.mapImage,widths:{xs:1026,md:2064,lg:1800},heights:{xs:894,md:1800,lg:1800}})}),(0,n.jsxs)("div",{className:"w-full lg:max-w-1/2 lg:p-10 font-montserrat font-normal",children:[(0,n.jsxs)("div",{className:"location-info",children:[a.locationLabel&&(0,n.jsx)(i.bl,{className:"color-from-bg text-base leading-5 tracking-headline-m-tablet font-semibold uppercase md:text-xl md:leading-6 md:tracking-title-m","aria-label":"Location",role:"heading","aria-level":"3","aria-describedby":"Title for the map",children:a.locationLabel}),a.location&&(0,n.jsx)("div",{className:"color-from-bg text-smleading-6 md:text-base md:leading-6.5 my-4 md:max-w-[340px] !text-opacity-75",children:a.location}),a.primaryCta&&(0,n.jsxs)(i.rU,{link:a.primaryCta,className:g()("font-semibold text-sm py-2 leading-6 flex items-center gap-2",(0,x.DP)(a.backgroundColour)?"[&_svg>path]:stroke-brand-soft-white":"[&_svg>path]:stroke-brand-black"),children:[(0,n.jsx)("p",{className:"color-from-bg",children:a.primaryCta.text}),(0,n.jsx)(c,{role:"presentation"})]})]}),(0,n.jsxs)("div",{className:"info mt-10 md:mt-16",children:[a.infoTitle&&(0,n.jsx)(i.bl,{className:"color-from-bg font-semibold text-sm leading-normal uppercase tracking-title-s",children:a.infoTitle}),a.infoText&&(0,n.jsx)("div",{className:"color-from-bg text-sm leading-6 md:text-base md:leading-6.5 my-6 !text-opacity-75",children:a.infoText}),(a.phoneNumber||a.emailAddress)&&(0,n.jsxs)("div",{className:"contact-wrapper",children:[a.phoneNumber&&(0,n.jsxs)("a",{href:"tel:".concat(null===(t=a.phoneNumber)||void 0===t?void 0:t.text),className:g()("flex items-center text-sm leading-6 gap-3 mb-6",(0,x.DP)(a.backgroundColour)?"[&_svg>path]:stroke-brand-soft-white":"[&_svg>path]:stroke-brand-black"),children:[(0,n.jsx)(m,{role:"presentation"}),(0,n.jsx)("p",{className:g()("border-b",(0,x.DP)(a.backgroundColour)?"text-brand-soft-white border-brand-soft-white":"text-brand-black border-brand-black"),children:a.phoneNumber.text})]}),s&&(0,n.jsxs)("div",{className:g()("flex items-center text-sm leading-6 gap-3 mb-6"),children:[(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),(0,n.jsx)("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),(0,n.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[" ",(0,n.jsx)("path",{d:"M6.014 8.00613C6.12827 7.1024 7.30277 5.87414 8.23488 6.01043L8.23339 6.00894C9.14051 6.18132 9.85859 7.74261 10.2635 8.44465C10.5504 8.95402 10.3641 9.4701 10.0965 9.68787C9.7355 9.97883 9.17099 10.3803 9.28943 10.7834C9.5 11.5 12 14 13.2296 14.7107C13.695 14.9797 14.0325 14.2702 14.3207 13.9067C14.5301 13.6271 15.0466 13.46 15.5548 13.736C16.3138 14.178 
117.0288 14.6917 17.69 15.27C18.0202 15.546 18.0977 15.9539 17.8689 16.385C17.4659 17.1443 16.3003 18.1456 15.4542 17.9421C13.9764 17.5868 8 15.27 6.08033 8.55801C5.97237 8.24048 5.99955 8.12044 6.014 8.00613Z",fill:"#000"})," ",(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 23C10.7764 23 10.0994 22.8687 9 22.5L6.89443 23.5528C5.56462 24.2177 4 23.2507 4 21.7639V19.5C1.84655 17.492 1 15.1767 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23ZM6 18.6303L5.36395 18.0372C3.69087 16.4772 3 14.7331 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C11.0143 21 10.552 20.911 9.63595 20.6038L8.84847 20.3397L6 21.7639V18.6303Z",fill:"#000"})," "]})]}),(0,n.jsx)("p",{className:g()("border-b",(0,x.DP)(a.backgroundColour)?"text-brand-soft-white border-brand-soft-white":"text-brand-black border-brand-black"),children:"+90 538 211 58 11"})]}),a.emailAddress&&(0,n.jsxs)("a",{href:"mailto:".concat(null===(l=a.emailAddress)||void 0===l?void 0:l.text),className:g()("flex items-center text-sm leading-6 gap-3",(0,x.DP)(a.backgroundColour)?"[&_svg>path]:stroke-brand-soft-white":"[&_svg>path]:stroke-brand-black"),children:[(0,n.jsx)(u.Z,{role:"presentation"}),(0,n.jsx)("p",{className:g()("border-b",(0,x.DP)(a.backgroundColour)?"text-brand-soft-white border-brand-soft-white":"text-brand-black border-brand-black"),children:a.emailAddress.text})]})]})]})]})]})})}},7208:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(5158),s=l(4554),i=l(1408);l(4165);var o=l(9e3),c=l(7939),d=l(94),m=l(3068);t.default=e=>{var t;let{data:l}=e,u=(0,r.useRef)(),[x,p]=(0,r.useState)(0),[g,h]=(0,r.useState)(0),{t:f}=(0,d.$G)("common"),[b,v]=(0,r.useState)(0);(0,r.useEffect)(()=>{v(window.innerHeight);let e=()=>{v(window.innerHeight)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let w=async e=>{try{e>0?await u.current.next():await u.current.prev()}catch(e){if(!(e instanceof s.wb))throw Error(e)}};return(0,a.jsxs)(n.hp,{data:l,className:"relative h-screen max-h-[756px] md:h-[363px]  lg:h-[680px] font-montserrat",children:[l.mediaSlides&&(null===(t=l.mediaSlides)||void 0===t?void 0:t.length)>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Co,{ref:u,align:"center",useResizeObserver:!0,horizontal:!0,circular:!0,onWillChange:e=>{p(e.index)},onReady:()=>{h(u.current.panelCount)},children:l.mediaSlides.map((e,t)=>(0,a.jsxs)("div",{className:"h-screen max-h-[756px] md:h-[363px] lg:h-[680px] w-full",children:[(0,a.jsx)("div",{className:"absolute w-full h-full flex justify-center items-end",children:(0,a.jsxs)("div",{className:"w-full inner  pb-6 lg:pb-10 ",children:[(0,a.jsx)("div",{className:"absolute pointer-events-none top-0 left-0 right-0 h-full w-full z-10 gradient-bottom-to-top"}),(0,a.jsxs)("div",{className:"text-wrapper container relative z-20 h-full md:flex md:gap-6 md:justify-between lg:gap-10 lg:justify-start lg:px-[148px]",children:[(0,a.jsxs)("div",{className:"title-and-description z-20 mb-6 md:mb-0 md:w-[520px] lg:w-[784px]",children:[e.headingTitle&&(0,a.jsx)(n.lb,{data:{heading:e.headingTitle,htag:""},className:"main-title mb-2 text-brand-soft-white font-montserrat text-sm not-italic font-semibold leading-normal tracking-title-s uppercase"}),e.description&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:e.description},className:"text-brand-soft-white text-sm not-italic font-normal leading-6"})]}),(0,a.jsxs)("div",{className:"link-wrapper z-20 flex flex-col items-end justify-end lg:flex-row",children:[e.primaryCTA&&(0,a.jsxs)(n.rU,{className:"btn primary-light first-link md:self-start md:mr-3 border-brand-soft-white/25 w-full\n                                    text-xs not-italic font-medium leading-4.5 tracking-quote-reg-mobile uppercase\n                                    md:w-fit\n                                    lg:text-sm lg:leading-5 lg:tracking-button-reg lg:mt-auto\n                                    ".concat(e.secondaryCTA?"mb-3 lg:mb-0":"mb-0"),link:e.primaryCTA,children:[(0,a.jsx)("span",{children:e.primaryCTA.text}),(0,a.jsx)(c.Z,{className:"!ml-7",role:"presentation"})]}),e.secondaryCTA&&(0,a.jsxs)(n.rU,{className:"btn secondary-reverse  secondary-link md:self-start w-full text-xs not-italic font-medium leading-4.5 tracking-quote-reg-mobile uppercase md:w-fit lg:text-sm lg:leading-5 lg:tracking-button-reg lg:mt-auto",link:e.secondaryCTA,children:[(0,a.jsx)("span",{children:e.secondaryCTA.text}),(0,a.jsx)(c.Z,{className:"!ml-7",role:"presentation"})]})]})]})]})}),(0,a.jsx)(n.t3,{image:e.image,widths:{xs:430,sm:640,md:1024,lg:1024,xl
1:1280,xxl:1536},heights:{xs:756,sm:756,md:363,lg:680,xl:680,xxl:680}})]},t))}),(0,a.jsx)(m.Z,{dark:!0,current:x,total:g,className:"absolute z-20 left-1/2 top-10 -translate-x-1/2 md:top-6 lg:top-10",moduleName:l.moduleName})]}),(0,a.jsxs)("div",{className:"absolute px-6 md:px-10 lg:px-[60px] w-full  lg:-translate-y-1/2 z-20 flex justify-between\n        ".concat(b<700?"top-[40%]":"top-[47%] md:top-[40%] lg:top-1/2","\n        "),children:[(0,a.jsx)("button",{className:"btn text-light hover:!bg-brand-green lg:hover:!bg-grey6 border-none circle bg-brand-green p-0 w-9 h-9 lg:w-12 lg:h-12 z-20",onClick:w,"aria-label":f("general.$previous"),children:(0,a.jsx)(o.Z,{role:"presentation",className:"rotate-180 scale-75"})}),(0,a.jsx)("button",{className:"btn text-light hover:!bg-brand-green lg:hover:!bg-grey6  border-none circle bg-brand-green p-0 w-9 h-9 lg:w-12 lg:h-12 z-20",onClick:()=>w(1),"aria-label":f("general.$next"),children:(0,a.jsx)(o.Z,{role:"presentation",className:"scale-75"})})]})]})}},1481:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return w}});var a,r,n=l(5893),s=l(9e3),i=l(5158),o=l(3068),c=l(1583),d=l(4554),m=l(1408);l(4165);var u=l(3967),x=l.n(u),p=l(94),g=l(7294);function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var f=function(e){return g.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",id:"grid_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 24 24"},e),a||(a=g.createElement("defs",null,g.createElement("style",null,".grid_svg__cls-1{stroke-miterlimit:10;stroke-width:.5px}"))),r||(r=g.createElement("g",{id:"grid_svg__grid"},g.createElement("path",{fill:"none",stroke:"currentColor",d:"M19.1 12.6h-5.9c-.3 0-.6.2-.6.6v5.9c0 .3.2.6.6.6h5.9c.3 0 .6-.2.6-.6v-5.9c0-.3-.2-.6-.6-.6ZM10.8 12.6H4.9c-.3 0-.6.2-.6.6v5.9c0 .3.2.6.6.6h5.9c.3 0 .6-.2.6-.6v-5.9c0-.3-.2-.6-.6-.6ZM19.1 4.4h-5.9c-.3 0-.6.2-.6.6v5.9c0 .3.2.6.6.6h5.9c.3 0 .6-.2.6-.6V5c0-.3-.2-.6-.6-.6ZM10.8 4.4H4.9c-.3 0-.6.2-.6.6v5.9c0 .3.2.6.6.6h5.9c.3 0 .6-.2.6-.6V5c0-.3-.2-.6-.6-.6Z",className:"grid_svg__cls-1"}))))};function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var v=function(e){return g.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 24 24"},e),g.createElement("path",{fill:"none",stroke:"currentColor",d:"M18.4 4.4H5.6c-.7 0-1.2.5-1.2 1.2v12.9c0 .7.5 1.2 1.2 1.2h12.9c.7 0 1.2-.5 1.2-1.2V5.6c0-.7-.5-1.2-1.2-1.2Z",style:{strokeMiterlimit:10,strokeWidth:".5px"}}))},w=e=>{let{data:t}=e,{headingTitle:l,preHeading:a,description:r,cta:u,mediaSection:h}=t||{},b=(0,g.useRef)(),[w,j]=(0,g.useState)(null),[y,N]=(0,g.useState)(0),[k,C]=(0,g.useState)(0),[_,M]=(0,g.useState)(!1),T=(0,c.DP)(t.backgroundColour),{t:L}=(0,p.$G)("common"),S=[];h.map(e=>e.images.map(e=>S.push(e))),(0,g.useEffect)(()=>{_&&j("0")},[_]),(0,g.useEffect)(()=>{w?M(!0):M(!1)},[w]);let A=async e=>{try{e>0?await b.current.next():await b.current.prev()}catch(e){if(!(e instanceof d.wb))throw Error(e)}},E=e=>{let t=S.indexOf(e);j(String(t))};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.DU,{isOpen:w,setIsOpen:j,slides:S,backgroundColour:"#000000",imageWidths:{xs:332,sm:332,md:688,lg:1016,xl:1016,xxl:1016},imageHeights:{xs:163,sm:163,md:328,lg:485,xl:485,xxl:485},imageContainerWidthClassName:"w-[332px] md:w-[688px] lg:w-[1016px]",imageContainerHeightClassName:"h-[163px] md:h-[328px] lg:h-[485px]",moduleName:"MediaMasonryGridModule"}),(0,n.jsxs)(i.hp,{data:t,className:"relative",children:[(0,n.jsxs)("div",{className:"m-auto mx-10 mb-12 max-w-[1224px] gap-2 xl:mx-auto",children:[(0,n.jsxs)("div",{className:"title-wrapper w-full",children:[a&&(0,n.jsx)("p",{className:"color-from-bg font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-4 lg:text-sm lg:font-medium lg:tracking-button-reg",children:a}),l&&(0,n.jsx)(i.lb,{data:l,className:"color-from-bg font-montserrat text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase md:text-xl md:leading-6 md:tracking-quote-reg-mobile"})]}),(0,n.jsxs)("div",{className:"flex w-full flex-col md:max-w-[332px] lg:max-w-[808px]",children:[r&&(0,n.jsx)("div",{className:"grow md:mt-4",children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:r},className:"color-from-bg text-sm not-italic font-normal leading-6 lg:leading-6.5 lg:text-base font-montserrat text-black/75"})}),u&&(0,n.jsx)(i.rU,{className:"mt-4 color-from-bg btn md:w-fit primary",link:u})]})]}),(0,n.jsxs)("div",{className:"hidden max-w-fit mx-auto xl:flex items-center mb-12 gap-6",children:[(0,n.jsxs)("button",{onClick:()=>M(!1),className:"flex w-fit items-center gap-2 color-from-bg",children:[(0,n.jsx)(f,{className:"size-10"}),(0,n.jsx)("span",{className:x()(' font-montserrat relative py-2 after:w-full after:content-[""] after:absolute after:h-px after:bottom-0 after:left-0 after:scale-x-0 after:origin-left after:transition-transform after:duration-500',_?"":"after:scale-x-100",T?"after:bg-white":"after:bg-black"),children:L("gallery.$grid")})]}),(0,n.jsxs)("button",{onClick:()=>M(!0),className:"flex w-fit items-center gap-2 color-from-bg",children:[(0,n.jsx)(v,{className:"size-10"}),(0,n.jsx)("span",{className:x()('font-montserrat relative py-2 after:w-full after:content-[""] after:absolute after:h-px after:bottom-0 after:left-0 after:scale-x-0 after:origin-left after:transition-transform after:duration-500',_?"after:scale-x-100":"",T?"after:bg-white":"after:bg-black"),children:L("gallery.$single")})]})]}),h&&(0,n.jsxs)("div",{className:"m-auto max-w-[1304px]",children:[(0,n.jsx)("div",{className:"hidden grid-cols-[288px_repeat(2,minmax(0,1fr))_392px] auto-rows-fr gap-6 px-6 md:px-10 xl:grid",children:h.map((e,t)=>{var l,a,r;return(null===(l=e.images)||void 0===l?void 0:l.length)===3?(0,n.jsxs)(g.Fragment,{children:[(0,n.jsxs)("div",{className:"relative w-[288px] curs
1or-pointer",onClick:()=>E(e.images[0]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[0].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[0].title}),e.images[0].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[0].description})]}),(0,n.jsx)(i.t3,{image:e.images[0],widths:{xl:432},heights:{xl:506}})]}),(0,n.jsxs)("div",{className:"relative col-span-3 row-span-2 w-[912px] cursor-pointer",onClick:()=>E(e.images[1]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[1].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[1].title}),e.images[1].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[1].description})]}),(0,n.jsx)(i.t3,{image:e.images[1],widths:{xl:1368},heights:{xl:770}})]}),(0,n.jsxs)("div",{className:"relative w-[288px] cursor-pointer",onClick:()=>E(e.images[2]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[2].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[2].title}),e.images[2].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[2].description})]}),(0,n.jsx)(i.t3,{image:e.images[2],widths:{xl:432},heights:{xl:506}})]})]},"row-".concat(t)):(null===(a=e.images)||void 0===a?void 0:a.length)===5?(0,n.jsxs)(g.Fragment,{children:[(0,n.jsxs)("div",{className:"relative col-span-3 row-span-2 w-[808px] cursor-pointer",onClick:()=>E(e.images[0]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[0].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[0].title}),e.images[0].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[0].description})]}),(0,n.jsx)(i.t3,{image:e.images[0],widths:{xl:1212},heights:{xl:670}})]}),(0,n.jsxs)("div",{className:"relative w-[392px] cursor-pointer",onClick:()=>E(e.images[1]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[1].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[1].title}),e.images[1].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[1].description})]}),(0,n.jsx)(i.t3,{image:e.images[1],widths:{xl:588},heights:{xl:506}})]}),(0,n.jsxs)("div",{className:"relative row-span-2 w-[392px] cursor-pointer",onClick:()=>E(e.images[4]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[4].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[4].title}),e.images[4].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[4].description})]}),(0,n.jsx)(i.t3,{image:e.images[4],widths:{xl:588},heights:{xl:1049}})]}),(0,n.jsxs)("div",{className:"relative w-[288px] cursor-pointer",onClick:()=>E(t,2),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[2].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[2].title}),e.images[2].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[2].description})]}),(0,n.jsx)(i.t3,{image:e.images[2],widths:{xl:432},heights:{xl:506}})]}),(0,n.jsxs)("div",{className:"relative col-span-2 w-[496px] cursor-pointer",onClick:()=>E(e.images[3]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[3].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[3].title}),e.images[3].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[3].description})]}),(0,n.jsx)(i.t3,{image:e.images[3],widths:{xl:744},heights:{xl:428}})]})]},"row-".concat(t)):(null===(r=e.images)||void 0===r?void 0:r.length)===7?(0,n.jsxs)(g.Fragment,{children:[(0,n.jsxs)("div",{className:"relative col-span-3 row-span-2 w-[808px] curs
1or-pointer",onClick:()=>E(e.images[0]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[0].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[0].title}),e.images[0].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[0].description})]}),(0,n.jsx)(i.t3,{image:e.images[0],widths:{xl:1212},heights:{xl:670}})]}),(0,n.jsxs)("div",{className:"relative w-[392px] cursor-pointer",onClick:()=>E(e.images[1]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[1].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[1].title}),e.images[1].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[1].description})]}),(0,n.jsx)(i.t3,{image:e.images[1],widths:{xl:588},heights:{xl:506}})]}),(0,n.jsxs)("div",{className:"relative row-span-2 w-[392px] cursor-pointer",onClick:()=>E(e.images[4]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[4].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[4].title}),e.images[4].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[4].description})]}),(0,n.jsx)(i.t3,{image:e.images[4],widths:{xl:588},heights:{xl:1049}})]}),(0,n.jsxs)("div",{className:"relative w-[288px] cursor-pointer",onClick:()=>E(e.images[2]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[2].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[2].title}),e.images[2].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[2].description})]}),(0,n.jsx)(i.t3,{image:e.images[2],widths:{xl:432},heights:{xl:506}})]}),(0,n.jsxs)("div",{className:"relative col-span-2 w-[496px] cursor-pointer",onClick:()=>E(e.images[3]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[3].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[3].title}),e.images[3].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[3].description})]}),(0,n.jsx)(i.t3,{image:e.images[3],widths:{xl:744},heights:{xl:428}})]}),(0,n.jsxs)("div",{className:"relative col-span-2 w-[600px] cursor-pointer",onClick:()=>E(e.images[5]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[5].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[5].title}),e.images[5].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[5].description})]}),(0,n.jsx)(i.t3,{image:e.images[5],widths:{xl:900},heights:{xl:506}})]}),(0,n.jsxs)("div",{className:"relative col-span-2 w-[600px] cursor-pointer justify-self-end",onClick:()=>E(e.images[6]),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.images[6].title&&(0,n.jsx)("div",{className:"font-inter text-lg font-semibold leading-6",children:e.images[6].title}),e.images[6].description&&(0,n.jsx)("div",{className:"mt-2 font-inter text-base",children:e.images[6].description})]}),(0,n.jsx)(i.t3,{image:e.images[6],widths:{xl:900},heights:{xl:506}})]})]},"row-".concat(t)):void 0})}),(0,n.jsx)("div",{className:"flex xl:hidden",children:S&&(null==S?void 0:S.length)>0&&(0,n.jsxs)("div",{className:"w-full pl-6 md:m-auto md:pl-10",children:[(0,n.jsx)(m.Co,{ref:b,align:"prev",useResizeObserver:!0,horizontal:!0,circular:!0,circularFallback:"bound",className:"pb-[74px]",onReady:()=>{C(b.current.panelCount)}
1,onWillChange:e=>{N(e.index)},children:S.map((e,t)=>(0,n.jsx)("div",{className:"mx-3 flex w-[270px] flex-col md:w-[569px]",children:(0,n.jsxs)("div",{className:"h-[151px] cursor-pointer md:h-[320px]",onClick:()=>j(String(t)),children:[(0,n.jsxs)("div",{className:"pointer-events-none absolute flex h-full w-full flex-col items-start justify-end p-6",children:[e.title&&(0,n.jsx)("div",{className:"font-inter text-xs font-semibold md:text-sm",children:e.title}),e.description&&(0,n.jsx)("div",{className:"mt-2 hidden font-inter text-xs md:block",children:e.description})]}),(0,n.jsx)(i.t3,{image:e,widths:{xs:270,sm:270,md:569,lg:569},heights:{xs:151,sm:151,md:320,lg:320}})]})},t))}),(0,n.jsxs)("div",{className:"-mt-8 mr-8 flex justify-between items-center gap-3",children:[(0,n.jsx)(o.Z,{total:k,dark:T,current:y,moduleName:"MediaMasonryGrid"}),(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)("button",{className:"btn border-none circle bg-brand-green [&_svg]:!stroke-white p-0 w-10 h-10 sm:w-12 sm:h-12 z-10 ".concat(0===y?"opacity-50 transition-all  duration-1000 pointer-events-none":"opacity-100 transition-all duration-1000"),onClick:A,"aria-label":L("general.$previous"),children:(0,n.jsx)(s.Z,{className:"rotate-180"})}),(0,n.jsx)("button",{className:"btn border-none circle bg-brand-green [&_svg]:!stroke-white p-0 w-10 h-10 sm:w-12 sm:h-12 z-10 ".concat(y===(null==S?void 0:S.length)-1?"opacity-50 transition-all duration-1000 pointer-events-none":"opacity-100 transition-all duration-1000"),onClick:()=>A(1),"aria-label":L("general.$next"),children:(0,n.jsx)(s.Z,{})})]})]})]})})]})]})]})}},6344:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return h}});var a=l(5893),r=l(7294),n=l(5158),s=l(4554),i=l(1408),o=l(3068);l(4165);var c=l(9e3),d=l(5697),m=l.n(d),u=l(1583);let x=e=>{let{quoteWrapperClassName:t="",authorSourceWrapperClassName:l="",data:r,showBottomSpacing:n=!1,...s}=e,{quote:i,author:o,source:c,backgroundColour:d}=r||{};return(0,a.jsxs)("div",{...s,children:[(0,a.jsxs)("div",{className:"quote-wrapper color-from-bg ".concat(t),children:[i&&(0,a.jsx)("div",{role:"heading","aria-level":"7",dangerouslySetInnerHTML:{__html:i},className:"font-montserrat mb-[72px] text-xl not-italic font-normal leading-8 -tracking-quote-reg-mobile\n                        md:text-2xl md:leading-10 md:-tracking-quote-reg-tablet\n                        lg:text-title-l lg:leading-12 lg:-tracking-quote-reg\n                         [&_em]:font-didot [&_em]:text-2xl [&_em]:leading-8 [&_em]:-tracking-headline-m-tablet\n                        [&_em]:md:text-title-l [&_em]:md:leading-10 [&_em]:md:-tracking-headline-l\n                       [&_em]:lg:text-title-xl [&_em]:lg:leading-12 [&_em]:lg:tracking-[-0.8px]\n                       ".concat((0,u.DP)(d)?"[&_em]:text-light-green":"[&_em]:text-background-spotlight","\n            ")}),(0,a.jsxs)("div",{className:"author-source-wrapper ".concat(l),children:[o&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:o},className:"mb-0.5 font-montserrat text-base not-italic font-semibold leading-6 tracking-quote-author"}),c&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:c},className:"font-montserrat text-base not-italic font-normal leading-6 tracking-quote-autho"})]})]}),n&&(0,a.jsx)("div",{className:"mt-20 spacer"})]})};x.propTypes={data:m().any.isRequired,buttonWrapperClassName:m().string};var p=l(94),g=l(5506),h=e=>{var t,l;let{data:d}=e,m=(0,r.useRef)(),[u,h]=(0,r.useState)(0),[f,b]=(0,r.useState)(0),{t:v}=(0,p.$G)("common"),w=(0,g.DP)((0,g.iy)(null==d?void 0:d.backgroundColour)),j=async e=>{try{e>0?await m.current.next():await m.current.prev()}catch(e){if(!(e instanceof s.wb))throw Error(e)}};return(0,a.jsx)(n.hp,{data:d,className:"relative color-from-bg ",children:(0,a.jsxs)("div",{className:"container relative py-2 md:py-0 lg:pt-20 lg:pb-4 lg:px-[170px] ".concat(1===d.quotes.length?"pointer-events-none":"pointer-events-auto"),children:[d.quotes&&(null===(t=d.quotes)||void 0===t?void 0:t.length)>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Co,{ref:m,align:"center",useResizeObserver:!0,horizontal:!0,circular:!1,onWillChange:e=>{h(e.index)},onReady:()=>{b(m.current.panelCount)}
1,children:d.quotes.map((e,t)=>(0,a.jsx)("div",{className:"quote-wrapper w-full h-full mx-10 mb-20 lg:mb-12",children:(0,a.jsx)(x,{data:{...e,backgroundColour:d.backgroundColour},className:"select-none"})},t))}),(0,a.jsx)(o.Z,{dark:w,current:u,total:f,className:"mx-auto lg:mx-0 lg:ml-auto",moduleName:d.moduleName})]}),(0,a.jsxs)("div",{className:"hidden lg:flex gap-3 justify-end -mt-10 absolute right-[108px] bottom-[98px]",children:[(0,a.jsx)("button",{className:"btn text-light  border-none circle bg-brand-green p-0 w-10 h-10 sm:w-12 sm:h-12 z-10 ".concat(0===u?"opacity-0 transition-all duration-1000 pointer-events-none":"opacity-1 transition-all duration-1000"),onClick:j,"aria-label":v("general.$previous"),children:(0,a.jsx)(c.Z,{className:"rotate-180"})}),(0,a.jsx)("button",{className:"btn text-light border-none circle bg-brand-green p-0 w-10 h-10 sm:w-12 sm:h-12 z-10 ".concat(u===(null===(l=d.quotes)||void 0===l?void 0:l.length)-1?"opacity-0 transition-all duration-1000 pointer-events-none":"opacity-1 transition-all duration-1000"),onClick:()=>j(1),"aria-label":v("general.$next"),children:(0,a.jsx)(c.Z,{})})]})]})})}},5092:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(331),s=l(7294),i=l(2987),o=l.n(i);t.default=e=>{let{data:t}=e,l=o().theme.screens,[i,c]=(0,s.useState)(0),[d,m]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=()=>{c(window.innerHeight),m(window.innerWidth)};return window.addEventListener("load",e),window.addEventListener("resize",e),()=>{window.removeEventListener("load",e),window.removeEventListener("resize",e)}},[]),(0,a.jsx)(r.hp,{data:t,children:(0,a.jsxs)("div",{className:"container main-data flex lg:justify-between flex-col-reverse ".concat("Left"===t.mediaAlignment?"lg:flex-row-reverse":"lg:flex-row"),children:[(0,a.jsx)("div",{className:"text-wrapper lg:max-w-[42%] xxl:max-w-[45%] color-from-bg ".concat("Portrait"===t.mediaOrientation?"lg:mt-[112px]":"lg:my-auto"),children:(0,a.jsx)(n.Z,{data:t,preHeadingClassName:"font-montserrat text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-6 lg:text-sm lg:font-medium lg:tracking-button-reg",headingClassName:"font-montserrat text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase md:text-xl md:leading-6 md:tracking-quote-reg-mobile",descriptionClassName:"color-from-bg text-sm not-italic font-normal leading-6 lg:leading-6.5 lg:text-base font-montserrat text-black/75 [&_ul]:list-disc [&_ul]:pl-4 [&_a]:underline [&_li:has(*.hidden)]:hidden"})}),"Portrait"===t.mediaOrientation&&(0,a.jsx)("div",{className:"img-wrapper w-full mx-auto mb-10 my-auto md:w-full lg:mx-0 relative \n            ".concat("Left"===t.mediaAlignment?"lg:mb-auto md:self-start":"lg:mt-auto md:self-end","\n            ").concat(i<800&&d>parseInt(l.sm)?"lg:h-[75vh] lg:w-[38%]":"h-[401px] md:h-[736px] max-w-[342px] md:max-w-[688px] lg:max-w-[600px] sm:aspect-[342/401] lg:aspect-[600/736] lg:h-fit lg:w-[48%]","\n            "),children:t.disableParallax?(0,a.jsx)(r.pU,{cover:!0,media:t.media,widths:{xs:342,sm:342,md:688,lg:600,xl:600,xxl:600},heights:{xs:401,sm:401,md:736,lg:736,xl:736,xxl:736},className:"h-full w-full object-cover"}):(0,a.jsx)(r.jr,{move:300,zoom:!0,children:(0,a.jsx)(r.pU,{cover:!0,media:t.media,widths:{xs:401,sm:401,md:768,lg:600,xl:768,xxl:768},heights:{xs:470,sm:470,md:787,lg:906,xl:1160,xxl:1160},className:"h-full w-full object-cover"})})}),"Landscape"===t.mediaOrientation&&(0,a.jsx)("div",{className:"img-wrapper w-full mb-10 md:mb-14 aspect-[342/237] h-[237px] mx-auto lg:my-auto md:aspect-[688/477] md:h-[477px] lg:aspect-[600/416] lg:h-[416px] relative ".concat("Left"===t.mediaAlignment?"lg:self-start lg:mb-auto lg:mr-32":"lg:self-end lg:mt-auto lg:ml-32"),children:t.disableParallax?(0,a.jsx)(r.pU,{cover:!0,media:t.media,widths:{xs:400,sm:500,md:900,lg:600,xl:600,xxl:600},heights:{xs:251,sm:241,md:477,lg:416,xl:416,xxl:416}}):(0,a.jsx)(r.jr,{zoom:!0,children:(0,a.jsx)(r.pU,{cover:!0,media:t.media,widths:{xs:400,sm:500,md:688,lg:600,xl:700,xxl:700},heights:{xs:251,sm:241,md:477,lg:472,xl:700,xxl:700}})})})]})})}},3922:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(5158),s=l(331),i=l(1408);
1l(4165);var o=l(3068);t.default=e=>{let{data:t}=e,l=(0,r.useRef)(),[c,d]=(0,r.useState)(0),[m,u]=(0,r.useState)(0);return(0,a.jsx)(n.hp,{data:t,children:(0,a.jsxs)("div",{className:"container main-data flex pb-0 color-from-bg  flex-col-reverse md:flex-col lg:justify-between ".concat((t.mediaAlignment," lg:flex-col")," "),children:[(0,a.jsx)("div",{className:"text-wrapper md:hidden md:w-[70%] lg:my-auto lg:w-[496px]",children:(0,a.jsx)(s.Z,{data:t,preHeadingClassName:"font-montserrat text-xs not-italic !font-medium leading-normal tracking-quote-reg-mobile uppercase mb-6",headingClassName:"font-montserrat text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase",descriptionClassName:"font-montserrat text-sm not-italic font-normal leading-6",className:"[&_.title]:mt-0 [&_.description-wrapper]:mt-6 [&_.button-wrapper]:mt-14"})}),t.smallMedia&&t.largeMedia&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(i.Co,{className:"block md:hidden mb-8",ref:l,align:"center",useResizeObserver:!0,horizontal:!0,circular:!0,onWillChange:e=>{d(e.index)},onReady:()=>{u(l.current.panelCount)},children:[(0,a.jsx)("div",{className:"w-full aspect-3/4",children:(0,a.jsx)(n.t3,{image:t.largeMedia,widths:{xs:500,sm:600,md:332,lg:392,xl:392,xxl:392},heights:{xs:667,sm:480,md:442,lg:522,xl:522,xxl:522},className:"absolute h-full w-full object-cover"})}),(0,a.jsx)("div",{className:"w-full aspect-3/4",children:(0,a.jsx)(n.pU,{cover:!0,media:t.smallMedia,widths:{xs:500,sm:600,md:332,lg:392,xl:392,xxl:392},heights:{xs:667,sm:480,md:442,lg:522,xl:522,xxl:522},className:"h-full w-full object-cover pointer-events-auto"})})]}),(0,a.jsx)(o.Z,{dark:!0,current:c,total:m,className:"block md:hidden absolute bottom-14 z-20 left-1/2 -translate-x-1/2",moduleName:t.moduleName})]}),(0,a.jsx)("div",{className:"text-wrapper hidden md:flex md:w-full md:mb-14 lg:mb-6   \n          ".concat("Left"===t.mediaAlignment?" ml-auto lg:w-[496px]":" mr-auto lg:w-[583px]","\n         "),children:(0,a.jsx)(s.Z,{data:t,preHeadingClassName:"font-montserrat md:mb-8 md:text-xs md:not-italic md:font-medium md:leading-normal md:tracking-quote-reg-mobile md:uppercase",headingClassName:"font-montserrat md:text-xl md:font-semibold md:leading-6 md:tracking-quote-reg-mobile md:uppercase",descriptionClassName:"font-montserrat text-sm not-italic font-normal leading-6 md:text-base md:leading-6.5 lg:text-base lg:font-normal lg:leading-6.5",className:"[&_.title]:mt-0 [&_.description-wrapper]:mt-8 [&_.button-wrapper]:mt-14 md:[&_.first-link]:mb-0 \n             ".concat("Left"===t.mediaAlignment?"[&_.first-link]:ml-auto":"[&_.first-link]:ml-0","\n            ")})}),(0,a.jsxs)("div",{className:"img-wrapper hidden md:flex md:my-auto md:justify-between md:h-fit md:w-full ".concat("Left"===t.mediaAlignment?"md:flex-row":"md:flex-row-reverse"),children:[(0,a.jsx)("div",{className:"main-img md:relative md:aspect-3/4\n                xl:h-[90vh] xl:my-auto lg:h-[80vh] lg:w-[48%] xl:w-auto\n                md:minheight800:w-[337px] lg:minheight800:w-[48%] md:minheight800:h-[449px] lg:minheight800:h-auto xl:minheight800:w-[600px]\n          \n          ".concat("Left"===t.mediaAlignment?"lg:mr-10":"lg:ml-10","\n          "),children:(0,a.jsx)(n.jr,{move:300,className:"md:[&_.inner-img-wrapper]:h-full lg:my-auto",children:(0,a.jsx)(n.t3,{image:t.largeMedia,widths:{xs:506,sm:506,md:500,lg:500,xl:650,xxl:650},heights:{xs:674,sm:674,md:666,lg:854,xl:1047,xxl:1047},className:"absolute h-full w-full object-cover"})})}),(0,a.jsx)("div",{className:"secondary-img-wrapper md:mt-[72px] md:mb-[54px] lg:mt-32 lg:mb-[95px] md:aspect-[278/323]   xl:h-[75vh] md:w-[35%] xl:w-auto md:minheight800:w-[278px] md:minheight800:h-[324px] lg:minheight800:h-auto lg:minheight800:w-[35%] xl:minheight800:w-[496px] xl:minheight800:aspect-[496/576]",children:(0,a.jsx)(n.jr,{move:300,children:(0,a.jsx)(n.pU,{cover:!0,media:t.smallMedia,widths:{xs:417,sm:417,md:417,lg:744,xl:744,xxl:744},heights:{xs:485,sm:485,md:485,lg:864,xl:864,xxl:864},className:"h-full w-full object-cover md:aspect-[278/323]"})})})]})]})})}},2042:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158);t.default=e=>{let{data:t}=e;return(0,a.jsx)(r.hp,{data:t,children:(0,a.jsx)(r.ZG,{data:{description:t.content,...t},className:"container",preHeadingClassName:"text-grey3",descriptionClassName:"richtext-content",headingClassName:"text-h2"})})}},959:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(7939),s=l(1583),i=l(3967),o=l.n(i);t.default=e=>{var t;let{data:l}=e,{headingTitle:i,preHeading:c,media:d,primaryCTA:m,mediaAlignment:u,secondaryCTA:x,backgroundColour:p}=l,g=d&&(d.videoFromGallery||d.vimeoId||d.coverImage);return(0,a.jsx)(r.hp,{data:l,children:(0,a.jsxs)("div",{className:"container color-from-bg",children:[(0,a.jsxs)("div",{className:"flex flex-col lg:hidden",children:[c&&(0,a.jsx)(r.bl,{className:"opacity-50 font-montserrat color-from-bg text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-4 md:text-sm md:leading-normal md:tracking-button-reg",children:c}),i&&(0,a.jsx)(r.lb,{data:i,className:"font-didot not-italic font-normal  text-title-l leading-10 -tracking-headline-m-mobile sm:text-4xl sm:leading-[44px] sm:-tracking-headline-l-mobile  lg:text-title-xl lg:leading-12 lg:-tracking-headline-s"})]}),(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row w-full lg:gap-16 mt-10 lg:mt-0 ".concat("Right"===u?"lg:flex-row-reverse":""),children:[g&&(0,a.jsxs)("div",{className:"w-full h-[420px] md:w-[496px] md:h-[737px] xl:w-[600px] xl:h-[837px] mx-auto md:mx-0 mb-10\n                ".concat("Right"===u?"md:ml-auto":"md:mr-auto"),children:[(0,a.jsxs)("figure",{className:"w-full h-[420px] md:w-[496px] md:h-[737px] xl:w-[600px] xl:h-[837px]",children:[(0,a.jsx)(r.jr,{move:300,zoom:!0,children:d&&(0,a.jsx)(r.pU,{cover:!0,media:d,widths:{xs:283,sm:283,md:496,lg:496,xl:600,xxl:600},heights:{xs:420,sm:420,md:737,lg:904,xl:1003,xxl:1003},className:"h-full w-full object-cover "})}),(0,a.jsx)("p",{className:"mt-4 font-montserrat text-xs not-italic font-normal leading-5 opacity-75",children:null===(t=d.coverImage)||void 0===t?void 0:t.imageAlt})]}),(null==d?void 0:d.description)&&(0,a.jsx)("figcaption",{className:"text-caption mt-4 rtl:text-right",children:d.description})]}),(0,a.jsxs)("div",{className:o()("w-full mt-4 md:mt-4 lg:mt-0",{"lg:max-w-[560px]":g}),children:[(0,a.jsxs)("div",{className:o()("hidden lg:flex flex-col",g?"lg:mb-[272px]":"lg:mb-20"),children:[c&&(0,a.jsx)(r.bl,{className:"opacity-50 font-montserrat color-from-bg text-xs not-italic font-medium leading-normal tracking-quote-reg-mobile uppercase mb-4 md:text-sm md:leading-normal md:tracking-button-reg",children:c}),i&&(0,a.jsx)(r.lb,{data:i,className:"font-didot not-italic font-normal  text-title-l leading-10 -tracking-headline-m-mobile sm:text-4xl sm:leading-[44px] sm:-tracking-headline-l-mobile  lg:text-title-xl lg:leading-12 lg:-tracking-headline-s"})]}),(0,a.jsx)("div",{className:"richtext-content mb-10",dangerouslySetInnerHTML:{__html:l.content}}),(0,a.jsxs)("div",{className:"flex flex-col items-start",children:[m&&(0,a.jsxs)(r.rU,{className:"btn primary color-from-bg w-full md:w-fit ".concat(x?"mb-4":"mb-0"),link:m,children:[(0,a.jsx)("span",{children:m.text}),(0,a.jsx)(n.Z,{className:"!ml-6 color-from-bg",role:"presentation"})]}),x&&(0,a.jsxs)(r.rU,{className:"btn secondary border-solid text-brand-soft-white [&_svg]:stroke-white secondary-link w-full md:w-fit !bg-background-spotlight\
1n                            ".concat((0,s.DP)(p)?"!border-solid !border-brand-soft-white !border-opacity-25":"!border-transparent","\n                  "),link:x,children:[(0,a.jsx)("span",{children:x.text}),(0,a.jsx)(n.Z,{className:"ml-8",role:"presentation"})]})]})]})]})]})})}},5762:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return h}});var a,r,n=l(5893),s=l(7294),i=l(5158),o=l(4554),c=l(1408);l(4165);var d=l(9e3);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e}).apply(this,arguments)}var u=function(e){return s.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),a||(a=s.createElement("path",{fill:"#000",d:"M11.333 1.333a3.344 3.344 0 0 1 3.334 3.334v6.666a3.344 3.344 0 0 1-3.334 3.334H4.667a3.344 3.344 0 0 1-3.334-3.334V4.667a3.344 3.344 0 0 1 3.334-3.334zm0-1.333H4.667A4.68 4.68 0 0 0 0 4.667v6.666A4.68 4.68 0 0 0 4.667 16h6.666A4.68 4.68 0 0 0 16 11.333V4.667A4.68 4.68 0 0 0 11.333 0"})),r||(r=s.createElement("path",{fill:"#000",d:"M12.336 4.672a1.003 1.003 0 1 1 0-2.005 1.003 1.003 0 0 1 0 2.005M8 5.332a2.667 2.667 0 1 1 0 5.333 2.667 2.667 0 0 1 0-5.333m0-1.333a4 4 0 1 0 0 8 4 4 0 0 0 0-8"})))},x=l(94),p=l(3068),g=l(5506),h=e=>{var t,l;let{data:a}=e,r=(0,s.useRef)(),[m,h]=(0,s.useState)(0),[f,b]=(0,s.useState)(0),{t:v}=(0,x.$G)("common"),w=(0,g.DP)((0,g.iy)(null==a?void 0:a.backgroundColour)),j=async e=>{try{e>0?await r.current.next():await r.current.prev()}catch(e){if(!(e instanceof o.wb))throw Error(e)}};return(0,n.jsx)(i.hp,{data:a,className:"relative color-from-bg",children:(0,n.jsxs)("div",{className:"relative container pr-0 xxl:pr-[108px]",children:[(0,n.jsxs)("div",{className:"text-wrapper relative z-20 h-full lg:flex md:gap-6 md:justify-between pr-6 md:pr-10 lg:pr-[108] mb-16 lg:mb-14",children:[(0,n.jsxs)("div",{className:"title-and-description z-20 mb-8 lg:mb-0 lg:w-[808px]",children:[a.label&&(0,n.jsx)(i.bl,{className:"font-montserrat color-from-bg text-sm not-italic font-medium leading-normal tracking-button-reg uppercase mb-4 opacity-50",children:a.label}),a.heading&&(0,n.jsx)(i.lb,{data:{heading:a.heading,htag:""},className:"main-title color-from-bg mb-4 font-montserrat text-base not-italic font-semibold leading-5 tracking-headline-m-tablet uppercase md:text-xl md:leading-6 md:tracking-quote-reg-mobile"}),a.text&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:a.text},className:"font-montserrat color-from-bg text-sm not-italic font-normal leading-6 lg:text-base lg:leading-6.5"})]}),(0,n.jsx)("div",{className:"link-wrapper z-20 flex flex-col items-end justify-end",children:a.primaryCTA&&(0,n.jsxs)(i.rU,{className:"btn primary first-link md:self-start md:mr-3 color-from-bg w-full  text-sm not-italic font-medium leading-5 tracking-button-reg uppercase md:w-fit",link:a.primaryCTA,children:[(0,n.jsx)("span",{children:a.primaryCTA.text}),(0,n.jsx)(u,{role:"presentation",className:"!ml-7 ".concat(w?"fill-white":"fill-black")})]})})]}),a.images&&(null===(t=a.images)||void 0===t?void 0:t.length)>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Co,{ref:r,align:"prev",useResizeObserver:!0,horizontal:!0,circular:!0,onWillChange:e=>{h(e.index)},onReady:()=>{b(r.current.panelCount)},className:"pb-16",children:a.images.map((e,t)=>(0,n.jsx)("div",{className:"w-[288px] aspect-square mr-4",children:(0,n.jsx)(i.t3,{image:e,widths:{xs:288,sm:288,md:288,lg:288,xl:288,xxl:288},heights:{xs:288,sm:288,md:288,lg:288,xl:288,xxl:288},className:"h-full w-full object-cover pointer-events-none"})},t))}),(0,n.jsx)(p.Z,{dark:w,current:m,total:f,className:"absolute left-1/2 translate-x-[calc(-50%_-_12px)]  lg:-translate-x-0 lg:left-[unset] lg:right-[108px] xxl:right-[216px]",moduleName:a.moduleName}),(0,n.jsxs)("div",{className:"hidden lg:flex gap-3 justify-end -mt-10 absolute lg:!right-[168px] xxl:!right-[276px] bottom-[54px]",children:[(0,n.jsx)("button",{className:"btn text-light  border-none circle bg-brand-green p-0 w-10 h-10 sm:w-12 sm:h-12 z-10 ".concat(0===m?"opacity-0 transition-all duration-1000 pointer-events-none":"opacity-1 transition-all duration-1000"),onClick:j,"aria-label":v("general.$previous"),children:(0,n.jsx)(d.Z,{className:"rotate-180"})}),(0,n.jsx)("button",{className:"btn text-light border-none circle bg-brand-green p-0 w-10 h-10 sm:w-12 sm:h-12 z-10 ".concat(m===(null===(l=a.images)||void 0===l?void 0:l.length)-1?"opacity-0 transition-all duration-1000 pointer-events-none":"opacity-1 transition-all duration-1000"),onClick:()=>j(1),"aria-label":v("general.$next"),children:(0,n.jsx)(d.Z,{})})]})]})]})})}},1752:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(7294),n=l(1163),s=l(5158),i=l(1583),o=l(3967),c=l.n(o);t.default=e=>{let{data:t}=e,[l,o]=(0,r.useState)(null),[d,m]=(0,r.useState)({}),u=(0,r.useRef)(),x=(0,n.useRouter)();(0,r.useEffect)(()=>
1{if((null==t?void 0:t.tabs)&&null===l){let e=null,l=x.asPath.split("#")[1];if(l&&l.startsWith("t")&&l.length>4){let a=l.substring(1,4);if(a===t.moduleId.substring(0,3)){let t=l.substring(4);isNaN(t)||(e=Number(t))}}if(null===e)for(let l=0;l<t.tabs.length;l++){let a=t.tabs[l];if(!a.tabLink&&a.tabModules){e=l;break}}o(e)}},[t,x.asPath,l]),(0,r.useEffect)(()=>{p()},[l]),(0,i.bt)(()=>(window.addEventListener("resize",p),()=>window.removeEventListener("resize",p)),[]);let p=()=>{setTimeout(()=>{var e;(null==u?void 0:null===(e=u.current)||void 0===e?void 0:e.children)&&Array.from(u.current.children).forEach(e=>{e&&e.classList&&e.classList.contains("active-tab")&&m({left:"".concat(e.offsetLeft,"px"),width:"".concat(e.offsetWidth,"px")})})},0)},g=(e,l)=>{e.tabLink?(0,i.nG)(x,e.tabLink):(x.replace({hash:"t".concat(t.moduleId.substring(0,3)).concat(l)}),o(l))};return(0,a.jsxs)(s.hp,{data:t,className:"bg-background-primary",children:[(0,a.jsx)("div",{className:"container flex overflow-x-auto overflow-y-hidden pb-4 scrollbar-hide",children:t.tabs&&(0,a.jsxs)("div",{ref:u,className:"relative flex w-max md:w-full",children:[t.tabs.map((e,t)=>(0,a.jsx)("div",{className:c()("flex grow cursor-pointer items-center justify-center whitespace-nowrap border-b border-brand-black/25 p-6 md:px-8 md:py-7 text-center font-montserrat transition-colors lg:whitespace-normal font-medium uppercase text-xs md:text-sm !leading-normal tracking-quote-reg-mobile md:tracking-button-reg",l===t?"active-tab text-brand-black":"text-brand-black/50"),onClick:()=>g(e,t),role:"button",children:e.tabTitle},t)),(0,a.jsx)("div",{className:"absolute bottom-0 h-px transition-all duration-500 ease-out bg-black",style:d})]})}),(0,a.jsx)("div",{className:"relative",children:t.tabs&&t.tabs.map((e,t)=>(0,a.jsx)("div",{className:c()("top-0 pb-0 pt-0 transition-opacity duration-500 ease-out",l===t?"relative opacity-100":"absolute h-0 w-full overflow-hidden opacity-0"),children:e.tabModules.map(e=>(0,a.jsx)(s.hL,{module:e},e.moduleId))},t))})]})}},5094:function(e,t,l){"use strict";l.r(t);var a=l(5893),r=l(5158),n=l(3967),s=l.n(n),i=l(94),o=l(5675),c=l.n(o),d=l(1163),m=l(7294);let u=["belek","bodrum","kemer"];t.default=e=>{let{data:t}=e,{location:l}=t,[n,s]=(0,m.useState)([]),i=(0,d.useRouter)();return((0,m.useEffect)(()=>{let e=async e=>{var t,l;let a=(null===(t=window)||void 0===t?void 0:t.self)!==(null===(l=window)||void 0===l?void 0:l.top),r=await fetch("".concat(a?"https://www.maxxroyal.com":"","/weather?location=").concat("caja"===e?"G\xf6lt\xfcrkb\xfck\xfc":e,"&lang=").concat(i.locale.toLowerCase()));if(r&&r.ok){let e=await r.json();return e}};"all"!==l&&e(l).then(e=>{s(e)}),"all"===l&&u.forEach(async t=>{let l=await e(t);s(e=>[...e,l])})},[l,i.locale]),n&&0!==n.length)?(0,a.jsx)(r.hp,{data:t,children:(0,a.jsxs)("div",{className:"container",children:["all"!==l&&(0,a.jsx)(x,{forecast:n,locale:i.locale,className:"mx-auto"},t.moduleId),"all"===l&&(0,a.jsx)("div",{className:"flex flex-col items-center lg:justify-center lg:flex-row lg:flex-wrap gap-6",children:n.map((e,l)=>(0,a.jsx)(x,{forecast:e,locale:i.locale},"weatherWidget-".concat(l,"-").concat(t.moduleId)))})]})},t.moduleId):null};let x=e=>{var t,l;let{forecast:r,locale:n,className:o}=e,{t:d}=(0,i.$G)("common");return r?(0,a.jsxs)("div",{className:s()("rounded-lg font-montserrat p-2 pt-6 w-full sm:w-[560px] xxl:w-[600px] flex flex-col border gap-4 text-brand-soft-white bg-background-spotlight border-black/25",o),children:[(0,a.jsxs)("div",{className:"upper flex justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center justify-between",children:[(0,a.jsx)("div",{className:"flex items-start sm:pl-4",children:(0,a.jsxs)("div",{className:"flex items-center sm:gap-16",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("p",{className:"font-montserrat font-semibold text-sm leading-normal tracking-title-s uppercase",children:"".concat("G\xf6lt\xfcrkb\xfck\xfc"===r.city.name?"Caja by Maxx":r.city.name,", ").concat(r.city.country)}),(0,a.jsxs)("p",{className:"w-full flex flex-col text-xs leading-5 font-montserrat gap-0.5",children:[(0,a.jsx)("span",{children:new Date().toLocaleDateString(n,{weekday:"long",month:"short",day:"numeric"})}),(0,a.jsx)("span",{children:new Date().toLocaleTimeString(n,{hour:"2-digit",minute:"2-digit"})})]})]}),(0,a.jsxs)("div",{className:"flex items-end sm:gap-[33px]",children:[(0,a.jsx)("div",{className:"size-9 sm:size-16 relative",children:(0,a.jsx)(c(),{fill:!0,src:"https://openweathermap.org/img/wn/".concat(r.list[0].weather[0].icon,"@2x.png"),alt:r.list[0].weather[0].description,className:"size-full object-cover object-center"})}),(0,a.jsxs)("div",{className:"flex items-start font-didot",children:[(0,a.jsx)("span",{className:"text-4xl leading-10 -tracking-[0.01em] sm:text-[64px] sm:leading-[70px] italic sm:-tracking-headline-l",children:r.list[0].main.temp.toFixed()}),(0,a.jsx)("span",{className:"font-montserrat text-base ml-[11px] ledaing-[26px] w-[19px] h-[26px]",children:"\xb0C"})]})]})]})}),(0,a.jsx)("p",{className:"capitalize font-semibold",children:r.list[0].weather[0].description})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-1 items-end",children:[(0,a.jsxs)("div",{className:s()("rounded-full w-fit gap-1 py-0.5 pl-1 pr-0.5 flex items-center text-xs font-medium "),children:[(0,a.jsx)("span",{children:d("weather.$humidity")})," ",(0,a.jsxs)("span",{className:s()("rounded-full py-0.5 px-1 bg-black/10"),children:[r.list[0].main.humidity,"%"]})]}),(0,a.jsxs)("div",{className:s()("rounded-full w-fit gap-1 py-0.5 pl-1 pr-0.5 flex items-center text-xs font-medium "),children:[(0,a.jsx)("span",{children:d("weather.$wind")})," ",(0,a.jsxs)("span",{className:s()("rounded-full py-0.5 px-1 bg-black/10"),children:[r.list[0].wind.speed.toFixed(1)," m/s"]})]}),(0,a.jsxs)("div",{className:s()("rounded-full w-fit gap-1 py-0.5 pl-1 pr-0.5 flex items-center text-xs font-medium "),children:[(0,a.jsx)("span",{children:d("weather.$highTemp")})," ",(0,a.jsxs)("span",{className:s()("rounded-full py-0.5 px-1 bg-black/10"),children:[r.list[0].main.temp_max.toFixed(1),"\xb0"]})]}),(0,a.jsxs)("div",{className:s()("rounded-full w-fit gap-1 py-0.5 pl-1 pr-0.5 flex items-center text-xs font-medium "),children:[(0,a.jsx)("span",{children:d("weather.$lowTemp")})," ",(0,a.jsxs)("span",{className:s()("rounded-full py-0.5 px-1 bg-black/10"),children:[r.list[0].main.temp_min.toFixed(1),"\xb0"]})]})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-3 sm:flex gap-2",children:(t=r.list,l=(e,t)=>
1e.dt_txt.split(" ")[0]===t.dt_txt.split(" ")[0],t.reduce((e,t)=>{let a=e.find(e=>l(e[0],t));return a?a.push(t):e.push([t]),e},[])).map((e,t)=>{if(0!==t)return(0,a.jsx)(p,{index:t,day:e},t)})})]}):null},p=e=>{var t,l;let{day:r,index:n}=e,i=(0,d.useRouter)(),o=r[0].main.temp_min.toFixed(),m=r[0].main.temp_max.toFixed(),u,x,p;return p=new Date(r[0].dt_txt).toLocaleDateString(i.locale,{weekday:"short"}),r.map(e=>{e.main.temp_min<o&&(o=e.main.temp_min.toFixed()),e.main.temp_max>m&&(m=e.main.temp_max.toFixed()),new Date(e.dt_txt).getHours()<=new Date().getHours()&&(u=e.main.temp.toFixed(),x={src:e.weather[0].icon,alt:e.weather[0].description})}),(0,a.jsxs)("div",{className:s()("weather-forecast text-xs leading-5 flex gap-3 justify-center font-semibold w-full py-[13px] rounded-xl bg-black/10",n>3?"hidden sm:flex":""),children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("p",{className:" font-bold",children:p}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("p",{children:[u,"\xb0"]}),(0,a.jsx)("div",{className:"size-5 relative",children:(0,a.jsx)(c(),{fill:!0,src:"https://openweathermap.org/img/wn/".concat(null===(t=x)||void 0===t?void 0:t.src,"@2x.png"),alt:null===(l=x)||void 0===l?void 0:l.alt,className:"size-full object-cover object-center"})})]})]}),(0,a.jsxs)("div",{className:"font-normal",children:[(0,a.jsxs)("p",{children:[o,"\xb0"]}),(0,a.jsxs)("p",{children:[m,"\xb0"]})]})]})}},2987:function(e,t,l){"use strict";e.exports={content:["./pages/**/*.{js,ts,jsx,tsx}","./components/**/*.{js,ts,jsx,tsx}","./modules/**/*.{js,ts,jsx,tsx}"],theme:{languages:["de","ru","tr"],container:{center:!0,padding:{DEFAULT:"1.5rem",md:"2.5rem",xl:"6.75rem"}},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#ffffff",grey1:"#323232",grey2:"#505050",grey3:"#828282",grey4:"#BEBEBE",grey5:"#DCDCDC",grey6:"#F0F0F0","brand-soft-white":"#FFFEF9","brand-black":"#000000","background-secondary":"#C6CEBC","background-card":"#F3F4EE","opacity-black":"#000000","semantic-error":"#BF1919","semantic-link":"#3FA2F7","light-green":"#D8E2C9","logo-gold":"#D2AB67",error:" #ff7878"},extend:{screens:{minheight800:{raw:"(min-height: 800px)"}},animation:{grow:"grow 0.7s forwards",shrink:"shrink 0.5s forwards"},keyframes:{grow:{"0%":{transform:"scale(0)"},"50%":{transform:"scale(1.2)"},"100%":{transform:"scale(1)"}},shrink:{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)"}}},borderRadius:{contact:"3.4px"},backdropBlur:{btn:"42px"},content:{externalLink:'url("../assets/externalLink.svg")',phone:'url("../assets/phone.svg")',mail:'url("../assets/mail.svg")',instagram:'url("../assets/instaSlim.svg")'},spacing:{7.5:"1.875rem",26:"6.5rem"},letterSpacing:{"headline-l":"0.64px","headline-l-tablet":"0.56px","headline-l-mobile":"0.36px","headline-m-tablet":"0.48px","headline-m-mobile":"0.32px","headline-s":"0.4px","title-m":"0.6px","title-s":"0.42px","quote-reg":"0.96px","quote-reg-tablet":"0.72px","quote-reg-mobile":"0.6px","quote-author":"0.16px","card-m":"0.28px","card-s":"0.24px","card-xs":"0.2px","button-reg":"0.7px",contact:"0.12px"},transitionProperty:{width:"width","backdrop-filter":"backdrop-filter"},height:{13:"3.25rem"},margin:{},aspectRatio:{"4/3":"4 / 3","3/4":"3 / 4"},fontFamily:{didot:["Didot","Times New Roman","Baskerville","ui-serif","system-ui","-apple-system"],montserrat:["Montserrat","Helvetica","Arial","Tahoma","Verdana","ui-sans-serif","system-ui","-apple-system"]},lineHeight:{normal:"normal",3.5:"0.875rem",4.5:"1.125rem",6.5:"1.625rem",12:"3rem",14:"3.5rem","title-s":"17.07px"},fontSize:{"title-m":"1.75rem","title-l":"2rem","title-xl":"2.5rem","headline-m":"3.5rem","headline-l":"4rem"}}},plugins:[l(5978)({defaultTheme:{extend:{colors:{"brand-green":"#769080","background-primary":"#D6DBD0","background-spotlight":"#475A4F"}}},themes:[{name:"Gold",selectors:[".Gold",'[data-theme="Gold"]'],extend:{colors:{"brand-green":"#BCAB5D","background-primary":"#E4DDBE","background-spotlight":"#BCAB5D"}}}]}),l(4852),l(6415)]}},5506:function(e,t,l){"use strict";l.d(t,{DP:function(){return r},FM:function(){return i},iy:function(){return c}});let a=e=>{e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,l,a)=>t+t+l+l+a+a);let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null},r=e=>{let t,l,a;if(!e||""===e)return!1;e.match(/^rgb/)?(t=(e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],l=e[2],a=e[3]):(t=(e=+("0x"+e.slice(1).replace(e.length<5&&/./g,"$&$&")))>>16,l=e>>8&255,a=255&e);let r=Math.sqrt(.299*(t*t)+.587*(l*l)+.114*(a*a));return r<129.31},n=()=>"#000000",s=()=>"#ffffff",i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,l=r(e)?s():n();return("#"===e&&(l="#000"),1!==t)?o(l,t):l},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e)return null;let l=a(e);return l.push(t),"rgb(".concat(l.join(),")")},c=e=>e?e.startsWith("#")?e:"#"+e:null},1583:function(e,t,l){"use strict";l.d(t,{q8:function(){return d},FM:function(){return a.FM},TZ:function(){return o},iy:function(){return a.iy},qL:function(){return p},DP:function(){return a.DP},HH:function(){return i},TV:function(){return r},nG:function(){return s},z:function(){return m},bt:function(){return f}});var a=l(5506);let r=e=>
1{e&&(e.querySelectorAll("*").forEach(e=>{e.getAttribute("data-srcset")&&(e.setAttribute("srcset",e.getAttribute("data-srcset")),e.removeAttribute("data-srcset")),e.getAttribute("data-src")&&(e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"))}),e.classList.add("lazy-loaded"))},n=e=>{if(e){let{href:t}=e;return t&&(t.toLowerCase().startsWith("http://")||t.toLowerCase().startsWith("https://")||t.toLowerCase().startsWith("//")||t.toLowerCase().startsWith("mailto:"))}return!0},s=(e,t)=>{if(t){let{href:l,target:a}=t;a&&"_blank"===a?window.open(l,"_blank").focus():n(t)?window.location.href=l:e.push(l)}},i=e=>{let t=null;if(!e||!(e.length>0))return!1;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol},o=(e,t)=>{if(e&&n(e)&&t){let l=null;try{l=new URL(e.href)}catch(t){console.warn("Invalid URL: "+e.href)}if(l&&t===l.host)return{...e,href:l.pathname+l.search}}return e},c=["searchTerm","page","orderBy","params","contact","book"],d=function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),a=1;a<t;a++)l[a-1]=arguments[a];e.query&&l.length>0&&l.forEach(t=>{"object"==typeof t?(Object.entries(t).forEach(e=>{let[l,a]=e;t[l]=Array.isArray(a)?[]:null}),Object.entries(e.query).forEach(e=>{let[l,a]=e;Object.prototype.hasOwnProperty.call(t,l)&&(Array.isArray(t[l])&&!Array.isArray(a)?t[l].push(a):t[l]=a)})):console.error('Unsupported function argument! Arguments can only be objects, "'.concat(typeof t,'" given!'))})},m=(e,t)=>{let l={...e.query};delete l.params,u(e,{...l,...t})},u=(e,t)=>{let l=e.asPath.indexOf("?")>0?e.asPath.substring(0,e.asPath.indexOf("?")):e.asPath;x(t),e.replace({pathname:l,query:t},null,{shallow:!0,scroll:!1})},x=e=>{Object.keys(e).forEach(t=>{(null==e[t]||""===e[t]||Array.isArray(e[t])&&0===e[t].length)&&delete e[t]})},p=e=>{let t=[];return Object.entries(e.query).forEach(e=>{let[l,a]=e;c.includes(l)||t.push({FieldName:l,FieldGuids:Array.isArray(a)?a:[a]})}),t};var g=l(7294);let h=g.useLayoutEffect;var f=h}}]);
2//# sourceMappingURL=158-f3114262b3ebbcc9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.