PageSourceSearch

https://book.andoliving.com/_next/static/chunks/pages/owner-559e00e429cb565d.js

js andoliving.com collected 2026-10-04 13:32:26 UTC 133,771 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4067],{72422:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/owner",function(){return n(47552)}])},34995:function(e,t){"use strict";t.Z={src:"/_next/static/media/loader.a5b4f275.gif",height:256,width:256,blurWidth:0,blurHeight:0}},64704:function(e,t,n){"use strict";n.d(t,{x:function(){return Box}});var r=n(85893),i=n(82729),l=n(85444);function _templateObject(){let e=(0,i._)(["\n  max-width: ",";\n  height: ",";\n  background: "," 0% 0% no-repeat padding-box;\n  box-shadow: 0px 3px 6px #00000029;\n  border-radius: ",";\n  opacity: 1;\n  padding: ",";\n"]);return _templateObject=function(){return e},e}let o=l.ZP.div.withConfig({componentId:"sc-433cf6a5-0"})(_templateObject(),e=>{let{width:t}=e;return t},e=>{let{height:t}=e;return t},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.large},e=>{let{theme:t}=e;return t.spacing.medium}),Box=e=>{let{children:t,className:n,width:i="initial",height:l="initial"}=e;return(0,r.jsx)(o,{className:n,width:i,height:l,children:t})}},62919:function(e,t,n){"use strict";n.d(t,{u:function(){return ScrollUpButton}});var r=n(85893),i=n(67294),l=n(59886),o=n(20436);let ScrollUpButton=()=>{let[e,t]=(0,i.useState)(!1),toggleVisible=()=>{let e=document.documentElement.scrollTop;e>100?t(!0):t(!1)};return(0,i.useEffect)(()=>(window.addEventListener("scroll",toggleVisible),()=>{window.addEventListener("scroll",toggleVisible)}),[]),e?(0,r.jsx)(o.z,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,r.jsx)(l.P.ScrollUp,{})}):null}},20436:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(82729),i=n(85444),l=n(53182);function _templateObject(){let e=(0,r._)(["\n  position: fixed;\n  width: 50px;\n  height: 50px;\n  z-index: 198;\n  cursor: pointer;\n  right: 24px;\n  bottom: 100px;\n  font-size: ",";\n  padding: ",";\n  color: ",";\n  background: ",";\n  box-shadow: ",";\n  border-radius: ",";\n\n  @media "," {\n    bottom: 150px;\n  }\n"]);return _templateObject=function(){return e},e}let o=i.ZP.button.withConfig({componentId:"sc-ea5d9c4d-0"})(_templateObject(),e=>{let{theme:t}=e;return t.fontSizes.xxx_large},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.shadows.boxShadow},e=>{let{theme:t}=e;return t.radii.medium},l.Hb.tablet)},15329:function(e,t,n){"use strict";n.d(t,{O:function(){return Skeleton}});var r=n(85893),i=n(50549);n(97480);let Skeleton=e=>{let{...t}=e;return(0,r.jsx)(i.Z,{...t})}},99122:function(e,t,n){"use strict";n.d(t,{k:function(){return SuccessMessage}});var r=n(85893),i=n(37303),l=n(25675),o=n.n(l),s=n(79362),a=n(82729),c=n(85444);function _templateObject(){let e=(0,a._)(["\n  position: relative;\n  height: 100%;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,a._)(["\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  margin-bottom: ",";\n\n  h1 {\n    margin-bottom: ",";\n    text-align: center;\n    font-size: ",";\n  }\n\n  h2 {\n    text-align: center;\n    font-size: ",";\n    color: ",";\n    border: none !important;\n  }\n"]);return _templateObject1=function(){return e},e}let d=c.ZP.div.withConfig({componentId:"sc-e009acb5-0"})(_templateObject()),m=c.ZP.div.withConfig({componentId:"sc-e009acb5-1"})(_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.fontSizes.large},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.colors.primary}),SuccessMessage=e=>{let{title:t,subtitle:n}=e,{t:l}=(0,i.$G)();return(0,r.jsxs)(d,{children:[(0,r.jsxs)(m,{children:[(0,r.jsx)("h1",{children:t}),(0,r.jsx)("h2",{children:n})]}),(0,r.jsx)(o(),{alt:l("common:success"),src:"".concat(s.Mx,"/gif/loading-success.gif"),width:150,height:150})]})}},70778:function(e,t,n){"use strict";n.d(t,{K:function(){return TermsAndConditions}});var r=n(85893),i=n(37303),l=n(12854),o=n(96219),s=n(80258),a=n(59886),c=n(82729),d=n(85444);
1function _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"]);return _templateObject3=function(){return e},e}let m=(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}),p=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}),g=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,i.$G)();return(0,r.jsx)(s.V,{trigger:(0,r.jsx)(p,{children:t||n("common:termsAndConditions")}),overlay:(0,r.jsx)(m,{}),content:(0,r.jsxs)(u,{children:[(0,r.jsxs)(o.T,{children:[(0,r.jsx)(l.$N,{children:n("common:termsAndConditions")}),(0,r.jsx)(l.Be,{children:(0,r.jsx)(i.cC,{i18nKey:"common:terms",components:{p:(0,r.jsx)("p",{}),h2:(0,r.jsx)("h2",{}),br:(0,r.jsx)("br",{}),li:(0,r.jsx)("li",{}),ul:(0,r.jsx)("ul",{}),a:(0,r.jsx)("a",{})}})})]}),(0,r.jsx)("div",{children:(0,r.jsx)(i.cC,{i18nKey:"common:terms",components:{p:(0,r.jsx)("p",{}),h2:(0,r.jsx)("h2",{}),br:(0,r.jsx)("br",{}),li:(0,r.jsx)("li",{}),ul:(0,r.jsx)("ul",{}),a:(0,r.jsx)("a",{})}})}),(0,r.jsx)(l.GG,{asChild:!0,children:(0,r.jsx)(g,{children:(0,r.jsx)(a.P.Close,{size:20})})})]})})}},2206:function(e,t,n){"use strict";n.d(t,{D:function(){return Title}});var r=n(85893),i=n(82729),l=n(85444),o=n(53182);function _templateObject(){let e=(0,i._)(["\n  color: ",";\n  font-weight: ",";\n  margin: ",";\n  text-align: ",";\n\n  @media "," {\n    text-align: left;\n    margin: 0 0 ",";\n  }\n"]);
1return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,i._)(["\n  font-size: ",";\n  ",";\n\n  @media "," {\n    font-size: ",";\n  }\n\n  @media "," {\n    font-size: ",";\n  }\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,i._)(["\n  ",";\n  font-size: ",";\n\n  @media "," {\n    font-size: ",";\n  }\n\n  @media "," {\n    font-size: ",";\n  }\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return _templateObject2=function(){return e},e}let getBaseCSS=e=>(0,l.iv)(_templateObject(),e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.weights.bold},"center"===e?e=>{let{theme:t}=e;return"0 auto ".concat(t.spacing.x_large)}:e=>{let{theme:t}=e;return"0 0 ".concat(t.spacing.large)},"center"===e?"center":"left",o.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large}),s=l.ZP.h1.withConfig({componentId:"sc-7deb6b1f-0"})(_templateObject1(),e=>{let{theme:t}=e;return t.fontSizes.display_small},e=>{let{alignment:t}=e;return getBaseCSS(t)},o.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.xxx_large},o.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.xx_large},o.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.x_large}),a=l.ZP.h2.withConfig({componentId:"sc-7deb6b1f-1"})(_templateObject2(),e=>{let{alignment:t}=e;return getBaseCSS(t)},e=>{let{theme:t}=e;return t.fontSizes.xxx_large},o.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.x_large},o.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.large},o.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.middle}),Title=e=>{let{as:t,className:n,alignment:i="start",type:l="subtitle",children:o}=e;return"page"===l?(0,r.jsx)(s,{as:t,className:n,alignment:i,children:o}):(0,r.jsx)(a,{as:t,className:n,alignment:i,children:o})}},20521:function(e,t,n){"use strict";n.d(t,{Y:function(){return TopBanner}});var r=n(85893),i=n(67294),l=n(28278),o=n(82729),s=n(41664),a=n.n(s),c=n(85444),d=n(53182);function _templateObject(){let e=(0,o._)(["\n  position: fixed;\n  top: ",";\n  color: ",";\n  background: ",";\n  box-shadow: ",";\n  width: 140px;\n  right: 100px;\n  height: 120px;\n  z-index: 310;\n  text-align: center;\n  text-decoration: none;\n  text-transform: uppercase;\n  border-radius: 0px 0px 100px 100px;\n  padding: ",";\n  display: -webkit-box;\n  -webkit-line-clamp: 3;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n\n  p {\n    margin-top: ",";\n    font-size: ",";\n  }\n\n  @media "," {\n    right: 60px;\n  }\n\n  @media "," {\n    right: 20px;\n    padding: ",";\n  }\n\n  @media "," {\n    width: 120px;\n    height: 100px;\n    p {\n      font-size: ",";\n    }\n  }\n"]);return _templateObject=function(){return e},e}let m=(0,c.ZP)(a()).withConfig({componentId:"sc-702ddf83-0"})(_templateObject(),e=>{let{top:t}=e;return t?"".concat(80+parseInt(t,10),"px"):"80px"},e=>{let{theme:t}=e;return t.colors.white},e=>{let{variant:t,theme:n}=e;return"dark"===t?n.colors.secondary:"transparent linear-gradient(180deg, #41A9A4 0%, #215552 100%) 0% 0% no-repeat padding-box;"},e=>{let{theme:t}=e;return"inset 0px 3px 6px ".concat(t.shadows.color,", 6px 15px 9px ").concat(t.shadows.color)},e=>{let{theme:t}=e;return"40px ".concat(t.spacing.medium," ").concat(t.spacing.x_large)},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.fontSizes.small},d.Hb.desktop,d.Hb.mobile,e=>{let{theme:t}=e;return"".concat(t.spacing.x_large," ").concat(t.spacing.medium," ").concat(t.spacing.large)},d.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.x_small}),TopBanner=e=>{let{id:t,label:n,screen:o,variant:s="dark",...a}=e,[c,d]=(0,i.useState)();return(0,i.useEffect)(()=>{d(document.body.style.top)},[]),(0,i.useEffect)(()=>{let e=new MutationObserver(e=>{for(let t of e)"style"===t.attributeName&&d(document.body.style.top)});return e.observe(document.body,{attributes:!0}),()=>e.disconnect()},[]),(0,r.jsx)(m,{id:t,variant:s,...a,top:c,onClick:()=>l.K.TopBannerClicked({screen:o}),children:(0,r.jsx)("p",{children:n})})}},95714:function(e,t,n){"use strict";n.d(t,{Y:function(){return WatchVideo}});var r=n(85893),i=n(37303),l=n(12854),o=n(96219),s=n(53182),a=n(80258),c=n(59886),d=n(28477),m=n(26017);let WatchVideo=e=>{let{videoUrl:t}=e,{t:n}=(0,i.$G)(),u=(0,d.Z)(s.Hb.tablet);return(0,r.jsx)("div",{children:(0,r.jsx)(a.V,{overlay:(0,r.jsx)(m.u5,{}),trigger:(0,r.jsxs)(m.uf,{children:[(0,r.jsx)(c.P.CirclePlay,{size:u?24:48}),(0,r.jsx)("h3",{children:n("common:watchVideo")})]}),content:(0,r.jsxs)(m.iU,{children:[(0,r.jsxs)(o.T,{children:[(0,r.jsx)(l.$N,{children:n("common:watchVideo")}),(0,r.jsx)(l.Be,{children:t})]}),(0,r.jsx)("iframe",{width:"100%",height:"100%",src:t,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})]})})})}},26017:function(e,t,n){"use strict";n.d(t,{iU:function(){return s},u5:function(){return c},uf:function(){return a}});var r=n(82729),i=n(12854),l=n(85444),o=n(53182);
1function _templateObject(){let e=(0,r._)(["\n  position: fixed;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  width: 900px;\n  height: 509px;\n  animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n  z-index: 100;\n\n  @media "," {\n    width: 700px;\n    height: 411px;\n  }\n\n  @media "," {\n    width: calc(100vw - 100px);\n    height: calc(calc(100vw - 100px) / 1.77);\n  }\n\n  @media "," {\n    width: calc(100vw - 20px);\n    height: calc(calc(100vw - 20px) / 1.77);\n  }\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"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n  display: flex;\n  align-items: center;\n  column-gap: ",";\n  margin-left: -",";\n  color: ",";\n  transition: ",";\n  width: 420px;\n  max-width: calc(90vw - 24px);\n\n  svg {\n    min-width: 48px;\n    min-height: 48px;\n    width: 48px;\n    height: 48px;\n  }\n\n  h3 {\n    text-align: left;\n\n    @media "," {\n      font-size: ",";\n    }\n  }\n\n  &:hover {\n    color: ",";\n\n    > svg {\n      color: ",";\n      transform: scaleX(-1);\n    }\n  }\n\n  @media "," {\n    font-size: ",";\n    margin-top: 0;\n  }\n\n  @media "," {\n    font-size: ",";\n    margin-top: 0;\n    transition: none;\n\n    svg {\n      min-width: 24px;\n      min-height: 24px;\n      width: 24px;\n      height: 24px;\n    }\n  }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n  z-index: 91;\n  background-color: rgba(0, 0, 0, 0.9);\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 _templateObject2=function(){return e},e}let s=(0,l.ZP)(i.cZ).withConfig({componentId:"sc-5386103c-0"})(_templateObject(),o.Hb.desktop,o.Hb.tablet,o.Hb.mobile),a=l.ZP.button.withConfig({componentId:"sc-5386103c-1"})(_templateObject1(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.spacing.xx_small},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.transitions.regular},o.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.primary},o.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.small},o.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.x_small}),c=(0,l.ZP)(i.t9).withConfig({componentId:"sc-5386103c-2"})(_templateObject2())},94545:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r,i,l=n(19692);(r=i||(i={})).GenerateLead="generate_lead",r.JobApplicationSubmitted="job_application_submitted",r.NewsletterSubscribed="newsletter_subscribed",r.NewsletterUnsubscribed="newsletter_unsubscribed";let o={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})}}},47552:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return ny},default:function(){return nO}});var r,i,l,o,s=n(85893),a=n(67294),c=n(37303),d=n(2962),m=n(9008),u=n.n(m),p=n(11163),g=n(53182),h=n(5826),x=n(19692);(r=l||(l={})).OwnerCtaClicked="owner_cta_clicked",r.PackageTermSelected="package_term_selected",r.PackageSelected="package_selected";let f={OwnerCtaClicked:e=>{(0,x.sendGTMEvent)({event:"owner_cta_clicked",...e})},PackageTermSelected:e=>{(0,x.sendGTMEvent)({event:"package_term_selected",...e})},PackageSelected:e=>{(0,x.sendGTMEvent)({event:"package_selected",...e})}};var b=n(82729),_=n(85444);function _templateObject(){let e=(0,b._)(["\n  background: ",";\n  color: ",";\n  width: 250px;\n  border-radius: 25px;\n  font-size: ",";\n  padding: ",";\n\n  @media "," {\n    margin: ",";\n    margin-bottom: ",";\n    height: 50px;\n    width: 320px;\n    max-width: calc(100vw - 100px);\n  }\n"]);
1return _templateObject=function(){return e},e}let j=_.ZP.button.withConfig({componentId:"sc-ef92f1d0-0"})(_templateObject(),e=>{let{theme:t}=e;return t.colors.secondary},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.spacing.small},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.large});var RevenueButton_RevenueButton=e=>{let{onClick:t,placement:n}=e,{t:r}=(0,c.$G)(),{pathname:i}=(0,p.useRouter)();return(0,s.jsx)(j,{onClick:()=>{f.OwnerCtaClicked({cta:"profitability_study",placement:n,screen:i}),t()},children:r("owner:revenueButton")})},w=n(15329),y=n(2206),O=n(28477),v=n(12854),S=n(96219),k=n(80258),C=n(52464);let P={address:"",email:"",fullName:"",location:"",numApartments:1,numBedrooms:0,phoneCode:"",phoneNumber:"",referralSource:"",referralSourceOther:"",termsAndConditions:!1,receiveNewsletter:!1},z=(0,C.F)()(e=>({owner:P,resetOwner:()=>e(()=>({owner:P})),setOwner:t=>e(e=>({...e,owner:{...e.owner,...t}}))}));function styles_templateObject(){let e=(0,b._)(["\n  position: absolute;\n  font-size: ",";\n  background: "," 0% 0% no-repeat\n    padding-box;\n  box-shadow: ",";\n  color: ",";\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  border-radius: 100%;\n  width: 80px;\n  height: 80px;\n  top: -20px;\n  right: -20px;\n  z-index: 1;\n"]);return styles_templateObject=function(){return e},e}function _templateObject1(){let e=(0,b._)(["\n  font-size: ",";\n  font-weight: ",";\n"]);return _templateObject1=function(){return e},e}let T=_.ZP.div.withConfig({componentId:"sc-8c55dabf-0"})(styles_templateObject(),e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.colors.secondary},e=>{let{theme:t}=e;return"inset ".concat(t.shadows.boxShadow," 0px 15px 9px ").concat(t.shadows.color)},e=>{let{theme:t}=e;return t.colors.white}),I=_.ZP.span.withConfig({componentId:"sc-8c55dabf-1"})(_templateObject1(),e=>{let{theme:t}=e;return t.fontSizes.large},e=>{let{theme:t}=e;return t.weights.bold}),OfferBalloon=()=>(0,s.jsx)(T,{children:(0,s.jsx)(c.cC,{i18nKey:"owner:form.earnMore",components:{highlight:(0,s.jsx)(I,{})}})});var H=n(87536),Z=n(56312),B=n(1604),N=n(51515),L=n(76248),K=n(27049),M=n(27631),F=n(83425),V=n(85572);let D=(0,C.F)()(e=>({selectedPackages:[],setSelectedPackages:t=>e(e=>({...e,selectedPackages:[...t]}))}));var E=n(55839);let A=B.z.object({address:B.z.string().min(2),location:B.z.string().min(1),numApartments:B.z.number().gt(0),numBedrooms:B.z.number(),referralSource:B.z.string().min(1),referralSourceOther:B.z.string().optional()}).superRefine((e,t)=>{let{referralSource:n,referralSourceOther:r}=e;"other"!==n||r&&""!==r.trim()||t.addIssue({code:"custom",message:"common:messages.requiredField",path:["referralSourceOther"]})}),R=B.z.object({fullName:B.z.string().min(2),email:B.z.string().min(1).email(),phoneCountryId:B.z.string().min(1),phoneCode:B.z.string().min(1),phoneNumber:B.z.string().min(1),termsAndConditions:B.z.literal(!0,{errorMap:()=>({message:"owner:form.acceptTerms"})}),receiveNewsletter:B.z.boolean().optional()}).superRefine((e,t)=>{let{phoneCountryId:n,phoneNumber:r}=e;(0,E.B)(r,n)||t.addIssue({code:"custom",message:"common:messages.invalidPhone",path:["phoneNumber"]})});var G=n(46069);function Steps_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  height: calc(100% - 32px);\n  justify-content: space-between;\n\n  h1 {\n    font-size: ",";\n    margin-bottom: ",";\n  }\n\n  h2 {\n    font-size: ",";\n    margin: ",";\n    padding-bottom: ",";\n    border-bottom: 1px solid ",";\n  }\n\n  @media "," {\n    max-height: 100%;\n\n    h1 {\n      font-size: ",";\n    }\n\n    // this was added to prevent the zoom on the field.\n    // ios will zoom-in if the text size is smaller than 16px.\n    input {\n      font-size: 16px !important;\n    }\n  }\n"]);return Steps_styles_templateObject=function(){return e},e}function styles_templateObject1(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  overflow-y: auto;\n  padding-bottom: ",";\n  overflow: visible;\n\n  &.centered {\n    height: 100%;\n    justify-content: center;
1\n    align-items: center;\n  }\n\n  &.success {\n    padding-top: ",";\n  }\n\n  .error {\n    position: absolute;\n    bottom: -12px;\n    font-size: 1rem;\n  }\n\n  .phoneCode {\n    position: relative;\n    height: 65px;\n\n    .error {\n      bottom: -7px;\n    }\n  }\n"]);return styles_templateObject1=function(){return e},e}function _templateObject2(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  overflow-y: auto;\n  padding: ",";\n\n  .selected {\n    z-index: 200;\n  }\n\n  &.opened {\n    min-height: 360px;\n  }\n\n  .error {\n    position: absolute;\n    bottom: -12px;\n    font-size: 1rem;\n  }\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,b._)(["\n  display: flex;\n  column-gap: ",";\n  margin-top: ",";\n\n  .error {\n    margin-top: ",";\n    margin-left: 0;\n  }\n\n  @media "," {\n    flex-direction: column;\n    row-gap: ",";\n  }\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,b._)(["\n  color: ",";\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n  max-width: 150px;\n  gap: ",";\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,b._)(["\n  width: 30px;\n  height: 30px;\n  line-height: 30px;\n  border-radius: 50%;\n  transition: all 300ms;\n  cursor: pointer;\n  text-align: center;\n  background-color: transparent;\n  color: ",";\n  font-size: ",";\n  box-shadow: ",";\n\n  &:hover {\n    background-color: ",";\n    color: ",";\n  }\n\n  &[disabled] {\n    background-color: transparent;\n    color: ",";\n  }\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,b._)(["\n  border: none;\n  width: 20%;\n  text-align: center;\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  margin-left: ",";\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,b._)(["\n  display: block;\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  margin-bottom: ",";\n\n  &:after {\n    content: '*';\n    color: ",";\n  }\n"]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,b._)(["\n  height: 35px;\n  min-height: 35px;\n  padding: ",";\n  font-size: ",";\n  font-weight: ",";\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n"]);return _templateObject10=function(){return e},e}function _templateObject11(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n\n  .container {\n    @media "," {\n      flex-direction: row;\n      column-gap: ",";\n    }\n  }\n\n  .button {\n    ","\n  }\n"]);return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,b._)(["\n  display: flex;\n  justify-content: space-between;\n  padding-top: ",";\n\n  button {\n    text-transform: capitalize;\n    min-height: 35px;\n    max-height: 35px;\n    font-size: ",";\n    font-weight: ",";\n    padding: ",";\n\n    &.wide {\n      width: 100%;\n    }\n  }\n\n  .button {\n    ","\n  }\n\n  @media "," {\n    flex-direction: column-reverse;\n    row-gap: ",";\n  }\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  row-gap: ",";\n  margin-top: ",";\n"]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  row-gap: ",";\n  position: relative;\n\n  .error {\n    margin-left: 30px;\n    bottom: -22px;\n  }\n"]);return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n  margin-left: ",";\n  column-gap: ",";\n  font-size: ",";\n\n  span {\n    font-size: ",";\n  }\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){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: 50%;\n  border: 1px solid ",";\n\n  &[data-state='checked'] {\n    border-color: ",";\n  }\n"]);
1return _templateObject16=function(){return e},e}function _templateObject17(){let e=(0,b._)(["\n  color: ",";\n  margin-top: ",";\n\n  &[data-state='checked'] {\n    width: 10px;\n    height: 10px;\n    border-radius: 50%;\n    background-color: ",";\n    margin-bottom: ",";\n  }\n"]);return _templateObject17=function(){return e},e}function _templateObject18(){let e=(0,b._)(["\n  display: flex;\n  flex-wrap: wrap;\n  margin-top: ",";\n  font-weight: ",";\n  column-gap: ",";\n\n  span {\n    text-transform: capitalize;\n    font-size: ",";\n  }\n\n  h3 {\n    font-size: ",";\n  }\n"]);return _templateObject18=function(){return e},e}let W=_.ZP.form.withConfig({componentId:"sc-51679a69-0"})(Steps_styles_templateObject(),e=>{let{theme:t}=e;return t.fontSizes.xx_large},e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return"".concat(t.spacing.middle," 0 ").concat(t.spacing.large," 0")},e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.colors.grey2},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.large}),$=_.ZP.div.withConfig({componentId:"sc-51679a69-1"})(styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.xx_large}),q=_.ZP.div.withConfig({componentId:"sc-51679a69-2"})(_templateObject2(),e=>{let{theme:t}=e;return"0 1px ".concat(t.spacing.medium)}),J=_.ZP.div.withConfig({componentId:"sc-51679a69-3"})(_templateObject3(),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.middle},g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.middle}),U=_.ZP.span.withConfig({componentId:"sc-51679a69-4"})(_templateObject4(),e=>{let{theme:t}=e;return t.colors.primary}),Q=_.ZP.div.withConfig({componentId:"sc-51679a69-5"})(_templateObject5(),e=>{let{theme:t}=e;return t.spacing.x_small}),Y=_.ZP.button.withConfig({componentId:"sc-51679a69-6"})(_templateObject6(),e=>{let{theme:t}=e;return t.colors.grey2},e=>{let{theme:t}=e;return t.fontSizes.large},e=>{let{theme:t}=e;return t.shadows.boxShadow},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.grey2}),X=_.ZP.input.withConfig({componentId:"sc-51679a69-7"})(_templateObject7()),ee=_.ZP.div.withConfig({componentId:"sc-51679a69-8"})(_templateObject8(),e=>{let{theme:t}=e;return t.spacing.middle}),et=_.ZP.label.withConfig({componentId:"sc-51679a69-9"})(_templateObject9(),e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small},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.colors.danger}),en=(0,_.iv)(_templateObject10(),e=>{let{theme:t}=e;return"".concat(t.spacing.small," ").concat(t.spacing.xx_large)},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.weights.semiBold}),er=_.ZP.div.withConfig({componentId:"sc-51679a69-10"})(_templateObject11(),g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.small},en),ei=_.ZP.div.withConfig({componentId:"sc-51679a69-11"})(_templateObject12(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return"".concat(t.spacing.small," ").concat(t.spacing.xx_large)},en,g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.small}),el=_.ZP.div.withConfig({componentId:"sc-51679a69-12"})(_templateObject13(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.medium}),eo=_.ZP.div.withConfig({componentId:"sc-51679a69-13"})(_templateObject14(),e=>{let{theme:t}=e;return t.spacing.x_small}),es=_.ZP.div.withConfig({componentId:"sc-51679a69-14"})(_templateObject15(),e=>{let{theme:t}=e;return t.spacing.small},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}),ea=(0,_.ZP)(G.fC).withConfig({componentId:"sc-51679a69-15"})(_templateObject16(),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.primary}),ec=(0,_.ZP)(G.z$).withConfig({componentId:"sc-51679a69-16"}
1)(_templateObject17(),e=>{let{theme:t}=e;return t.colors.primary},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.spacing.x_small}),ed=_.ZP.div.withConfig({componentId:"sc-51679a69-17"})(_templateObject18(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.fontSizes.middle}),em={essential:g.TV.colors.primary,essentialPremium:g.TV.colors.primary,smart:g.TV.colors.text,concierge:g.TV.colors.grey},Step1=e=>{let{goToStep:t,onCloseForm:n,opened:r,isLoading:i}=e,{t:l}=(0,c.$G)(),o=(0,a.useRef)(null),[d,m]=(0,a.useState)(""),{owner:u,setOwner:p}=z(e=>({owner:e.owner,setOwner:e.setOwner}),L.X),g=D(e=>e.selectedPackages);B.z.setErrorMap((0,N.y)({t:l}));let h=Object.entries(l("owner:form.referralOptions",{returnObjects:!0})).map(e=>{let[t,n]=e;return{value:t,label:n}}),{control:x,handleSubmit:f,setValue:b,formState:{errors:_,dirtyFields:j,isSubmitting:w}}=(0,H.cI)({resolver:(0,Z.F)(A),defaultValues:u.address?u:{}});(0,a.useEffect)(()=>{u.referralSource&&m(u.referralSource)},[u.referralSource]);let onSubmit=async e=>{p(e),t(1)},onChangeReferralSource=(e,t)=>{e(t.value),m(t.value),"other"!==t.value&&(b("referralSourceOther",""),p({referralSourceOther:""}))};return(0,s.jsxs)(W,{onSubmit:f(onSubmit),children:[(0,s.jsxs)(q,{ref:o,className:r?"opened":"",children:[(0,s.jsx)("h1",{children:(0,s.jsx)(c.cC,{i18nKey:"owner:form.formTitle",components:{highlight:(0,s.jsx)(U,{})}})}),(0,s.jsx)("h2",{children:l("owner:form.apartmentDetails")}),(0,s.jsx)(H.Qr,{control:x,name:"address",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,s.jsx)(F.I,{ref:n,type:"text",variant:"floating",label:l("owner:form.address"),placeholder:l("owner:form.addressPlaceholder"),defaultValue:u.address,errorMessage:_.address&&_.address.message,isValid:!_.address,isRequired:!0,showValidationIcon:j.address||!!_.address,onChange:e=>t(e.target.value),disabled:i})}}),(0,s.jsx)(H.Qr,{control:x,name:"location",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,s.jsx)(F.I,{ref:n,type:"text",variant:"floating",label:l("owner:form.location"),placeholder:l("owner:form.locationPlaceholder"),defaultValue:u.location,errorMessage:_.location&&_.location.message,isValid:!_.location,isRequired:!0,showValidationIcon:j.location||!!_.location,onChange:e=>t(e.target.value),disabled:i})}}),(0,s.jsx)(H.Qr,{control:x,name:"referralSource",render:e=>{var t,n;let{field:{onChange:r,value:o,ref:a}}=e;return(0,s.jsx)(V.P,{isDisabled:i,ref:a,id:"referralSource",variant:"floating",label:l("owner:form.referralSource"),placeholder:l("owner:form.referralSourcePlaceholder"),items:h,value:o?{value:o,label:(null===(t=h.find(e=>e.value===o))||void 0===t?void 0:t.label)||""}:void 0,onChange:e=>onChangeReferralSource(r,e),hasError:!!_.referralSource,errorMessage:(null===(n=_.referralSource)||void 0===n?void 0:n.message)&&l(_.referralSource.message),isRequired:!0,menuPortalTarget:document.body,"data-testid":"referral-source-select"})}}),"other"===d&&(0,s.jsx)(H.Qr,{control:x,name:"referralSourceOther",render:e=>{var t,n;let{field:{onChange:r,ref:o}}=e;return(0,s.jsx)(F.I,{ref:o,type:"text",variant:"floating",label:l("owner:form.referralSourceOther"),placeholder:l("owner:form.referralSourceOtherPlaceholder"),errorMessage:_.referralSource&&!_.referralSourceOther?l("common:messages.requiredField"):l(null!==(n=null===(t=_.referralSourceOther)||void 0===t?void 0:t.message)&&void 0!==n?n:""),isValid:!_.referralSourceOther,showValidationIcon:!!_.referralSourceOther,isRequired:!0,onChange:e=>r(e.target.value),"data-testid":"referral-source-other-input",disabled:i})}}),(0,s.jsxs)(J,{children:[(0,s.jsx)(H.Qr,{control:x,name:"numApartments",defaultValue:u.numApartments,render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,s.jsxs)(ee,{children:[(0,s.jsx)(et,{children:l("owner:form.numberApartments")}),(0,s.jsxs)(Q,{children:[(0,s.jsx)(Y,{type:"button",disabled:u.numApartments<=1,"data-testid":"decrease-button-properties",onClick:()=>{p({numApartments:u.numApartments-1}),t(u.numApartments-1)},children:"-"}),(0,s.jsx)(X,{ref:n,type:"text",readOnly:!0,value:u.numApartments,"data-testid":"input-properties"}),(0,s.jsx)(Y,{type:"button","data-testid":"increase-button-properties",disabled:i,onClick:()=>{p({numApartments:u.numApartments+1}),t(u.numApartments+1)},children:"+"})]}),_.numApartments&&_.numApartments.message&&(0,s.jsx)(M.B,{className:"error",message:_.numApartments.message})]})}}),(0,s.jsx)(H.Qr,{control:x,name:"numBedrooms",defaultValue:u.numBedrooms,render:e=>
1{let{field:{onChange:t,ref:n}}=e;return(0,s.jsxs)(ee,{children:[(0,s.jsx)(et,{children:l("owner:form.numberBedrooms")}),(0,s.jsxs)(Q,{children:[(0,s.jsx)(Y,{type:"button",disabled:u.numBedrooms<=0,"data-testid":"decrease-button-bedrooms",onClick:()=>{p({numBedrooms:u.numBedrooms-1}),t(u.numBedrooms-1)},children:"-"}),(0,s.jsx)(X,{ref:n,type:"text",readOnly:!0,value:u.numBedrooms,"data-testid":"input-bedrooms"}),(0,s.jsx)(Y,{type:"button","data-testid":"increase-button-bedrooms",disabled:i,onClick:()=>{p({numBedrooms:u.numBedrooms+1}),t(u.numBedrooms+1)},children:"+"})]}),_.numBedrooms&&_.numBedrooms.message&&(0,s.jsx)(M.B,{className:"error",message:_.numBedrooms.message})]})}})]}),g.length>0&&(0,s.jsxs)(ed,{children:[(0,s.jsxs)("h3",{children:[l("owner:form.selectedPackages"),":"]}),g.map(e=>(0,s.jsx)("span",{style:{color:em[e]},children:e},e)).reduce((e,t,n)=>[e,(0,s.jsx)("span",{children:"+"},n),t])]})]}),(0,s.jsxs)(ei,{children:[!r&&(0,s.jsx)(K.z,{variant:"tertiary",text:l("common:close"),type:"button",className:"button",onClick:()=>n(!1)}),(0,s.jsx)(K.z,{variant:"primary",text:l("common:send"),className:"".concat(r?"wide":""),disabled:w||i,type:"submit"})]})]})};var eu=n(25675),ep=n.n(eu),eg=n(34995);let Step2=e=>{let{goToStep:t}=e,{t:n}=(0,c.$G)();return(0,a.useEffect)(()=>{let e=setInterval(()=>{t(2)},2e3);return()=>clearInterval(e)},[t]),(0,s.jsxs)(W,{children:[(0,s.jsx)("h1",{children:(0,s.jsx)(c.cC,{i18nKey:"owner:form.almostReady",components:{highlight:(0,s.jsx)(U,{}),br:(0,s.jsx)("br",{})}})}),(0,s.jsx)($,{className:"centered",children:(0,s.jsx)(ep(),{src:eg.Z,alt:n("common:loading"),width:75,height:75})})]})},Step3=e=>{let{goToStep:t}=e,{t:n}=(0,c.$G)();return(0,a.useEffect)(()=>{let e=setInterval(()=>{t(3)},2e3);return()=>clearInterval(e)},[t]),(0,s.jsxs)(W,{children:[(0,s.jsx)("h1",{children:(0,s.jsx)(c.cC,{i18nKey:"owner:form.missingContact",components:{highlight:(0,s.jsx)(U,{}),br:(0,s.jsx)("br",{})}})}),(0,s.jsx)($,{className:"centered",children:(0,s.jsx)(ep(),{src:eg.Z,alt:n("common:loading"),width:75,height:75})})]})};var eh=n(94545),ex=n(81002),ef=n(70778),eb=n(47689),e_=n(62195),ej=n(48228),ew=n(13009),ey=n(48303),eO=n(89206),ev=n(56420);let fetchOwnerSections=async e=>{let t={},n="/owner-sections?locale=".concat(e,"&populate=deep");try{var r,i;let{data:e}=await ev.V.get(n);return(e.data||[]).forEach(e=>{let{attributes:n}=e;t[n.sectionName]=n.section}),{hero:t.hero[0],differentials:t.differentials,keyServices:t["key-services"][0],landlords:t.landlords[0],packages:t.packages[0],seo:null!==(i=null===(r=t.seo)||void 0===r?void 0:r[0])&&void 0!==i?i:null}}catch(e){return(0,eO.S)({error:e,endpoint:n})}},simulateRevenue=async e=>{let t="/simulator";try{let{data:n}=await ey.Z.post(t,e);return n}catch(e){(0,eO.S)({error:e,method:"POST",endpoint:t})}},useOwnerSimulatorMutation=()=>(0,ej.D)({mutationFn:e=>simulateRevenue(e),onError:()=>(0,ew.U)()}),Step4=e=>{var t,n;let{goToStep:r,onCloseForm:i,opened:l}=e,{t:o}=(0,c.$G)();B.z.setErrorMap((0,N.y)({t:o}));let[d,m]=(0,a.useState)(!1),{owner:u,setOwner:p}=z(e=>({owner:e.owner,setOwner:e.setOwner}),L.X),{control:g,handleSubmit:h,register:x,setValue:f,formState:{errors:b,dirtyFields:_,isSubmitting:j,isDirty:w}}=(0,H.cI)({resolver:(0,Z.F)(R),defaultValues:u.fullName?u:{}}),{mutate:y,isSuccess:O,isLoading:v}=useOwnerSimulatorMutation();(0,a.useEffect)(()=>{O&&(eh.m.GenerateLead({lead_type:"owner",screen:e_.Z6.owner}),r(4))},[r,O]);let onSubmit=async e=>{p(e);let t=(0,eb.s)({...u,...e});y(t),m(!0),setTimeout(()=>{m(!1)},2e3)};return(0,s.jsxs)(W,{onSubmit:h(onSubmit),children:[(0,s.jsxs)($,{children:[(0,s.jsx)("h1",{children:(0,s.jsx)(c.cC,{i18nKey:"owner:form.formTitle",components:{highlight:(0,s.jsx)(U,{})}})}),(0,s.jsx)("h2",{children:o("owner:form.contactDetails")}),(0,s.jsx)(H.Qr,{control:g,name:"fullName",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,s.jsx)(F.I,{ref:n,type:"text",variant:"floating",label:o("owner:form.fullName"),defaultValue:u.fullName,placeholder:o("owner:form.fullNamePlaceholder"),errorMessage:b.fullName&&b.fullName.message,isValid:!b.fullName,showValidationIcon:_.fullName||!!b.fullName,isRequired:!0,onChange:e=>t(e.target.value)})}}),(0,s.jsx)(H.Qr,{control:g,name:"email",render:e=>
1{let{field:{onChange:t,ref:n}}=e;return(0,s.jsx)(F.I,{ref:n,type:"email",variant:"floating",label:o("owner:form.email"),defaultValue:u.email,placeholder:o("owner:form.emailPlaceholder"),errorMessage:b.email&&b.email.message,isValid:!b.email,showValidationIcon:_.email||!!b.email,isRequired:!0,onChange:e=>t(e.target.value),"data-testid":"email-input"})}}),(0,s.jsx)(ex.B,{isRequired:!0,variant:"floating",errorMessage:b.phoneCode?o("common:messages.requiredField"):o(null!==(n=null===(t=b.phoneNumber)||void 0===t?void 0:t.message)&&void 0!==n?n:""),...x("phoneNumber"),countryCodeProps:x("phoneCode"),handleChange:e=>{let{normalizedNationalPhoneNumber:t,countryCode:n,phoneCountryId:r}=e;f("phoneNumber",t,ex.I),f("phoneCode",n,ex.I),f("phoneCountryId",r)}}),(0,s.jsxs)(el,{children:[(0,s.jsx)(H.Qr,{control:g,name:"termsAndConditions",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,s.jsxs)(eo,{children:[(0,s.jsxs)(es,{children:[(0,s.jsx)(ea,{ref:n,id:"termsAndCondition","data-testid":"termsAndCondition-checkbox",onCheckedChange:t,defaultChecked:u.termsAndConditions,children:(0,s.jsx)(ec,{})}),(0,s.jsx)("span",{children:(0,s.jsx)(c.cC,{i18nKey:"common:agreeTermsAndConditions",components:{terms:(0,s.jsx)(ef.K,{})}})})]}),b.termsAndConditions&&b.termsAndConditions.message&&(0,s.jsx)(M.B,{className:"error",message:o(b.termsAndConditions.message)})]})}}),(0,s.jsx)(H.Qr,{control:g,name:"receiveNewsletter",render:e=>{let{field:{onChange:t,ref:n}}=e;return(0,s.jsxs)(es,{children:[(0,s.jsx)(ea,{id:"receiveNewsletter",onCheckedChange:t,ref:n,children:(0,s.jsx)(ec,{})}),(0,s.jsx)("span",{children:(0,s.jsx)(c.cC,{i18nKey:"owner:form.agreeReceiveEmails",components:{highlight:(0,s.jsx)(U,{})}})})]})}})]})]}),l?(0,s.jsxs)(ei,{className:"container",children:[(0,s.jsx)(K.z,{variant:"tertiary",text:o("common:back"),type:"button",className:"button",disabled:v,onClick:()=>r(0)}),(0,s.jsx)(K.z,{variant:"primary",text:o("common:send"),className:"button",disabled:j||!w||v||d,isLoading:v,type:"submit","data-testid":"submit-button"})]}):(0,s.jsxs)(er,{children:[(0,s.jsx)(K.z,{variant:"primary",text:o("common:send"),className:"button",disabled:v,isLoading:v,type:"submit"}),(0,s.jsxs)(ei,{className:"container",children:[(0,s.jsx)(K.z,{variant:"tertiary",text:o("common:back"),type:"button",className:"button",disabled:v,onClick:()=>r(0),isLoading:v}),(0,s.jsx)(K.z,{variant:"tertiary",text:o("common:closeForm"),type:"button",className:"button",disabled:v,onClick:()=>i(!1)})]})]})]})};var eS=n(99122);let Step5=e=>{let{onCloseForm:t}=e,{t:n}=(0,c.$G)();return(0,a.useEffect)(()=>{let e=setInterval(()=>{t(!1)},4e3);return()=>clearInterval(e)},[t]),(0,s.jsx)(W,{children:(0,s.jsx)($,{className:"centered success",children:(0,s.jsx)(eS.k,{title:n("owner:form.successMessage.thankYou"),subtitle:n("owner:form.successMessage.message")})})})};function forms_styles_templateObject(){let e=(0,b._)(["\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  max-width: 90vw;\n  width: 450px;\n  height: 600px;\n  max-height: 90vh;\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"]);return forms_styles_templateObject=function(){return e},e}function forms_styles_templateObject1(){let e=(0,b._)(["\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 forms_styles_templateObject1=function(){return e},e}function styles_templateObject2(){let e=(0,b._)(["\n  display: flex;\n  column-gap: ",";\n  margin-bottom: ",";\n"]);
1return styles_templateObject2=function(){return e},e}function styles_templateObject3(){let e=(0,b._)(["\n  width: 18px;\n  height: 18px;\n  border-radius: 50%;\n  background: #e8e8e8 0% 0% no-repeat padding-box;\n  box-shadow: inset ",";\n\n  &.filled {\n    background: #42aaa7 0% 0% no-repeat padding-box;\n  }\n"]);return styles_templateObject3=function(){return e},e}function styles_templateObject4(){let e=(0,b._)(["\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: absolute;\n  top: 15%;\n  right: 300px;\n  width: 450px;\n  max-width: 90vw;\n  height: 600px;\n  padding: ",";\n  z-index: 80;\n\n  @media (max-width: 1400px) {\n    right: 150px;\n  }\n\n  @media "," {\n    top: 110px;\n    right: 64px;\n  }\n\n  @media "," {\n    right: 40px;\n    top: 110px;\n  }\n"]);return styles_templateObject4=function(){return e},e}let ek=(0,_.ZP)(v.VY).withConfig({componentId:"sc-3b4d69d0-0"})(forms_styles_templateObject(),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.medium}),eC=(0,_.ZP)(v.aV).withConfig({componentId:"sc-3b4d69d0-1"})(forms_styles_templateObject1()),eP=_.ZP.div.withConfig({componentId:"sc-3b4d69d0-2"})(styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.medium}),ez=_.ZP.div.withConfig({componentId:"sc-3b4d69d0-3"})(styles_templateObject3(),e=>{let{theme:t}=e;return t.shadows.boxShadow}),eT=_.ZP.div.withConfig({componentId:"sc-3b4d69d0-4"})(styles_templateObject4(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.xxx_large},e=>{let{theme:t}=e;return t.spacing.large},g.Hb.x_desktop,g.Hb.desktop);var forms_Form=e=>{let{step:t,setStep:n,onCloseForm:r,opened:i=!1,isLoading:l}=e,o={0:(0,s.jsx)(Step1,{goToStep:n,onCloseForm:r,opened:i,isLoading:l}),1:(0,s.jsx)(Step2,{goToStep:n}),2:(0,s.jsx)(Step3,{goToStep:n}),3:(0,s.jsx)(Step4,{goToStep:n,onCloseForm:r,opened:i}),4:(0,s.jsx)(Step5,{onCloseForm:r})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(OfferBalloon,{}),t<4&&(0,s.jsxs)(eP,{children:[(0,s.jsx)(ez,{className:"filled"}),(0,s.jsx)(ez,{className:t>0?"filled":""}),(0,s.jsx)(ez,{className:3===t?"filled":""})]}),o[t]]})},forms_DialogOwnerForm=e=>{let{triggerButton:t}=e,{t:n}=(0,c.$G)(),[r,i]=(0,a.useState)(0),[l,o]=(0,a.useState)(!1),d=z(e=>e.resetOwner),onCloseForm=e=>{o(e),e||(i(0),d())};return(0,s.jsx)(k.V,{trigger:t,overlay:(0,s.jsx)(eC,{}),onOpenChange:onCloseForm,open:l,content:(0,s.jsxs)(ek,{"data-testid":"owner-form-dialog",children:[(0,s.jsxs)(S.T,{children:[(0,s.jsx)(v.$N,{children:n("owner:form.formTitle")}),(0,s.jsx)(v.Be,{children:n("owner:form.apartmentDetails")})]}),(0,s.jsx)(forms_Form,{onCloseForm:onCloseForm,step:r,setStep:i})]})})},eI=n(64704),eH=n(79362);function LandlordsNumber_styles_templateObject(){let e=(0,b._)(["\n  width: 100%;\n  max-width: ",";\n  height: 100%;\n  display: flex;\n  gap: ",";\n  align-items: center;\n  justify-content: center;\n  background-color: ",";\n  position: relative;\n  padding: ",";\n  scroll-margin-top: 100px;\n\n  @media "," {\n    flex-direction: column-reverse;\n    gap: ",";\n    margin-top: ",";\n  }\n\n  @media "," {\n    gap: ",";\n  }\n"]);return LandlordsNumber_styles_templateObject=function(){return e},e}function LandlordsNumber_styles_templateObject1(){let e=(0,b._)(["\n  width: 60%;\n  height: 490px;\n  display: flex;\n  justify-content: flex-end;\n  align-items: center;\n  position: relative;\n  background-image: url('","/imgs/owner/landlord-numbers-background.png');\n  background-size: contain;\n  background-position: left;\n  background-repeat: no-repeat;\n\n  @media "," {\n    width: 100%;\n  }\n\n  @media "," {\n    height: 280px;\n  }\n"]);return LandlordsNumber_styles_templateObject1=function(){return e},e}function LandlordsNumber_styles_templateObject2(){let e=(0,b._)(["\n  position: relative;\n  right: 40px;\n  width: auto;\n  text-align: left;\n  display: flex;\n  flex-direction: column;\n  width: 280px;\n\n  div {\n    display: flex;\n    justify-content: space-between;\n    gap: ",";\n    margin-bottom: ",";\n  }\n\n  > button {\n    margin-top: ",";\n  }\n\n  @media "," {\n    right: 0;\n  }\n\n  @media "," {\n    top: -30px;\n    width: 225px;\n\n    div {\n      margin-bottom: ",";\n    }\n  }\n"]);
1return LandlordsNumber_styles_templateObject2=function(){return e},e}function LandlordsNumber_styles_templateObject3(){let e=(0,b._)(["\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  margin-bottom: ",";\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return LandlordsNumber_styles_templateObject3=function(){return e},e}function LandlordsNumber_styles_templateObject4(){let e=(0,b._)(["\n  color: ",";\n  font-size: ",";\n"]);return LandlordsNumber_styles_templateObject4=function(){return e},e}function styles_templateObject5(){let e=(0,b._)(["\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n"]);return styles_templateObject5=function(){return e},e}function styles_templateObject6(){let e=(0,b._)(["\n  width: 40%;\n  display: flex;\n  flex-direction: column;\n  text-align: left;\n\n  @media "," {\n    width: 100%;\n  }\n\n  .sectionTitle {\n    max-width: 405px;\n\n    @media "," {\n      max-width: 250px;\n    }\n\n    @media "," {\n      max-width: 350px;\n    }\n\n    @media "," {\n      max-width: 215px;\n    }\n  }\n"]);return styles_templateObject6=function(){return e},e}function styles_templateObject7(){let e=(0,b._)(["\n  font-size: ",";\n  line-height: ",";\n  color: ",";\n  text-align: left;\n"]);return styles_templateObject7=function(){return e},e}function styles_templateObject8(){let e=(0,b._)(["\n  font-size: ",";\n  margin-top: ",";\n\n  @media "," {\n    margin-top: 0;\n    width: 100%;\n  }\n"]);return styles_templateObject8=function(){return e},e}let eZ=_.ZP.div.withConfig({componentId:"sc-a1e6f580-0"})(LandlordsNumber_styles_templateObject(),e=>{let{theme:t}=e;return t.baseContentWidth},e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.large},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.xx_large},g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.middle}),eB=_.ZP.div.withConfig({componentId:"sc-a1e6f580-1"})(LandlordsNumber_styles_templateObject1(),eH.Mx,g.Hb.tablet,g.Hb.mobile),eN=(0,_.ZP)(eI.x).withConfig({componentId:"sc-a1e6f580-2"})(LandlordsNumber_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.medium},g.Hb.desktop,g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.small}),eL=_.ZP.p.withConfig({componentId:"sc-a1e6f580-3"})(LandlordsNumber_styles_templateObject3(),e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.medium},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.small}),eK=_.ZP.p.withConfig({componentId:"sc-a1e6f580-4"})(LandlordsNumber_styles_templateObject4(),e=>{let{theme:t}=e;return t.colors.grey},e=>{let{theme:t}=e;return t.fontSizes.small}),eM=_.ZP.p.withConfig({componentId:"sc-a1e6f580-5"})(styles_templateObject5(),e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.weights.bold}),eF=_.ZP.div.withConfig({componentId:"sc-a1e6f580-6"})(styles_templateObject6(),g.Hb.tablet,g.Hb.desktop,g.Hb.tablet,g.Hb.mobile),eV=_.ZP.p.withConfig({componentId:"sc-a1e6f580-7"})(styles_templateObject7(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.fontSizes.x_large},e=>{let{theme:t}=e;return t.colors.grey});(0,_.ZP)(K.z).withConfig({componentId:"sc-a1e6f580-8"})(styles_templateObject8(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.spacing.medium},g.Hb.mobile);let LandlordsNumber=e=>{let{section:t,isLoading:n}=e,r=(0,a.useRef)(null),i=(0,O.Z)(g.Hb.tablet),{t:l}=(0,c.$G)(),onOpenForm=()=>{if(i){var e;null===(e=r.current)||void 0===e||e.click()}else{let e=document.getElementById("income-simulator");e&&e.scrollIntoView({behavior:"smooth"})}};if(n||!t)return(0,s.jsxs)(eZ,{id:"owner-experience",children:[(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:(0,s.jsx)(w.O,{height:60,width:200,borderRadius:999,style:{margin:"20px auto"}})}),(0,s.jsx)(eB,{children:(0,s.jsxs)(eN,{children:[(0,s.jsx)(w.O,{height:24,width:150,style:{marginBottom:24}}),(0,s.jsxs)("div",{children:[(0,s.jsx)(w.O,{height:16,width:100,style:{marginBottom:8}}),(0,s.jsx)(w.O,{height:32,width:120})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(w.O,{height:16,width:80,style:{marginBottom:8}}),(0,s.jsx)(w.O,{height:32,width:80})]}),(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(w.O,{height:60,width:200,borderRadius:999,style:{marginTop:24}})})]})}),(0,s.jsxs)(eF,{children:[(0,s.jsx)(w.O,{height:40,width:400,style:{marginBottom:16}}),(0,s.jsx)(w.O,{height:20,width:"90%",count:3})]})]});let{description:o,revenue:d,title:m,year:u}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(forms_DialogOwnerForm,{triggerButton:(0,s.jsx)("button",{"data-testid":"revenue-button",ref:r})}),(0,s.jsxs)(eZ,{id:"owner-experience",children:[(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:(0,s.jsx)(RevenueButton_RevenueButton,{onClick:onOpenForm,placement:"revenue_card"})}),(0,s.jsx)(eB,{children:(0,s.jsxs)(eN,{children:[(0,s.jsx)(eL,{children:l("owner:landLordNumberSection.trusted")}),(0,s.jsxs)("div",{children:[(0,s.jsx)(eK,{children:l("owner:landLordNumberSection.revenue")}),(0,s.jsxs)(eM,{children:["+ ",d,"M €"]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(eK,{children:l("owner:landLordNumberSection.since")}),(0,s.jsx)(eM,{children:u})]}),(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(RevenueButton_RevenueButton,{onClick:onOpenForm,placement:"revenue_card"})})]})}),(0,s.jsxs)(eF,{children:[(0,s.jsx)(y.D,{className:"sectionTitle",children:m}),(0,s.jsx)(eV,{children:o})]})]})]})};var eD=n(17857),eE=n(59886),eA=n(95714),forms_OwnerForm=e=>{let{isLoading:t}=e,[n,r]=(0,a.useState)(0),i=z(e=>e.resetOwner);return(0,s.jsx)(eT,{children:(0,s.jsx)(forms_Form,{onCloseForm:()=>{r(0),i()},step:n,setStep:r,opened:!0,isLoading:t})})};
1function Hero_styles_templateObject(){let e=(0,b._)(["\n  position: relative;\n  width: 100%;\n  max-width: 1920px;\n  height: fit-content;\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  margin-bottom: ",";\n  column-gap: ",";\n\n  @media (max-width: 1400px) {\n    height: 700px;\n  }\n\n  @media "," {\n    column-gap: ",";\n  }\n\n  @media "," {\n    height: fit-content;\n    flex-direction: column;\n    justify-content: flex-start;\n  }\n"]);return Hero_styles_templateObject=function(){return e},e}function Hero_styles_templateObject1(){let e=(0,b._)(["\n  width: 70%;\n  display: flex;\n\n  @media "," {\n    width: 100%;\n  }\n"]);return Hero_styles_templateObject1=function(){return e},e}function Hero_styles_templateObject2(){let e=(0,b._)(["\n  position: relative;\n  width: 30%;\n\n  @media "," {\n    width: 100%;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n  }\n"]);return Hero_styles_templateObject2=function(){return e},e}function Hero_styles_templateObject3(){let e=(0,b._)(["\n  width: 100%;\n  margin: ",";\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  row-gap: ",";\n\n  span {\n    width: 100%;\n  }\n"]);return Hero_styles_templateObject3=function(){return e},e}function Hero_styles_templateObject4(){let e=(0,b._)(["\n  width: 100%;\n  margin-top: 280px;\n\n  @media "," {\n    width: calc(100% - ",");\n    margin-top: 200px;\n  }\n"]);return Hero_styles_templateObject4=function(){return e},e}function Hero_styles_templateObject5(){let e=(0,b._)(["\n  width: 100%;\n  margin-top: ",";\n\n  @media "," {\n    width: 220px;\n    height: calc(220px * 1.4);\n  }\n\n  @media "," {\n    width: 160px;\n    height: calc(160px * 1.4);\n  }\n"]);return Hero_styles_templateObject5=function(){return e},e}function Hero_styles_templateObject6(){let e=(0,b._)(["\n  position: absolute;\n  display: flex;\n  flex-direction: column;\n  max-width: 95vw;\n  width: ",";\n  margin: ",";\n\n  @media "," {\n    margin-top: ",";\n    padding: 0 ",";\n  }\n\n  @media "," {\n    padding: 0;\n  }\n"]);return Hero_styles_templateObject6=function(){return e},e}function Hero_styles_templateObject7(){let e=(0,b._)(["\n  max-width: 420px;\n  text-align: left;\n  margin-bottom: ",";\n  white-space: pre-line;\n\n  @media "," {\n    max-width: 80vw;\n    margin-bottom: ",";\n  }\n\n  @media "," {\n    max-width: 280px;\n    margin-bottom: ",";\n  }\n\n  h1 {\n    font-size: 3.5rem;\n\n    @media "," {\n      max-width: 80vw;\n      font-size: ",";\n    }\n\n    @media "," {\n      max-width: 280px;\n      font-size: ",";\n    }\n\n    @media "," {\n      max-width: 230px;\n      font-size: ",";\n    }\n  }\n"]);return Hero_styles_templateObject7=function(){return e},e}function Hero_styles_templateObject8(){let e=(0,b._)(["\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  justify-items: center;\n  width: 100%;\n  max-width: ",";\n  row-gap: ",";\n  padding: ",";\n\n  div {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: flex-start;\n    text-align: center;\n    padding: ",";\n    row-gap: ",";\n    width: 220px;\n    border-radius: 30px;\n    background-color: ",";\n\n    span {\n      font-size: 3rem;\n      font-weight: ",";\n    }\n\n    p {\n      font-size: ",";\n      font-weight: ",";\n    }\n\n    svg {\n      min-width: 24px;\n      min-height: 24px;\n      margin-bottom: ",";\n    }\n  }\n\n  @media "," {\n    display: flex;\n    flex-direction: column;\n    margin-top: ",";\n    margin-bottom: 0;\n    align-items: center;\n\n    div {\n      width: 200px;\n\n      span {\n        font-size: ",";\n        font-weight: ",";\n      }\n      p {\n        font-size: ",";\n      }\n\n      svg {\n        min-width: 16px;\n        min-height: 16px;\n        margin-bottom: ",";\n      }\n    }\n  }\n\n  @media "," {\n    div {\n      width: 150px;\n      row-gap: 0;\n\n      span {\n        font-size: ",";\n        font-weight: ",";\n      }\n      p {\n        font-size: ",";\n      }\n    }\n  }\n\n  @media (max-width: 400px) {\n    div {\n      width: 100px;\n    }\n  }\n"]);
1return Hero_styles_templateObject8=function(){return e},e}let eR=_.ZP.section.withConfig({componentId:"sc-49967fc5-0"})(Hero_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.spacing.xxx_large},g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.x_large},g.Hb.tablet),eG=_.ZP.div.withConfig({componentId:"sc-49967fc5-1"})(Hero_styles_templateObject1(),g.Hb.tablet),eW=_.ZP.div.withConfig({componentId:"sc-49967fc5-2"})(Hero_styles_templateObject2(),g.Hb.tablet),e$=_.ZP.div.withConfig({componentId:"sc-49967fc5-3"})(Hero_styles_templateObject3(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.x_large}),eq=_.ZP.img.withConfig({componentId:"sc-49967fc5-4"})(Hero_styles_templateObject4(),g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large}),eJ=_.ZP.img.withConfig({componentId:"sc-49967fc5-5"})(Hero_styles_templateObject5(),e=>{let{theme:t}=e;return t.spacing.x_large},g.Hb.tablet,g.Hb.mobile),eU=_.ZP.div.withConfig({componentId:"sc-49967fc5-6"})(Hero_styles_templateObject6(),e=>{let{theme:t}=e;return t.baseContentWidth},e=>{let{theme:t}=e;return"".concat(t.spacing.xxx_large," ").concat(t.spacing.large," ").concat(t.spacing.x_large)},g.Hb.x_desktop,e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large},g.Hb.mobile),eQ=_.ZP.div.withConfig({componentId:"sc-49967fc5-7"})(Hero_styles_templateObject7(),e=>{let{theme:t}=e;return t.spacing.x_large},g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.small},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large},g.Hb.desktop,e=>{let{theme:t}=e;return t.fontSizes.xxx_large},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.x_large},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.x_large}),eY=_.ZP.div.withConfig({componentId:"sc-49967fc5-8"})(Hero_styles_templateObject8(),e=>{let{theme:t}=e;return t.baseContentWidth},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.spacing.middle},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.colors.background2},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.spacing.small},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.fontSizes.x_large},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.spacing.xxx_small},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.medium},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.fontSizes.x_small}),Hero=e=>{let{section:t,isLoading:n}=e,{t:r}=(0,c.$G)(),i=(0,O.Z)(g.Hb.tablet),l=(0,a.useRef)(null);if(n||!t)return(0,s.jsxs)(eR,{id:"income-simulator",children:[(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(forms_OwnerForm,{isLoading:n})}),(0,s.jsxs)(eU,{children:[(0,s.jsx)(w.O,{height:28,width:"35%",style:{marginBottom:12}}),(0,s.jsx)(w.O,{height:28,width:"15%"})]}),(0,s.jsx)(eG,{children:(0,s.jsx)(eq,{src:"".concat(eH.Mx,"/imgs/owner/hero-background.png"),alt:"background"})}),(0,s.jsxs)(eW,{children:[(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:(0,s.jsxs)(e$,{children:[(0,s.jsx)(w.O,{height:100,width:"50%"}),(0,s.jsx)(w.O,{height:100,width:"50%"}),(0,s.jsx)(w.O,{height:100,width:"50%"})]})}),(0,s.jsx)(eJ,{src:"".concat(eH.Mx,"/imgs/owner/hero-background-2.png"),alt:"background"})]})]});let{title:o,totalBookings:d,totalGuests:m,totalRevenue:u}=t,p=(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(eY,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(eE.P.CalendarFilled,{color:g.TV.colors.primary,size:i?16:24}),(0,s.jsx)(eD.ZP,{duration:2,end:null!=d?d:0,suffix:"K+",enableScrollSpy:!0}),(0,s.jsx)("p",{children:r("owner:totalBookings")}),(0,s.jsx)(eE.P.Line,{})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(eE.P.Users,{color:g.TV.colors.primary,size:i?16:24}),(0,s.jsx)(eD.ZP,{duration:2,end:null!=m?m:0,suffix:"K+",enableScrollSpy:!0}),(0,s.jsx)("p",{children:r("owner:guestsNumber")}),(0,s.jsx)(eE.P.Line,{})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(eE.P.Stats,{color:g.TV.colors.primary,size:i?16:24}),(0,s.jsx)(eD.ZP,{duration:2,end:null!=u?u:0,prefix:"€ ",suffix:"M+",enableScrollSpy:!0}),(0,s.jsx)("p",{children:r("owner:revenueGenerated")}),(0,s.jsx)(eE.P.Line,{})]})]})}),x=(0,s.jsx)(RevenueButton_RevenueButton,{onClick:()=>{l.current&&l.current.click()},placement:"owner_hero"});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(eR,{id:"income-simulator",children:[(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(forms_OwnerForm,{})}),(0,s.jsxs)(eU,{children:[(0,s.jsx)(eQ,{children:(0,s.jsx)("h1",{children:o})}),(0,s.jsx)(forms_DialogOwnerForm,{triggerButton:(0,s.jsx)("button",{ref:l})}),(0,s.jsx)(eA.Y,{videoUrl:r("owner:videoURL")})]}),(0,s.jsx)(eG,{children:(0,s.jsx)(eq,{src:"".concat(eH.Mx,"/imgs/owner/hero-background.png"),alt:"background"})}),(0,s.jsxs)(eW,{children:[(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:p}),(0,s.jsx)(eJ,{src:"".concat(eH.Mx,"/imgs/owner/hero-background-2.png"),alt:"background"})]})]}),(0,s.jsx)(h.z,{minWidth:"769px",children:p}),(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:x})]})};var eX=n(30150);
1function PackageCard_styles_templateObject(){let e=(0,b._)(["\n        width: 230px;\n\n        @media "," {\n          width: 300px;\n        }\n\n        @media "," {\n          width: 290px;\n        }\n      "]);return PackageCard_styles_templateObject=function(){return e},e}function PackageCard_styles_templateObject1(){let e=(0,b._)(["\n        top: 20px;\n      "]);return PackageCard_styles_templateObject1=function(){return e},e}function PackageCard_styles_templateObject2(){let e=(0,b._)(["\n        width: 360px;\n\n        @media "," {\n          width: 360px;\n        }\n\n        @media "," {\n          width: 260px;\n        }\n      "]);return PackageCard_styles_templateObject2=function(){return e},e}function PackageCard_styles_templateObject3(){let e=(0,b._)(["\n  position: relative;\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n  min-height: 100%;\n  width: 210px;\n  margin: 0 auto;\n\n  @media "," {\n    width: 290px;\n  }\n\n  ",";\n"]);return PackageCard_styles_templateObject3=function(){return e},e}function PackageCard_styles_templateObject4(){let e=(0,b._)(["\n        height: 90px;\n        width: 90px;\n        top: -50px;\n        left: calc(50% - 50px);\n        font-size: 3.8rem;\n\n        @media (max-width: ",") and (max-width: ",") {\n          height: 100px;\n          width: 100px;\n          left: calc(50% - 60px);\n          font-size: 4rem;\n        }\n      "]);return PackageCard_styles_templateObject4=function(){return e},e}function PackageCard_styles_templateObject5(){let e=(0,b._)(["\n        color: ",";\n      "]);return PackageCard_styles_templateObject5=function(){return e},e}function PackageCard_styles_templateObject6(){let e=(0,b._)(["\n        color: ",";\n      "]);return PackageCard_styles_templateObject6=function(){return e},e}function PackageCard_styles_templateObject7(){let e=(0,b._)(["\n        color: #346966;\n\n        @media (max-width: ",") and (max-width: ",") {\n          height: 80px;\n          width: 80px;\n          left: calc(50% - 40px);\n          font-size: 2.8rem;\n        }\n\n        @media "," {\n          top: -55px;\n        }\n      "]);return PackageCard_styles_templateObject7=function(){return e},e}function PackageCard_styles_templateObject8(){let e=(0,b._)(["\n        color: #667c89;\n\n        @media (max-width: ",") and (max-width: ",") {\n          height: 80px;\n          width: 80px;\n          left: calc(50% - 40px);\n          font-size: 2.8rem;\n        }\n\n        @media "," {\n          top: -55px;\n        }\n      "]);return PackageCard_styles_templateObject8=function(){return e},e}function styles_templateObject9(){let e=(0,b._)(["\n  position: absolute;\n  height: 80px;\n  width: 80px;\n  border-radius: 50%;\n  color: ",";\n  background-color: ",";\n  z-index: 200;\n  display: flex;\n  left: calc(50% - 40px);\n  top: -40px;\n  justify-content: center;\n  align-items: center;\n  font-size: 2.8rem;\n  font-weight: ",";\n  box-shadow: 0px 10px 5px 1px #00000049;\n\n  @media "," {\n    height: 90px;\n    width: 90px;\n    left: calc(50% - 50px);\n    font-size: 3.2rem;\n  }\n\n  @media "," {\n    height: 90px;\n    width: 90px;\n    left: calc(50% - 50px);\n    font-size: 3.2rem;\n  }\n\n  ",";\n"]);return styles_templateObject9=function(){return e},e}function styles_templateObject10(){let e=(0,b._)(["\n        height: 200px;\n        width: 260px;\n\n        @media "," {\n          width: 340px;\n          height: 250px;\n        }\n\n        @media "," {\n          height: 240px;\n          width: 320px;\n        }\n      "]);return styles_templateObject10=function(){return e},e}function styles_templateObject11(){let e=(0,b._)(["\n        width: 400px;\n        height: 190px;\n\n        @media "," {\n          width: 400px;\n        }\n\n        @media "," {\n          height: 190px;\n        }\n\n        @media "," {\n          height: 200px;\n        }\n\n        @media "," {\n          width: 300px;\n          height: 150px;\n        }\n      "]);return styles_templateObject11=function(){return e},e}
1function styles_templateObject12(){let e=(0,b._)(["\n  width: 240px;\n  height: 170px;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  row-gap: ",";\n  z-index: 10;\n  background-image: ",";\n  background-size: contain;\n  background-position-y: top;\n  background-position-x: center;\n  background-repeat: no-repeat;\n\n  @media "," {\n    width: 320px;\n    height: 230px;\n  }\n\n  @media "," {\n    height: 230px;\n    row-gap: ",";\n  }\n\n  ",";\n"]);return styles_templateObject12=function(){return e},e}function styles_templateObject13(){let e=(0,b._)(["\n        font-size: ",";\n\n        @media "," {\n          font-size: ",";\n        }\n      "]);return styles_templateObject13=function(){return e},e}function styles_templateObject14(){let e=(0,b._)(["\n  width: 85%;\n  text-align: center;\n  text-transform: uppercase;\n  letter-spacing: 1.2px;\n  color: ",";\n  font-size: 2.8rem;\n  font-weight: ",";\n  ",";\n"]);return styles_templateObject14=function(){return e},e}function styles_templateObject15(){let e=(0,b._)(["\n  text-align: center;\n  text-transform: uppercase;\n  width: 85%;\n  color: ",";\n  font-size: 0.9rem;\n  font-weight: ",";\n  letter-spacing: 1.6px;\n\n  @media "," {\n    font-size: 0.9rem;\n  }\n"]);return styles_templateObject15=function(){return e},e}function styles_templateObject16(){let e=(0,b._)(["\n  width: 80%;\n  text-align: center;\n  background-color: ",";\n  border-radius: ",";\n  color: ",";\n  padding: "," 0;\n  letter-spacing: 1px;\n  font-size: ",";\n  font-weight: ",";\n  text-transform: uppercase;\n"]);return styles_templateObject16=function(){return e},e}function styles_templateObject17(){let e=(0,b._)(["\n        height: 664px;\n\n        @media "," {\n          height: 600px;\n        }\n      "]);return styles_templateObject17=function(){return e},e}function styles_templateObject18(){let e=(0,b._)(["\n        height: 530px;\n\n        @media "," {\n          height: 500px;\n        }\n      "]);return styles_templateObject18=function(){return e},e}function _templateObject19(){let e=(0,b._)(["\n        height: 500px;\n      "]);return _templateObject19=function(){return e},e}function _templateObject20(){let e=(0,b._)(["\n  position: relative;\n  top: -40px;\n  width: 100%;\n  padding: ",";\n  color: ",";\n  background-color: ",";\n  box-shadow: ",";\n  font-size: ",";\n  border-radius: 0 0\n    ",";\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  align-items: center;\n\n  ",";\n\n  @media "," {\n    height: 100%;\n  }\n\n  ul {\n    list-style: none;\n    width: 100%;\n\n    li {\n      position: relative;\n      display: flex;\n      padding: ",";\n\n      &:nth-child(even) {\n        background-color: ",";\n      }\n\n      svg {\n        min-height: 16px;\n        min-width: 16px;\n      }\n    }\n  }\n"]);return _templateObject20=function(){return e},e}function _templateObject21(){let e=(0,b._)(["\n  margin-right: ",";\n  color: ",";\n"]);return _templateObject21=function(){return e},e}function _templateObject22(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 180px;\n  margin-top: ",";\n  color: ",";\n  background: ",";\n  text-transform: uppercase;\n  border: none;\n  border-radius: ",";\n  font-size: ",";\n  font-weight: ",";\n  box-shadow: ",";\n  height: 44px;\n  padding: ",";\n\n  &.essentialPremium {\n    padding: ",";\n  }\n\n  &.smart {\n    background: ",";\n  }\n\n  &.concierge {\n    background: ",";\n  }\n\n  &.midTerm {\n    background: ",";\n  }\n\n  &.longTerm {\n    background: ",";\n  }\n"]);return _templateObject22=function(){return e},e}function _templateObject23(){let e=(0,b._)(["\n  width: 12px;\n  height: 12px;\n  border-radius: 100%;\n  margin-top: ",";\n  background-color: ",";\n  border: 1px solid ",";\n  z-index: 30;\n  position: relative;\n\n  &[data-state='checked'] {\n    border-color: ",";\n  }\n"]);return _templateObject23=function(){return e},e}function _templateObject24(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 100%;\n  height: 100%;\n  position: relative;\n\n  &::after {\n    content: '';\n    display: block;\n    width: 6px;\n    height: 6px;\n    border-radius: 50%;\n    background-color: ",";\n  }\n"]);
1return _templateObject24=function(){return e},e}function _templateObject25(){let e=(0,b._)(["\n  position: relative;\n  height: 100px;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: flex-start;\n"]);return _templateObject25=function(){return e},e}function _templateObject26(){let e=(0,b._)(["\n  position: absolute;\n  bottom: -8px;\n  border: 2px solid ",";\n  border-radius: 50%;\n  height: 30px;\n  width: 30px;\n  animation-name: blinking;\n  animation-duration: 2s;\n  animation-iteration-count: Infinite;\n\n  @keyframes blinking {\n    50% {\n      border-color: transparent;\n    }\n  }\n"]);return _templateObject26=function(){return e},e}function _templateObject27(){let e=(0,b._)(["\n  z-index: 1;\n  position: absolute;\n  top: 36px;\n  left: -95px;\n  width: 230px;\n  padding: ",";\n  color: ",";\n  background-color: ",";\n  box-shadow: 0px 15px 6px ",";\n  border-radius: ",";\n\n  &:before {\n    content: ' ';\n    position: absolute;\n    background: ",";\n    width: 15px;\n    height: 15px;\n    top: -4px;\n    left: 44%;\n    transform: rotate(45deg);\n  }\n"]);return _templateObject27=function(){return e},e}function _templateObject28(){let e=(0,b._)(["\n  z-index: 2;\n  position: absolute;\n  box-shadow: -10px 1px 1px ",";\n  background: ",";\n  top: -18px;\n  right: 0;\n  height: 40px;\n  width: 40px;\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n"]);return _templateObject28=function(){return e},e}function _templateObject29(){let e=(0,b._)(["\n  margin-left: ",";\n\n  svg {\n    min-height: 14px !important;\n    min-width: 14px !important;\n    color: ",";\n  }\n"]);return _templateObject29=function(){return e},e}function _templateObject30(){let e=(0,b._)(["\n  box-shadow: ",";\n  background-color: ",";\n  border-radius: ",";\n  position: absolute;\n  top: 10px;\n  left: 0;\n  width: 90vw;\n  max-width: 280px;\n  max-height: 85vh;\n  padding: ",";\n  z-index: 1000;\n"]);return _templateObject30=function(){return e},e}function _templateObject31(){let e=(0,b._)(["\n  h4 {\n    font-size: ",";\n    font-weight: ",";\n    margin-bottom: ",";\n  }\n\n  p {\n    color: ",";\n    font-weight: ",";\n    font-size: ",";\n  }\n"]);return _templateObject31=function(){return e},e}function _templateObject32(){let e=(0,b._)(["\n  position: absolute;\n  top: 10px;\n  right: 10px;\n  width: 20px;\n  height: 20px;\n  color: ",";\n"]);return _templateObject32=function(){return e},e}let getBackground=(e,t,n)=>"transparent linear-gradient(".concat(e,"deg, ").concat(t," 0%, ").concat(n," 100%) 0% 0% no-repeat padding-box"),handleContainer=e=>{switch(e){case"essentialPremium":return(0,_.iv)(PackageCard_styles_templateObject(),g.Hb.desktop,g.Hb.tablet);case"essential":return(0,_.iv)(PackageCard_styles_templateObject1());case"midTerm":case"longTerm":return(0,_.iv)(PackageCard_styles_templateObject2(),g.Hb.x_desktop,g.Hb.mobile)}},e0=_.ZP.div.withConfig({componentId:"sc-63a3a90f-0"})(PackageCard_styles_templateObject3(),g.Hb.desktop,e=>{let{subType:t}=e;return handleContainer(t)}),handlePercentage=e=>{switch(e){case"essentialPremium":return(0,_.iv)(PackageCard_styles_templateObject4(),g.J7.desktop,g.J7.tablet);case"smart":return(0,_.iv)(PackageCard_styles_templateObject5(),e=>{let{theme:t}=e;return t.colors.text});case"concierge":return(0,_.iv)(PackageCard_styles_templateObject6(),e=>{let{theme:t}=e;return t.colors.grey});case"midTerm":return(0,_.iv)(PackageCard_styles_templateObject7(),g.J7.desktop,g.J7.tablet,g.Hb.mobile);case"longTerm":return(0,_.iv)(PackageCard_styles_templateObject8(),g.J7.desktop,g.J7.tablet,g.Hb.mobile)}},e1=_.ZP.div.withConfig({componentId:"sc-63a3a90f-1"})(styles_templateObject9(),e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.weights.semiBold},g.Hb.desktop,g.Hb.desktop,e=>{let{subType:t}=e;return handlePercentage(t)}),handleHeader=e=>{switch(e){case"essentialPremium":return(0,_.iv)(styles_templateObject10(),g.Hb.desktop,g.Hb.tablet);
1case"midTerm":case"longTerm":return(0,_.iv)(styles_templateObject11(),g.Hb.x_desktop,g.Hb.desktop,g.Hb.tablet,g.Hb.mobile)}},e2=_.ZP.div.withConfig({componentId:"sc-63a3a90f-2"})(styles_templateObject12(),e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{subType:t}=e;return"url(".concat(eH.Mx,"/imgs/owner/").concat(t,"-plan.png)")},g.Hb.desktop,g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{subType:t}=e;return handleHeader(t)}),handleTitle=e=>{switch(e){case"midTerm":case"longTerm":return(0,_.iv)(styles_templateObject13(),e=>{let{theme:t}=e;return t.fontSizes.xxx_large},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.large})}},e5=_.ZP.div.withConfig({componentId:"sc-63a3a90f-3"})(styles_templateObject14(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{subType:t}=e;return handleTitle(t)}),e8=_.ZP.div.withConfig({componentId:"sc-63a3a90f-4"})(styles_templateObject15(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.weights.regular},g.Hb.mobile),e6=_.ZP.div.withConfig({componentId:"sc-63a3a90f-5"})(styles_templateObject16(),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.colors.text},e=>{let{theme:t}=e;return t.spacing.xx_small},e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.weights.semiBold}),handleBody=e=>{switch(e){case"essential":return(0,_.iv)(styles_templateObject17(),g.Hb.desktop);case"essentialPremium":return(0,_.iv)(styles_templateObject18(),g.Hb.desktop);case"smart":case"concierge":return(0,_.iv)(_templateObject19())}},e3=_.ZP.div.withConfig({componentId:"sc-63a3a90f-6"})(_templateObject20(),e=>{let{theme:t}=e;return"".concat(t.spacing.xx_large," 0 ").concat(t.spacing.large)},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.shadows.boxShadow},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return"".concat(t.radii.xx_large," ").concat(t.radii.xx_large)},e=>{let{subType:t}=e;return handleBody(t)},g.Hb.tablet,e=>{let{theme:t}=e;return"".concat(t.spacing.small," ").concat(t.spacing.medium)},e=>{let{theme:t}=e;return t.colors.background2}),e4=(0,_.ZP)(eE.P.Check).withConfig({componentId:"sc-63a3a90f-7"})(_templateObject21(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.colors.primary}),e9=_.ZP.button.withConfig({componentId:"sc-63a3a90f-8"})(_templateObject22(),e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.colors.white},getBackground(177,"#40a5a3","#245d5c"),e=>{let{theme:t}=e;return t.radii.xxx_large},e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.weights.semiBold},e=>{let{theme:t}=e;return t.shadows.boxShadow},e=>{let{theme:t}=e;return"".concat(t.spacing.medium," ").concat(t.spacing.xx_large)},e=>{let{theme:t}=e;return"20px ".concat(t.spacing.xx_large)},getBackground(177,"#4b4b4a","#171716"),getBackground(177,"#6d6c6c","#3e3e3e"),getBackground(177,"#356361","#373f3e"),getBackground(177,"#60747f","#3f4244")),e7=(0,_.ZP)(eX.ck).withConfig({componentId:"sc-63a3a90f-9"})(_templateObject23(),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.grey2},e=>{let{theme:t}=e;return t.colors.primary}),te=(0,_.ZP)(eX.z$).withConfig({componentId:"sc-63a3a90f-10"})(_templateObject24(),e=>{let{theme:t}=e;return t.colors.primary}),tt=_.ZP.div.withConfig({componentId:"sc-63a3a90f-11"})(_templateObject25()),tn=_.ZP.div.withConfig({componentId:"sc-63a3a90f-12"})(_templateObject26(),e=>{let{theme:t}=e;return t.colors.black}),tr=_.ZP.div.withConfig({componentId:"sc-63a3a90f-13"})(_templateObject27(),e=>{let{theme:t}=e;return"".concat(t.spacing.large," ").concat(t.spacing.middle)},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.secondary},e=>{let{theme:t}=e;return t.shadows.color},e=>{let{theme:t}=e;return t.radii.middle},e=>{let{theme:t}=e;return t.colors.secondary}),ti=_.ZP.div.withConfig({componentId:"sc-63a3a90f-14"}
1)(_templateObject28(),e=>{let{theme:t}=e;return t.shadows.color},e=>{let{theme:t}=e;return t.colors.secondary}),tl=_.ZP.button.withConfig({componentId:"sc-63a3a90f-15"})(_templateObject29(),e=>{let{theme:t}=e;return t.spacing.x_small},e=>{let{theme:t}=e;return t.colors.grey}),to=(0,_.ZP)(v.VY).withConfig({componentId:"sc-63a3a90f-16"})(_templateObject30(),e=>{let{theme:t}=e;return t.shadows.boxShadow},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.middle},e=>{let{theme:t}=e;return"".concat(t.spacing.medium," ").concat(t.spacing.large)}),ts=_.ZP.div.withConfig({componentId:"sc-63a3a90f-17"})(_templateObject31(),e=>{let{theme:t}=e;return t.fontSizes.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.colors.grey},e=>{let{theme:t}=e;return t.weights.regular},e=>{let{theme:t}=e;return t.fontSizes.small}),ta=_.ZP.button.withConfig({componentId:"sc-63a3a90f-18"})(_templateObject32(),e=>{let{theme:t}=e;return t.colors.secondary});var PackageCard_PackageCard=e=>{var t;let{percentage:n,title:r,description:i,subType:l,items:o,mostPopular:d=!1,selectedPackage:m,disabled:u=!1,highlight:p=!1,onOpenForm:g,setSelectedPackage:h,term:x}=e,{t:b}=(0,c.$G)(),[_,j]=(0,a.useState)(null),w={essential:"".concat(String(n),"%"),essentialPremium:"".concat(String(n),"%"),smart:"+".concat(String(n),"%"),concierge:"+".concat(String(n),"%"),midTerm:"".concat(String(n),"%"),longTerm:"".concat(String(n),"%*")},y={midTerm:b("owner:contactUs"),longTerm:b("owner:contactUs"),essential:b("owner:select"),essentialPremium:b("owner:select"),smart:b("owner:select"),concierge:b("owner:select")},handleSelect=()=>{let e=m!==l;null==h||h(e?l:""),e&&f.PackageSelected({package:l.replace(/([A-Z])/g,"_$1").toLowerCase(),term:x,percentage:Number(n),screen:e_.Z6.owner}),null==g||g()};return(0,s.jsxs)(e0,{subType:l,children:[(0,s.jsxs)(e2,{subType:l,children:[(0,s.jsx)(e1,{subType:l,children:w[l]}),(0,s.jsx)(e5,{subType:l,children:r}),(0,s.jsx)(e8,{subType:l,children:(0,s.jsx)(c.cC,{i18nKey:i,components:{br:(0,s.jsx)("br",{})}})}),d&&(0,s.jsx)(e6,{children:b("owner:mostPopular")})]}),(0,s.jsxs)(e3,{subType:l,children:[(0,s.jsx)("ul",{children:null===(t=o.data)||void 0===t?void 0:t.map((e,t)=>(0,s.jsxs)("li",{children:[(0,s.jsx)(e4,{size:16}),e.item,e.info&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(k.V,{container:_,overlay:(0,s.jsx)("div",{}),trigger:(0,s.jsx)(tl,{children:(0,s.jsx)(eE.P.Info,{size:14})}),content:(0,s.jsxs)(to,{children:[(0,s.jsx)(v.x8,{asChild:!0,children:(0,s.jsx)(ta,{children:(0,s.jsx)(eE.P.Close,{size:20})})}),(0,s.jsxs)(S.T,{children:[(0,s.jsx)(v.$N,{children:b("common:importantInfo")}),(0,s.jsx)(v.Be,{children:e.info})]}),(0,s.jsxs)(ts,{children:[(0,s.jsx)("h4",{children:b("common:importantInfo")}),(0,s.jsx)("p",{children:e.info})]})]})}),(0,s.jsx)("div",{ref:j})]})]},t))}),(0,s.jsxs)(tt,{children:[(0,s.jsx)(e9,{className:l,onClick:()=>handleSelect(),children:y[l]}),h&&(0,s.jsx)(eX.fC,{value:m,disabled:u,children:(0,s.jsx)(e7,{onClick:()=>handleSelect(),value:l,children:(0,s.jsx)(te,{})})}),p&&(0,s.jsx)(tn,{children:(0,s.jsxs)(tr,{children:[b("owner:packages.addExtraPackage",{package:r}),(0,s.jsx)(ti,{children:(0,s.jsx)(eE.P.Bell,{size:16})})]})})]})]})]})};function LongTerm_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  padding: 0 ",";
1\n\n  @media "," {\n    align-items: center;\n  }\n"]);return LongTerm_styles_templateObject=function(){return e},e}function LongTerm_styles_templateObject1(){let e=(0,b._)(["\n  max-width: 500px;\n  margin: 0 auto;\n  text-align: center;\n  margin-bottom: ",";\n  color: ",";\n  font-size: ",";\n"]);return LongTerm_styles_templateObject1=function(){return e},e}let tc=_.ZP.div.withConfig({componentId:"sc-c5f8b579-0"})(LongTerm_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.large},g.Hb.desktop),td=_.ZP.h2.withConfig({componentId:"sc-c5f8b579-1"})(LongTerm_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small});var LongTerm_LongTerm=e=>{let{onOpenForm:t,content:n,stepLongTerm:r}=e,i=n.find(e=>"longTerm"===e.subType),l=D(e=>e.setSelectedPackages);return(0,a.useEffect)(()=>{l([])},[l]),(0,s.jsxs)(tc,{children:[(0,s.jsx)(td,{children:r}),(0,s.jsx)(PackageCard_PackageCard,{...i,onOpenForm:t,term:"long_term"})]})};function MidTerm_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  padding: 0 ",";
1\n\n  @media "," {\n    align-items: center;\n  }\n"]);return MidTerm_styles_templateObject=function(){return e},e}function MidTerm_styles_templateObject1(){let e=(0,b._)(["\n  max-width: 500px;\n  margin: 0 auto;\n  text-align: center;\n  margin-bottom: ",";\n  color: ",";\n  font-size: ",";\n"]);return MidTerm_styles_templateObject1=function(){return e},e}let tm=_.ZP.div.withConfig({componentId:"sc-c5f8b579-0"})(MidTerm_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.large},g.Hb.desktop),tu=_.ZP.h2.withConfig({componentId:"sc-c5f8b579-1"})(MidTerm_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small});var MidTerm_MidTerm=e=>{let{onOpenForm:t,content:n,stepMidTerm:r}=e,i=n.find(e=>"midTerm"===e.subType),l=D(e=>e.setSelectedPackages);return(0,a.useEffect)(()=>{l([])},[l]),(0,s.jsxs)(tm,{children:[(0,s.jsx)(tu,{children:r}),(0,s.jsx)(PackageCard_PackageCard,{...i,onOpenForm:t,term:"mid_term"})]})};function ShortTerm_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n"]);return ShortTerm_styles_templateObject=function(){return e},e}function ShortTerm_styles_templateObject1(){let e=(0,b._)(["\n  display: grid;\n  grid-template-columns: repeat(2, 1fr);\n  column-gap: ",";\n  margin-bottom: ",";\n\n  @media "," {\n    grid-template-columns: repeat(1, 1fr);\n    align-items: center;\n    text-align: center;\n  }\n\n  @media "," {\n    margin-bottom: ",";\n  }\n\n  h2 {\n    color: ",";\n    font-size: ",";\n\n    span {\n      text-decoration: underline;\n    }\n  }\n"]);return ShortTerm_styles_templateObject1=function(){return e},e}function ShortTerm_styles_templateObject2(){let e=(0,b._)(["\n  display: flex;\n  align-items: flex-start;\n  justify-content: flex-start;\n  column-gap: ",";\n"]);return ShortTerm_styles_templateObject2=function(){return e},e}function ShortTerm_styles_templateObject3(){let e=(0,b._)(["\n  ",";\n  justify-content: space-between;\n\n  @media "," {\n    flex-direction: column;\n    align-items: center;\n  }\n"]);return ShortTerm_styles_templateObject3=function(){return e},e}function ShortTerm_styles_templateObject4(){let e=(0,b._)(["\n  ",";\n  justify-content: space-between;\n  height: 580px;\n\n  @media "," {\n    flex-direction: column;\n    align-items: center;\n    row-gap: ",";\n    height: 100%;\n\n    span {\n      text-align: center;\n      text-transform: uppercase;\n      font-size: ",";\n      font-weight: ",";\n      color: ",";\n      margin-bottom: ",";\n    }\n  }\n"]);return ShortTerm_styles_templateObject4=function(){return e},e}function ShortTerm_styles_templateObject5(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: stretch;\n  width: 550px;\n  row-gap: ",";\n\n  @media (max-width: 1140px) {\n    max-width: 520px;\n  }\n\n  @media "," {\n    width: 100%;\n    max-width: 660px;\n  }\n\n  @media "," {\n    width: 100%;\n    max-width: 100%;\n    align-items: center;\n  }\n"]);return ShortTerm_styles_templateObject5=function(){return e},e}function ShortTerm_styles_templateObject6(){let e=(0,b._)(["\n  display: flex;\n  justify-content: flex-end;\n\n  @media "," {\n    flex-direction: column;\n    row-gap: ",";\n\n    span {\n      text-align: center;\n      text-transform: uppercase;\n      font-size: ",";\n      font-weight: ",";\n      color: ",";\n\n      @media "," {\n        margin-bottom: ",";\n      }\n    }\n  }\n"]);return ShortTerm_styles_templateObject6=function(){return e},e}function ShortTerm_styles_templateObject7(){let e=(0,b._)(["\n  margin-top: 300px;\n  min-width: 32px;\n\n  @media "," {\n    margin: ",";\n  }\n"]);return ShortTerm_styles_templateObject7=function(){return e},e}function ShortTerm_styles_templateObject8(){let e=(0,b._)(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  height: 115px;\n  background: "," 0% 0% no-repeat padding-box;\n  box-shadow: 0px 4px 6px #00000008;\n  border-radius: 30px;\n  padding: ",";\n  color: ",";\n  margin-top: ",";\n\n  h2 {\n    letter-spacing: 4.1px;\n    margin-bottom: 0;\n    font-size: ",";\n\n    div {\n      letter-spacing: 3.15px;\n      font-size: ",";\n      font-weight: ",";\n      text-transform: uppercase;\n    }\n  }\n\n  p {\n    font-size: 4rem;\n    letter-spacing: -0.6px;\n    margin-top: ",";\n    margin-left: ",";\n    margin-right: ",";\n\n    span {\n      letter-spacing: 3.15px;\n      font-size: ",";\n      font-weight: ",";\n    }\n  }\n\n  @media "," {\n    h2 {\n      font-size: ",";\n    }\n\n    p {\n      font-size: 3.5rem;\n    }\n  }\n\n  @media (max-width: 1140px) {\n    padding: ",";\n  }\n\n  @media "," {\n    padding: ",";\n    margin-top: 100px;\n  }\n\n  @media "," {\n    width: 100vw;\n    border-radius: 0;\n    justify-content: center;\n    margin-top: ",";\n  }\n"]);
1return ShortTerm_styles_templateObject8=function(){return e},e}function ShortTerm_styles_templateObject9(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n  width: 250px;\n\n  span {\n    text-align: center;\n    font-size: ",";\n    font-weight: ",";\n    color: ",";\n  }\n\n  h2 {\n    width: 110px;\n  }\n\n  p span {\n    letter-spacing: 1px;\n  }\n\n  @media (max-width: 1140px) {\n    max-width: 230px;\n  }\n\n  @media "," {\n    column-gap: ",";\n    max-width: 100%;\n  }\n"]);return ShortTerm_styles_templateObject9=function(){return e},e}let tp=_.ZP.div.withConfig({componentId:"sc-48cd212a-0"})(ShortTerm_styles_templateObject()),tg=_.ZP.div.withConfig({componentId:"sc-48cd212a-1"})(ShortTerm_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.xx_large},g.Hb.desktop,g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.fontSizes.small}),th=(0,_.iv)(ShortTerm_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.middle}),tx=_.ZP.div.withConfig({componentId:"sc-48cd212a-2"})(ShortTerm_styles_templateObject3(),th,g.Hb.desktop),tf=_.ZP.div.withConfig({componentId:"sc-48cd212a-3"})(ShortTerm_styles_templateObject4(),th,g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.spacing.x_large}),tb=_.ZP.div.withConfig({componentId:"sc-48cd212a-4"})(ShortTerm_styles_templateObject5(),e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.desktop,g.Hb.tablet),t_=_.ZP.div.withConfig({componentId:"sc-48cd212a-5"})(ShortTerm_styles_templateObject6(),g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.colors.text},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large}),tj=(0,_.ZP)(ep()).withConfig({componentId:"sc-48cd212a-6"})(ShortTerm_styles_templateObject7(),g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.middle}),tw=_.ZP.div.withConfig({componentId:"sc-48cd212a-7"})(ShortTerm_styles_templateObject8(),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.colors.text},e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.fontSizes.xxx_large},e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.weights.regular},e=>{let{theme:t}=e;return t.spacing.x_small},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.fontSizes.x_small},e=>{let{theme:t}=e;return t.weights.regular},g.Hb.x_desktop,e=>{let{theme:t}=e;return t.fontSizes.xxx_large},e=>{let{theme:t}=e;return"".concat(t.spacing.large," ").concat(t.spacing.middle)},g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.large},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large}),ty=_.ZP.div.withConfig({componentId:"sc-48cd212a-8"})(ShortTerm_styles_templateObject9(),e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.colors.text},g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.medium}),tO={essential:10,essentialPremium:15,smart:5,concierge:10};var ShortTerm_ShortTerm=e=>{let{onOpenForm:t,content:n,stepOne:r,stepTwo:i}=e,{t:l}=(0,c.$G)(),o=(0,O.Z)(g.Hb.tablet),d=o?24:32,{setSelectedPackages:m,selectedPackages:u}=D(e=>({setSelectedPackages:e.setSelectedPackages,selectedPackages:e.selectedPackages}),L.X),[p,x]=(0,a.useState)(0),[f,b]=(0,a.useState)(""),[_,j]=(0,a.useState)(""),[w,y]=(0,a.useState)("");(0,a.useEffect)(()=>{let e=[];f&&e.push(f),_&&e.push(_),w&&e.push(w),m(e),x(e.reduce((e,t)=>e+tO[t],0))},[w,f,m,_]);let v=!u.some(e=>["essential","essentialPremium"].includes(e));(0,a.useEffect)(()=>{v&&(m([]),j(""),y(""))},[v,m]);let S=n.find(e=>"essential"===e.subType),k=n.find(e=>"essentialPremium"===e.subType),C=n.find(e=>"smart"===e.subType),P=n.find(e=>"concierge"===e.subType);return(0,s.jsxs)(tp,{children:[(0,s.jsxs)(tg,{children:[(0,s.jsx)("h2",{children:r}),(0,s.jsx)(h.z,{minWidth:"1025px",children:(0,s.jsx)("h2",{children:i})})]}),(0,s.jsxs)(tx,{children:[(0,s.jsxs)(t_,{children:[(0,s.jsx)(Package
1Card_PackageCard,{term:"short_term",...S,setSelectedPackage:b,selectedPackage:f}),(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:(0,s.jsx)("span",{children:l("owner:or")})}),(0,s.jsx)(PackageCard_PackageCard,{term:"short_term",...k,mostPopular:!0,setSelectedPackage:b,selectedPackage:f})]}),(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(tj,{width:d,height:d,src:"".concat(eH.Mx,"/icons/owner/plus.png"),alt:l(l("common:plus"))})}),(0,s.jsxs)(tb,{children:[(0,s.jsx)(h.z,{maxWidth:g.J7.desktop,children:(0,s.jsx)(tg,{children:(0,s.jsx)("h2",{children:i})})}),(0,s.jsxs)(tf,{children:[(0,s.jsx)(PackageCard_PackageCard,{term:"short_term",...C,setSelectedPackage:j,selectedPackage:_,disabled:v,highlight:!v&&!!w&&!_}),(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(tj,{width:d,height:d,src:"".concat(eH.Mx,"/icons/owner/plus.png"),alt:l(l("common:plus"))})}),(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:(0,s.jsx)("span",{children:l("owner:andOr")})}),(0,s.jsx)(PackageCard_PackageCard,{term:"short_term",...P,setSelectedPackage:y,selectedPackage:w,disabled:v,highlight:!v&&!!_&&!w})]}),(0,s.jsxs)(tw,{children:[(0,s.jsxs)(ty,{children:[(0,s.jsxs)("h2",{children:[l("owner:total"),(0,s.jsx)("br",{}),(0,s.jsx)("div",{children:l("owner:serviceFee")})]}),p>0?(0,s.jsxs)("p",{children:[p,"%",(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:l("owner:excludingVAT")})]}):(0,s.jsx)("span",{children:"-".concat(l("owner:selectYourPackages"),"-")})]}),(0,s.jsx)(h.z,{minWidth:"769px",children:(0,s.jsx)(RevenueButton_RevenueButton,{onClick:t,placement:"packages_total"})})]}),(0,s.jsx)(h.z,{maxWidth:g.J7.tablet,children:(0,s.jsx)(RevenueButton_RevenueButton,{onClick:t,placement:"packages_total"})})]})]})]})},tv=n(60434);function Packages_styles_templateObject(){let e=(0,b._)(["\n  width: 100%;\n  max-width: 1200px;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  background-color: ",";\n  position: relative;\n  padding: ",";\n  text-align: left;\n\n  .sectionTitle {\n    width: 450px;\n\n    @media "," {\n      width: 350px;\n    }\n\n    @media "," {\n      max-width: 270px;\n    }\n  }\n\n  @media "," {\n    padding: ",";\n  }\n"]);return Packages_styles_templateObject=function(){return e},e}function Packages_styles_templateObject1(){let e=(0,b._)(["\n  width: 680px;\n  max-width: 85vw;\n  font-size: ",";\n  line-height: ",";\n  color: ",";\n  text-align: center;\n  margin: 0 auto;\n\n  @media "," {\n    text-align: left;\n  }\n"]);return Packages_styles_templateObject1=function(){return e},e}function Packages_styles_templateObject2(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  max-width: 1200px;\n  margin-top: ",";\n  min-height: 600px;\n"]);return Packages_styles_templateObject2=function(){return e},e}function Packages_styles_templateObject3(){let e=(0,b._)(["\n  flex-shrink: 0;\n  display: flex;\n  width: 100%;\n  max-width: 600px;\n  margin: 0 auto;\n"]);return Packages_styles_templateObject3=function(){return e},e}function Packages_styles_templateObject4(){let e=(0,b._)(["\n  background-color: ",";\n  padding: 0 20px;\n  height: 50px;\n  user-select: none;\n  flex: 1;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  line-height: 1;\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  column-gap: ",";\n\n  &:first-child {\n    border-top-left-radius: ",";\n  }\n\n  &:last-child {\n    border-top-right-radius: ",";\n  }\n\n  &:hover {\n    color: ",";\n\n    div {\n      background-color: ",";\n    }\n  }\n\n  &[data-state='active'] {\n    color: ",";\n    background-color: ",";\n  }\n\n  &:focus {\n    position: relative;\n  }\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return Packages_styles_templateObject4=function(){return e},e}function Packages_styles_templateObject5(){let e=(0,b._)(["\n  flex-grow: 1;\n  padding: "," 0;\n  background-color: white;\n  border-bottom-left-radius: 6px;\n  border-bottom-right-radius: 6px;\n  outline: none;\n  color: ",";\n\n  @media "," {\n    padding: "," 0;\n  }\n"]);return Packages_styles_templateObject5=function(){return e},e}
1function Packages_styles_templateObject6(){let e=(0,b._)(["\n  min-height: ",";\n  min-width: ",";\n  background-color: ",";\n  mask: url(",") no-repeat center / contain;\n  -webkit-mask: url(",") no-repeat center / contain;\n"]);return Packages_styles_templateObject6=function(){return e},e}let tS=_.ZP.div.withConfig({componentId:"sc-6ca1a898-0"})(Packages_styles_templateObject(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.x_large},g.Hb.tablet,g.Hb.mobile,g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large}),tk=_.ZP.p.withConfig({componentId:"sc-6ca1a898-1"})(Packages_styles_templateObject1(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.fontSizes.x_large},e=>{let{theme:t}=e;return t.colors.grey},g.Hb.tablet),tC=(0,_.ZP)(tv.fC).withConfig({componentId:"sc-6ca1a898-2"})(Packages_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.xx_large}),tP=(0,_.ZP)(tv.aV).withConfig({componentId:"sc-6ca1a898-3"})(Packages_styles_templateObject3()),tz=(0,_.ZP)(tv.xz).withConfig({componentId:"sc-6ca1a898-4"})(Packages_styles_templateObject4(),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.fontSizes.middle},e=>{let{theme:t}=e;return t.weights.medium},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.radii.large},e=>{let{theme:t}=e;return t.radii.large},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.primary},e=>{let{theme:t}=e;return t.colors.text},e=>{let{theme:t}=e;return t.colors.white},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.small}),tT=(0,_.ZP)(tv.VY).withConfig({componentId:"sc-6ca1a898-5"})(Packages_styles_templateObject5(),e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.colors.primary},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.xx_large}),tI=_.ZP.div.withConfig({componentId:"sc-6ca1a898-6"})(Packages_styles_templateObject6(),e=>{let{size:t}=e;return"".concat(t,"px")},e=>{let{size:t}=e;return"".concat(t,"px")},e=>{let{theme:t,selected:n}=e;return n?"".concat(t.colors.text," !important;"):t.colors.white},e=>{let{image:t}=e;return t},e=>{let{image:t}=e;return t});(i=o||(o={})).shortTerm="shortTerm",i.midTerm="midTerm",i.longTerm="longTerm";let tH={shortTerm:"short_term",midTerm:"mid_term",longTerm:"long_term"},Packages_Packages=e=>{let{section:t}=e,{t:n}=(0,c.$G)(),r=(0,a.useRef)(null),i=(0,O.Z)(g.Hb.tablet),l=i?18:26,[o,d]=(0,a.useState)("shortTerm"),onOpenForm=()=>{r.current&&r.current.click()},{title:m,description:u,packagesList:p}=t,getPackageContent=e=>null==p?void 0:p.filter(t=>t.type===e),h="".concat(eH.Mx,"/icons/owner/short-term.svg"),x="".concat(eH.Mx,"/icons/owner/mid-term.svg"),b="".concat(eH.Mx,"/icons/owner/long-term.svg");return(0,s.jsxs)(tS,{id:"packages",children:[(0,s.jsx)(forms_DialogOwnerForm,{triggerButton:(0,s.jsx)("button",{ref:r})}),(0,s.jsx)(y.D,{className:"sectionTitle",alignment:"center",children:m}),(0,s.jsx)(tk,{children:u}
1),(0,s.jsxs)(tC,{defaultValue:o,onValueChange:e=>{e!==o&&f.PackageTermSelected({term:tH[e],screen:e_.Z6.owner}),d(e)},children:[(0,s.jsxs)(tP,{id:"owner-packages",children:[(0,s.jsxs)(tz,{value:"shortTerm",children:[(0,s.jsx)(tI,{size:l,image:h,selected:"shortTerm"===o}),n("common:shortTerm")]}),(0,s.jsxs)(tz,{value:"midTerm",children:[(0,s.jsx)(tI,{size:l,image:x,selected:"midTerm"===o}),n("common:midTerm")]}),(0,s.jsxs)(tz,{value:"longTerm",children:[(0,s.jsx)(tI,{size:l,image:b,selected:"longTerm"===o}),n("common:longTerm")]})]}),(0,s.jsx)(tT,{value:"shortTerm",children:(0,s.jsx)(ShortTerm_ShortTerm,{onOpenForm:onOpenForm,content:getPackageContent("shortTerm"),stepOne:t.stepOne,stepTwo:t.stepTwo})}),(0,s.jsx)(tT,{value:"midTerm",children:(0,s.jsx)(MidTerm_MidTerm,{onOpenForm:onOpenForm,content:getPackageContent("midTerm"),stepMidTerm:t.stepMidTerm})}),(0,s.jsx)(tT,{value:"longTerm",children:(0,s.jsx)(LongTerm_LongTerm,{onOpenForm:onOpenForm,content:getPackageContent("longTerm"),stepLongTerm:t.stepLongTerm})})]})]})};var tZ=n(77451),tB=n(89382),tN=n(17e3);let fetchTestimonials=async e=>{let t=[],n="/testimonials?locale=".concat(e);try{let{data:e}=await ev.V.get(n);return(e.data||[]).forEach(e=>{let{attributes:n,id:r}=e;t.push({...n,id:r})}),t}catch(e){throw(0,eO.S)({error:e,endpoint:n}),(0,ew.U)(),Error(e.message)}},useTestimonialsQuery=e=>(0,tN.a)({queryKey:["testimonials",e],queryFn:()=>fetchTestimonials(e),keepPreviousData:!0,staleTime:1/0});function Testimonials_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  max-width: ",";\n  padding: ",";\n  scroll-margin-top: 200px;\n\n  @media "," {\n    padding: ",";\n  }\n\n  .sectionTitle {\n    max-width: 400px;\n    text-align: center;\n\n    @media "," {\n      max-width: 300px;\n    }\n  }\n"]);return Testimonials_styles_templateObject=function(){return e},e}function Testimonials_styles_templateObject1(){let e=(0,b._)(["\n  position: relative;\n  max-width: 95vw;\n  width: ",";\n  margin-left: auto;\n  margin-right: auto;\n"]);return Testimonials_styles_templateObject1=function(){return e},e}function Testimonials_styles_templateObject2(){let e=(0,b._)(["\n  overflow: hidden;\n  width: 100%;\n"]);return Testimonials_styles_templateObject2=function(){return e},e}function Testimonials_styles_templateObject3(){let e=(0,b._)(["\n  display: flex;\n  user-select: none;\n  -webkit-touch-callout: none;\n  -khtml-user-select: none;\n  -webkit-tap-highlight-color: transparent;\n"]);return Testimonials_styles_templateObject3=function(){return e},e}function Testimonials_styles_templateObject4(){let e=(0,b._)(["\n  flex: 0 0 50%;\n  min-width: 0;\n  position: relative;\n  display: flex;\n  justify-content: center;\n\n  @media (max-width: 905px) {\n    flex: 0 0 100%;\n  }\n"]);return Testimonials_styles_templateObject4=function(){return e},e}function Testimonials_styles_templateObject5(){let e=(0,b._)(["\n  margin: 0 auto ",";\n"]);return Testimonials_styles_templateObject5=function(){return e},e}function Testimonials_styles_templateObject6(){let e=(0,b._)(["\n  padding: ",";\n  background-color: ",";\n  border-radius: ",";\n"]);return Testimonials_styles_templateObject6=function(){return e},e}function Testimonials_styles_templateObject7(){let e=(0,b._)(["\n  margin-bottom: ",";\n"]);return Testimonials_styles_templateObject7=function(){return e},e}function Testimonials_styles_templateObject8(){let e=(0,b._)(["\n  margin-bottom: ",";\n"]);return Testimonials_styles_templateObject8=function(){return e},e}function Testimonials_styles_templateObject9(){let e=(0,b._)([""]);return Testimonials_styles_templateObject9=function(){return e},e}let tL=_.ZP.div.withConfig({componentId:"sc-e2f08788-0"})(Testimonials_styles_templateObject(),e=>{let{theme:t}=e;return t.baseContentWidth},e=>{let{theme:t}=e;return t.fontSizes.medium},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.tablet),tK=_.ZP.div.withConfig({componentId:"sc-e2f08788-1"})(Testimonials_styles_templateObject1(),e=>{let{theme:t}=e;return t.baseContentWidth}
1),tM=_.ZP.div.withConfig({componentId:"sc-e2f08788-2"})(Testimonials_styles_templateObject2()),tF=_.ZP.div.withConfig({componentId:"sc-e2f08788-3"})(Testimonials_styles_templateObject3()),tV=_.ZP.div.withConfig({componentId:"sc-e2f08788-4"})(Testimonials_styles_templateObject4()),tD=_.ZP.div.withConfig({componentId:"sc-e2f08788-5"})(Testimonials_styles_templateObject5(),e=>{let{theme:t}=e;return t.spacing.xxx_large}),tE=_.ZP.div.withConfig({componentId:"sc-e2f08788-6"})(Testimonials_styles_templateObject6(),e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.colors.background2},e=>{let{theme:t}=e;return t.radii.large}),tA=_.ZP.div.withConfig({componentId:"sc-e2f08788-7"})(Testimonials_styles_templateObject7(),e=>{let{theme:t}=e;return t.spacing.medium}),tR=_.ZP.div.withConfig({componentId:"sc-e2f08788-8"})(Testimonials_styles_templateObject8(),e=>{let{theme:t}=e;return t.spacing.small}),tG=_.ZP.div.withConfig({componentId:"sc-e2f08788-9"})(Testimonials_styles_templateObject9());function Testimonial_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  width: 440px;\n  height: 320px;\n  background-image: url(",");\n  background-size: cover;\n  background-position-y: top;\n  background-position-x: center;\n  background-repeat: no-repeat;\n  padding: ",";\n\n  @media "," {\n    width: 350px;\n    height: 250px;\n    padding: ",";\n    justify-content: center;\n  }\n"]);return Testimonial_styles_templateObject=function(){return e},e}function Testimonial_styles_templateObject1(){let e=(0,b._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 100%;\n  height: 205px;
1\n  border-top: 4px solid ",";\n  border-bottom: 4px solid ",";\n  padding-top: ",";\n\n  @media "," {\n    height: 160px;\n    width: 95%;\n    margin-top: ",";\n  }\n"]);return Testimonial_styles_templateObject1=function(){return e},e}function Testimonial_styles_templateObject2(){let e=(0,b._)(["\n  position: absolute;\n  top: -20px;\n  left: calc(50% - 54px);\n  padding: 0 ",";\n  background-color: ",";\n\n  @media "," {\n    top: -10px;\n    left: calc(50% - 48px);\n  }\n"]);return Testimonial_styles_templateObject2=function(){return e},e}function Testimonial_styles_templateObject3(){let e=(0,b._)(["\n  width: 100%;\n  font-size: ",";\n  letter-spacing: 0.68px;\n  color: ",";\n  text-transform: capitalize;\n  text-overflow: ellipsis;\n  text-align: center;\n  white-space: nowrap;\n  overflow: hidden;\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return Testimonial_styles_templateObject3=function(){return e},e}function Testimonial_styles_templateObject4(){let e=(0,b._)(["\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  text-transform: capitalize;\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return Testimonial_styles_templateObject4=function(){return e},e}function Testimonial_styles_templateObject5(){let e=(0,b._)(["\n  text-align: center;\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  padding-top: ",";\n  width: 100%;\n  overflow: hidden;\n  display: -webkit-box;\n  -webkit-line-clamp: 9;\n  -webkit-box-orient: vertical;\n\n  @media "," {\n    font-size: ",";\n    -webkit-line-clamp: 7;\n  }\n"]);return Testimonial_styles_templateObject5=function(){return e},e}let tW=_.ZP.div.withConfig({componentId:"sc-686ead0f-0"})(Testimonial_styles_templateObject(),e=>{let{image:t}=e;return t},e=>{let{theme:t}=e;return t.spacing.large},g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.small}),t$=_.ZP.div.withConfig({componentId:"sc-686ead0f-1"})(Testimonial_styles_templateObject1(),e=>{let{borderColor:t}=e;return t},e=>{let{borderColor:t}=e;return t},e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.middle}),tq=_.ZP.div.withConfig({componentId:"sc-686ead0f-2"})(Testimonial_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.colors.white},g.Hb.mobile),tJ=_.ZP.h3.withConfig({componentId:"sc-686ead0f-3"})(Testimonial_styles_templateObject3(),e=>{let{theme:t}=e;return t.fontSizes.middle},e=>{let{theme:t}=e;return t.colors.text},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.small}),tU=_.ZP.h4.withConfig({componentId:"sc-686ead0f-4"})(Testimonial_styles_templateObject4(),e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.weights.regular},e=>{let{theme:t}=e;return t.colors.text},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.x_small}),tQ=_.ZP.p.withConfig({componentId:"sc-686ead0f-5"})(Testimonial_styles_templateObject5(),e=>{let{theme:t}=e;return t.fontSizes.small},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.spacing.small},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.x_small}),tY={1:"#4F918E",2:"#706F6F",3:"#323334",4:"#346966"};var Testimonial_Testimonial=e=>{let{partnerName:t,partnerFrom:n,testimonial:r,index:i}=e,l=i%4+1,o=(0,O.Z)(g.Hb.mobile),a="".concat(eH.Mx,"/imgs/owner/testimonial-balloon-").concat(i%2==0?"right":"left",".png"),c="".concat(eH.Mx,"/imgs/owner/quote-").concat(l,".png");return(0,s.jsx)(tW,{image:a,children:(0,s.jsxs)(t$,{borderColor:tY[l],children:[(0,s.jsx)(tq,{children:(0,s.jsx)(ep(),{src:c,width:o?29:44,height:o?20:30,alt:"quotes"})}),(0,s.jsx)(tJ,{children:t}),(0,s.jsx)(tU,{children:n}),(0,s.jsx)(tQ,{title:r,children:r})]})})};let Testimonials=e=>{var t;let{isLoading:n}=e,{t:r,i18n:i}=(0,c.$G)(),{data:l,isError:o,isLoading:d=!0}=useTestimonialsQuery(null!==(t=i.language)&&void 0!==t?t:"en"),m=(0,a.useRef)((0,tZ.Z)({delay:5e3,stopOnInteraction:!1})),[u,p]=(0,tB.Z)({loop:!0,inViewThreshold:1,align:"start",breakpoints:{"(min-width: 815px)":{inViewThreshold:1}}},[m.current]),g=(0,a.useCallback)(()=>
1{if(!p)return},[p]);return((0,a.useEffect)(()=>{p&&(g(),p.on("select",g))},[p,g]),n||d)?(0,s.jsxs)(tL,{id:"testimonials",children:[(0,s.jsx)(tD,{children:(0,s.jsx)(w.O,{height:40,width:300})}),(0,s.jsx)(tK,{children:(0,s.jsx)(tM,{children:(0,s.jsx)(tF,{children:[1,2,3].map(e=>(0,s.jsx)(tV,{children:(0,s.jsxs)(tE,{children:[(0,s.jsx)(tA,{children:(0,s.jsx)(w.O,{height:100})}),(0,s.jsx)(tR,{children:(0,s.jsx)(w.O,{height:20,width:150})}),(0,s.jsx)(tG,{children:(0,s.jsx)(w.O,{height:16,width:100})})]})},e))})})})]}):l&&l.length>0&&!o?(0,s.jsxs)(tL,{id:"testimonials",children:[(0,s.jsx)(y.D,{className:"sectionTitle",alignment:"center",children:r("owner:testimonialTitle")}),(0,s.jsx)(tK,{children:(0,s.jsx)(tM,{ref:u,children:(0,s.jsx)(tF,{children:null==l?void 0:l.map((e,t)=>(0,s.jsx)(tV,{children:(0,s.jsx)(Testimonial_Testimonial,{...e,index:t+1})},e.id))})})})]}):null};function card_styles_templateObject(){let e=(0,b._)(["\n  position: relative;\n  height: 240px;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  row-gap: ",";\n  padding: ",";\n  box-shadow: 0px 3px 9px ",";\n  background-color: ",";\n  border-radius: ",";\n\n  &:hover {\n    border-bottom: 3px solid ",";\n  }\n\n  @media "," {\n    min-height: 290px;\n  }\n\n  @media "," {\n    box-shadow: none;\n    height: 100%;\n    min-height: 180px;\n    align-items: flex-start;\n    padding-top: ",";\n    padding-left: 120px;\n    border-radius: 0;\n\n    &:hover {\n      border-bottom: none;\n    }\n  }\n\n  ul {\n    text-align: left;\n  }\n"]);return card_styles_templateObject=function(){return e},e}function card_styles_templateObject1(){let e=(0,b._)(["\n  text-align: center;\n  font-size: ",";\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return card_styles_templateObject1=function(){return e},e}function card_styles_templateObject2(){let e=(0,b._)(["\n  padding-bottom: ",";\n  font-size: ",";\n"]);return card_styles_templateObject2=function(){return e},e}function card_styles_templateObject3(){let e=(0,b._)(["\n  position: absolute;\n  top: -40px;\n  width: 80px;\n  height: 80px;\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  background-color: ",";\n  box-shadow: 0px 15px 9px ",";\n\n  @media "," {\n    width: 52px;\n    height: 52px;\n    top: 60px;\n    left: 30px;\n  }\n"]);return card_styles_templateObject3=function(){return e},e}let tX=_.ZP.div.withConfig({componentId:"sc-43ae81fc-0"})(card_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return"".concat(t.spacing.xxx_large," ").concat(t.spacing.x_large," ").concat(t.spacing.large)},e=>{let{theme:t}=e;return t.shadows.color},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.large},e=>{let{theme:t}=e;return t.colors.primary},g.Hb.desktop,g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large}),t0=_.ZP.h2.withConfig({componentId:"sc-43ae81fc-1"})(card_styles_templateObject1(),e=>{let{theme:t}=e;return t.fontSizes.large},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.middle}),t1=_.ZP.li.withConfig({componentId:"sc-43ae81fc-2"})(card_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.fontSizes.small}),t2=_.ZP.div.withConfig({componentId:"sc-43ae81fc-3"})(card_styles_templateObject3(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.shadows.color},g.Hb.tablet);var card_Card=e=>{let{title:t,items:n,iconSrc:r}=e,i=(0,O.Z)(g.Hb.tablet);return(0,s.jsxs)(tX,{children:[(0,s.jsx)(t2,{children:(0,s.jsx)(ep(),{src:r,height:i?25:40,width:i?30:45,alt:t})}),(0,s.jsx)(t0,{children:t}),(0,s.jsx)("ul",{children:n.map(e=>(0,s.jsx)(t1,{children:e},e))})]})};function Differentials_styles_templateObject(){let e=(0,b._)(["\n  width: 100%;\n  max-width: 1200px;\n  height: 100%;\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  column-gap: ",";\n  padding: 0 ",";\n  margin-bottom: ",";\n  position: relative;\n  scroll-margin-top: 200px;\n\n  @media "," {\n    column-gap: ",";\n  }\n\n  @media "," {\n    grid-template-columns: repeat(1, 1fr);\n    row-gap: ",";\n    padding: 0;\n    top: 0px;\n    background-color: ",";\n  }\n"]);
1return Differentials_styles_templateObject=function(){return e},e}function Differentials_styles_templateObject1(){let e=(0,b._)(["\n  padding: ",";\n  background-color: ",";\n  border-radius: ",";\n"]);return Differentials_styles_templateObject1=function(){return e},e}function Differentials_styles_templateObject2(){let e=(0,b._)(["\n  margin-bottom: ",";\n"]);return Differentials_styles_templateObject2=function(){return e},e}function Differentials_styles_templateObject3(){let e=(0,b._)(["\n  margin-bottom: ",";\n"]);return Differentials_styles_templateObject3=function(){return e},e}function Differentials_styles_templateObject4(){let e=(0,b._)(["\n  margin-bottom: ",";\n"]);return Differentials_styles_templateObject4=function(){return e},e}let t5=_.ZP.div.withConfig({componentId:"sc-97dadebc-0"})(Differentials_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.spacing.medium},g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.medium},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.colors.background2}),t8=_.ZP.div.withConfig({componentId:"sc-97dadebc-1"})(Differentials_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.radii.large}),t6=_.ZP.div.withConfig({componentId:"sc-97dadebc-2"})(Differentials_styles_templateObject2(),e=>{let{theme:t}=e;return t.spacing.medium}),t3=_.ZP.div.withConfig({componentId:"sc-97dadebc-3"})(Differentials_styles_templateObject3(),e=>{let{theme:t}=e;return t.spacing.small}),t4=_.ZP.div.withConfig({componentId:"sc-97dadebc-4"})(Differentials_styles_templateObject4(),e=>{let{theme:t}=e;return t.spacing.x_small}),Differentials=e=>{let{section:t,isLoading:n}=e;return n||!t?(0,s.jsx)(t5,{id:"differentials",children:Array.from({length:3}).map((e,t)=>(0,s.jsxs)(t8,{children:[(0,s.jsx)(t6,{children:(0,s.jsx)(w.O,{height:40,width:40,circle:!0})}),(0,s.jsx)(t3,{children:(0,s.jsx)(w.O,{height:24,width:"80%"})}),(0,s.jsx)(t4,{children:(0,s.jsx)(w.O,{height:16,width:"100%",count:3})})]},t))}):(0,s.jsx)(t5,{id:"differentials",children:t.map(e=>{let{description:t,title:n,iconName:r}=e;return(0,s.jsx)(card_Card,{title:n,iconSrc:"".concat(eH.Mx,"/icons/owner/").concat(r,".png"),items:t.items},n)})})};function KeyServices_styles_templateObject(){let e=(0,b._)(["\n  margin-top: 100px;\n  margin-bottom: ",";\n  width: 100%;\n  max-width: ",";\n  display: flex;\n  justify-content: space-between;\n  flex-direction: column;\n  position: relative;\n  padding: 0 ",";\n  scroll-margin-top: 200px;\n\n  @media "," {\n    gap: ",";\n  }\n\n  @media "," {\n    background-image: none;\n    flex-direction: column;\n    gap: ",";\n  }\n\n  @media "," {\n    margin: "," 0 0;\n  }\n"]);return KeyServices_styles_templateObject=function(){return e},e}function KeyServices_styles_templateObject1(){let e=(0,b._)(["\n  width: 100%;\n  display: flex;\n  gap: ",";\n  margin-bottom: ",";\n\n  @media "," {\n    flex-direction: column;\n    gap: ",";\n  }\n"]);return KeyServices_styles_templateObject1=function(){return e},e}function KeyServices_styles_templateObject2(){let e=(0,b._)(["\n  max-width: 440px;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n\n  .sectionTitle {\n    max-width: 355px;\n\n    @media "," {\n      max-width: 215px;\n    }\n  }\n"]);return KeyServices_styles_templateObject2=function(){return e},e}function KeyServices_styles_templateObject3(){let e=(0,b._)(["\n  font-size: ",";\n  line-height: ",";\n  color: ",";\n  text-align: left;\n"]);return KeyServices_styles_templateObject3=function(){return e},e}function KeyServices_styles_templateObject4(){let e=(0,b._)(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n"]);return KeyServices_styles_templateObject4=function(){return e},e}function KeyServices_styles_templateObject5(){let e=(0,b._)(["\n  width: 95%;\n  min-width: 420px;\n  position: relative;\n  top: 0;\n\n  @media "," {\n    width: 100%;\n    top: 40px;\n    min-width: 100%;\n    position: relative;\n  }\n"]);
1return KeyServices_styles_templateObject5=function(){return e},e}function KeyServices_styles_templateObject6(){let e=(0,b._)(["\n  padding: 45px 20px 35px 25px;\n  width: 340px;\n  height: 220px;\n  background-image: url(","/imgs/owner/testimonialBalloon.png);\n  background-position: center;\n  background-repeat: no-repeat;\n  background-size: contain;\n  position: absolute;\n  top: -70px;\n  right: -10px;\n  z-index: 1;\n\n  @media "," {\n    width: 300px;\n    right: -15px;\n    padding-top: 55px;\n  }\n"]);return KeyServices_styles_templateObject6=function(){return e},e}function KeyServices_styles_templateObject7(){let e=(0,b._)(["\n  display: flex;\n  gap: ",";\n  margin-bottom: ",";\n  color: ",";\n\n  > span {\n    color: ",";\n    font-size: ",";\n    font-weight: ",";\n    display: flex;\n    align-items: center;\n\n    @media "," {\n      font-size: ",";\n    }\n  }\n\n  > div {\n    text-align: left;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n\n    p {\n      font-size: ",";\n    }\n\n    span {\n      font-size: ",";\n    }\n\n    @media "," {\n      line-height: ",";\n    }\n  }\n"]);return KeyServices_styles_templateObject7=function(){return e},e}function KeyServices_styles_templateObject8(){let e=(0,b._)(["\n  text-align: left;\n  font-size: ",";\n  color: ",";\n  overflow: hidden;\n  display: -webkit-box;\n  -webkit-line-clamp: 6;\n  -webkit-box-orient: vertical;\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return KeyServices_styles_templateObject8=function(){return e},e}function KeyServices_styles_templateObject9(){let e=(0,b._)(["\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: ",";\n  margin-bottom: ",";\n\n  @media "," {\n    grid-template-columns: 1fr;\n    row-gap: ",";\n  }\n"]);return KeyServices_styles_templateObject9=function(){return e},e}function KeyServices_styles_templateObject10(){let e=(0,b._)(["\n  text-align: left;\n  width: 100%;\n  max-width: 260px;\n  box-shadow: none;\n  display: flex;\n  flex-direction: column;\n  padding: 0;\n  gap: ",";\n\n  @media "," {\n    box-shadow: ",";\n    padding: ",";\n    gap: ",";\n    flex-direction: row;\n    max-width: 100%;\n  }\n\n  @media "," {\n    padding: ",";\n    gap: ",";\n  }\n"]);return KeyServices_styles_templateObject10=function(){return e},e}function KeyServices_styles_templateObject11(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n"]);return KeyServices_styles_templateObject11=function(){return e},e}function KeyServices_styles_templateObject12(){let e=(0,b._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n\n  @media "," {\n    gap: ",";\n  }\n"]);return KeyServices_styles_templateObject12=function(){return e},e}function KeyServices_styles_templateObject13(){let e=(0,b._)(["\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n\n  @media "," {\n    font-size: ",";\n  }\n"]);return KeyServices_styles_templateObject13=function(){return e},e}function KeyServices_styles_templateObject14(){let e=(0,b._)(["\n  font-size: ",";\n  line-height: ",";\n  color: ",";\n"]);return KeyServices_styles_templateObject14=function(){return e},e}let t9=_.ZP.section.withConfig({componentId:"sc-dcd8a8ae-0"})(KeyServices_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.x_large},e=>{let{theme:t}=e;return t.baseContentWidth},e=>{let{theme:t}=e;return t.spacing.large},g.Hb.x_desktop,e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.desktop,e=>{let{theme:t}=e;return t.spacing.large},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.x_large}),t7=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-1"})(KeyServices_styles_templateObject1(),e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.spacing.xx_large},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.xx_large}),ne=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-2"})(KeyServices_styles_templateObject2(),g.Hb.mobile),nt=_.ZP.p.withConfig({componentId:"sc-dcd8a8ae-3"})(KeyServices_styles_templateObject3(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.fontSizes.x_large},e=>{let{theme:t}=e;return t.colors.grey}),nn=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-4"}
1)(KeyServices_styles_templateObject4()),nr=_.ZP.img.withConfig({componentId:"sc-dcd8a8ae-5"})(KeyServices_styles_templateObject5(),g.Hb.tablet),ni=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-6"})(KeyServices_styles_templateObject6(),eH.Mx,g.Hb.tablet),nl=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-7"})(KeyServices_styles_templateObject7(),e=>{let{theme:t}=e;return t.spacing.middle},e=>{let{theme:t}=e;return t.spacing.small},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.fontSizes.xxx_large},e=>{let{theme:t}=e;return t.weights.bold},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.large},e=>{let{theme:t}=e;return t.fontSizes.x_small},e=>{let{theme:t}=e;return t.fontSizes.x_small},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.x_small}),no=_.ZP.p.withConfig({componentId:"sc-dcd8a8ae-8"})(KeyServices_styles_templateObject8(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.colors.white},g.Hb.tablet,e=>{let{theme:t}=e;return t.fontSizes.x_small}),ns=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-9"})(KeyServices_styles_templateObject9(),e=>{let{theme:t}=e;return t.spacing.xx_large},e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.tablet,e=>{let{theme:t}=e;return t.spacing.middle}),na=(0,_.ZP)(eI.x).withConfig({componentId:"sc-dcd8a8ae-10"})(KeyServices_styles_templateObject10(),e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.tablet,e=>{let{theme:t}=e;return t.shadows.boxShadow},e=>{let{theme:t}=e;return t.spacing.large},e=>{let{theme:t}=e;return t.spacing.large},g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.medium},e=>{let{theme:t}=e;return t.spacing.medium}),nc=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-11"})(KeyServices_styles_templateObject11()),nd=_.ZP.div.withConfig({componentId:"sc-dcd8a8ae-12"})(KeyServices_styles_templateObject12(),e=>{let{theme:t}=e;return t.spacing.middle},g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.small}),nm=_.ZP.h3.withConfig({componentId:"sc-dcd8a8ae-13"})(KeyServices_styles_templateObject13(),e=>{let{theme:t}=e;return t.fontSizes.medium},e=>{let{theme:t}=e;return t.weights.bold},e=>{let{theme:t}=e;return t.colors.text},g.Hb.mobile,e=>{let{theme:t}=e;return t.fontSizes.small}),nu=_.ZP.p.withConfig({componentId:"sc-dcd8a8ae-14"})(KeyServices_styles_templateObject14(),e=>{let{theme:t}=e;return t.fontSizes.small},e=>{let{theme:t}=e;return t.fontSizes.large},e=>{let{theme:t}=e;return t.colors.grey}),KeyServices=e=>{let{section:t,isLoading:n}=e,{t:r}=(0,c.$G)(),i=(0,O.Z)(g.Hb.mobile);if(n||!t)return(0,s.jsxs)(t9,{id:"key-services",children:[(0,s.jsxs)(t7,{children:[(0,s.jsxs)(ne,{children:[(0,s.jsx)(w.O,{height:40,width:300,style:{marginBottom:16}}),(0,s.jsx)(w.O,{height:20,width:"80%",count:2})]}),(0,s.jsx)(nn,{children:(0,s.jsx)(w.O,{height:400,borderRadius:8})})]}),(0,s.jsx)(ns,{children:Array.from({length:6}).map((e,t)=>(0,s.jsxs)(na,{children:[(0,s.jsx)(nc,{children:(0,s.jsx)(w.O,{height:35,width:35,circle:!0})}),(0,s.jsxs)(nd,{children:[(0,s.jsx)(w.O,{height:20,width:"70%",style:{marginBottom:8}}),(0,s.jsx)(w.O,{height:14,width:"100%",count:2})]})]},t))})]});let{title:l,description:o,services:a,testimonial:d}=t,m="★".repeat((null==d?void 0:d.review)||5);return(0,s.jsxs)(t9,{id:"key-services",children:[(0,s.jsxs)(t7,{children:[(0,s.jsxs)(ne,{children:[(0,s.jsx)(y.D,{className:"sectionTitle",children:l}),(0,s.jsx)(nt,{children:o})]}),(0,s.jsxs)(nn,{children:[(0,s.jsxs)(ni,{children:[(0,s.jsxs)(nl,{children:[(0,s.jsx)("span",{children:"".concat(null==d?void 0:d.review,".0")}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{children:null==d?void 0:d.ownerName}),(0,s.jsx)("span",{children:m})]})]}),(0,s.jsx)(no,{children:null==d?void 0:d.description})]}),(0,s.jsx)(nr,{alt:r("owner:keyServices.apartmentView"),src:"".concat(eH.Mx,"/imgs/owner/apartmentView.png")})]})]}),(0,s.jsx)(ns,{children:null==a?void 0:a.map((e,t)=>(0,s.jsxs)(na,{children:[(0,s.jsx)(nc,{children:(0,s.jsx)(ep(),{width:i?24:35,height:i?24:35,src:"".concat(eH.Mx,"/icons/key-services/").concat(e.iconName,".svg"),alt:e.title})}),(0,s.jsxs)(nd,{children:[(0,s.jsx)(nm,{children:e.title}),(0,s.jsx)(nu,{children:e.description})]})]},t))})]})};
1function DashboardDemo_styles_templateObject(){let e=(0,b._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  margin-bottom: ",";\n  background-color: ",";\n"]);return DashboardDemo_styles_templateObject=function(){return e},e}function DashboardDemo_styles_templateObject1(){let e=(0,b._)(["\n  width: 1100px;\n\n  @media "," {\n    width: 100vw;\n  }\n"]);return DashboardDemo_styles_templateObject1=function(){return e},e}let np=_.ZP.div.withConfig({componentId:"sc-698a2747-0"})(DashboardDemo_styles_templateObject(),e=>{let{theme:t}=e;return t.spacing.xxx_large},e=>{let{theme:t}=e;return t.colors.white}),ng=_.ZP.video.withConfig({componentId:"sc-698a2747-1"})(DashboardDemo_styles_templateObject1(),g.Hb.desktop),DashboardDemo=()=>(0,s.jsx)(np,{id:"dashboard-demo",children:(0,s.jsx)(ng,{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,poster:"".concat(eH.Mx,"/imgs/owner/video-thumbnail.png"),children:(0,s.jsx)("source",{src:"".concat(eH.Mx,"/videos/dashboardOwner.mp4")})})});var nh=n(43627),nx=n(62919),nf=n(20521),nb=n(43583),n_=n(53879),nj=n(34487);let useOwnerSectionsQuery=(e,t)=>(0,tN.a)({queryKey:["owner-sections",e],queryFn:()=>fetchOwnerSections(e),staleTime:nj.no,cacheTime:nj.fz,refetchOnWindowFocus:!1,initialData:t});function owner_styles_templateObject(){let e=(0,b._)(["\n  width: 100%;\n  height: 100%;\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n  background-color: ",";\n  padding-bottom: ",";\n  overflow: hidden;\n\n  @media "," {\n    flex-direction: column;\n    width: 100%;\n    text-align: center;\n\n    .ownerBanner {\n      right: 24px;\n    }\n  }\n\n  @media "," {\n    .ownerBanner {\n      width: 90px;\n      height: 90px;\n\n      p {\n        margin-top: ",";\n      }\n    }\n  }\n"]);return owner_styles_templateObject=function(){return e},e}let nw=_.ZP.div.withConfig({componentId:"sc-c076cd6f-0"})(owner_styles_templateObject(),e=>{let{theme:t}=e;return t.colors.white},e=>{let{theme:t}=e;return t.spacing.xxx_large},g.Hb.tablet,g.Hb.mobile,e=>{let{theme:t}=e;return t.spacing.x_small}),Owner=e=>{var t,n,r;let{geozones:i,data:l}=e,o=(0,p.useRouter)(),{t:m,i18n:h}=(0,c.$G)(),x=(0,O.Z)(g.Hb.tablet),{data:f,isLoading:b}=useOwnerSectionsQuery(null!==(t=h.language)&&void 0!==t?t:"en",l),[_,j]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(o.asPath.includes("#packages")){let e=document.getElementById(nb.um);e&&e.scrollIntoView({block:"center"})}},[o.asPath]),(0,a.useEffect)(()=>{let handleScroll=()=>{let e=document.getElementById("income-simulator"),t=e?e.offsetHeight:0,n=window.scrollY;j(n>=t)};return window.addEventListener("scroll",handleScroll),()=>{window.removeEventListener("scroll",handleScroll)}},[]);let w=(0,a.useRef)(null),y=(0,s.jsx)(nf.Y,{href:"#",label:m("owner:contactUs"),variant:"light",onClick:()=>{if(x){var e;null===(e=w.current)||void 0===e||e.click()}else{let e=document.getElementById("income-simulator");e&&e.scrollIntoView({behavior:"smooth"})}},style:{display:_||x?"block":"none"},className:"ownerBanner",screen:e_.Z6.owner}),v=null==f?void 0:f.hero,S=null==f?void 0:f.differentials,k=null==f?void 0:f.keyServices,C=null==f?void 0:f.landlords,P=null==f?void 0:f.packages,z=null==f?void 0:f.seo,{asPath:T,locale:I}=o,H=(0,n_.nQ)(n_.cy,T,I),Z=i?i.split(", "):[],B={"@context":"https://schema.org","@type":"Service",serviceType:"Short-term rental property management",name:null!==(n=null==z?void 0:z.title)&&void 0!==n?n:m("common:seo.owner.title"),description:null!==(r=null==z?void 0:z.description)&&void 0!==r?r:m("common:seo.owner.description",{geozones:i}),provider:{"@type":"Organization",name:"LovelyStay",url:n_.cy},areaServed:Z.map(e=>({"@type":"City",name:e})),url:H};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.PB,{title:(null==z?void 0:z.title)?z.title:m("common:seo.owner.title"),description:(null==z?void 0:z.description)?z.description:m("common:seo.owner.description",{geozones:i}),openGraph:{}}),(0,s.jsx)(d.gR,{itemListElements:[{position:1,name:"LovelyStay",item:n_.cy},{position:2,name:m("common:seo.owner.title"),item:H}]}),(0,s.jsx)(u(),{children:(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(B).replace(/</g,"\\u003c")}})}),(0,s.jsx)(nx.u,{}),(0,s.jsxs)(nw,{children:[(0,s.jsx)(forms_DialogOwnerForm,{triggerButton:(0,s.jsx)("button",{ref:w})}),y,(0,s.jsx)(Hero,{section:v,isLoading:b&&!v}),(0,s.jsx)(DashboardDemo,{}),(0,s.jsx)(Differentials,{section:S,isLoading:b&&!S}),(0,s.jsx)(KeyServices,{section:k,isLoading:b&&!k}),(0,s.jsx)(LandlordsNumber,{section:C,isLoading:b&&!C}),!b&&P&&(0,s.jsx)(Packages_Packages,{section:P}),(0,s.jsx)(Testimonials,{isLoading:b&&!f})]})]})};Owner.getLayout=e=>
1(0,s.jsx)(nh.A,{children:e});var ny=!0,nO=Owner},48303:function(e,t,n){"use strict";var r=n(87066);let i=r.default.create({baseURL:"https://dashboard.lovelystay.com/api",withCredentials:!0});t.Z=i},47689:function(e,t,n){"use strict";n.d(t,{n:function(){return payloadBuilder},s:function(){return ownerPayloadBuilder}});let sourcePayload=()=>{var e,t,n,r;let i=new URLSearchParams(location.search);return{adSource:null!==(e=i.get("utm_source"))&&void 0!==e?e:"",adMedium:null!==(t=i.get("utm_medium"))&&void 0!==t?t:"",adCampaign:null!==(n=i.get("utm_campaign"))&&void 0!==n?n:"",adContent:null!==(r=i.get("utm_content"))&&void 0!==r?r:""}},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,6116,9268,2884,3627,4555,3956,9774,2888,179],function(){return e(e.s=72422)}),_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.