1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1206],{63553:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/villas",function(){return n(78193)}])},10443:function(e,t,n){"use strict";n.d(t,{A:function(){return FavouriteButton}});var i=n(85893),r=n(37303),l=n(76248),a=n(59886),o=n(22628),s=n(82729),c=n(85444);function _templateObject(){let e=(0,s._)(["\n background-color: ",";\n box-shadow: ",";\n border-radius: 100%;\n svg {\n color: ",";\n }\n "]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,s._)(["\n width: 30px;\n height: 30px;\n background-color: rgba(230, 230, 230, 0.5);\n transition: background ",";\n\n svg {\n color: #fafafa;\n }\n\n &:hover {\n background-color: rgba(97, 97, 97, 0.5);\n }\n "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,s._)(["\n width: 36px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 300ms;\n border-radius: ",";\n ",";\n\n svg {\n fill: ",";\n }\n\n &:hover {\n cursor: pointer;\n }\n"]);return _templateObject2=function(){return e},e}let d=c.ZP.button.withConfig({componentId:"sc-e1db4965-0"})(_templateObject2(),e=>{let{theme:t}=e;return t.radii.middle},e=>{let{theme:t,hasBackground:n}=e;return n?(0,c.iv)(_templateObject(),t.colors.white,t.shadows.boxShadow,t.colors.black):(0,c.iv)(_templateObject1(),e=>{let{theme:t}=e;return t.transitions.regular})},e=>{let{theme:t,isSelected:n,borderColor:i}=e;return n?t.colors.danger:i}),FavouriteButton=e=>{var t;let{aptId:n,category:s,borderColor:c="white",hasBackground:p=!1,className:u}=e,{t:m}=(0,r.$G)(),{favourites:h,toggleFavourites:x}=(0,o.c)(e=>({favourites:e.favourites,toggleFavourites:e.toggleFavourites}),l.X),g=null===(t=h[s])||void 0===t?void 0:t.includes(n);return(0,i.jsx)(d,{className:u,hasBackground:p,"data-testid":"favourite-button",type:"button",onClick:e=>{e.target!==e.currentTarget&&e.preventDefault(),x(n,s)},isSelected:g,borderColor:c,title:m(g?"common:removeFavourite":"common:addFavourite"),children:g?(0,i.jsx)(a.P.HeartFilled,{"data-testid":"heart-fill"}):(0,i.jsx)(a.P.HeartOutlined,{"data-testid":"heart-line"})})}},80149:function(e,t,n){"use strict";n.d(t,{T:function(){return ShareButton}});var i=n(85893),r=n(67294),l=n(53597),a=n(37332),o=n(16573),s=n(51652),c=n(12834),d=n(69275),p=n(38168),u=n(44276),m=n(37303),h=n(53182),x=n(80258),g=n(59886),b=n(77930),f=n(28477),j=n(79362),_=n(82729),y=n(12854),w=n(85444),v=n(45177);function _templateObject(){let e=(0,_._)(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 80;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,_._)(["\n width: 30px;\n height: 30px;\n background-color: rgba(97, 97, 97, 0.5);\n transition: background ",";\n\n svg {\n color: #fafafa;\n }\n "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,_._)(["\n width: 40px;\n height: 40px;\n border-radius: ",";\n background-color: transparent;\n svg {\n color: ",";\n }\n "]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,_._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n background-color: rgba(97, 97, 97, 0.5);\n\n ",";\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,_._)(["\n border-radius: 0;\n "]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,_._)(["\n background-color: ",";\n border-radius: 6px;\n box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px,\n hsl(206 22% 7% / 20%) 0px 10px 20px -15px;\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 90vw;\n max-width: 450px;\n max-height: 85vh;\n padding: ",";\n z-index: 1000;\n\n > svg {\n color: ",";\n }\n\n ",";\n\n @media "," {\n top: auto;\n bottom: 0;\n left: 0;\n transform: translate(0, 0);\n width: 100%;\n max-width: 100%;\n padding: ",";\n }\n"]);
1return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,_._)(["\n font-size: ",";\n height: 34px;\n margin-bottom: ",";\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,_._)(["\n position: absolute;\n top: 8px;\n right: 8px;\n\n &:hover {\n cursor: pointer;\n }\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,_._)([""]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,_._)(["\n border-radius: 0;\n "]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,_._)(["\n width: 100%;\n height: 72px;\n display: flex;\n border-radius: ",";\n border: 1px solid #efefef;\n margin-bottom: ",";\n\n ",";\n"]);return _templateObject10=function(){return e},e}function _templateObject11(){let e=(0,_._)(["\n border-radius: 0;\n "]);return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,_._)(["\n width: 120px;\n height: 100%;\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n\n ",";\n\n @media "," {\n width: 80px;\n }\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,_._)(["\n display: block;\n max-width: 300px;\n font-size: ",";\n font-weight: ",";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: ",";\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,_._)(["\n width: 100%;\n padding: ",";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n > div {\n display: flex;\n\n svg {\n margin-right: ",";\n color: ",";\n }\n\n p {\n font-size: ",";\n color: ",";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: ",";\n }\n }\n"]);return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,_._)(["\n height: auto;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ",";\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){let e=(0,_._)(["\n font-weight: ",";\n text-align: center;\n margin-bottom: ",";\n"]);return _templateObject16=function(){return e},e}function _templateObject17(){let e=(0,_._)(["\n width: 100%;\n\n > p {\n font-size: ",";\n color: ",";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){let e=(0,_._)(["\n display: flex;\n justify-content: space-between;\n\n @media "," {\n padding-right: 0;\n justify-content: space-around;\n }\n"]);return _templateObject18=function(){return e},e}function _templateObject19(){let e=(0,_._)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin-bottom: ",";\n p {\n font-size: ",";\n font-weight: ",";\n }\n"]);return _templateObject19=function(){return e},e}function _templateObject20(){let e=(0,_._)(["\n width: 40px;\n height: 40px;\n"]);return _templateObject20=function(){return e},e}function _templateObject21(){let e=(0,_._)(["\n border-radius: 0;\n "]);return _templateObject21=function(){return e},e}function _templateObject22(){let e=(0,_._)(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: start;\n border: 0.5px solid ",";\n border-radius: ",";\n padding: ",";\n\n svg {\n margin-right: ",";\n color: ",";\n }\n\n p {\n color: ",";\n font-size: ",";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n ",";\n\n @media "," {\n width: 100%;\n margin-bottom: 40px;\n }\n"]);return _templateObject22=function(){return e},e}let O=w.ZP.div.withConfig({componentId:"sc-7305a409-0"})(_templateObject()),C=w.ZP.button.withConfig({componentId:"sc-7305a409-1"})(_templateObject3(),e=>{let{theme:t}=e;return t.radii.middle},e=>
1{let{theme:t,hasBackground:n}=e;return n?(0,w.iv)(_templateObject1(),e=>{let{theme:t}=e;return t.transitions.regular}):(0,w.iv)(_templateObject2(),t.radii.medium,t.colors.black)}),I=(0,w.ZP)(y.VY).withConfig({componentId:"sc-7305a409-2"})(_templateObject5(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return"".concat(t.spacing.large," 40px")},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.currentCompany===v.O3.ferienhaus?(0,w.iv)(_templateObject4()):null},h.Hb.mobile,e=>{let{theme:t}=e;return"".concat(t.spacing.large," 26px")}),P=(0,w.ZP)(y.Dx).withConfig({componentId:"sc-7305a409-3"})(_templateObject6(),e=>{let{theme:t}=e;return t.fontSizes.medium},e=>{let{theme:t}=e;return t.spacing.middle}),k=(0,w.ZP)(y.x8).withConfig({componentId:"sc-7305a409-4"})(_templateObject7()),Z=w.ZP.div.withConfig({componentId:"sc-7305a409-5"})(_templateObject8()),z=w.ZP.div.withConfig({componentId:"sc-7305a409-6"})(_templateObject10(),e=>{let{theme:t}=e;return t.radii.small},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.currentCompany===v.O3.ferienhaus?(0,w.iv)(_templateObject9()):null}),F=w.ZP.img.withConfig({componentId:"sc-7305a409-7"})(_templateObject12(),e=>{let{theme:t}=e;return t.radii.small},e=>{let{theme:t}=e;return t.radii.small},e=>{let{theme:t}=e;return t.currentCompany===v.O3.ferienhaus?(0,w.iv)(_templateObject11()):null},h.Hb.mobile),S=w.ZP.span.withConfig({componentId:"sc-7305a409-8"})(_templateObject13(),e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.spacing.x_small}),V=w.ZP.div.withConfig({componentId:"sc-7305a409-9"})(_templateObject14(),e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.colors.grey},e=>{let{theme:t}=e;return t.spacing.x_small}),N=(0,w.ZP)(z).withConfig({componentId:"sc-7305a409-10"})(_templateObject15(),e=>{let{theme:t}=e;return t.spacing.middle}),B=w.ZP.span.withConfig({componentId:"sc-7305a409-11"})(_templateObject16(),e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.spacing.small}),T=w.ZP.div.withConfig({componentId:"sc-7305a409-12"})(_templateObject17(),e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.colors.text}),q=w.ZP.div.withConfig({componentId:"sc-7305a409-13"})(_templateObject18(),h.Hb.mobile),D=w.ZP.div.withConfig({componentId:"sc-7305a409-14"})(_templateObject19(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.weights.medium}),H=w.ZP.img.withConfig({componentId:"sc-7305a409-15"})(_templateObject20()),M=w.ZP.button.withConfig({componentId:"sc-7305a409-16"})(_templateObject22(),e=>{let{theme:t}=e;return t.colors.grey2},e=>{let{theme:t}=e;return t.radii.middle},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.colors.grey},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.currentCompany===v.O3.ferienhaus?(0,w.iv)(_templateObject21()):null},h.Hb.mobile),ShareButton=e=>{let{sharedData:t,className:n,color:_,messages:y,hasBackground:w=!0,apartmentPreview:v=!0,isJob:W=!1,position:A="absolute",hideLink:G=!1}=e,{t:L}=(0,m.$G)(),E=(0,f.Z)(h.Hb.mobile),[R,$]=(0,r.useState)(!1),handleCopyContent=async()=>{var e,n;try{await navigator.clipboard.writeText(t.url),(0,b.c0)({type:"success",message:null!==(e=null==y?void 0:y.success)&&void 0!==e?e:(0,i.jsx)(m.cC,{i18nKey:"common:sharedDefaultMessages.success",components:{b:(0,i.jsx)("b",{})}})}),E&&$(!1)}catch(e){(0,b.c0)({type:"error",message:null!==(n=null==y?void 0:y.error)&&void 0!==n?n:L("common:sharedDefaultMessages.error")})}};return(0,i.jsx)(O,{className:n,style:{position:A},onClick:e=>{e.target!==e.currentTarget&&e.preventDefault()},children:(0,i.jsx)(x.V,{open:R,onOpenChange:$,trigger:(0,i.jsx)(C,{"data-testid":"share-button-dialog",hasBackgroun
1d:w,children:(0,i.jsx)(g.P.Share,{size:16,color:_})}),content:(0,i.jsxs)(I,{children:[(0,i.jsx)(P,{children:L("common:".concat(W?"shareJob":"share"))}),(0,i.jsxs)(Z,{children:[v&&t.image&&(0,i.jsxs)(z,{children:[(0,i.jsx)(F,{src:t.image}),(0,i.jsxs)(V,{children:[(0,i.jsx)(S,{children:t.title}),(0,i.jsxs)("div",{children:[(0,i.jsx)(g.P.LocationPin,{size:14}),(0,i.jsx)("p",{children:t.address})]})]})]}),W&&(0,i.jsxs)(N,{children:[(0,i.jsx)(B,{children:t.title}),(0,i.jsxs)(T,{children:[t.offices&&(0,i.jsxs)("p",{children:["⢠",t.offices]}),t.jobType&&(0,i.jsxs)("p",{children:["⢠",t.jobType]}),t.email&&(0,i.jsxs)("p",{children:["⢠",t.email]})]})]}),(0,i.jsxs)(q,{children:[W?(0,i.jsxs)(D,{children:[(0,i.jsx)(l.Z,{url:t.url,children:(0,i.jsx)(a.Z,{size:40,round:!0})}),(0,i.jsx)("p",{children:L("common:linkedin")})]}):(0,i.jsxs)(D,{children:[(0,i.jsx)(o.Z,{url:t.url,children:(0,i.jsx)(s.Z,{size:40,round:!0,href:t.url})}),(0,i.jsx)("p",{children:L("common:facebook")})]}),(0,i.jsx)(D,{children:(0,i.jsxs)(c.Z,{url:t.url,children:[(0,i.jsx)(d.Z,{size:40,round:!0}),(0,i.jsx)("p",{children:L("common:whatsapp")})]})}),(0,i.jsxs)(D,{children:[(0,i.jsx)(p.Z,{url:t.url,children:(0,i.jsx)(u.Z,{size:40,round:!0})}),(0,i.jsx)("p",{children:L("common:telegram")})]}),(0,i.jsxs)(D,{children:[(0,i.jsx)("a",{href:"mailto:''?body=".concat(t.url),children:(0,i.jsx)(H,{src:"".concat(j.Mx,"/logos/social-media/email.png")})}),(0,i.jsx)("p",{children:L("common:email")})]})]}),!G&&(0,i.jsxs)(M,{"data-testid":"copy-link",onClick:handleCopyContent,children:[(0,i.jsx)(g.P.CopyPaste,{size:20}),(0,i.jsx)("p",{children:t.url})]})]}),(0,i.jsx)(k,{asChild:!0,children:(0,i.jsx)(g.P.CloseFilled,{size:36})})]})})})}},15329:function(e,t,n){"use strict";n.d(t,{O:function(){return Skeleton}});var i=n(85893),r=n(50549);n(97480);let Skeleton=e=>{let{...t}=e;return(0,i.jsx)(r.Z,{...t})}},70778:function(e,t,n){"use strict";n.d(t,{K:function(){return TermsAndConditions}});var i=n(85893),r=n(37303),l=n(12854),a=n(96219),o=n(80258),s=n(59886),c=n(82729),d=n(85444);function _templateObject(){let e=(0,c._)(["\n z-index: 100;\n background-color: rgba(0, 0, 0, 0.4);\n position: fixed;\n inset: 0;\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,c._)(["\n background-color: ",";\n border-radius: ",";\n box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px,\n hsl(206 22% 7% / 20%) 0px 10px 20px -15px;\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 90vw;\n max-width: 700px;\n height: 85vh;\n padding: ",";\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n z-index: 1000;\n\n @keyframes contentShow {\n from {\n opacity: 0;\n transform: translate(-50%, -48%) scale(0.96);\n }\n to {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n }\n\n &:focus {\n outline: none;\n }\n\n div {\n height: 100%;\n overflow-y: auto;\n }\n\n h2 {\n font-size: ",";\n margin-bottom: ",";\n margin-top: ",";\n text-transform: uppercase;\n text-decoration: underline;\n }\n\n p,\n li {\n font-size: ",";\n margin: 0 0 ",";\n }\n\n li {\n margin-left: ",";\n }\n\n a {\n color: ",";\n text-decoration: none;\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,c._)(["\n font-size: ",";\n color: ",";\n background-color: transparent;\n border: none;\n display: contents;\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,c._)(["\n font-family: inherit;\n border-radius: 100%;\n height: 25px;\n width: 25px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 10px;\n right: 10px;\n transition: ",";\n color: ",";\n\n svg {\n &:hover {\n color: ",";\n }\n }\n"]);
1return _templateObject3=function(){return e},e}let p=(0,d.ZP)(l.aV).withConfig({componentId:"sc-60cfc5ea-0"})(_templateObject()),u=(0,d.ZP)(l.VY).withConfig({componentId:"sc-60cfc5ea-1"})(_templateObject1(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.middle},e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.fontSizes.medium},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.colors.primary}),m=d.ZP.button.withConfig({componentId:"sc-60cfc5ea-2"})(_templateObject2(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.colors.primary}),h=d.ZP.button.withConfig({componentId:"sc-60cfc5ea-3"})(_templateObject3(),e=>{let{theme:t}=e;return t.transitions.regular},e=>{let{theme:t}=e;return t.colors.secondary},e=>{let{theme:t}=e;return t.colors.primary}),TermsAndConditions=e=>{let{trigger:t=""}=e,{t:n}=(0,r.$G)();return(0,i.jsx)(o.V,{trigger:(0,i.jsx)(m,{children:t||n("common:termsAndConditions")}),overlay:(0,i.jsx)(p,{}),content:(0,i.jsxs)(u,{children:[(0,i.jsxs)(a.T,{children:[(0,i.jsx)(l.$N,{children:n("common:termsAndConditions")}),(0,i.jsx)(l.Be,{children:(0,i.jsx)(r.cC,{i18nKey:"common:terms",components:{p:(0,i.jsx)("p",{}),h2:(0,i.jsx)("h2",{}),br:(0,i.jsx)("br",{}),li:(0,i.jsx)("li",{}),ul:(0,i.jsx)("ul",{}),a:(0,i.jsx)("a",{})}})})]}),(0,i.jsx)("div",{children:(0,i.jsx)(r.cC,{i18nKey:"common:terms",components:{p:(0,i.jsx)("p",{}),h2:(0,i.jsx)("h2",{}),br:(0,i.jsx)("br",{}),li:(0,i.jsx)("li",{}),ul:(0,i.jsx)("ul",{}),a:(0,i.jsx)("a",{})}})}),(0,i.jsx)(l.GG,{asChild:!0,children:(0,i.jsx)(h,{children:(0,i.jsx)(s.P.Close,{size:20})})})]})})}},94545:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var i,r,l=n(19692);(i=r||(r={})).GenerateLead="generate_lead",i.JobApplicationSubmitted="job_application_submitted",i.NewsletterSubscribed="newsletter_subscribed",i.NewsletterUnsubscribed="newsletter_unsubscribed";let a={GenerateLead:e=>{(0,l.sendGTMEvent)({event:"generate_lead",...e})},JobApplicationSubmitted:e=>{(0,l.sendGTMEvent)({event:"job_application_submitted",...e})},NewsletterSubscribed:e=>{(0,l.sendGTMEvent)({event:"newsletter_subscribed",...e})},NewsletterUnsubscribed:e=>{(0,l.sendGTMEvent)({event:"newsletter_unsubscribed",...e})}}},78193:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return tk},default:function(){return tZ}});var i=n(85893),r=n(37303),l=n(2962),a=n(67294),o=n(72890),s=n(25675),c=n.n(s),d=n(77451),p=n(76511),u=n(53182),m=n(15329),h=n(76261),x=n(28477),g=n(43583),b=n(82729),f=n(85444);function _templateObject(){let e=(0,b._)(["\n font-size: ",";\n font-weight: ",";\n color: ",";\n padding: 0;\n margin: 0;\n\n @media (max-width: 1024px) {\n font-size: ",";\n }\n\n @media "," {\n font-size: 1.1rem;\n }\n\n &.ellipsis {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n &.bold {\n font-weight: ",";\n }\n\n &.semibold {\n font-weight: ",";\n }\n"]);return _templateObject=function(){return e},e}let j=f.ZP.h3.withConfig({componentId:"sc-8596403b-0"})(_templateObject(),e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.regular},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile,e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.weights.semiBold}),Subtitle=e=>{let{children:t,variant:n="bold",className:r="",title:l,dataTestId:a,ellipsis:o}=e;return(0,i.jsx)(j,{"data-testid":a,className:"".concat(r," ").concat(o?"ellipsis":""," ").concat(n," "),title:l,children:t})};function styles_templateObject(){let e=(0,b._)(["\n font-size: 26px;\n font-weight: ",";\n\n &.bold {\n font-weight: ",";\n }\n\n &.semibold {\n font-weight: ",";\n }\n\n // for rich texts with break lines\n > div {\n &.break-line {\n white-space: pre-wrap;\n }\n }\n\n @media (max-width: 550px) {\n font-size: 1.3rem;\n }\n"]);
1return styles_templateObject=function(){return e},e}let _=f.ZP.h2.withConfig({componentId:"sc-67d0ae84-0"})(styles_templateObject(),e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.weights.semiBold}),Title=e=>{let{as:t,children:n,variant:r="bold",className:l}=e;return(0,i.jsx)(_,{as:t,className:"".concat(r," ").concat(l),children:n})};function Hero_styles_templateObject(){let e=(0,b._)(["\n width: 100%;\n height: 800px;\n\n @media (max-width: 1000px) {\n height: 1000px;\n }\n\n @media (max-width: 550px) {\n height: 850px;\n }\n\n @media "," {\n height: 730px;\n }\n"]);return Hero_styles_templateObject=function(){return e},e}function _templateObject1(){let e=(0,b._)(["\n display: flex;\n flex-direction: row;\n position: relative;\n padding: "," 0;\n max-width: 1140px;\n margin: 0 auto;\n\n @media (max-width: 1440px) {\n padding: ",";\n }\n\n @media (max-width: 1000px) {\n flex-direction: column-reverse;\n align-items: center;\n }\n\n @media (max-width: 550px) {\n padding: "," 0;\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n max-width: 650px;\n background-color: ",";\n border-radius: 30px;\n height: 327px;\n box-shadow: 0px 3px 30px #00000019;\n margin: 100px -210px 0 0;\n z-index: 1;\n padding: 60px 100px;\n\n h1 {\n margin: 20px 0 40px 0;\n text-transform: uppercase;\n }\n\n @media (max-width: 1000px) {\n width: 603px;\n max-width: 77%;\n margin: -100px 0 0 0;\n padding: 60px 10%;\n }\n\n @media (max-width: 550px) {\n height: 223px;\n padding: 30px 30px;\n align-items: center;\n margin: -120px 0 0 0;\n\n h1 {\n text-align: center;\n margin: 10px 0 28px 0;\n }\n }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,b._)(["\n width: 100%;\n max-width: 700px;\n border-radius: 30px;\n height: 550px;\n\n @media (max-width: 1000px) {\n max-width: 90%;\n }\n\n @media "," {\n height: 450px;\n }\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,b._)(["\n overflow: hidden;\n width: 100%;\n height: 550px;\n border-radius: 30px;\n\n @media "," {\n height: 450px;\n }\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,b._)(["\n backface-visibility: hidden;\n display: flex;\n flex-direction: row;\n height: 100%;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,b._)(["\n flex: 0 0 100%;\n min-width: 0;\n position: relative;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,b._)(["\n display: block;\n object-fit: cover;\n width: 100%;\n border-radius: 30px 0px 0px 30px;\n height: 550px;\n position: relative;\n\n @media (max-width: 1000px) {\n border-radius: 30px;\n }\n\n @media "," {\n height: 450px;\n }\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,b._)(["\n max-width: 1140px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n\n @media (max-width: 1440px) {\n padding: 0 ",";\n }\n\n @media (max-width: 1000px) {\n width: 95%;\n padding: 0;\n }\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,b._)(["\n display: flex;\n\n > button:first-child {\n margin-right: ",";\n }\n\n @media (max-width: 550px) {\n flex-direction: column;\n margin: 0 auto;\n\n > button:first-child {\n margin: 0 0 "," 0;\n }\n }\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n color: ",";\n height: 50px;\n border-radius: ",";\n font-size: ",";\n font-weight: ",";\n width: 200px;\n min-width: fit-content;\n padding: ",";\n transition: ",";\n\n &:hover {\n opacity: 0.8;\n }\n\n @media (max-width: 1000px) {\n height: 45px;\n font-size: ",";\n width: 144px;\n }\n\n @media (max-width: 550px) {\n height: 40px;\n font-size: 11px;\n border-radius: ",";\n }\n"]);
1return _templateObject10=function(){return e},e}let y=f.ZP.div.withConfig({componentId:"sc-9ea1a299-0"})(Hero_styles_templateObject(),u.Hb.mobile),w=f.ZP.div.withConfig({componentId:"sc-9ea1a299-1"})(_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.xx_large}),v=f.ZP.div.withConfig({componentId:"sc-9ea1a299-2"})(_templateObject2(),e=>{let{theme:t}=e;return t.colors.white}),O=f.ZP.div.withConfig({componentId:"sc-9ea1a299-3"})(_templateObject3(),u.Hb.mobile),C=f.ZP.div.withConfig({componentId:"sc-9ea1a299-4"})(_templateObject4(),u.Hb.mobile),I=f.ZP.div.withConfig({componentId:"sc-9ea1a299-5"})(_templateObject5()),P=f.ZP.div.withConfig({componentId:"sc-9ea1a299-6"})(_templateObject6()),k=f.ZP.img.withConfig({componentId:"sc-9ea1a299-7"})(_templateObject7(),u.Hb.mobile),Z=f.ZP.div.withConfig({componentId:"sc-9ea1a299-8"})(_templateObject8(),e=>{let{theme:t}=e;return t.spacing.large}),z=f.ZP.div.withConfig({componentId:"sc-9ea1a299-9"})(_templateObject9(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.spacing.medium}),F=f.ZP.button.withConfig({componentId:"sc-9ea1a299-10"})(_templateObject10(),e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.medium},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.transitions.regular},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.radii.small}),Hero=e=>{var t;let{section:n,isLoading:r}=e,l=(0,x.Z)(u.Hb.mobile),s=(0,x.Z)("(max-width: 600px)"),b=(0,x.Z)("(max-width: 768px)"),f=(0,x.Z)("(max-width: 900px)"),{emblaRef:j,emblaApi:_,onSelect:S,onInit:V}=(0,h.v)({loop:!0,align:"center",containScroll:!1},[(0,d.Z)({stopOnInteraction:!1}),(0,p.Z)()]),N=(null==n?void 0:null===(t=n.partners)||void 0===t?void 0:t.data)||[];(0,a.useEffect)(()=>{_&&(S(),V(),_.on("reInit",V),_.on("select",S))},[_,S,V]);let getPartnerImgWidth=e=>l?70:s?85:b?140:e,getPartnerImgHeight=e=>l?25:s?30:b?50:e;return r||!n?(0,i.jsxs)(y,{children:[(0,i.jsxs)(w,{children:[(0,i.jsxs)(v,{children:[(0,i.jsx)(m.O,{height:24,width:"30%",style:{marginBottom:16}}),(0,i.jsx)(m.O,{height:60,width:"70%",style:{marginBottom:8}}),(0,i.jsx)(m.O,{height:60,width:"50%",style:{marginBottom:32}}),(0,i.jsx)(z,{children:(0,i.jsx)(m.O,{height:48,width:200,borderRadius:999})})]}),(0,i.jsx)(O,{children:(0,i.jsx)(m.O,{height:400,borderRadius:16})})]}),(0,i.jsx)(Z,{children:Array.from({length:5}).map((e,t)=>(0,i.jsx)(m.O,{width:getPartnerImgWidth(140),height:getPartnerImgHeight(50)},t))})]}):(0,i.jsxs)(y,{children:[(0,i.jsxs)(w,{children:[(0,i.jsxs)(v,{children:[(0,i.jsx)(Subtitle,{variant:"semibold",children:n.description}),(0,i.jsx)(Title,{as:"h1",children:(0,i.jsx)(o.D,{className:f?"":"break-line",children:n.title})}),(0,i.jsx)(z,{children:(0,i.jsx)(F,{onClick:()=>{let e=document.getElementById(g.U1);e&&e.scrollIntoView({behavior:"smooth"})},children:n.actionButton1})})]}),(0,i.jsx)(O,{children:(0,i.jsx)(C,{ref:j,children:(0,i.jsx)(I,{children:n.slider.data.map(e=>{let{attributes:t}=e;return(0,i.jsx)(P,{children:(0,i.jsx)(k,{src:t.url})},t.name)})})})})]}),(0,i.jsx)(Z,{children:N.map(e=>(0,i.jsx)(c(),{src:e.attributes.url,alt:e.attributes.name,width:getPartnerImgWidth(e.attributes.width),height:getPartnerImgHeight(e.attributes.height)},e.attributes.url))})]})};function Text_styles_templateObject(){let e=(0,b._)(["\n font-weight: 300;\n font-size: ",";\n color: ",";\n padding: 0;\n margin: 0;\n line-height: 22px;\n\n &.hyphenated {\n -ms-word-break: break-all;\n word-break: break-all;\n /* Non standard for webkit */\n word-break: break-word;\n -webkit-hyphens: auto;\n -moz-hyphens: auto;\n hyphens: auto;\n }\n\n &.ellipsis {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n @media (max-width: 1024px) {\n font-size: ",";\n }\n\n @media "," {\n font-size: 1.1rem;\n line-height: 15px;\n }\n"]);
1return Text_styles_templateObject=function(){return e},e}let S=f.ZP.p.withConfig({componentId:"sc-478cdd8e-0"})(Text_styles_templateObject(),e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile),Text=e=>{let{children:t,className:n="",title:r="",dataTestId:l,dangerouslySetInnerHTML:a,ellipsis:o}=e;return(0,i.jsx)(S,{dangerouslySetInnerHTML:a,"data-testid":l,className:"".concat(n," ").concat(o?"ellipsis":""),title:r,children:t})};var V=n(27049),N=n(59886),B=n(62195),T=n(41664),q=n.n(T),D=n(79362);function Packages_styles_templateObject(){let e=(0,b._)(["\n width: 100%;\n max-width: 1140px;\n display: flex;\n align-items: center;\n flex-direction: column;\n margin: ",";\n padding: ",";\n\n h2 {\n text-align: center;\n }\n\n @media (max-width: 1440px) {\n padding: ",";\n }\n\n @media "," {\n margin-top: ",";\n }\n\n @media (max-width: 600px) {\n padding: ",";\n }\n"]);return Packages_styles_templateObject=function(){return e},e}function styles_templateObject1(){let e=(0,b._)(["\n width: 100%;\n display: flex;\n align-items: center;\n flex-direction: column;\n row-gap: ",";\n margin-top: ",";\n text-align: center;\n\n p {\n text-align: center;\n width: 700px;\n max-width: calc(100vw - 96px);\n }\n\n @media "," {\n margin-top: ",";\n row-gap: ",";\n flex-direction: column-reverse;\n }\n"]);return styles_templateObject1=function(){return e},e}function styles_templateObject2(){let e=(0,b._)(["\n min-height: 650px;\n width: 100%;\n max-width: calc(100vw - 96px);\n margin-top: ",";\n box-shadow: 0px 3px 30px ",";\n border-radius: 30px;\n\n .planName {\n text-transform: uppercase;\n font-weight: ",";\n }\n\n @media "," {\n max-width: calc(100vw - ",");\n }\n\n > div {\n background-image: url('","/imgs/villas/background.png');\n background-size: cover;\n background-position-y: top;\n background-position-x: center;\n\n height: 100%;\n display: grid;\n grid-template-columns: 480px calc(100% - 480px);\n min-height: 650px;\n border-radius: 30px;\n\n @media (max-width: 1440px) {\n grid-template-columns: 440px calc(100% - 440px);\n }\n\n @media "," {\n grid-template-columns: 1fr;\n background-size: 210%;\n background-position-x: right;\n background-position-y: bottom;\n }\n\n @media (max-width: 380px) {\n background-size: auto;\n }\n }\n"]);return styles_templateObject2=function(){return e},e}function styles_templateObject3(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n align-items: center;\n padding: ",";\n border-radius: 30px;\n\n &.items {\n background: #f4f5f4 0% 0% no-repeat padding-box;\n }\n\n .percentage {\n font-size: ",";\n font-weight: ",";\n width: 120px;\n height: 120px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: ",";\n border-radius: 50%;\n color: ",";\n background-color: ",";\n\n p {\n margin: 0;\n font-size: ",";\n }\n\n span {\n font-size: 38px;\n }\n\n @media "," {\n width: 68px;\n height: 68px;\n gap: ",";\n\n p {\n font-size: 8px;\n }\n\n span {\n font-size: 20px;\n }\n }\n }\n\n ul {\n list-style: none;\n width: 100%;\n\n li {\n display: flex;\n align-items: center;\n gap: ",";\n padding-bottom: ",";\n\n p {\n font-weight: ",";\n\n &.uppercase {\n text-transform: uppercase;\n }\n }\n }\n }\n\n button {\n border-radius: 10px;\n margin-top: ",";\n font-weight: ",";\n font-size: ",";\n }\n\n @media (max-width: 945px) {\n padding: ",";\n }\n\n @media "," {\n max-width: calc(100vw - ",");\n\n button {\n font-size: ",";\n }\n }\n\n @media "," {\n padding: ",";\n\n button {\n font-size: 11px;\n }\n }\n"]);
1return styles_templateObject3=function(){return e},e}function styles_templateObject4(){let e=(0,b._)(["\n height: 50px;\n width: 50px;\n"]);return styles_templateObject4=function(){return e},e}function styles_templateObject5(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n gap: ",";\n margin: ",";\n\n a {\n text-align: center;\n }\n\n @media "," {\n flex-direction: column;\n gap: ",";\n\n button {\n font-size: ",";\n }\n }\n"]);return styles_templateObject5=function(){return e},e}function styles_templateObject6(){let e=(0,b._)(["\n width: fit-content;\n font-weight: ",";\n color: ",";\n background-color: ",";\n border-radius: 10px;\n padding: ",";\n font-size: ",";\n\n &:hover {\n opacity: 0.9;\n }\n\n @media "," {\n font-size: ",";\n }\n\n @media "," {\n font-size: 11px;\n }\n"]);return styles_templateObject6=function(){return e},e}function styles_templateObject7(){let e=(0,b._)(["\n width: 168px;\n height: 190px;\n display: flex;\n flex-direction: column;\n gap: ",";\n border: 2px solid ",";\n border-radius: 30px;\n padding: ",";\n background: #00000099 0% 0% no-repeat padding-box;\n\n h3 {\n color: ",";\n font-size: ",";\n line-height: 25px;\n }\n\n @media "," {\n width: 140px;\n height: 140px;\n padding: ",";\n\n img {\n height: 40px;\n width: 40px;\n }\n\n h3 {\n font-size: 11px;\n line-height: 20px;\n }\n }\n"]);return styles_templateObject7=function(){return e},e}function styles_templateObject8(){let e=(0,b._)(["\n width: 100%;\n max-width: calc(100vw - ",");\n display: flex;\n align-items: flex-end;\n justify-content: center;\n padding: ",";\n\n @media (max-width: 1440px) {\n padding: ",";\n }\n"]);return styles_templateObject8=function(){return e},e}function styles_templateObject9(){let e=(0,b._)(["\n overflow: hidden;\n\n @media (max-width: 1140px) {\n width: 430px;\n margin: 0 auto;\n }\n\n @media (max-width: 1440px) {\n width: 100%;\n }\n"]);return styles_templateObject9=function(){return e},e}function styles_templateObject10(){let e=(0,b._)(["\n display: flex;\n"]);return styles_templateObject10=function(){return e},e}function _templateObject11(){let e=(0,b._)(["\n display: flex;\n justify-content: center;\n transform: translate3d(0, 0, 0);\n flex: 0 0 190px;\n min-width: 0;\n\n @media (max-width: 1140px) {\n flex: 0 0 50%;\n min-width: 0;\n }\n\n @media (max-width: 945px) {\n flex: 0 0 100%;\n flex-direction: column;\n align-items: center;\n gap: ",";\n }\n"]);return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n margin-bottom: ",";\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,b._)(["\n margin-right: ",";\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,b._)(["\n display: flex;\n gap: ",";\n padding: ",";\n"]);return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,b._)(["\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){let e=(0,b._)(["\n margin-bottom: ",";\n"]);return _templateObject16=function(){return e},e}let H=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-0"})(Packages_styles_templateObject(),e=>{let{theme:t}=e;return"".concat(t.spacing.xx_large," auto 0")},e=>{let{theme:t}=e;return"0 0 ".concat(t.spacing.xx_large)},e=>{let{theme:t}=e;return"0 ".concat(t.spacing.xx_large," ").concat(t.spacing.xx_large)},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large}),M=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-1"})(styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.large}),W=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-2"}
1)(styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.shadows.color},e=>{let{theme:t}=e;return t.weights.extraBold},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.xx_large},D.Mx,u.Hb.tablet),A=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-3"})(styles_templateObject3(),e=>{let{theme:t}=e;return"".concat(t.spacing.x_large," ").concat(t.spacing.xx_large," ").concat(t.spacing.xx_large," ").concat(t.spacing.x_large)},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.weights.extraBold},e=>{let{theme:t}=e;return"".concat(t.spacing.middle," 0 ").concat(t.spacing.large)},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.xx_small},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.spacing.x_large},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.medium}),G=f.ZP.img.withConfig({componentId:"sc-7ca74e6c-4"})(styles_templateObject4()),L=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-5"})(styles_templateObject5(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return"".concat(t.spacing.xx_large," 0 0")},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.fontSizes.small}),E=(0,f.ZP)(q()).withConfig({componentId:"sc-7ca74e6c-6"})(styles_templateObject6(),e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return"".concat(t.spacing.middle," ").concat(t.spacing.x_large)},e=>{let{theme:t}=e;return t.fontSizes.middle},u.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile),R=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-7"})(styles_templateObject7(),e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return"".concat(t.spacing.x_large," ").concat(t.spacing.medium)},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.fontSizes.middle},u.Hb.mobile,e=>{let{theme:t}=e;return"".concat(t.spacing.large," ").concat(t.spacing.middle)}),$=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-8"})(styles_templateObject8(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return"".concat(t.spacing.large," ").concat(t.spacing.xx_large)},e=>{let{theme:t}=e;return t.spacing.large}),Q=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-9"})(styles_templateObject9()),U=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-10"})(styles_templateObject10()),K=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-11"})(_templateObject11(),e=>{let{theme:t}=e;return t.spacing.medium}),J=f.ZP.li.withConfig({componentId:"sc-7ca74e6c-12"})(_templateObject12(),e=>{let{theme:t}=e;return t.spacing.middle}),X=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-13"})(_templateObject13(),e=>{let{theme:t}=e;return t.spacing.small}),Y=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-14"})(_templateObject14(),e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large}),ee=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-15"})(_templateObject15()),et=f.ZP.div.withConfig({componentId:"sc-7ca74e6c-16"})(_templateObject16(),e=>{let{theme:t}=e;return t.spacing.middle}),Packages=e=>{let{section:t,isLoading:n}=e,{t:l}=(0,r.$G)(),o=(0,x.Z)("(max-width: 1140px)"),s=(0,x.Z)("(max-width: 945px)"),{emblaRef:c,emblaApi:g,onSelect:b,onInit:f}=(0,h.v)({loop:!0,axis:"x",slidesToScroll:s?1:o?2:3},[(0,d.Z)({delay:4e3,stopOnInteraction:!1}),(0,p.Z)()]);return((0,a.useEffect)(()=>{g&&(b(),f(),g.on("reInit",f),g.on("select",b))},[g,b,f]),n||!t)?(0,i.jsxs)(H,{id:"packages",children:[(0,i.jsx)(m.O,{height:40,width:"50%",style:{marginBottom:24}}),(0,i.jsxs)(M,{children:[(0,i.jsx)(m.O,{height:80,width:"100%",style:{marginBottom:16}}),(0,i.jsx)(m.O,{height:24,width:"60%"})]}),(0,i.jsx)(W,{children:(0,i.jsxs)("div",{children:[(0,i.jsxs)(A,{className:"items",children:[(0,i.jsx)(m.O,{height:32,width:"40%",style:{marginBottom:16}}),(0,i.jsx)(m.O,{height:60,width:"30%",style:{marginBottom:24}}),(0,i.jsx)("ul",{children:Array.from({length:4}).map((e,t)=>(0,i.jsxs)(J,{children:[(0,i.jsx)(X,{children:(0,i.jsx)(m.O,{circle:!0,width:20,height:20})}),(0,i.jsx)(m.O,{height:20,width:"80%"})]},t))}),(0,i.jsx)(m.O,{height:48,width:200,borderRadius:999,style:{marginTop:24}})]}),(0,i.jsx)($,{children:(0,i.jsx)(Y,{children:Array.from({length:3}).map((e,t)=>(0,i.jsxs)(ee,{children:[(0,i.jsx)(et,{children:(0,i.jsx)(m.O,{circle:!0,width:60,height:60})}),(0,i.jsx)(m.O,{height:20,width:"100%"})]},t))})})]})}),(0,i.jsx)(L,{children:(0,i.jsx)(m.O,{height:48,width:200,borderRadius:999})})]}):(0,i.jsxs)(H,{id:"packages",children:[(0,i.jsx)(Title,{children:t.title}),(0,i.jsxs)(M,{children:[(0,i.jsx)(Text,{children:t.description}),(0,i.jsx)(Subtitle,{variant:"semibold",children:t.subtitle})]}),(0,i.jsx)(W,{children:(0,i.jsxs)("div",{children:[(0,i.jsxs)(A,{className:"items",children:[(0,i.jsx)(Title,{className:"planName",children:t.packageName}),(0,i.jsxs)("div",{className:"percentage",children:[(0,i.jsx)("p",{children:l("common:from")}),(0,i.jsx)("span",{children:t.percentage})]}),(0,i.jsx)("ul",{children:t.items.map(e=>
1{let{id:t,description:n}=e;return(0,i.jsxs)("li",{children:[(0,i.jsx)(N.P.Check,{color:u.TV.colors.primary,size:20}),(0,i.jsx)(Text,{children:n})]},t)})}),(0,i.jsx)(V.z,{text:t.actionButton1,onClick:()=>{let e=document.getElementById("become-a-partner");e&&e.scrollIntoView({behavior:"smooth",block:"start"})}})]}),(0,i.jsx)($,{children:(0,i.jsx)(Q,{ref:c,children:s?(0,i.jsxs)(U,{children:[(0,i.jsx)(K,{children:t.list.slice(0,3).map(e=>{let{id:t,icon:n,title:r}=e;return(0,i.jsxs)(R,{children:[(0,i.jsx)(G,{src:n.data.attributes.url,alt:r}),(0,i.jsx)(Subtitle,{variant:"semibold",children:r})]},t)})}),(0,i.jsx)(K,{children:t.list.slice(3,t.list.length).map(e=>{let{id:t,icon:n,title:r}=e;return(0,i.jsxs)(R,{children:[(0,i.jsx)(G,{src:n.data.attributes.url,alt:r}),(0,i.jsx)(Subtitle,{variant:"semibold",children:r})]},t)})})]}):(0,i.jsx)(U,{children:t.list.map(e=>{let{id:t,icon:n,title:r}=e;return(0,i.jsx)(K,{children:(0,i.jsxs)(R,{children:[(0,i.jsx)(G,{src:n.data.attributes.url,alt:r}),(0,i.jsx)(Subtitle,{variant:"semibold",children:r})]},t)},t)})})})})]})}),(0,i.jsx)(L,{children:(0,i.jsx)(E,{href:"".concat(B.Z6.owner,"#packages"),target:"_blank","data-testid":"other-packages-call-to-action",children:t.actionButton2})})]})};function WhyChoose_styles_templateObject(){let e=(0,b._)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n\n h2 {\n text-transform: uppercase;\n margin-bottom: ",";\n }\n"]);return WhyChoose_styles_templateObject=function(){return e},e}function WhyChoose_styles_templateObject1(){let e=(0,b._)(["\n display: flex;\n justify-content: center;\n width: 100%;\n background: #f6f7f6;\n padding: ",";\n\n @media "," {\n padding: ",";\n }\n"]);return WhyChoose_styles_templateObject1=function(){return e},e}function WhyChoose_styles_templateObject2(){let e=(0,b._)(["\n width: 100%;\n max-width: 1140px;\n height: 190px;\n position: relative;\n\n @media (max-width: 1240px) {\n height: 350px;\n padding-top: ",";\n }\n\n @media "," {\n height: 630px;\n }\n\n @media "," {\n height: 550px;\n }\n"]);return WhyChoose_styles_templateObject2=function(){return e},e}function WhyChoose_styles_templateObject3(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: absolute;\n gap: ",";\n top: 43%;\n right: -30px;\n\n @media (max-width: 1240px) {\n top: -20px;\n flex-direction: row;\n left: calc(50% - 23px);\n width: 45px;\n }\n"]);return WhyChoose_styles_templateObject3=function(){return e},e}function WhyChoose_styles_templateObject4(){let e=(0,b._)(["\n background-color: ",";\n "]);return WhyChoose_styles_templateObject4=function(){return e},e}function WhyChoose_styles_templateObject5(){let e=(0,b._)(["\n background-color: #dcdddd;\n "]);return WhyChoose_styles_templateObject5=function(){return e},e}function WhyChoose_styles_templateObject6(){let e=(0,b._)(["\n width: 12px;\n height: 12px;\n border-radius: 100%;\n\n ",";\n"]);return WhyChoose_styles_templateObject6=function(){return e},e}function WhyChoose_styles_templateObject7(){let e=(0,b._)(["\n overflow: hidden;\n width: 100%;\n height: 100%;\n"]);return WhyChoose_styles_templateObject7=function(){return e},e}function WhyChoose_styles_templateObject8(){let e=(0,b._)(["\n backface-visibility: hidden;\n display: flex;\n flex-direction: column;\n height: 100%;\n\n @media (max-width: 1240px) {\n flex-direction: row;\n }\n"]);return WhyChoose_styles_templateObject8=function(){return e},e}function WhyChoose_styles_templateObject9(){let e=(0,b._)(["\n flex: 0 0 100%;\n min-width: 0;\n position: relative;\n\n > div {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n justify-items: center;\n gap: ",";\n\n @media (max-width: 1240px) {\n grid-template-columns: repeat(2, 1fr);\n }\n\n @media "," {\n grid-template-columns: 1fr;\n }\n }\n"]);return WhyChoose_styles_templateObject9=function(){return e},e}
1function WhyChoose_styles_templateObject10(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: ",";\n width: 275px;\n text-align: center;\n\n h3 {\n height: 35px;\n }\n\n @media (max-width: 1240px) {\n h3 {\n height: auto;\n }\n }\n\n @media "," {\n width: 100%;\n }\n"]);return WhyChoose_styles_templateObject10=function(){return e},e}function styles_templateObject11(){let e=(0,b._)(["\n width: 65px;\n height: 65px;\n\n @media "," {\n width: 50px;\n height: 50px;\n }\n"]);return styles_templateObject11=function(){return e},e}function styles_templateObject12(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n max-width: 1140px;\n padding-top: ",";\n\n @media (max-width: 1440px) {\n padding: ",";\n }\n\n @media (max-width: 600px) {\n padding: ",";\n }\n"]);return styles_templateObject12=function(){return e},e}function styles_templateObject13(){let e=(0,b._)(["\n display: flex;\n flex-direction: row;\n\n &.reverse {\n flex-direction: row-reverse;\n }\n\n > div {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n width: 50%;\n gap: ",";\n\n p {\n max-width: 320px;\n }\n }\n\n @media (max-width: 1000px) {\n img {\n border-radius: 0 30px 30px 0;\n }\n\n &.reverse {\n img {\n border-radius: 30px 0 0 30px;\n }\n }\n }\n\n @media "," {\n flex-direction: column-reverse;\n\n > div {\n width: 100%;\n padding: "," 0;\n }\n\n &.reverse {\n flex-direction: column-reverse;\n\n img {\n border-radius: 30px;\n }\n }\n\n img {\n border-radius: 30px;\n }\n }\n"]);return styles_templateObject13=function(){return e},e}function styles_templateObject14(){let e=(0,b._)(["\n width: 100%;\n"]);return styles_templateObject14=function(){return e},e}function styles_templateObject15(){let e=(0,b._)(["\n height: 2px;\n width: 25px;\n border-radius: ",";\n background-color: ",";\n"]);return styles_templateObject15=function(){return e},e}function styles_templateObject16(){let e=(0,b._)(["\n padding: ",";\n"]);return styles_templateObject16=function(){return e},e}function _templateObject17(){let e=(0,b._)(["\n margin-bottom: ",";\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){let e=(0,b._)(["\n margin-bottom: ",";\n"]);return _templateObject18=function(){return e},e}function _templateObject19(){let e=(0,b._)(["\n width: 100%;\n margin-bottom: ",";\n span {\n width: 100%;\n }\n"]);return _templateObject19=function(){return e},e}let en=f.ZP.div.withConfig({componentId:"sc-3528a71e-0"})(WhyChoose_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.xx_large}),ei=f.ZP.div.withConfig({componentId:"sc-3528a71e-1"})(WhyChoose_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xx_large},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large}),er=f.ZP.div.withConfig({componentId:"sc-3528a71e-2"})(WhyChoose_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.medium},u.Hb.tablet,u.Hb.mobile),el=f.ZP.div.withConfig({componentId:"sc-3528a71e-3"})(WhyChoose_styles_templateObject3(),e=>{let{theme:t}=e;return t.spacing.middle}),ea=f.ZP.button.withConfig({componentId:"sc-3528a71e-4"})(WhyChoose_styles_templateObject6(),e=>{let{isSelected:t,theme:n}=e;return t?(0,f.iv)(WhyChoose_styles_templateObject4(),n.colors.black):(0,f.iv)(WhyChoose_styles_templateObject5())}),eo=f.ZP.div.withConfig({componentId:"sc-3528a71e-5"})(WhyChoose_styles_templateObject7()),es=f.ZP.div.withConfig({componentId:"sc-3528a71e-6"})(WhyChoose_styles_templateObject8()),ec=f.ZP.div.withConfig({componentId:"sc-3528a71e-7"})(WhyChoose_styles_templateObject9(),e=>{let{theme:t}=e;return t.spacing.middle},u.Hb.tablet),ed=f.ZP.div.withConfig({componentId:"sc-3528a71e-8"})(WhyChoose_styles_templateObject10(),e=>{let{theme:t}=e;return t.spacing.middle},u.Hb.mobile),ep=f.ZP.img.withConfig({componentId:"sc-3528a71e-9"}
1)(styles_templateObject11(),u.Hb.tablet),eu=f.ZP.div.withConfig({componentId:"sc-3528a71e-10"})(styles_templateObject12(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.large}),em=f.ZP.div.withConfig({componentId:"sc-3528a71e-11"})(styles_templateObject13(),e=>{let{theme:t}=e;return t.spacing.large},u.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.medium}),eh=f.ZP.img.withConfig({componentId:"sc-3528a71e-12"})(styles_templateObject14()),ex=f.ZP.div.withConfig({componentId:"sc-3528a71e-13"})(styles_templateObject15(),e=>{let{theme:t}=e;return t.radii.xxx_large},e=>{let{theme:t}=e;return t.colors.primary}),eg=f.ZP.div.withConfig({componentId:"sc-3528a71e-14"})(styles_templateObject16(),e=>{let{theme:t}=e;return t.spacing.large}),eb=f.ZP.div.withConfig({componentId:"sc-3528a71e-15"})(_templateObject17(),e=>{let{theme:t}=e;return t.spacing.medium}),ef=f.ZP.div.withConfig({componentId:"sc-3528a71e-16"})(_templateObject18(),e=>{let{theme:t}=e;return t.spacing.medium}),ej=f.ZP.div.withConfig({componentId:"sc-3528a71e-17"})(_templateObject19(),e=>{let{theme:t}=e;return t.spacing.small}),WhyChoose=e=>{let{section:t,isLoading:n}=e,r=(0,x.Z)("(max-width: 1240px)"),{emblaRef:l,emblaApi:o,onSelect:s,onInit:c,scrollSnaps:p,selectedIndex:u,scrollTo:g}=(0,h.v)({loop:!0,axis:r?"x":"y"},[(0,d.Z)({delay:1e4,stopOnInteraction:!1})]);return((0,a.useEffect)(()=>{o&&(s(),c(),o.on("reInit",c),o.on("select",s))},[o,s,c]),n||!t)?(0,i.jsxs)(en,{id:"our-services",children:[(0,i.jsx)(m.O,{height:40,width:"50%",style:{marginBottom:32}}),(0,i.jsx)(ei,{children:(0,i.jsx)(er,{children:(0,i.jsx)(eo,{children:(0,i.jsx)(eg,{children:Array.from({length:4}).map((e,t)=>(0,i.jsxs)(ed,{children:[(0,i.jsx)(m.O,{circle:!0,width:60,height:60}),(0,i.jsx)(m.O,{height:24,width:"80%",style:{marginTop:16}}),(0,i.jsx)(m.O,{height:60,width:"100%",style:{marginTop:8}})]},t))})})})}),(0,i.jsx)(eu,{children:Array.from({length:2}).map((e,t)=>(0,i.jsxs)(em,{children:[(0,i.jsxs)(eb,{children:[(0,i.jsx)(ef,{children:(0,i.jsx)(m.O,{height:4,width:40})}),(0,i.jsx)(ej,{children:(0,i.jsx)(m.O,{height:24,width:"70%"})}),(0,i.jsx)(m.O,{height:80,width:"100%"})]}),(0,i.jsx)(ej,{children:(0,i.jsx)(m.O,{height:200,width:"100%",borderRadius:8})})]},t))})]}):(0,i.jsxs)(en,{id:"our-services",children:[(0,i.jsx)(Title,{children:t.title}),(0,i.jsx)(ei,{children:(0,i.jsxs)(er,{children:[(0,i.jsx)(el,{id:"dots-container",children:p.map((e,t)=>(0,i.jsx)(ea,{isSelected:t===u,onClick:()=>g(t)},t))}),(0,i.jsx)(eo,{ref:l,children:(0,i.jsxs)(es,{children:[(0,i.jsx)(ec,{children:(0,i.jsx)("div",{children:t.benefitsSlider.slice(0,4).map(e=>{let{description:t,icon:n,title:r}=e;return(0,i.jsxs)(ed,{children:[(0,i.jsx)(ep,{src:n.data.attributes.url,alt:r}),(0,i.jsx)(Subtitle,{variant:"semibold",children:r}),(0,i.jsx)(Text,{children:t})]},r)})})}),(0,i.jsx)(ec,{children:(0,i.jsx)("div",{children:t.benefitsSlider.slice(4,t.benefitsSlider.length).map(e=>{let{description:t,icon:n,title:r}=e;return(0,i.jsxs)(ed,{children:[(0,i.jsx)(ep,{src:n.data.attributes.url,alt:r}),(0,i.jsx)(Subtitle,{variant:"semibold",children:r}),(0,i.jsx)(Text,{children:t})]},r)})})})]})})]})}),(0,i.jsx)(eu,{children:t.benefitsItem.map((e,t)=>{let{description:n,title:r,image:l}=e;return(0,i.jsxs)(em,{className:t%2!=0?"reverse":"",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(ex,{}),(0,i.jsx)(Subtitle,{variant:"semibold",children:r}),(0,i.jsx)(Text,{children:n})]}),l.data&&(0,i.jsx)("div",{children:(0,i.jsx)(eh,{src:l.data.attributes.url,alt:r})})]},r)})})]})};var e_=n(5826),ey=n(87669),ew=n(43828);let useFeaturedVillasQueries=e=>(0,ey.h)({queries:e.map(e=>({queryKey:["featured-villa",e],queryFn:()=>(0,ew.y)(e),staleTime:1/0,refetchOnWindowFocus:!1}))});var ev=n(10443),eO=n(80149);function VillaDetails_styles_templateObject(){let e=(0,b._)(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n text-align: center;\n gap: ",";\n\n @media (max-width: 620px) {\n gap: ",";\n }\n"]);return VillaDetails_styles_templateObject=function(){return e},e}
1function VillaDetails_styles_templateObject1(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n gap: ",";\n"]);return VillaDetails_styles_templateObject1=function(){return e},e}function VillaDetails_styles_templateObject2(){let e=(0,b._)(["\n width: 45px;\n height: 45px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #f8f8f8;\n border-radius: 50%;\n\n @media (max-width: 620px) {\n width: 35px;\n height: 35px;\n }\n"]);return VillaDetails_styles_templateObject2=function(){return e},e}function VillaDetails_styles_templateObject3(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n text-transform: lowercase;\n color: ",";\n font-size: ",";\n"]);return VillaDetails_styles_templateObject3=function(){return e},e}let eC=f.ZP.div.withConfig({componentId:"sc-216cd0ed-0"})(VillaDetails_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.middle}),eI=f.ZP.div.withConfig({componentId:"sc-216cd0ed-1"})(VillaDetails_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.x_small}),eP=f.ZP.div.withConfig({componentId:"sc-216cd0ed-2"})(VillaDetails_styles_templateObject2()),ek=f.ZP.div.withConfig({componentId:"sc-216cd0ed-3"})(VillaDetails_styles_templateObject3(),e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.x_small});var VillaDetails_VillaDetails=e=>{let{guest:t,bedrooms:n,bathrooms:l,area:a}=e,{t:o}=(0,r.$G)(),s=(0,x.Z)("(max-width: 600px)"),displayValue=(e,t)=>e?s?"x".concat(e):t:"-",d="".concat(D.Mx,"/icons/info-apto/guest-lovelystay.svg"),p="".concat(D.Mx,"/icons/info-apto/shower-lovelystay.svg"),u="".concat(D.Mx,"/icons/info-apto/bedroom-lovelystay.svg"),m="".concat(D.Mx,"/icons/info-apto/size-lovelystay.svg");return(0,i.jsxs)(eC,{children:[(0,i.jsxs)(eI,{title:o("common:apartmentsMainFilter.fields.guests",{count:t}),children:[(0,i.jsx)(eP,{children:(0,i.jsx)(c(),{src:d,width:15,height:15,alt:o("common:guests")})}),(0,i.jsx)(ek,{children:displayValue(t,o("common:apartmentsMainFilter.fields.guests",{count:t}))})]}),(0,i.jsxs)(eI,{title:o("common:apartmentDetails.bedrooms",{count:n}),children:[(0,i.jsx)(eP,{children:(0,i.jsx)(c(),{src:u,width:15,height:15,alt:o("common:bedrooms")})}),(0,i.jsx)(ek,{children:displayValue(n,o("common:apartmentDetails.bedrooms",{count:n}))})]}),(0,i.jsxs)(eI,{title:o("common:apartmentDetails.bathrooms",{count:l}),children:[(0,i.jsx)(eP,{children:(0,i.jsx)(c(),{src:p,width:15,height:15,alt:o("common:size")})}),(0,i.jsx)(ek,{children:displayValue(l,o("common:apartmentDetails.bathrooms",{count:l}))})]}),(0,i.jsxs)(eI,{children:[(0,i.jsx)("div",{className:"size-icon",children:(0,i.jsx)(eP,{children:(0,i.jsx)(c(),{src:m,width:15,height:15,alt:o("common:size")})})}),(0,i.jsx)(ek,{children:a?"".concat(a," m\xb2"):"-"})]})]})};function Card_styles_templateObject(){let e=(0,b._)(["\n position: absolute;\n top: 25px;\n left: 20px;\n width: 62px;\n height: 26px;\n background-color: #e84949;\n color: ",";\n border-radius: ",";\n font-size: 11px;\n display: flex;\n align-items: center;\n justify-content: center;\n"]);return Card_styles_templateObject=function(){return e},e}let eZ=f.ZP.div.withConfig({componentId:"sc-8ba9cbc-0"})(Card_styles_templateObject(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.middle});function DesktopCard_styles_templateObject(){let e=(0,b._)(["\n position: relative;\n width: 280px;\n height: 370px;\n border-radius: 30px;\n box-shadow: 0px 3px 12px ",";\n padding: ",";\n\n // share button\n .share-button {\n top: 20px;\n right: 54px;\n }\n\n // like button\n & > button {\n position: absolute;\n top: 20px;\n right: 20px;\n z-index: 1;\n & svg {\n &[data-testid='heart-fill'],\n &[data-testid='heart-line'] {\n display: flex;\n width: 18px;\n height: 18px;\n }\n }\n }\n"]);return DesktopCard_styles_templateObject=function(){return e},e}
1function DesktopCard_styles_templateObject1(){let e=(0,b._)(["\n display: block;\n height: 190px;\n width: 100%;\n object-fit: cover;\n border-radius: 15px;\n"]);return DesktopCard_styles_templateObject1=function(){return e},e}function DesktopCard_styles_templateObject2(){let e=(0,b._)(["\n .aptTitle {\n font-weight: ",";\n margin-top: ",";\n }\n"]);return DesktopCard_styles_templateObject2=function(){return e},e}function DesktopCard_styles_templateObject3(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n margin-top: ",";\n margin-bottom: ",";\n\n p {\n font-size: 11px;\n }\n\n svg {\n margin-right: ",";\n color: ",";\n }\n"]);return DesktopCard_styles_templateObject3=function(){return e},e}function DesktopCard_styles_templateObject4(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n gap: ",";\n padding: 0;\n text-align: center;\n"]);return DesktopCard_styles_templateObject4=function(){return e},e}let ez=(0,f.ZP)(q()).withConfig({componentId:"sc-63b656e1-0"})(DesktopCard_styles_templateObject(),e=>{let{theme:t}=e;return t.shadows.color},e=>{let{theme:t}=e;return t.spacing.middle}),eF=f.ZP.img.withConfig({componentId:"sc-63b656e1-1"})(DesktopCard_styles_templateObject1()),eS=f.ZP.div.withConfig({componentId:"sc-63b656e1-2"})(DesktopCard_styles_templateObject2(),e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.spacing.medium}),eV=f.ZP.div.withConfig({componentId:"sc-63b656e1-3"})(DesktopCard_styles_templateObject3(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.colors.secondary}),eN=f.ZP.div.withConfig({componentId:"sc-63b656e1-4"})(DesktopCard_styles_templateObject4(),e=>{let{theme:t}=e;return t.spacing.middle}),DesktopCard=e=>{let{aptId:t,aptTitle:n,aptAddress:l,photo:a,maxOccupancy:o,bedrooms:s,bathrooms:c,area:d,propertyGroupId:p,sharedData:u}=e,{t:m}=(0,r.$G)(),{currentCompany:h}=(0,f.Fg)();return(0,i.jsxs)(ez,{href:"".concat(B.Z6.propertyAvailability,"/").concat(p),target:"_blank","data-testid":"villa-call-to-action",children:[(0,i.jsx)(eO.T,{className:"share-button",sharedData:u}),(0,i.jsx)(ev.A,{aptId:t,className:"favourite",category:h}),t===eG&&(0,i.jsx)(eZ,{children:m("common:new")}),(0,i.jsx)(eF,{src:a}),(0,i.jsxs)(eS,{children:[(0,i.jsx)(Subtitle,{className:"aptTitle",ellipsis:!0,title:n,children:n}),(0,i.jsxs)(eV,{title:l,children:[(0,i.jsx)(N.P.FilledLocation,{size:14}),(0,i.jsx)(Text,{ellipsis:!0,title:l,children:l})]}),(0,i.jsx)(eN,{children:(0,i.jsx)(VillaDetails_VillaDetails,{guest:o,bathrooms:c,bedrooms:s,area:d})})]})]})};var eB=n(45177);function MobileCard_styles_templateObject(){let e=(0,b._)(["\n width: 100%;\n height: 160px;\n display: flex;\n flex-direction: row;\n line-height: 1;\n border-radius: ",";\n box-shadow: 0px 3px 10px ",";\n background-color: ",";\n\n .share-button {\n top: 8px;\n right: 40px;\n }\n"]);return MobileCard_styles_templateObject=function(){return e},e}function MobileCard_styles_templateObject1(){let e=(0,b._)(["\n width: 125px;\n position: relative;\n\n // like button\n & > button {\n position: absolute;\n top: 8px;\n right: 6px;\n z-index: 1;\n\n & svg {\n &[data-testid='heart-fill'],\n &[data-testid='heart-line'] {\n display: flex;\n width: 18px;\n height: 18px;\n }\n }\n }\n\n .mobile {\n top: 8px;\n left: -11px;\n }\n\n @media (max-width: 360px) {\n width: 105px;\n\n .mobile {\n top: -4px;\n z-index: 100;\n }\n }\n"]);return MobileCard_styles_templateObject1=function(){return e},e}function MobileCard_styles_templateObject2(){let e=(0,b._)(["\n width: calc(100% - 125px);\n padding: 0 ",";\n padding-top: ",";\n display: flex;\n flex-direction: column;\n text-decoration: none;\n row-gap: ",";\n\n .aptTitle {\n width: 100%;\n font-weight: ",";\n margin-top: ",";\n }\n\n @media (max-width: 500px) {\n padding: 0 ",";\n }\n"]);
1return MobileCard_styles_templateObject2=function(){return e},e}function MobileCard_styles_templateObject3(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n"]);return MobileCard_styles_templateObject3=function(){return e},e}function MobileCard_styles_templateObject4(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n\n p {\n font-size: 10px;\n }\n\n svg {\n margin-right: ",";\n color: ",";\n }\n"]);return MobileCard_styles_templateObject4=function(){return e},e}function MobileCard_styles_templateObject5(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: ",";\n margin-top: ",";\n padding: 0;\n text-align: center;\n"]);return MobileCard_styles_templateObject5=function(){return e},e}function MobileCard_styles_templateObject6(){let e=(0,b._)(["\n display: block;\n height: 160px;\n width: 126px;\n object-fit: cover;\n border-radius: 15px 0 0 15px;\n\n @media (max-width: 360px) {\n width: 105px;\n }\n"]);return MobileCard_styles_templateObject6=function(){return e},e}let eT=(0,f.ZP)(q()).withConfig({componentId:"sc-b72b587c-0"})(MobileCard_styles_templateObject(),e=>{let{theme:t}=e;return t.radii.medium},e=>{let{theme:t}=e;return t.shadows.color},e=>{let{theme:t}=e;return t.colors.white}),eq=f.ZP.div.withConfig({componentId:"sc-b72b587c-1"})(MobileCard_styles_templateObject1()),eD=f.ZP.div.withConfig({componentId:"sc-b72b587c-2"})(MobileCard_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.spacing.small}),eH=f.ZP.div.withConfig({componentId:"sc-b72b587c-3"})(MobileCard_styles_templateObject3()),eM=f.ZP.div.withConfig({componentId:"sc-b72b587c-4"})(MobileCard_styles_templateObject4(),e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.colors.secondary}),eW=f.ZP.div.withConfig({componentId:"sc-b72b587c-5"})(MobileCard_styles_templateObject5(),e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.medium}),eA=f.ZP.img.withConfig({componentId:"sc-b72b587c-6"})(MobileCard_styles_templateObject6()),MobileCard=e=>{let{aptId:t,aptTitle:n,aptAddress:l,photo:a,maxOccupancy:o,bedrooms:s,bathrooms:c,area:d,propertyGroupId:p,sharedData:u}=e,{t:m}=(0,r.$G)();return(0,i.jsxs)(eT,{href:"".concat(B.Z6.propertyAvailability,"/").concat(p),target:"_blank","data-testid":"villa-call-to-action",children:[(0,i.jsxs)(eq,{children:[(0,i.jsx)(eO.T,{className:"share-button",sharedData:u}),(0,i.jsx)(ev.A,{aptId:t,className:"favourite",category:eB.O3.lovelystay}),t===eG&&(0,i.jsx)(eZ,{className:"mobile",children:m("common:new")}),(0,i.jsx)(eA,{src:a})]}),(0,i.jsxs)(eD,{children:[(0,i.jsx)(Subtitle,{className:"aptTitle",ellipsis:!0,title:n,children:n}),(0,i.jsx)(eH,{children:(0,i.jsxs)(eM,{title:l,children:[(0,i.jsx)(N.P.FilledLocation,{size:14}),(0,i.jsx)(Text,{ellipsis:!0,title:l,children:l})]})}),(0,i.jsx)(eW,{children:(0,i.jsx)(VillaDetails_VillaDetails,{guest:o,bathrooms:c,bedrooms:s,area:d})})]})]})},eG="2766",Card=e=>{var t;let{aptId:n,aptTitle:l,aptTitlePt:a,aptStreetName:o,aptMunicipality:s,aptNeighbourhood:c,photos:d,maxOccupancy:p,bedrooms:u,bathrooms:m,area:h,propertyGroupId:g}=e,{i18n:b}=(0,r.$G)(),f=b.language||"en",j=(0,x.Z)("(max-width: 620px)"),_="".concat(window.location.origin).concat(B.Z6.propertyAvailability,"/").concat(g),y="".concat(s).concat(c?", ".concat(c):""," | ").concat(o),w=null!==(t="pt"===f?a:l)&&void 0!==t?t:l,v={url:_,title:l,image:null==d?void 0:d[0],aptStreetName:o,aptMunicipality:s,aptNeighbourhood:c},O="".concat(D.Mx,"/imgs/buildings/card-placeholder.png");return j?(0,i.jsx)(MobileCard,{aptId:null!=n?n:"",aptTitle:w,aptAddress:y,photo:d[0]?d[0]:O,maxOccupancy:null!=p?p:0,bedrooms:null!=u?u:0,bathrooms:null!=m?m:0,area:h,propertyGroupId:g,sharedData:v}):(0,i.jsx)(DesktopCard,{aptId:null!=n?n:"",aptTitle:w,aptAddress:y,photo:d[0]?d[0]:O,maxOccupancy:null!=p?p:0,bedrooms:null!=u?u:0,bathrooms:null!=m?m:0,area:h,propertyGroupId:g,sharedData:v})};var eL=n(25443);
1function FeaturedVillas_styles_templateObject(){let e=(0,b._)(["\n width: 100%;\n max-width: 1140px;\n display: flex;\n align-items: center;\n flex-direction: column;\n margin: 0 auto;\n padding: ",";\n\n .title {\n font-weight: ",";\n text-transform: uppercase;\n }\n\n .subtitle {\n text-transform: uppercase;\n margin: ",";\n display: flex;\n align-items: center;\n\n svg {\n min-width: 30px;\n min-height: 30px;\n }\n }\n\n @media (max-width: 620px) {\n padding: 0 0 ",";\n }\n"]);return FeaturedVillas_styles_templateObject=function(){return e},e}function FeaturedVillas_styles_templateObject1(){let e=(0,b._)(["\n display: flex;\n"]);return FeaturedVillas_styles_templateObject1=function(){return e},e}function FeaturedVillas_styles_templateObject2(){let e=(0,b._)(["\n max-width: 1184px;\n width: calc(100vw - ",");\n overflow: hidden;\n display: flex;\n align-items: center;\n column-gap: ",";\n min-height: 450px;\n position: relative;\n\n @media (max-width: 620px) {\n min-height: 330px;\n max-height: 550px;\n width: calc(100vw - ",");\n }\n"]);return FeaturedVillas_styles_templateObject2=function(){return e},e}function FeaturedVillas_styles_templateObject3(){let e=(0,b._)(["\n width: 100%;\n height: 100%;\n border-radius: inherit;\n display: flex;\n min-height: 450px;\n\n @media (max-width: 620px) {\n flex-direction: column;\n min-height: 330px;\n max-height: 550px;\n }\n"]);return FeaturedVillas_styles_templateObject3=function(){return e},e}function FeaturedVillas_styles_templateObject4(){let e=(0,b._)(["\n display: flex;\n padding: ",";\n gap: ",";\n\n .skeletonContainer {\n flex: 1;\n display: flex;\n }\n\n .skeleton {\n width: 280px;\n height: 370px;\n border-radius: ",";\n line-height: unset;\n }\n\n @media (max-width: 620px) {\n flex-direction: column;\n padding: ",";\n\n .skeleton {\n width: 100%;\n height: 160px;\n }\n }\n"]);return FeaturedVillas_styles_templateObject4=function(){return e},e}function FeaturedVillas_styles_templateObject5(){let e=(0,b._)(["\n display: flex;\n user-select: none;\n touch-action: none;\n border-radius: ",";\n background: #dddddd;\n transition: background 160ms ease-out;\n width: calc(100% - 145px);\n margin: 0 auto;\n bottom: 15px !important;\n\n &[data-orientation='horizontal'] {\n flex-direction: column;\n height: 2px;\n }\n\n &[data-orientation='vertical'] {\n flex-direction: row;\n height: 100%;\n width: 2px;\n }\n\n @media (max-width: 620px) {\n background: transparent;\n }\n"]);return FeaturedVillas_styles_templateObject5=function(){return e},e}function FeaturedVillas_styles_templateObject6(){let e=(0,b._)(["\n flex: 1;\n background: ",";\n border-radius: ",";\n position: relative;\n\n /* increase target size for touch devices https://www.w3.org/WAI/WCAG21/Understanding/target-size.html */\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n min-width: 44px;\n min-height: 44px;\n }\n\n @media (max-width: 620px) {\n background: transparent;\n }\n"]);return FeaturedVillas_styles_templateObject6=function(){return e},e}function FeaturedVillas_styles_templateObject7(){let e=(0,b._)(["\n height: 32px;\n min-width: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n border: 2px solid ",";\n position: relative;\n bottom: 0;\n position: absolute;\n\n &.right {\n right: 0;\n }\n\n &.left {\n left: 0;\n }\n\n &:enabled {\n border: 2px solid ",";\n svg {\n path {\n stroke: ",";\n }\n }\n }\n"]);return FeaturedVillas_styles_templateObject7=function(){return e},e}let eE=f.ZP.div.withConfig({componentId:"sc-7d25e98c-0"})(FeaturedVillas_styles_templateObject(),e=>{let{theme:t}=e;return"".concat(t.spacing.xx_large," 0")},e=>{let{theme:t}=e;return t.weights.extraBold},e=>{let{theme:t}=e;return"".concat(t.spacing.large," 0 ").concat(t.spacing.x_large)},e=>{let{theme:t}=e;return t.spacing.x_large}),eR=f.ZP.div.withConfig({componentId:"sc-7d25e98c-1"}
1)(FeaturedVillas_styles_templateObject1()),e$=(0,f.ZP)(eL.fC).withConfig({componentId:"sc-7d25e98c-2"})(FeaturedVillas_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.large}),eQ=(0,f.ZP)(eL.l_).withConfig({componentId:"sc-7d25e98c-3"})(FeaturedVillas_styles_templateObject3()),eU=f.ZP.div.withConfig({componentId:"sc-7d25e98c-4"})(FeaturedVillas_styles_templateObject4(),e=>{let{theme:t}=e;return"".concat(t.spacing.small," ").concat(t.spacing.large)},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.radii.medium},e=>{let{theme:t}=e;return"".concat(t.spacing.x_small," 10px")}),eK=(0,f.ZP)(eL.LW).withConfig({componentId:"sc-7d25e98c-5"})(FeaturedVillas_styles_templateObject5(),e=>{let{theme:t}=e;return t.radii.medium}),eJ=(0,f.ZP)(eL.bU).withConfig({componentId:"sc-7d25e98c-6"})(FeaturedVillas_styles_templateObject6(),e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.radii.middle}),eX=f.ZP.button.withConfig({componentId:"sc-7d25e98c-7"})(FeaturedVillas_styles_templateObject7(),e=>{let{theme:t}=e;return t.radii.xxx_large},e=>{let{theme:t}=e;return t.colors.grey2},e=>{let{theme:t}=e;return t.colors.secondary},e=>{let{theme:t}=e;return t.colors.secondary}),FeaturedVillas=()=>{let{t:e}=(0,r.$G)(),t=(0,x.Z)("(max-width: 620px)"),n={2766:"2563",2579:"2380",1800:"1629",2135:"1950",2042:"1857",2131:"1946",2299:"2113",1978:"1796"},l=useFeaturedVillasQueries(["2766","2579","1800","2135","2042","2131","2299","1978"]),a=l.some(e=>e.isLoading);return(0,i.jsxs)(eE,{id:"featured-villas",children:[(0,i.jsx)(Title,{className:"title",children:e("villas:featuredVillas")}),(0,i.jsx)(q(),{href:B.Z6.availability,target:"_blank","data-testid":"featured-villas-call-to-action",children:(0,i.jsxs)(Subtitle,{className:"subtitle",variant:"semibold",children:[e("villas:viewAll")," ",(0,i.jsx)(N.P.ArrowRoundForward,{})]})}),(0,i.jsx)(eR,{children:(0,i.jsxs)(e$,{type:"auto",children:[!a&&(0,i.jsx)(e_.z,{minWidth:"621px",children:(0,i.jsx)(eX,{onClick:()=>{var e,t,n;null===(n=document)||void 0===n||null===(t=n.getElementById)||void 0===t||null===(e=t.call(n,"scroll-area"))||void 0===e||e.scrollBy({behavior:"smooth",left:-292})},className:"left",children:(0,i.jsx)(N.P.ArrowLeft,{size:22})})}),(0,i.jsx)(eQ,{id:"scroll-area",children:(0,i.jsx)(eU,{children:a?Array.from({length:4}).map((e,t)=>(0,i.jsx)(m.O,{containerClassName:"skeletonContainer",className:"skeleton"},t)):l.filter(e=>{let{data:t}=e;return!!t}).map((e,t)=>{var r,l,a,o,s,c,d,p,u,m,h,x;let{data:g}=e;return(0,i.jsx)(Card,{aptId:null!==(r=null==g?void 0:g.aptId)&&void 0!==r?r:"",aptTitle:null!==(l=null==g?void 0:g.aptTitle)&&void 0!==l?l:"",aptTitlePt:null==g?void 0:g.aptTitlePt,aptStreetName:null!==(a=null==g?void 0:g.aptStreetName)&&void 0!==a?a:"",aptMunicipality:null!==(o=null==g?void 0:g.aptMunicipality)&&void 0!==o?o:"",aptNeighbourhood:null!==(s=null==g?void 0:g.aptNeighbourhood)&&void 0!==s?s:"",photos:null!==(c=null==g?void 0:g.photos)&&void 0!==c?c:[],maxOccupancy:null!==(d=null==g?void 0:g.maxOccupancy)&&void 0!==d?d:0,bedrooms:null!==(p=null==g?void 0:g.bedrooms)&&void 0!==p?p:0,bathrooms:null!==(u=null==g?void 0:g.bathrooms)&&void 0!==u?u:0,area:null==g?void 0:g.area,propertyGroupId:null!==(h=n[null!==(m=null==g?void 0:g.aptId)&&void 0!==m?m:""])&&void 0!==h?h:""},null!==(x=null==g?void 0:g.aptId)&&void 0!==x?x:t)})})}),!a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eK,{orientation:t?"vertical":"horizontal",children:(0,i.jsx)(eJ,{})}),(0,i.jsx)(e_.z,{minWidth:"621px",children:(0,i.jsx)(eX,{onClick:()=>{var e,t,n;null===(n=document)||void 0===n||null===(t=n.getElementById)||void 0===t||null===(e=t.call(n,"scroll-area"))||void 0===e||e.scrollBy({behavior:"smooth",left:292})},className:"right",children:(0,i.jsx)(N.P.ArrowRight,{size:22})})})]})]})})]})};var eY=n(87536),e0=n(94545),e1=n(56312),e2=n(58503);let DotsLoader=e=>{let{size:t=20,className:n="",color:l}=e,{t:a}=(0,r.$G)(),o=(0,f.Fg)();return(0,i.jsx)(e2.Z,{color:null!=l?l:o.colors.black,size:t,title:a("common:loading"),className:n})};var e5=n(27631),e4=n(83425),e3=n(81002),e6=n(70778),e7=n(47689),e8=n(48228),e9=n(99882),te=n(89206),tt=n(13009),tn=n(56420),ti=n(48303);let fetchVillasSections=async e=>{let t={},n="/villas?locale=".concat(e,"&populate=deep");try{let{data:e}=await tn.V.get(n);
1return(e.data||[]).forEach(e=>{let{attributes:n}=e,i=n.sectionName;t[i]=n.sections[0]}),{...t}}catch(e){return(0,te.S)({error:e,endpoint:n})}},contactVillas=async e=>{let t="/contactVillas";try{let{data:n}=await ti.Z.post(t,e);return n}catch(e){var n,i,r;throw e9.R.RequestError({error_message:"".concat(null==e?void 0:null===(n=e.response)||void 0===n?void 0:n.data.error," ").concat(null==e?void 0:null===(i=e.response)||void 0===i?void 0:i.data.message),method:"POST",endpoint:t}),(0,tt.U)(null==e?void 0:null===(r=e.response)||void 0===r?void 0:r.data.message),e}},useVillasContactMutation=()=>(0,e8.D)({mutationFn:e=>contactVillas(e)});var tr=n(1604),tl=n(55839);let ta=tr.z.object({fullName:tr.z.string().min(1),email:tr.z.string().min(1).email(),address:tr.z.string().min(2),location:tr.z.string().min(1),phoneCountryId:tr.z.string().min(1),phoneCode:tr.z.string().min(1),phoneNumber:tr.z.string().min(1),termsAndConditions:tr.z.literal(!0,{errorMap:()=>({message:"owner:form.acceptTerms"})}),receiveNewsletter:tr.z.boolean()}).superRefine((e,t)=>{let{phoneCountryId:n,phoneNumber:i}=e;(0,tl.B)(i,n)||t.addIssue({code:"custom",message:"common:messages.invalidPhone",path:["phoneNumber"]})});var to=n(46069);function FormInquiry_styles_templateObject(){let e=(0,b._)(["\n height: 680px;\n width: 100%;\n max-width: 1140px;\n display: flex;\n align-items: flex-start;\n margin: 0 auto;\n scroll-margin-top: 150px;\n\n @media (max-width: 900px) {\n height: 920px;\n }\n\n @media (max-width: 600px) {\n height: 950px;\n }\n"]);return FormInquiry_styles_templateObject=function(){return e},e}function FormInquiry_styles_templateObject1(){let e=(0,b._)(["\n position: relative;\n width: 100%;\n height: 450px;\n border-radius: 30px;\n background: transparent linear-gradient(180deg, #2d7471 0%, #173a39 100%) 0%\n 0% no-repeat padding-box;\n padding: ",";\n\n h2,\n p {\n max-width: 380px;\n margin-bottom: ",";\n color: ",";\n }\n\n @media "," {\n padding: ",";\n }\n\n @media (max-width: 1440px) {\n margin: 0 ",";\n }\n\n @media (max-width: 900px) {\n display: flex;\n align-items: center;\n flex-direction: column;\n\n h2,\n p {\n max-width: 520px;\n width: calc(100% - ",");\n margin-bottom: ",";\n color: ",";\n }\n\n h2 {\n text-align: center;\n }\n }\n\n @media (max-width: 600px) {\n margin: 0 ",";\n padding: ",";\n }\n\n @media "," {\n h2,\n p {\n width: 100%;\n }\n }\n"]);return FormInquiry_styles_templateObject1=function(){return e},e}function FormInquiry_styles_templateObject2(){let e=(0,b._)(["\n @media (max-width: 900px) {\n max-width: 520px;\n width: calc(100% - ",");\n display: flex;\n justify-content: space-between;\n }\n\n @media (max-width: 600px) {\n flex-direction: column;\n }\n\n @media "," {\n width: 100%;\n }\n"]);return FormInquiry_styles_templateObject2=function(){return e},e}function FormInquiry_styles_templateObject3(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n gap: ",";\n margin-bottom: ",";\n color: ",";\n\n h3 {\n color: ",";\n }\n\n @media (max-width: 600px) {\n svg {\n width: 35px;\n height: 35px;\n }\n }\n"]);return FormInquiry_styles_templateObject3=function(){return e},e}function FormInquiry_styles_templateObject4(){let e=(0,b._)(["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 30px;\n top: 0px;\n color: ",";\n background-color: ",";\n z-index: 2;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n h3 {\n text-transform: uppercase;\n }\n\n p {\n margin-top: ",";\n margin-bottom: ",";\n color: inherit;\n }\n\n button {\n border-radius: 10px;\n font-size: ",";\n margin-top: 90px;\n }\n\n @media "," {\n button {\n font-size: "," !important;\n }\n }\n\n @media "," {\n button {\n font-size: 1.1rem !important;\n }\n }\n"]);return FormInquiry_styles_templateObject4=function(){return e},e}
1function FormInquiry_styles_templateObject5(){let e=(0,b._)(["\n position: absolute;\n top: 32px;\n right: 64px;\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 400px;\n width: 100vw;\n border-radius: 30px;\n box-shadow: 0px 3px 30px #00000019;\n padding: ",";\n background-color: ",";\n\n h3 {\n text-transform: uppercase;\n }\n\n .validationIcon {\n top: 28%;\n }\n\n @media "," {\n right: 32px;\n max-width: 350px;\n padding: ",";\n }\n\n @media (max-width: 900px) {\n max-width: 400px;\n top: 290px;\n right: calc(50% - 200px);\n }\n\n @media (max-width: 600px) {\n top: 340px;\n }\n\n @media "," {\n top: 290px;\n max-width: calc(100% - ",");\n right: 24px;\n }\n"]);return FormInquiry_styles_templateObject5=function(){return e},e}function FormInquiry_styles_templateObject6(){let e=(0,b._)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n margin-top: ",";\n\n label {\n font-weight: ",";\n margin-bottom: ",";\n padding: 0;\n }\n\n .container {\n margin-bottom: 0px;\n\n input {\n width: 100%;\n height: 40px;\n min-height: 40px;\n background: ",";\n border-radius: 5px;\n }\n }\n\n input#phoneNumber {\n min-height: 40px;\n background: ",";\n border-radius: 0px 5px 5px 0px;\n }\n\n .guest-country-select__control {\n height: 40px;\n background: ",";\n border-radius: 5px 0 0 5px;\n }\n\n button[type='submit'] {\n border-radius: 10px;\n font-size: ",";\n margin-top: ",";\n }\n\n @media "," {\n label,\n button[type='submit'] {\n font-size: "," !important;\n }\n }\n\n @media "," {\n label,\n button[type='submit'] {\n font-size: 1.1rem !important;\n }\n }\n"]);return FormInquiry_styles_templateObject6=function(){return e},e}function FormInquiry_styles_templateObject7(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n margin-top: ",";\n margin-bottom: ",";\n row-gap: ",";\n"]);return FormInquiry_styles_templateObject7=function(){return e},e}function FormInquiry_styles_templateObject8(){let e=(0,b._)(["\n display: flex;\n flex-direction: column;\n row-gap: ",";\n position: relative;\n\n .error {\n margin-bottom: 0;\n margin-left: 20px;\n }\n"]);return FormInquiry_styles_templateObject8=function(){return e},e}function FormInquiry_styles_templateObject9(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n column-gap: ",";\n font-size: ",";\n\n span {\n font-size: ",";\n }\n"]);return FormInquiry_styles_templateObject9=function(){return e},e}function FormInquiry_styles_templateObject10(){let e=(0,b._)(["\n background-color: ",";\n min-width: 16px;\n min-height: 16px;\n width: 16px;\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 5px !important;\n border: 1px solid ",";\n\n &[data-state='checked'] {\n background-color: ",";\n border-color: ",";\n }\n\n &:hover {\n border-color: ",";\n }\n"]);return FormInquiry_styles_templateObject10=function(){return e},e}function FormInquiry_styles_templateObject11(){let e=(0,b._)(["\n svg {\n color: ",";\n }\n\n &[data-state='checked'] {\n margin-top: ",";\n }\n"]);return FormInquiry_styles_templateObject11=function(){return e},e}let ts="#f2f2f2",tc=f.ZP.div.withConfig({componentId:"sc-ad6e451a-0"})(FormInquiry_styles_templateObject()),td=f.ZP.div.withConfig({componentId:"sc-ad6e451a-1"})(FormInquiry_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.colors.white},u.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large},u.Hb.mobile),tp=f.ZP.div.withConfig({componentId:"sc-ad6e451a-2"}
1)(FormInquiry_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.xxx_large},u.Hb.mobile),tu=f.ZP.div.withConfig({componentId:"sc-ad6e451a-3"})(FormInquiry_styles_templateObject3(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white}),tm=f.ZP.div.withConfig({componentId:"sc-ad6e451a-4"})(FormInquiry_styles_templateObject4(),e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.fontSizes.middle},u.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile),th=f.ZP.div.withConfig({componentId:"sc-ad6e451a-5"})(FormInquiry_styles_templateObject5(),e=>{let{theme:t}=e;return"".concat(t.spacing.large," ").concat(t.spacing.xx_large)},e=>{let{theme:t}=e;return t.colors.white},u.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.large},u.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.xx_large}),tx=f.ZP.form.withConfig({componentId:"sc-ad6e451a-6"})(FormInquiry_styles_templateObject6(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.weights.regular},e=>{let{theme:t}=e;return t.spacing.small},ts,ts,ts,e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.spacing.x_small},u.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.small},u.Hb.mobile),tg=f.ZP.div.withConfig({componentId:"sc-ad6e451a-7"})(FormInquiry_styles_templateObject7(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.x_small}),tb=f.ZP.div.withConfig({componentId:"sc-ad6e451a-8"})(FormInquiry_styles_templateObject8(),e=>{let{theme:t}=e;return t.spacing.x_small}),tf=f.ZP.div.withConfig({componentId:"sc-ad6e451a-9"})(FormInquiry_styles_templateObject9(),e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.fontSizes.small}),tj=(0,f.ZP)(to.fC).withConfig({componentId:"sc-ad6e451a-10"})(FormInquiry_styles_templateObject10(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.grey2},e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.colors.black}),t_=(0,f.ZP)(to.z$).withConfig({componentId:"sc-ad6e451a-11"})(FormInquiry_styles_templateObject11(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.x_small}),FormInquiry=e=>{let{section:t,isLoading:n}=e,{t:l}=(0,r.$G)(),[o,s]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1),[p,u]=(0,a.useState)(""),[h,x]=(0,a.useState)(""),{mutate:g,isSuccess:b,isError:f,isLoading:j}=useVillasContactMutation(),{control:_,handleSubmit:y,register:w,setValue:v,reset:O,formState:{errors:C,dirtyFields:I}}=(0,eY.cI)({resolver:(0,e1.F)(ta),defaultValues:{receiveNewsletter:!1}}),onSubmit=async e=>{s(!0);let t=(0,e7.n)({...e});g(t,{onSuccess:()=>e0.m.GenerateLead({lead_type:"villa",screen:B.Z6.villas})})};return((0,a.useEffect)(()=>{let e;return b&&(e=setTimeout(()=>{s(!1),d(!0)},2e3)),()=>clearTimeout(e)},[b]),(0,a.useEffect)(()=>{f&&s(!1)},[f]),n||!t)?(0,i.jsx)(tc,{id:"become-a-partner",children:(0,i.jsxs)(td,{children:[(0,i.jsx)(m.O,{height:40,width:"60%",style:{marginBottom:16}}),(0,i.jsx)(m.O,{height:60,width:"90%",style:{marginBottom:32}}),(0,i.jsxs)(tp,{children:[(0,i.jsxs)(tu,{children:[(0,i.jsx)(m.O,{circle:!0,width:40,height:40}),(0,i.jsx)(m.O,{width:200,height:24})]}),(0,i.jsxs)(tu,{children:[(0,i.jsx)(m.O,{circle:!0,width:40,height:40}),(0,i.jsx)(m.O,{width:150,height:24})]})]}),(0,i.jsxs)(th,{children:[(0,i.jsx)(m.O,{height:28,width:"40%",style:{marginBottom:24}}),Array.from({length:5}).map((e,t)=>(0,i.jsx)(m.O,{height:56,style:{marginBottom:16}},t)),(0,i.jsx)(m.O,{height:48,width:200,borderRadius:999,style:{marginTop:24}})]})]})}):(0,i.jsx)(tc,{id:"become-a-partner",children:(0,i.jsxs)(td,{children:[(0,i.jsx)(Title,{children:t.title}),(0,i.jsx)(Text,{children:t.description}),(0,i.jsxs)(tp,{children:[(0,i.jsxs)(tu,{children:[(0,i.jsx)(N.P.VillasEmailFilled,{}),(0,i.jsx)(Subtitle,{children:t.email})]}),(0,i.jsxs)(tu,{children:[(0,i.jsx)(N.P.VillasPhoneFilled,{}),(0,i.jsx)(Subtitle,{children:t.phone})]})]}),(0,i.jsxs)(th,{children:[o&&(0,i.jsxs)(tm,{children:[(0,i.jsx)(Subtitle,{variant:"semibold",children:l("villas:form.submitRequestMessage")}),(0,i.jsx)(Text,{children:l("villas:form.justMoment")}),(0,i.jsx)(DotsLoader,{size:13})]}),c&&(0,i.jsxs)(tm,{children:[(0,i.jsx)(Subtitle,{variant:"semibold",children:l("villas:form.submissionSuccessful")}),(0,i.jsx)(Text,{children:l("villas:form.wellGetBack")}),(0,i.jsx)(N.P.CheckOutlineCircle2,{size:65}),(0,i.jsx)(V.z,{variant:"primary",text:l("villas:form.submitAnotherRequest"),className:"button",onClick:()=>{O(),u(""),x(""),d(!1)}})]}),(0,i.jsx)(Subtitle,{children:t.formTitle}),(0,i.jsxs)(tx,{onSubmit:y(onSubmit),children:[(0,i.jsx)(eY.Qr,{control:_,name:"fullName",render:e=>
1{let{field:{onChange:t,ref:n,name:r}}=e;return(0,i.jsx)(e4.I,{ref:n,type:"text",name:r,isRequired:!0,label:l("villas:form.fullName"),isValid:!C.fullName,showValidationIcon:I.fullName||!!C.fullName,onChange:e=>t(e.target.value),className:"container","data-testid":"name-input",disabled:j})}}),(0,i.jsx)(eY.Qr,{control:_,name:"email",render:e=>{let{field:{onChange:t,ref:n,name:r}}=e;return(0,i.jsx)(e4.I,{ref:n,type:"email",name:r,label:l("villas:form.email"),isValid:!C.email,showValidationIcon:I.email||!!C.email,isRequired:!0,onChange:e=>t(e.target.value),className:"container",disabled:j})}}),(0,i.jsx)(e3.B,{isRequired:!0,label:l("villas:form.phoneNumber"),handleChange:e=>{let{normalizedNationalPhoneNumber:t,countryCode:n,phoneCountryId:i}=e;v("phoneNumber",t,e3.I),v("phoneCode",n,e3.I),v("phoneCountryId",i),u(i),x(t)},isValid:!C.phoneNumber&&!C.phoneCode,phoneCountryId:p,phoneNumberValue:h,showPlaceholder:!1,countryCodeProps:w("phoneCode"),...w("phoneNumber"),showValidationIcon:I.phoneNumber||!!C.phoneNumber||I.phoneCode||!!C.phoneCode}),(0,i.jsx)(eY.Qr,{control:_,name:"address",render:e=>{let{field:{onChange:t,ref:n,name:r}}=e;return(0,i.jsx)(e4.I,{ref:n,name:r,type:"text",label:l("villas:form.address"),isValid:!C.address,isRequired:!0,showValidationIcon:I.address||!!C.address,onChange:e=>t(e.target.value),className:"container",disabled:j})}}),(0,i.jsx)(eY.Qr,{control:_,name:"location",render:e=>{let{field:{onChange:t,ref:n,name:r}}=e;return(0,i.jsx)(e4.I,{ref:n,type:"text",name:r,label:l("villas:form.location"),isValid:!C.location,isRequired:!0,showValidationIcon:I.location||!!C.location,onChange:e=>t(e.target.value),className:"container",disabled:j})}}),(0,i.jsxs)(tg,{children:[(0,i.jsx)(eY.Qr,{control:_,name:"termsAndConditions",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,i.jsxs)(tb,{children:[(0,i.jsxs)(tf,{children:[(0,i.jsx)(tj,{ref:n,id:"termsAndCondition","data-testid":"termsAndCondition-checkbox",onCheckedChange:t,disabled:j,children:(0,i.jsx)(t_,{children:(0,i.jsx)(N.P.Check,{})})}),(0,i.jsx)("span",{children:(0,i.jsx)(r.cC,{i18nKey:"common:agreeTermsAndConditions",components:{terms:(0,i.jsx)(e6.K,{})}})})]}),C.termsAndConditions&&C.termsAndConditions.message&&(0,i.jsx)(e5.B,{className:"error",message:l("villas:form.acceptTerms")})]})}}),(0,i.jsx)(eY.Qr,{control:_,name:"receiveNewsletter",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,i.jsxs)(tf,{children:[(0,i.jsx)(tj,{id:"receiveNewsletter",onCheckedChange:t,ref:n,disabled:j,children:(0,i.jsx)(t_,{children:(0,i.jsx)(N.P.Check,{})})}),(0,i.jsx)("span",{children:l("villas:form.agreeReceiveEmails")})]})}})]}),(0,i.jsx)(V.z,{variant:"primary",text:l("villas:form.submitRequest"),className:"button",isLoading:j,type:"submit","data-testid":"submit-button"})]})]})]})})};function FixedBanner_styles_templateObject(){let e=(0,b._)(["\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n height: 60px;\n width: 100vw;\n background: transparent linear-gradient(268deg, #f6f7f6 0%, #c1c7c1 100%) 0%\n 0% no-repeat padding-box;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n z-index: 100;\n\n > div {\n width: 100%;\n max-width: 1240px;\n margin: 0 auto;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: 0 ",";\n column-gap: ",";\n\n div {\n display: flex;\n column-gap: ",";\n }\n\n h3 {\n display: flex;\n align-items: center;\n gap: ",";\n font-weight: ",";\n }\n\n svg {\n width: 27px;\n min-width: 27px;\n height: 27px;\n min-height: 27px;\n }\n }\n\n @media (max-width: 800px) {\n > div {\n column-gap: ",";\n\n div {\n column-gap: ",";\n }\n\n h3 {\n gap: ",";\n }\n }\n }\n\n @media (max-width: 620px) {\n height: 60px;\n\n > div {\n column-gap: ",";\n padding: 0 ",";\n\n div {\n flex-direction: column;\n }\n\n h3 {\n font-weight: ",";\n }\n\n svg {\n width: 13px;\n min-width: 13px;\n height: 13px;\n min-height: 13px;\n }\n }\n }\n"]);
1return FixedBanner_styles_templateObject=function(){return e},e}function FixedBanner_styles_templateObject1(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n color: ",";\n height: 50px;\n border-radius: ",";\n font-size: ",";\n font-weight: ",";\n width: 200px;\n min-width: fit-content;\n padding: ",";\n transition: ",";\n\n &:hover {\n opacity: 0.8;\n }\n\n @media (max-width: 1000px) {\n height: 45px;\n font-size: ",";\n width: 144px;\n }\n\n @media (max-width: 620px) {\n height: 40px;\n font-size: 11px;\n border-radius: ",";\n }\n"]);return FixedBanner_styles_templateObject1=function(){return e},e}function FixedBanner_styles_templateObject2(){let e=(0,b._)(["\n display: flex;\n align-items: center;\n margin-bottom: ",";\n"]);return FixedBanner_styles_templateObject2=function(){return e},e}function FixedBanner_styles_templateObject3(){let e=(0,b._)(["\n margin-right: ",";\n"]);return FixedBanner_styles_templateOb
1ject3=function(){return e},e}let ty=f.ZP.div.withConfig({componentId:"sc-3a2c9f2c-0"})(FixedBanner_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.weights.medium}),tw=f.ZP.button.withConfig({componentId:"sc-3a2c9f2c-1"})(FixedBanner_styles_templateObject1(),e=>{let{theme:t}=e;return t.colors.black},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.medium},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.transitions.regular},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.radii.small}),tv=f.ZP.div.withConfig({componentId:"sc-3a2c9f2c-2"})(FixedBanner_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.small}),tO=f.ZP.div.withConfig({componentId:"sc-3a2c9f2c-3"})(FixedBanner_styles_templateObject3(),e=>{let{theme:t}=e;return t.spacing.small}),FixedBanner=e=>{let{section:t,isLoading:n}=e;return n||!t?(0,i.jsx)(ty,{children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)(tv,{children:[(0,i.jsx)(tO,{children:(0,i.jsx)(m.O,{circle:!0,width:24,height:24})}),(0,i.jsx)(m.O,{width:150,height:20})]}),(0,i.jsxs)(tv,{children:[(0,i.jsx)(tO,{children:(0,i.jsx)(m.O,{circle:!0,width:24,height:24})}),(0,i.jsx)(m.O,{width:200,height:20})]})]}),(0,i.jsx)(m.O,{height:48,width:200,borderRadius:999})]})}):(0,i.jsx)(ty,{children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)(Subtitle,{children:[(0,i.jsx)(N.P.VillasPhone,{size:24}),t.phone]}),(0,i.jsxs)(Subtitle,{children:[(0,i.jsx)(N.P.VillasEmail,{size:24}),t.email]})]}),(0,i.jsx)(tw,{onClick:()=>{let e=document.getElementById(g.U1);e&&e.scrollIntoView({behavior:"smooth"})},children:t.actionButton})]})})};var tC=n(43627),tI=n(17e3);let useVillasQuery=(e,t)=>(0,tI.a)({queryKey:["villas-sections",e],queryFn:()=>fetchVillasSections(e),refetchOnWindowFocus:!1,keepPreviousData:!0,retry:!1,cacheTime:0,initialData:t});function villas_styles_templateObject(){let e=(0,b._)(["\n background-color: ",";\n"]);return villas_styles_templateObject=function(){return e},e}let tP=f.ZP.div.withConfig({componentId:"sc-bc8d618d-0"})(villas_styles_templateObject(),e=>{let{theme:t}=e;return t.colors.white}),Villas=e=>{var t;let{data:n}=e,{t:a,i18n:o}=(0,r.$G)(),{data:s,isLoading:c}=useVillasQuery(null!==(t=o.language)&&void 0!==t?t:"en",n),d=null==s?void 0:s.seo,p=null==s?void 0:s.hero,u=null==s?void 0:s.inquiry,m=null==s?void 0:s.whyChooseLovelystay,h=null==s?void 0:s.packages,x=null==s?void 0:s.banner;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.PB,{title:(null==d?void 0:d.title)?d.title:a("common:navbar.villas"),description:(null==d?void 0:d.description)?d.description:null==p?void 0:p.description,openGraph:{}}),(0,i.jsxs)(tP,{children:[(0,i.jsx)(Hero,{section:p,isLoading:c&&!p}),(0,i.jsxs)("div",{children:[(0,i.jsx)(FormInquiry,{section:u,isLoading:c&&!u}),(0,i.jsx)(WhyChoose,{section:m,isLoading:c&&!m}),(0,i.jsx)(Packages,{section:h,isLoading:c&&!h}),(0,i.jsx)(FeaturedVillas,{}),(0,i.jsx)(FixedBanner,{section:x,isLoading:c&&!x})]})]})]})};Villas.getLayout=e=>(0,i.jsx)(tC.A,{children:e});var tk=!0,tZ=Villas},43828:function(e,t,n){"use strict";n.d(t,{y:function(){return fetchApartmentById}});var i=n(48303);let formatAmenities=e=>{let t={};return e.forEach(e=>{let n=e.amenityType.replace(/_([a-z])/g,(e,t)=>t.toUpperCase());t[n]={visible:!0,metadata:e.metadata||{}}}),t};var r=n(89206);let fetchApartmentById=async(e,t)=>{let n=t?"/apartment/".concat(e,"/guest-page"):"/apartment/".concat(e,"/info");try{let{data:e}=await i.Z.get(n),t={...e,amenities:formatAmenities(e.amenities)};return t}catch(e){throw(0,r.S)({error:e,endpoint:n}),e}}},48303:function(e,t,n){"use strict";var i=n(87066);let r=i.default.create({baseURL:"https://dashboard.lovelystay.com/api",withCredentials:!0});t.Z=r},22628:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var i=n(50308),r=n.n(i),l=n(782),a=n(52464),o=n(48565),s=n(47753);let c=(0,a.F)()((0,l.tJ)((e,t)=>({favourites:{lovelystay:[],andoliving:[],ferienhaus:[]},toggleFavourites:(n,i)=>{var r,l,a,o;let s=null===(l=t())||void 0===l?void 0:null===(r=l.favourites[i])||void 0===r?void 0:r.includes(n);if(s){let r=null===(o=t())||void 0===o?void 0:o.favourites[i].filter(e=>e!==n);e(e=>({favourites:{...e.favourites,[i]:r}}))}else{let r=[...null===(a=t())||void 0===a?void 0:a.favourites[i],n];e(e=>({favourites:{...e.favourites,[i]:r}}))}}}),{name:o.B.favourites,storage:(0,l.FL)(()=>s.o),version:5,migrate:(e,t)=>
1{if(t<4){var n,i,l;return{favourites:{lovelystay:(null==e?void 0:null===(n=e.favourites)||void 0===n?void 0:n.lovelystay)||[],andoliving:(null==e?void 0:null===(i=e.favourites)||void 0===i?void 0:i.andoliving)||[],ferienhaus:(null==e?void 0:null===(l=e.favourites)||void 0===l?void 0:l.ferienhaus)||[]},toggleFavourites:r()}}return e}}))},47689:function(e,t,n){"use strict";n.d(t,{n:function(){return payloadBuilder},s:function(){return ownerPayloadBuilder}});let sourcePayload=()=>{var e,t,n,i;let r=new URLSearchParams(location.search);return{adSource:null!==(e=r.get("utm_source"))&&void 0!==e?e:"",adMedium:null!==(t=r.get("utm_medium"))&&void 0!==t?t:"",adCampaign:null!==(n=r.get("utm_campaign"))&&void 0!==n?n:"",adContent:null!==(i=r.get("utm_content"))&&void 0!==i?i:""}},payloadBuilder=e=>({address:e.address,agreedTerms:e.termsAndConditions,allow_display_name:!1,allow_utf8_local_part:!0,aptLocation:e.location,blacklisted_chars:"",email:e.email,host_blacklist:[],ignore_max_length:!1,name:e.fullName,phone:"".concat(e.phoneCode).concat(e.phoneNumber),require_display_name:!1,receiveNewsletter:e.receiveNewsletter,require_tld:!0,rooms:1}),ownerPayloadBuilder=e=>{let t=sourcePayload(),n={...t,...payloadBuilder(e),numberOfApartments:e.numApartments,rooms:e.numBedrooms};return e.referralSource&&(n.referralSource=e.referralSource),e.referralSourceOther&&(n.referralSourceOther=e.referralSourceOther),n}}},function(e){e.O(0,[4980,7627,8907,4774,1228,2013,1778,5937,5445,260,3874,4617,955,9866,8941,1057,3609,4090,9401,7237,6556,9483,8434,5860,9382,6466,1773,8949,1302,9268,2884,3627,4555,3956,9774,2888,179],function(){return e(e.s=63553)}),_N_E=e.O()}]);
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.