1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2884],{5826:function(n,e,t){t.d(e,{z:function(){return MediaQuery}});var r=t(85893),i=t(5152),o=t.n(i);let l=o()(()=>t.e(1852).then(t.t.bind(t,1852,23)),{loadableGenerated:{webpack:()=>[1852]},ssr:!1}),MediaQuery=n=>{let{children:e,maxWidth:t,minWidth:i}=n;return(0,r.jsx)(l,{maxWidth:t,minWidth:i,children:e})}},61343:function(n,e,t){t.d(e,{O:function(){return Burger}});var r=t(85893),i=t(37303),o=t(82729),l=t(85444),a=t(53182),c=t(45177);function _templateObject(){let n=(0,o._)(["\n margin-top: 0;\n display: none;\n\n @media (max-width: 992px) {\n display: flex !important;\n }\n "]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,o._)(["\n &.active {\n .bar {\n background-color: ",";\n }\n }\n "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,o._)(["\n display: none;\n "]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,o._)(["\n display: none;\n outline: none;\n border: none;\n background-color: transparent;\n margin-top: ",";\n z-index: 2;\n\n ",";\n\n @media (max-width: 1300px) {\n display: flex;\n padding: ",";\n\n &.active {\n position: fixed;\n right: 14px;\n top: 22px;\n }\n\n ",";\n\n ",";\n }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,o._)(["\n background-color: ",";\n width: 20px;\n "]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,o._)(["\n background-color: ",";\n "]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,o._)(["\n height: 14px;\n\n .bar:nth-child(2) {\n top: 6px;\n }\n .bar:nth-child(3) {\n top: 12px;\n }\n "]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,o._)(["\n display: flex;\n flex-direction: column;\n row-gap: ",";\n position: relative;\n align-items: center;\n justify-content: center;\n height: 20px;\n width: 28px;\n\n .bar {\n width: 100%;\n height: 2px;\n background-color: ",";\n border-radius: ",";\n position: absolute;\n transition: all 100ms;\n right: ",";\n\n ",";\n\n ",";\n }\n\n .bar:nth-child(1) {\n top: ",";\n }\n .bar:nth-child(2) {\n top: 10px;\n }\n\n &.active {\n .bar:nth-child(1) {\n top: 10px;\n transform: rotate(45deg);\n }\n .bar:nth-child(2) {\n top: 10px;\n transform: rotate(-45deg);\n }\n }\n\n ",";\n\n @media "," {\n width: 22px;\n\n .bar {\n height: 1px;\n }\n }\n"]);return _templateObject7=function(){return n},n}let s=l.ZP.button.withConfig({componentId:"sc-bd53cc16-0"})(_templateObject3(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.currentCompany===c.O3.andoliving?(0,l.iv)(_templateObject()):null},n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.x_small)},n=>{let{theme:e}=n;return e.currentCompany===c.O3.ferienhaus?(0,l.iv)(_templateObject1(),e.colors.white):null},n=>{let{theme:e}=n;return e.currentCompany===c.O3.andoliving?(0,l.iv)(_templateObject2()):null}),u=l.ZP.div.withConfig({componentId:"sc-bd53cc16-1"})(_templateObject7(),n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.small},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.currentCompany===c.O3.andoliving?(0,l.iv)(_templateObject4(),e.colors.black):null},n=>{let{theme:e}=n;return e.currentCompany===c.O3.ferienhaus?(0,l.iv)(_templateObject5(),e.colors.secondary):null},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.currentCompany===c.O3.andoliving?(0,l.iv)(_templateObject6()):null},a.Hb.mobile),Burger=n=>{let{isOpen:e,setIsOpen:t}=n,{t:o}=(0,i.$G)();return(0,r.jsx)(s,{type:"button",title:o(e?"common:navbar.closeMenu":"common:navbar.openMenu"),onClick:()=>t(n=>!n),className:"".concat(e?"active":"").trim(),children:(0,r.jsxs)(u,{className:"container ".concat(e?"active":"").trim(),children:[(0,r.jsx)("div",{className:"bar"}),(0,r.jsx)("div",{className:"bar"})]})})}},49762:function(n,e,t){t.d(e,{I:function(){return LangSelection}});var r=t(85893),i=t(67294),o=t(37303),l=t(25675),a=t.n(l),c=t(11163),s=t(12854),u=t(96219),d=t(53182),m=t(80258),p=t(59886);let useEffectOnce=n=>{let e=(0,i.useRef)(n),t=(0,i.useRef)(),r=(0,i.useRef)(!1),o=(0,i.useRef)(!1),[,l]=(0,i.useState)(0);r.current&&(o.current=!0),(0,i.useEffect)(()=>(r.current||(t.current=e.current(),r.current=!0),l(n=>n+1),()=>{o.current&&t.current&&t.current()}),[])};var b=t(28477),f=t(22293),g=t(96597),h=t(82729),x=t(85444);
1function _templateObject(){let n=(0,h._)(["\n width: 100%;\n left: 0;\n top: 0;\n border-radius: 0;\n height: ",";\n box-shadow: none;\n "]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,h._)(["\n width: 380px;\n "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,h._)(["\n display: flex;\n flex-direction: column;\n background-color: ",";\n width: 380px;\n height: ",";\n position: absolute;\n top: ",";\n right: 20px;\n z-index: 501;\n overflow: hidden;\n transition: all 0.2s;\n border-radius: ",";\n box-shadow: ",";\n\n ",";\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,h._)(["\n font-size: ",";\n "]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,h._)(["\n font-size: ",";\n color: ",";\n font-family: ",";\n letter-spacing: ",";\n font-weight: ",";\n\n ",";\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,h._)(["\n padding: ",";\n\n @media "," {\n padding: ",";\n }\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,h._)(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n justify-content: space-between;\n margin-top: ",";\n\n @media "," {\n grid-template-columns: 1fr;\n margin-top: ",";\n margin-bottom: ",";\n }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,h._)(["\n display: flex;\n align-items: center;\n cursor: pointer;\n border: none;\n padding: ",";\n transition: all 0.4s;\n\n @media "," {\n border-bottom: 1px solid #dddddd;\n padding: ",";\n\n &:last-child {\n border-bottom: none;\n }\n }\n\n &:hover {\n border-radius: 5px;\n background: rgba(79, 176, 175, 0.1);\n }\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,h._)(["\n margin-right: ",";\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,h._)(["\n display: flex;\n flex-direction: column;\n height: 120px;\n padding: ",";\n border-top: 1px solid ",";\n\n p {\n font-size: ",";\n margin-bottom: ",";\n }\n\n #google_translate_element {\n select {\n box-shadow: ",";\n border: 2px solid transparent;\n min-height: 28px;\n border-radius: ",";\n width: 100%;\n padding: 0 ",";\n margin-bottom: ",";\n color: ",";\n }\n }\n\n .goog-te-combo + .goog-te-combo,\n .skiptranslate + .skiptranslate {\n display: none;\n }\n"]);return _templateObject9=function(){return n},n}function _templateObject10(){let n=(0,h._)(["\n position: absolute;\n height: 25px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding: ",";\n top: 12px;\n\n svg {\n color: ",";\n }\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){let n=(0,h._)(["\n margin-left: ",";\n\n svg {\n color: ",";\n }\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){let n=(0,h._)(["\n background-color: ",";\n border-radius: 6px;\n box-shadow: hsl(206 22% 7% / 35%) 0px 10px 38px -10px,\n hsl(206 22% 7% / 20%) 0px 10px 20px -15px;\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 540px;\n max-width: 90vw;\n max-height: 85vh;\n padding: ",";\n z-index: 1000;\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){let n=(0,h._)(["\n max-height: 84vh;\n overflow-y: auto;\n padding: 0 ",";\n\n h3 {\n display: flex;\n align-items: center;\n justify-content: center;\n column-gap: ",";\n padding-bottom: ",";\n margin-bottom: ",";\n border-bottom: 1px solid ",";\n }\n\n p {\n font-weight: ",";\n color: ",";\n font-size: ",";\n margin-top: ",";\n }\n\n @media "," {\n padding: 0 ",";\n }\n"]);return _templateObject13=function(){return n},n}
1function _templateObject14(){let n=(0,h._)(["\n display: flex;\n column-gap: ",";\n margin-bottom: ",";\n\n svg {\n min-width: 20px;\n min-height: 20px;\n }\n\n div {\n display: flex;\n flex-direction: column;\n\n h4 {\n font-size: ",";\n font-weight: ",";\n }\n }\n\n @media "," {\n column-gap: ",";\n }\n"]);return _templateObject14=function(){return n},n}let _=x.ZP.div.withConfig({componentId:"sc-38202d1f-0"})(_templateObject2(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{isOpen:e}=n;return e?"auto;":"0;"},n=>{let{top:e}=n;return e?"".concat(100+parseInt(e,10),"px"):"100px"},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.shadows.boxShadow},n=>{let{isFull:e,isOpen:t,theme:r}=n;return e?(0,x.iv)(_templateObject(),t?"calc(100vh - ".concat(r.navbarHeight,");"):"0;"):(0,x.iv)(_templateObject1())}),j=x.ZP.p.withConfig({componentId:"sc-38202d1f-1"})(_templateObject4(),n=>{let{theme:e}=n;return e.fontSizes.medium},n=>{let{theme:e}=n;return e.colors.black},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{weight:e}=n;return e},n=>{let{size:e}=n;return e&&(0,x.iv)(_templateObject3(),d.TV.fontSizes[e])}),v=x.ZP.div.withConfig({componentId:"sc-38202d1f-2"})(_templateObject5(),n=>{let{theme:e}=n;return e.spacing.large},d.Hb.mobile,n=>{let{theme:e}=n;return e.spacing.medium}),w=x.ZP.div.withConfig({componentId:"sc-38202d1f-3"})(_templateObject6(),n=>{let{theme:e}=n;return e.spacing.large},d.Hb.mobile,n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.medium}),y=x.ZP.div.withConfig({componentId:"sc-38202d1f-4"})(_templateObject7(),n=>{let{theme:e}=n;return e.spacing.middle},d.Hb.mobile,n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.none)}),O=(0,x.ZP)(a()).withConfig({componentId:"sc-38202d1f-5"})(_templateObject8(),n=>{let{theme:e}=n;return e.spacing.small}),k=x.ZP.div.withConfig({componentId:"sc-38202d1f-6"})(_templateObject9(),n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.large)},n=>{let{theme:e}=n;return e.colors.grey2},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.shadows.boxShadow},n=>{let{theme:e}=n;return e.radii.xxx_large},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.colors.text}),C=x.ZP.button.withConfig({componentId:"sc-38202d1f-7"})(_templateObject10(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.colors.text}),S=x.ZP.button.withConfig({componentId:"sc-38202d1f-8"})(_templateObject11(),n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{theme:e}=n;return e.colors.black}),Z=(0,x.ZP)(s.VY).withConfig({componentId:"sc-38202d1f-9"})(_templateObject12(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.large}),I=x.ZP.div.withConfig({componentId:"sc-38202d1f-10"})(_templateObject13(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.colors.grey2},n=>{let{theme:e}=n;return e.weights.regular},n=>{let{theme:e}=n;return e.colors.grey},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.spacing.small},d.Hb.mobile,n=>{let{theme:e}=n;return e.spacing.middle}),P=x.ZP.div.withConfig({componentId:"sc-38202d1f-11"})(_templateObject14(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.weights.semiBold},d.Hb.mobile,n=>{let{theme:e}=n;return e.spacing.middle}),LangSelection=n=>{let{top:e,isOpen:t,isFull:l,openMenuLang:h}=n,x=(0,c.useRouter)(),{t:z}=(0,o.$G)(),{pathname:E,asPath:N,query:H}=x,M=(0,b.Z)(d.Hb.tablet),T=(0,i.useRef)(null);(0,f.t)(T,n=>{let e=document.getElementById(g.p);e&&!e.contains(n.target)&&h(!1)}),(0,i.useEffect)(()=>{let updateTranslationBannerStyles=()=>{var n;let e=document.getElementById(":1.container"),t=null==e?void 0:null===(n=e.contentWindow)||void 0===n?void 0:n.document.getElementById("options");t&&(t.style.display=M?"none":"table-cell")};return window.addEventListener("resize",updateTranslationBannerStyles),()=>{window.removeEventListener("resize",updateTranslationBannerStyles)}},[M]),useEffectOnce(()=>{let n=document.createElement("script");n.setAttribute("src","//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"),document.body.appendChild(n),window.googleTranslateElementInit=googleTranslateElementInit});let googleTranslateElementInit=()=>new window.google.translate.TranslateElement({pageLanguage:"auto",includedLanguages:"fr,tr,es,de",layout:window.google.translate.TranslateElement.InlineLayout.BUTTON},"google_translate_element"),changeLanguage=n=>{x.push({pathname:E,query:H},N,{locale:n}),h(!1)},U=z("common:navbar.translationSection.disclaimer.descriptions",{returnObjects:!0});return(0,r.jsxs)(_,{isFull:null!=l?l:M,ref:T,isOpen:t,top:e,children:[M&&(0,r.jsx)(C,{onClick:()=>h(!1),children:(0,r.jsx)(p.P.Close,{size:24})}),(0,r.jsx)(v,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(j,{weight:"bold",children:z("common:navbar.translationSection.languages")}),(0,r.jsx)(w,{children:g.l.filter(n=>{let{showEverywhere:e}=n;return e}).map(n=>(0,r.jsxs)(y,{onClick:()=>changeLanguage(n.locale),children:[(0,r.jsx)(O,{src:n.flag,alt:z(n.imgAlt),title:z(n.imgTitle),height:n.imgHeight}),(0,r.jsx)(j,{weight:"normal",children:z(n.label)})]},n.id))})]})}),(0,r.jsxs)(k,{style:{display:"none"},children:[(0,r.jsxs)(j,{weight:"bold",children:[z("common:navbar.translationSection.autoTranslation"),(0,r.jsx)(m.V,{trigger:(0,r.jsx)(S,{children:(0,r.jsx)(p.P.Info,{size:14})}),content:(0,r.jsxs)(Z,{children:[(0,r.jsx)(u.T,{children:(0,r.jsx)(s.$N,{children:z("common:navbar.translationSection.autoTranslation")})}),(0,r.jsxs)(I,{children:[(0,r.jsxs)("h3",{children:[(0,r.jsx)(p.P.Translate,{size:18}),z("common:navbar.translationSection.disclaimer.title")]}),Object.values(U).map((n,e)=>{let{icon:t,description:i,title:o}=n;return(0,r.jsxs)(P,{children:[(0,r.jsx)(a(),{src:t,width:20,height:20,alt:o}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{children:o}),(0,r.jsx)("p",{children:i})]})]},e)}),(0,r.jsx)("p",{children:z("common:navbar.translationSection.disclaimer.footer")})]})]})})]}),(0,r.jsx)("div",{id:"google_translate_element"})]})]})}},1020:function(n,e,t){t.d(e,{E:function(){return LangSwitch}});var r=t(85893),i=t(53854),o=t(37303),l=t(96597),a=t(82729),c=t(25675),s=t.n(c),u=t(85444),d=t(53182),m=t(45177);
1function _templateObject(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n column-gap: ",";\n align-self: center;\n justify-self: end;\n cursor: pointer;\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,a._)(["\n color: ",";\n font-weight: ",";\n "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,a._)(["\n color: ",";\n text-transform: uppercase;\n font-size: ",";\n\n ",";\n\n @media "," {\n font-size: ",";\n }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,a._)(["\n svg {\n color: ",";\n }\n "]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,a._)(["\n background-color: transparent;\n outline: none;\n border: none;\n color: ",";\n font-size: ",";\n cursor: pointer;\n transition: all 200ms;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n color: ",";\n }\n\n ",";\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,a._)(["\n @media "," {\n height: 20px !important;\n width: auto !important;\n }\n"]);return _templateObject5=function(){return n},n}let p=u.ZP.div.withConfig({componentId:"sc-dab07183-0"})(_templateObject(),n=>{let{theme:e}=n;return e.spacing.small}),b=u.ZP.span.withConfig({componentId:"sc-dab07183-1"})(_templateObject2(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.currentCompany===m.O3.ferienhaus?(0,u.iv)(_templateObject1(),e.colors.secondary,e.weights.regular):null},d.Hb.mobile,n=>{let{theme:e}=n;return e.fontSizes.small}),f=u.ZP.div.withConfig({componentId:"sc-dab07183-2"})(_templateObject4(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.currentCompany===m.O3.ferienhaus?(0,u.iv)(_templateObject3(),e.colors.primary):null}),g=(0,u.ZP)(s()).withConfig({componentId:"sc-dab07183-3"})(_templateObject5(),d.Hb.mobile),LangSwitch=n=>{let{openMenuLang:e}=n,{t,i18n:a}=(0,o.$G)(),c=l.l.find(n=>n.locale===a.language);return(0,r.jsxs)(p,{id:l.p,onClick:()=>e(n=>!n),children:[(0,r.jsx)(b,{className:"notranslate",children:a.language}),c&&(0,r.jsx)(g,{src:c.flag,alt:t(c.imgAlt),title:t(c.imgTitle),height:c.imgHeight}),(0,r.jsx)(f,{className:"switch-lang-btn",title:t("common:open"),"data-testid":"switch-language-btn",children:(0,r.jsx)(i.kzR,{})})]})}},86326:function(n,e,t){t.d(e,{O:function(){return NavLink}});var r=t(85893),i=t(11163),o=t(82729),l=t(41664),a=t.n(l),c=t(85444),s=t(53182),u=t(45177);function _templateObject(){let n=(0,o._)(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n list-style: none;\n\n svg {\n min-height: 20px;\n min-width: 20px;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,o._)(["\n &:hover,\n &.active {\n font-weight: ",";\n letter-spacing: 3.2px;\n }\n "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,o._)(["\n padding: ",";\n border-radius: ",";\n color: ",";\n text-transform: uppercase;\n text-decoration: none;\n white-space: nowrap;\n margin-right: ",";\n font-family: ",";\n transition: background 300ms;\n\n &.mainNavBar {\n margin-right: 0;\n }\n\n &.home {\n border-radius: ",";\n border: 1px solid ",";\n min-width: 100px;\n text-align: center;\n\n &:hover,\n &.active {\n border-color: ",";\n }\n\n @media (max-width: 1300px) {\n border: none;\n }\n }\n\n &.login {\n border: 1px solid ",";\n border-radius: ",";\n width: 100px;\n text-align: center;\n margin-right: ",";\n height: 35px;\n line-height: 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n div {\n justify-content: center;\n }\n\n @media (max-width: 1300px) {\n width: 135px;\n height: auto;\n }\n\n @media "," {\n width: calc(100% - 64px);\n height: auto;\n margin-right: 0;\n display: flex;\n justify-content: center;\n }\n\n &:hover {\n border: 1px solid ",";\n }\n }\n\n &:hover,\n &.active {\n color: ",";\n letter-spacing: -0.001527em;\n\n svg {\n color: ",";\n }\n }\n\n @media (max-width: 1300px) {\n width: 100%;\n display: flex;
1\n align-items: center;\n justify-content: center;\n border-radius: ",";\n text-transform: none;\n margin-right: 0;\n padding: ",";\n\n &.mainNavBar {\n border-radius: ",";\n text-transform: uppercase;\n padding: 0;\n }\n }\n\n ",";\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,o._)(["\n @media (max-width: 1300px) {\n display: flex;\n width: 150px;\n align-items: center;\n gap: ",";\n }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,o._)(["\n svg {\n color: ",";\n }\n\n ",";\n"]);return _templateObject4=function(){return n},n}let d=c.ZP.li.withConfig({componentId:"sc-82143a54-0"})(_templateObject()),m=(0,c.ZP)(a()).withConfig({componentId:"sc-82143a54-1"})(_templateObject2(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.radii.large},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.radii.xxx_large},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.xxx_large},n=>{let{theme:e}=n;return e.spacing.medium},s.Hb.tablet,n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.x_large)},n=>{let{theme:e}=n;return e.radii.large},n=>{let{theme:e}=n;return e.currentCompany===u.O3.ferienhaus?(0,c.iv)(_templateObject1(),e.weights.medium):null}),handleDropDownMenu=()=>(0,c.iv)(_templateObject3(),n=>{let{theme:e}=n;return e.spacing.middle}),p=c.ZP.div.withConfig({componentId:"sc-82143a54-2"})(_templateObject4(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{ignoreOnDropdown:e}=n;return!e&&handleDropDownMenu()}),NavLink=n=>{let{href:e,children:t,ignoreOnDropdown:o,isSubRoute:l=!1,className:a="",...c}=n,s=(0,i.useRouter)(),u="".concat(s.pathname===e?"active":""," ").concat(o?"mainNavBar":"");return(0,r.jsx)(d,{children:(0,r.jsx)(m,{className:"".concat(a," ").concat(l?"":u),href:e,"data-testid":e,...c,children:(0,r.jsx)(p,{ignoreOnDropdown:o,children:t})})})}},39721:function(n,e,t){t.d(e,{w:function(){return Navbar}});var r=t(85893),i=t(67294),o=t(37303),l=t(41664),a=t.n(l),c=t(28278),s=t(59886),u=t(5826),d=t(72890),m=t(25675),p=t.n(m),b=t(11163),f=t(77451),g=t(53182),h=t(76261),x=t(28477),_=t(62195),j=t(82729),v=t(85444);function _templateObject(){let n=(0,j._)(["\n position: fixed;\n z-index: 309;\n top: 0;\n\n // when the chat is open on smaller screens the banner stayed on top\n // so reduced the z-index on smaller screens to allow closing the chat\n @media "," {\n z-index: 200;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,j._)(["\n display: block;\n width: 100%;\n color: inherit;\n text-decoration: none;\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,j._)(["\n margin-top: 100px;\n z-index: 500;\n overflow: hidden;\n width: 100vw;\n height: 50px;\n background: transparent linear-gradient(272deg, #406f6d 0%, #203837 100%) 0%\n 0% no-repeat padding-box;\n\n @media "," {\n height: 34px;\n }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,j._)(["\n backface-visibility: hidden;\n display: flex;\n touch-action: pan-y;\n flex-direction: row;\n height: 100%;\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,j._)(["\n flex: 0 0 100%;\n min-width: 100%;\n position: relative;\n height: 100%;\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,j._)(["\n height: 100%;\n min-height: 50px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ",";\n font-size: ",";\n letter-spacing: 0.42px;\n text-transform: uppercase;\n opacity: 1;\n padding: 0 ",";\n text-align: center;\n\n img {\n margin-right: ",";\n }\n\n @media "," {\n min-height: 34px;\n font-size: ",";\n }\n"]);
1return _templateObject5=function(){return n},n}let w=v.ZP.div.withConfig({componentId:"sc-20f63eed-0"})(_templateObject(),g.Hb.tablet),y=(0,v.ZP)(a()).withConfig({componentId:"sc-20f63eed-1"})(_templateObject1()),O=v.ZP.div.withConfig({componentId:"sc-20f63eed-2"})(_templateObject2(),g.Hb.mobile),k=v.ZP.div.withConfig({componentId:"sc-20f63eed-3"})(_templateObject3()),C=v.ZP.div.withConfig({componentId:"sc-20f63eed-4"})(_templateObject4()),S=v.ZP.div.withConfig({componentId:"sc-20f63eed-5"})(_templateObject5(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.small},g.Hb.mobile,n=>{let{theme:e}=n;return e.fontSizes.x_small}),PromotionalBanners=n=>{let{banners:e}=n,{route:t}=(0,b.useRouter)(),o=(0,i.useRef)((0,f.Z)({delay:5e3,stopOnInteraction:!1})),l=(0,x.Z)(g.Hb.mobile),a=(0,_.Tc)(t),s=l?20:28,u=!!(null==e?void 0:e.length),{emblaRef:m,emblaApi:j,onSelect:v,onInit:Z}=(0,h.v)({duration:20,skipSnaps:!0,containScroll:"trimSnaps",inViewThreshold:1,loop:!0},[o.current]);(0,i.useEffect)(()=>{u&&j&&(v(),Z(),j.on("reInit",Z),j.on("select",v),j.on("reInit",v))},[j,v,Z,u]);let I=(0,r.jsx)(O,{ref:u?m:void 0,children:u&&e&&(0,r.jsx)(k,{children:e.map((n,e)=>{var t;return(0,r.jsx)(C,{children:(0,r.jsxs)(S,{children:[n.icon&&(0,r.jsx)(p(),{src:n.icon.data.attributes.url,width:s,height:s,alt:n.description}),(0,r.jsx)(d.D,{children:n.description})]})},null!==(t=n.id)&&void 0!==t?t:e)})})});return(0,r.jsx)(w,{children:u?(0,r.jsx)(y,{href:"".concat(_.Z6.availability,"?rentalType=short_term"),onClick:()=>c.K.PromotionalBannerClicked({screen:a}),children:I}):I})};var Z=t(51195),I=t(22293),P=t(52195),z=t(79362),E=t(43583),N=t(61343),H=t(49762),M=t(1020),T=t(86326),U=t(38942);function styles_templateObject(){let n=(0,j._)(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n padding: ",";\n\n h4 {\n color: ",";\n font-size: ",";\n font-weight: ",";\n margin-bottom: ",";\n }\n"]);return styles_templateObject=function(){return n},n}function styles_templateObject1(){let n=(0,j._)(["\n display: flex;\n column-gap: ",";\n\n svg {\n fill: ",";\n }\n"]);return styles_templateObject1=function(){return n},n}let L=v.ZP.div.withConfig({componentId:"sc-7737b1aa-0"})(styles_templateObject(),n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.x_large," 0")},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{theme:e}=n;return e.weights.regular},n=>{let{theme:e}=n;return e.spacing.large}),B=v.ZP.div.withConfig({componentId:"sc-7737b1aa-1"})(styles_templateObject1(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.colors.white}),SocialMedia=()=>{var n;let{t:e,i18n:t}=(0,o.$G)(),{data:i,isLoading:l}=(0,U.z)(null!==(n=t.language)&&void 0!==n?n:"en");if(!i||l)return(0,r.jsx)(r.Fragment,{});let{footer:c}=i;return(0,r.jsxs)(L,{children:[(0,r.jsx)("h4",{children:e("common:ourSocialMedia")}),(0,r.jsxs)(B,{children:[(0,r.jsx)(a(),{href:c.facebookLink,target:"_blank",children:(0,r.jsx)(s.P.FacebookFilled,{size:22})}),(0,r.jsx)(a(),{href:c.instagramLink,target:"_blank",children:(0,r.jsx)(s.P.InstagramFilled,{size:22})}),(0,r.jsx)(a(),{href:c.linkedInLink,target:"_blank",children:(0,r.jsx)(s.P.LinkedIn,{size:22})})]})]})};function Navbar_styles_templateObject(){let n=(0,j._)(["\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100px;\n padding: ",";\n background-color: ",";\n width: 100%;\n top: ",";\n right: ",";\n z-index: 311;\n\n @media "," {\n padding: ",";\n }\n\n @media "," {\n padding: ",";\n }\n"]);return Navbar_styles_templateObject=function(){return n},n}function Navbar_styles_templateObject1(){let n=(0,j._)(["\n display: flex;\n position: relative;\n align-items: center;\n justify-content: space-between;\n min-width: 280px;\n width: 100%;\n padding: ",";\n max-width: 1400px;\n\n .mobile {\n display: none;\n }\n\n @media (max-width: 1300px) {\n .mobile {\n display: initial;\n }\n }\n"]);
1return Navbar_styles_templateObject1=function(){return n},n}function styles_templateObject2(){let n=(0,j._)(["\n display: flex;\n align-items: center;\n justify-content: center;\n column-gap: ",";\n margin: 0 ",";\n font-size: ",";\n z-index: 1;\n\n @media (max-width: 1300px) {\n width: 50%;\n background-color: ",";\n position: fixed;\n flex-direction: column;\n gap: ",";\n top: 0;\n right: ",";\n padding: ",";\n max-width: 250px;\n box-shadow: ",";\n display: none;\n height: 100%;\n justify-content: space-between;\n margin: 0;\n overflow: auto;\n\n &.active {\n display: flex;\n }\n\n .logo {\n display: none;\n }\n\n > ul > li {\n justify-content: start;\n\n > a > div {\n justify-content: start;\n width: 100%;\n }\n }\n }\n\n @media "," {\n overflow: auto;\n\n #menu-lang-switch {\n display: flex;\n flex-direction: row-reverse;\n\n .switch-lang-btn {\n display: none;\n }\n }\n }\n\n @media "," {\n max-width: initial;\n width: 100%;\n border-radius: 0;\n }\n"]);return styles_templateObject2=function(){return n},n}function styles_templateObject3(){let n=(0,j._)(["\n max-width: ",";\n "]);return styles_templateObject3=function(){return n},n}function styles_templateObject4(){let n=(0,j._)(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: ",";\n ","\n\n .favourites {\n top: 0px;\n right: -6px;\n }\n\n // adjust the icons on the navbar\n > li > a > div {\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n min-width: 16px;\n min-height: 16px;\n margin-left: ",";\n }\n\n .favourite-icon {\n width: 30px;\n height: 30px;\n min-height: 20px;\n min-width: 20px;\n\n @media "," {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n > li > a:hover,\n .active {\n > div > img {\n filter: invert(60%) sepia(5%) saturate(2146%) hue-rotate(129deg)\n brightness(92%) contrast(100%);\n }\n }\n\n @media (max-width: 1300px) {\n display: flex;\n flex-direction: ",";\n align-items: center;\n justify-content: flex-end;\n width: 100%;\n height: ",";\n margin-top: ",";\n gap: ",";\n }\n\n @media "," {\n gap: 0;\n }\n\n @media "," {\n .favourites {\n top: -5px;\n right: 0px;\n font-size: 10px;\n min-width: 16px;\n padding: ",";\n height: 16px;\n border-radius: 100%;\n }\n }\n"]);return styles_templateObject4=function(){return n},n}function styles_templateObject5(){let n=(0,j._)(["\n display: contents;\n"]);return styles_templateObject5=function(){return n},n}function _templateObject6(){let n=(0,j._)(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: ",";\n font-size: ",";\n\n // adjust spacing in the actions icons on the right side of the navbar\n > ul > li {\n width: 40px;\n\n > a {\n padding: 0;\n }\n }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,j._)(["\n position: fixed;\n top: 0;\n right: 0;\n width: 100%;\n display: ",";\n height: 100vh;\n background-color: ",";\n opacity: 0.5;\n transition: ",";\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,j._)(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n &:hover {\n fill: ",";\n }\n\n @media "," {\n width: 30px;\n height: 30px;\n }\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,j._)(["\n margin-left: -6px;\n\n @media (max-width: 1300px) {\n margin-left: 0;\n }\n"]);return _templateObject9=function(){return n},n}function _templateObject10(){let n=(0,j._)(["\n position: relative;\n display: flex;\n width: 100%;\n padding: ",";\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){let n=(0,j._)(["\n height: 57px;\n width: auto;\n\n @media "," {\n height: 45px;\n }\n"]);
1return _templateObject11=function(){return n},n}let A=v.ZP.nav.withConfig({componentId:"sc-5b4db1a5-0"})(Navbar_styles_templateObject(),n=>{let{theme:e}=n;return"".concat(e.spacing.none," ").concat(e.spacing.large)},n=>{let{theme:e}=n;return e.colors.secondary},n=>{let{theme:e,top:t}=n;return t||e.spacing.none},n=>{let{theme:e}=n;return e.spacing.none},g.Hb.tablet,n=>{let{theme:e}=n;return"".concat(e.spacing.none," ").concat(e.spacing.large)},g.Hb.mobile,n=>{let{theme:e}=n;return"".concat(e.spacing.none," ").concat(e.spacing.middle)}),R=v.ZP.div.withConfig({componentId:"sc-5b4db1a5-1"})(Navbar_styles_templateObject1(),n=>{let{theme:e}=n;return e.spacing.x_small}),X=v.ZP.div.withConfig({componentId:"sc-5b4db1a5-2"})(styles_templateObject2(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.colors.secondary},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return"100px ".concat(e.spacing.none," ").concat(e.spacing.x_large)},n=>{let{theme:e}=n;return e.shadows.boxShadow},g.Hb.tablet,g.Hb.mobile),D=v.ZP.ul.withConfig({componentId:"sc-5b4db1a5-3"})(styles_templateObject4(),n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{maxWidth:e}=n;return e&&(0,v.iv)(styles_templateObject3(),e)},n=>{let{theme:e}=n;return e.spacing.small},g.Hb.tablet,n=>{let{direction:e}=n;return e},n=>{let{height:e}=n;return e},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.spacing.x_small},g.Hb.tablet,g.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.xx_small}),F=v.ZP.div.withConfig({componentId:"sc-5b4db1a5-4"})(styles_templateObject5()),G=v.ZP.div.withConfig({componentId:"sc-5b4db1a5-5"})(_templateObject6(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.fontSizes.middle}),W=v.ZP.div.withConfig({componentId:"sc-5b4db1a5-6"})(_templateObject7(),n=>{let{active:e}=n;return e?"initial":"none"},n=>{let{theme:e}=n;return e.colors.secondary},n=>{let{theme:e}=n;return e.transitions.regular}),$=v.ZP.img.withConfig({componentId:"sc-5b4db1a5-7"})(_templateObject8(),n=>{let{theme:e}=n;return e.colors.primary},g.Hb.tablet),K=(0,v.ZP)(p()).withConfig({componentId:"sc-5b4db1a5-8"})(_templateObject9()),Q=v.ZP.div.withConfig({componentId:"sc-5b4db1a5-9"})(_templateObject10(),n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.x_large)}),V=(0,v.ZP)(p()).withConfig({componentId:"sc-5b4db1a5-10"})(_templateObject11(),g.Hb.mobile),Y=[{name:"owner",content:[{column:"common:navbar.subsections.owner.incomeSimulation",links:[{title:"common:navbar.subsections.owner.revenueForm",href:_.XZ.owner.revenueForm}]},{column:"common:navbar.subsections.owner.competitivePoints",links:[{title:"common:navbar.subsections.owner.uniqueDashboard",href:_.XZ.owner.differentials},{title:"common:navbar.subsections.owner.efficientAlgorithm",href:_.XZ.owner.differentials},{title:"common:navbar.subsections.owner.ourTeam",href:_.XZ.owner.differentials}]},{column:"common:navbar.subsections.owner.keyServices",links:[{title:"common:navbar.subsections.owner.coreServices",href:_.XZ.owner.keyServices}]},{column:"common:navbar.subsections.owner.optimizedRevenue",links:[{title:"common:navbar.subsections.owner.growthTactics",href:_.XZ.owner.landlords}]},{column:"common:navbar.subsections.owner.pricingModels",links:[{title:"common:navbar.subsections.owner.shortTerm",href:_.XZ.owner.packages},{title:"common:navbar.subsections.owner.midTerm",href:_.XZ.owner.packages},{title:"common:navbar.subsections.owner.longTerm",href:_.XZ.owner.packages}]},{column:"common:navbar.subsections.owner.testimonials",links:[{title:"common:navbar.subsections.owner.successStories",href:_.XZ.owner.testimonials}]}]},{name:"villas",content:[{column:"common:navbar.subsections.villas.becomeAPartner",links:[{title:"common:navbar.subsections.villas.contactForm",href:_.XZ.villas.becomeAPartner}]},{column:"common:navbar.subsections.villas.whyLovelyStay",links:[{title:"common:navbar.subsections.villas.ourServices",href:_.XZ.villas.ourServices}]},{column:"common:navbar.subsections.villas.packages",links:[{title:"common:navbar.subsections.villas.villasPackages",href:_.XZ.villas.packages}]},{column:"",links:[{title:"common:navbar.subsections.villas.featuredVillas",href:_.XZ.villas.featuredVillas}]}]},{name:"buildings",content:[{column:"common:navbar.subsections.buildings.buildingsList",links:[{title:"common:navbar.subsections.buildings.all",href:_.XZ.buildings.all}]}]},{name:"aboutUs",content:[{column:"common:navbar.subsections.aboutUs.aboutUs",links:[{title:"common:navbar.subsections.aboutUs.ourTeam",href:_.XZ.aboutUs.ourTeam}]},{column:"common:navbar.subsections.aboutUs.whoWeAre",links:[{title:"common:navbar.subsections.aboutUs.ourEssence",href:_.XZ.aboutUs.whoWeAre}]},{column:"common:navbar.subsections.aboutUs.ourStory",links:[{title:"common:navbar.subsections.aboutUs.growthTimeline",href:_.XZ.aboutUs.ourStory}]},{column:"common:navbar.subsections.aboutUs.ourLocations",links:[{title:"common:navbar.subsections.aboutUs.mapOverview",href:_.XZ.aboutUs.ourLocations}]}]},{name:"joinUs",content:[{column:"common:navbar.subsections.joinUs.whyJoinUs",links:[{title:"common:navbar.subsections.joinUs.benefits",href:_.XZ.joinUs.whyJoinUs}]},{column:"common:navbar.subsections.joinUs.ourValues",links:[{title:"common:navbar.subsections.joinUs.principles",href:_.XZ.joinUs.ourValues}]},{column:"common:navbar.subsections.joinUs.beyondWork",links:[{title:"common:navbar.subsections.joinUs.activities",href:_.XZ.joinUs.activities}]},{column:"common:navbar.subsections.joinUs.ourTeam",links:[{title:"common:navbar.subsections.joinUs.testimonials",href:_.XZ.joinUs.ourTeam}]},{column:"common:navbar.subsections.joinUs.career",links:[{title:"common:navbar.subsections.joinUs.internship",href:_.XZ.joinUs.career},{title:"common:navbar.subsections.joinUs.kickStarter",href:_.XZ.joinUs.career},{title:"common:navbar.subsections.joinUs.professional",href:_.XZ.joinUs.career}]},{column:"common:navbar.subsections.joinUs.apply",links:[{title:"common:navbar.subsections.joinUs.jobOpportunities",href:_.XZ.joinUs.apply}]}]}];
1function SubSections_styles_templateObject(){let n=(0,j._)(["\n width: 100%;\n height: 200px;\n position: absolute;\n background: ",";\n z-index: -1;\n display: flex;\n align-items: center;\n justify-content: center;\n column-gap: 30px;\n padding: ",";\n\n transition: transform 200ms ease-in-out;\n\n &.closed {\n top: 0;\n transform: translateY(-100%);\n }\n\n &.open {\n top: 100px;\n transform: translateY(0);\n }\n\n @media (max-width: 1210px) {\n padding: ",";\n column-gap: 20px;\n }\n"]);return SubSections_styles_templateObject=function(){return n},n}function SubSections_styles_templateObject1(){let n=(0,j._)(["\n height: 140px;\n\n > span {\n display: block;\n height: 16px;\n font-size: ",";\n font-weight: ",";\n color: ",";\n text-transform: uppercase;\n margin-bottom: ",";\n }\n"]);return SubSections_styles_templateObject1=function(){return n},n}function SubSections_styles_templateObject2(){let n=(0,j._)(["\n > li {\n font-size: ",";\n justify-content: start;\n margin-bottom: ",";\n }\n\n > li > a {\n margin-right: 0;\n padding: 0;\n }\n\n > li > a > div > span {\n display: flex;\n align-items: center;\n margin-left: -",";\n }\n\n > li:hover {\n > div > svg {\n color: ",";\n }\n }\n"]);return SubSections_styles_templateObject2=function(){return n},n}let q=v.ZP.div.withConfig({componentId:"sc-8802ccc5-0"})(SubSections_styles_templateObject(),n=>{let{theme:e}=n;return e.colors.secondary},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.xx_large," ").concat(e.spacing.xx_large)},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.large)}),J=v.ZP.div.withConfig({componentId:"sc-8802ccc5-1"})(SubSections_styles_templateObject1(),n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{theme:e}=n;return e.weights.semiBold},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.large}),nn=v.ZP.ul.withConfig({componentId:"sc-8802ccc5-2"})(SubSections_styles_templateObject2(),n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.colors.primary}),ne=["book","contact","blog"],SubSections=n=>{let{hoveredItem:e}=n,{t}=(0,o.$G)(),l=(0,i.useRef)(null),[a,u]=(0,i.useState)([]),[d,m]=(0,i.useState)(!1),[p,b]=(0,i.useState)(!1);(0,I.t)(l,()=>m(!1)),(0,i.useEffect)(()=>{let n=e&&!ne.includes(e);if(e&&n){let n=Y.find(n=>{let{name:t}=n;return t===e});return u(null==n?void 0:n.content),m(!0)}e&&!n&&m(!1)},[e]),(0,i.useEffect)(()=>{let n;return d&&(n=setTimeout(()=>{b(!0)},202)),d||b(!1),()=>clearTimeout(n)},[d]);let handleNavSubItemTracking=n=>c.K.NavMenuSubItemClicked(n);return(0,r.jsx)(q,{ref:l,className:d?"open":"closed",onMouseLeave:()=>m(!1),children:p&&a.map(n=>(0,r.jsxs)(J,{children:[(0,r.jsx)("span",{children:t(n.column)}),(0,r.jsx)(nn,{children:n.links.map(n=>{let{href:e,title:i}=n;return(0,r.jsx)(T.O,{isSubRoute:!0,href:e,target:"_self",onClick:()=>handleNavSubItemTracking(t(i,{lng:"en"})),children:(0,r.jsxs)("span",{children:[(0,r.jsx)(s.P.ArrowRightCustom,{}),t(i)]})},t(i))})})]},t(n.column)))})},Navbar=()=>{var n;let{t:e,i18n:t}=(0,o.$G)(),l=null!==(n=t.language)&&void 0!==n?n:"en",d=(0,i.useRef)(null),{isLovelyStay:m}=(0,Z.M)(),p=(0,x.Z)("(max-width: 1300px)"),[b,f]=(0,i.useState)(),[g,h]=(0,i.useState)(!1),[j,v]=(0,i.useState)(!1),[w,y]=(0,i.useState)(null),{bannersData:O,showBannerShell:k}=(0,P.Z)(m);(0,i.useEffect)(()=>{let handleScroll=()=>{window.scrollY>0&&v(!1)};return window.addEventListener("scroll",handleScroll),()=>{window.removeEventListener("scroll",handleScroll)}},[]),(0,i.useEffect)(()=>{g?document.body.style.overflowY="hidden":document.body.style.overflowY="scroll"},[g]),(0,I.t)(d,()=>h(!1)),(0,i.useEffect)(()=>{let n=new MutationObserver(n=>{for(let e of n)"style"===e.attributeName&&f(document.body.style.top)});return n.observe(document.body,{attributes:!0}),()=>n.disconnect()},[]),(0,i.useEffect)(()=>{j&&h(!1)},[j]);let C=[{href:"/",label:e("common:navbar.book"),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/book.svg"),width:28,height:28,alt:e("common:navbar.book")}),target:"_self",item:"book",className:"home"},{href:_.Z6.owner,label:e("common:navbar.owner"),icon:(0,r.jsx)(s.P.ChevronDown,{}),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/owner.svg"),width:28,height:28,alt:e("common:navbar.owner")}),item:"owner",target:"_self"},{href:_.Z6.villas,label:e("common:navbar.villas"),icon:(0,r.jsx)(s.P.ChevronDown,{}),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/villas.svg"),width:28,height:28,alt:e("common:navbar.villas")}),item:"villas",target:"_self"},{href:_.Z6.buildings,label:e("common:navbar.buildings"),icon:(0,r.jsx)(s.P.ChevronDown,{}),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/buildings.svg"),width:28,height:28,alt:e("common:navbar.buildings")}),item:"buildings",target:"_self"},{href:_.Z6.aboutUs,label:e("common:navbar.aboutUs"),icon:(0,r.jsx)(s.P.ChevronDown,{}),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/about-us.svg"),width:28,height:28,alt:e("common:navbar.aboutUs")}),item:"aboutUs",target:"_self"},{href:_.Z6.joinUs,label:e("common:navbar.joinUs"),icon:(0,r.jsx)(s.P.ChevronDown,{}),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/join-us.svg"),width:28,height:28,alt:e("common:navbar.joinUs")}),item:"joinUs",target:"_self"},{href:_.Z6.contact,label:e("common:navbar.contact"),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/contact.svg"),width:28,height:28,alt:e("common:navbar.contact")}),item:"contact",target:"_self",mobile:!0},{href:"https://blog.lovelystay.com/".concat("pt"===l?"pt":""),label:e("common:navbar.blog"),mobileIcon:(0,r.jsx)(K,{src:"".concat(z.Mx,"/icons/navbar/blog.svg"),width:28,height:28,alt:e("common:navbar.blog")}),item:"blog",target:"_blank"}],S="".concat(z.Mx,"/icons/navbar/login.svg"),U="".concat(z.Mx,"/icons/navbar/contact.svg"),L="".concat(z.Mx,"/logos/lovelystay-white.svg"),handleNavItemTracking=n=>c.K.NavMenuItemClicked(n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(A,{ref:d,top:b,id:E.XT,children:[(0,r.jsx)(u.z,{maxWidth:"1301px",children:(0,r.jsx)(W,{active:g,onClick:()=>h(!1)})}),(0,r.jsxs)(R,{children:[(0,r.jsxs)(F,{children:[(0,r.jsx)(a(),{href:_.Z6.home,children:(0,r.jsx)(V,{src:L,alt:"lovelystay logo",title:"LovelyStay",priority:!0,height:57,width:147})}),(0,r.jsxs)(X,{className:g?"active":"",children:[(0,r.jsx)(D,{className:g?"active":"",direction:"column",children:C.filter(n=>{let{mobile:e}=n;return!e||e===p}).map(n=>{let{href:e,label:t,icon:i,mobileIcon:o,item:l,target:a,className:c}=n;return(0,r.jsxs)(T.O,{href:e,target:a,onClick:()=>{handleNavItemTracking(l),h(!1)},className:c,onMouseEnter:()=>y(l),onMouseLeave:()=>y(null),children:[(0,r.jsx)(u.z,{maxWidth:"1300px",children:o}),(0,r.jsx)("span",{children:t}),(0,r.jsx)(u.z,{minWidth:"1301px",children:i&&i})]},t)})}),(0,r.jsxs)(u.z,{maxWidth:"1300px",children:[(0,r.jsx)(Q,{children:(0,r.jsx)(M.E,{openMenuLang:v})}),(0,r.jsx)(D,{className:g?"active":"",direction:"column",children:(0,r.jsx)(SocialMedia,{})})]})]})]}),(0,r.jsxs)(G,{children:[(0,r.jsxs)(D,{direction:"row",className:g?"active":"",children:[(0,r.jsx)(T.O,{href:_.Z6.login,ignoreOnDropdown:!0,children:(0,r.jsx)($,{src:S})}),p?null:(0,r.jsx)(T.O,{href:_.Z6.contact,ignoreOnDropdown:!0,children:(0,r.jsx)($,{src:U})})]}
1),p?null:(0,r.jsx)(M.E,{openMenuLang:v}),(0,r.jsx)(N.O,{isOpen:g,setIsOpen:h})]}),(0,r.jsx)(H.I,{top:b,isOpen:j,openMenuLang:v})]}),p?null:(0,r.jsx)(SubSections,{hoveredItem:w})]}),k&&(0,r.jsx)(PromotionalBanners,{banners:O})]})}},96597:function(n,e,t){t.d(e,{l:function(){return i},p:function(){return r}});let r="menu-lang-switch",i=[{id:1,name:"English",flag:{src:"/_next/static/media/english_icon.d30ed1fc.svg",height:30,width:30,blurWidth:0,blurHeight:0},imgAlt:"common:navbar.flags.uk",imgTitle:"common:english",imgHeight:30,label:"English",locale:"en",showEverywhere:!0},{id:2,name:"Portuguese",flag:{src:"/_next/static/media/portuguese_icon.24394346.svg",height:30,width:30,blurWidth:0,blurHeight:0},imgAlt:"common:navbar.flags.pt",imgTitle:"common:portuguese",imgHeight:30,label:"Portugu\xeas",locale:"pt",showEverywhere:!0},{id:3,name:"Spanish",flag:{src:"/_next/static/media/spanish_icon.6601812f.svg",height:512,width:512,blurWidth:0,blurHeight:0},imgAlt:"common:navbar.flags.spanish",imgTitle:"common:spanish",imgHeight:30,label:"Espa\xf1ol",locale:"es"},{id:4,name:"French",flag:{src:"/_next/static/media/french_icon.fecf1add.svg",height:83,width:83,blurWidth:0,blurHeight:0},imgAlt:"common:navbar.flags.fr",imgTitle:"common:french",imgHeight:30,label:"Fran\xe7ais",locale:"fr"}]},19615:function(n,e,t){t.d(e,{$:function(){return Footer},w:function(){return Navbar}});var r=t(85893),i=t(37303),o=t(59886),l=t(54542),a=t(82729),c=t(41664),s=t.n(c),u=t(85444),d=t(53182),m=t(79362);function _templateObject(){let n=(0,a._)(["\n width: 100%;\n min-height: 733px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n background-image: url('","/imgs/footer-andoliving.png');\n background-size: cover;\n background-position-y: top;\n background-position-x: center;\n\n @media "," {\n min-height: 600px;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,a._)(["\n display: flex;\n width: 70%;\n flex: 1;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n\n span {\n letter-spacing: 1.68px;\n font-size: ",";\n font-weight: ",";\n font-style: italic;\n color: ",";\n }\n\n @media "," {\n span {\n font-size: ",";\n }\n }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,a._)(["\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding-top: ",";\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,a._)(["\n width: 86px;\n height: 130px;\n\n @media "," {\n height: 110px;\n }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,a._)(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n padding: 0 ",";\n\n @media "," {\n padding: 0 ",";\n }\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,a._)(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n list-style: none;\n gap: ",";\n flex-wrap: wrap;\n\n @media "," {\n flex-direction: column;\n justify-content: center;\n }\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,a._)(["\n text-align: center;\n\n @media "," {\n margin-bottom: ",";\n a,\n button {\n font-size: ",";\n }\n }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,a._)(["\n letter-spacing: 1.68px;\n line-height: 22px;\n text-transform: uppercase;\n color: ",";\n font-size: ",";\n transition: ",";\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n bottom: -4px;\n left: 0;\n width: 100%;\n height: 2px;\n background-color: ",";\n transform: scaleX(0);\n transform-origin: right;\n transition: transform 0.3s ease;\n }\n\n &:hover {\n &::after {\n transform: scaleX(1);\n transform-origin: left;\n }\n }\n\n @media "," {\n font-size: ",";\n }\n"]);
1return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,a._)(["\n ","\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,a._)(["\n ","\n\n background: none;\n border: none;\n padding: 0;\n cursor: pointer;\n font-family: inherit;\n"]);return _templateObject9=function(){return n},n}function _templateObject10(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-bottom: ",";\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){let n=(0,a._)(["\n gap: 40px;\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n\n @media "," {\n gap: 20px;\n }\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){let n=(0,a._)(["\n > svg {\n color: ",";\n }\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){let n=(0,a._)(["\n width: 220px;\n margin-left: ",";\n\n @media "," {\n width: 180px;\n }\n\n @media "," {\n width: 120px;\n }\n"]);return _templateObject13=function(){return n},n}let p=u.ZP.footer.withConfig({componentId:"sc-97be3676-0"})(_templateObject(),m.Mx,d.Hb.mobile),b=u.ZP.div.withConfig({componentId:"sc-97be3676-1"})(_templateObject1(),n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.weights.medium},n=>{let{theme:e}=n;return e.colors.white},d.Hb.mobile,n=>{let{theme:e}=n;return e.fontSizes.x_small}),f=u.ZP.div.withConfig({componentId:"sc-97be3676-2"})(_templateObject2(),n=>{let{theme:e}=n;return e.spacing.xxx_large}),g=u.ZP.img.withConfig({componentId:"sc-97be3676-3"})(_templateObject3(),d.Hb.tablet),h=u.ZP.div.withConfig({componentId:"sc-97be3676-4"})(_templateObject4(),n=>{let{theme:e}=n;return e.spacing.x_large},d.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.x_large}),x=u.ZP.ul.withConfig({componentId:"sc-97be3676-5"})(_templateObject5(),n=>{let{theme:e}=n;return e.spacing.x_large},d.Hb.tablet),_=u.ZP.li.withConfig({componentId:"sc-97be3676-6"})(_templateObject6(),d.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.fontSizes.small}),j=(0,u.iv)(_templateObject7(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.fontSizes.medium},n=>{let{theme:e}=n;return e.transitions.regular},n=>{let{theme:e}=n;return e.colors.white},d.Hb.mobile,n=>{let{theme:e}=n;return e.fontSizes.small}),v=(0,u.ZP)(s()).withConfig({componentId:"sc-97be3676-7"})(_templateObject8(),j),w=u.ZP.button.withConfig({componentId:"sc-97be3676-8"})(_templateObject9(),j),y=u.ZP.div.withConfig({componentId:"sc-97be3676-9"})(_templateObject10(),n=>{let{theme:e}=n;return e.spacing.xxx_large}),O=u.ZP.div.withConfig({componentId:"sc-97be3676-10"})(_templateObject11(),d.Hb.mobile),k=(0,u.ZP)(s()).withConfig({componentId:"sc-97be3676-11"})(_templateObject12(),n=>{let{theme:e}=n;return e.colors.white}),C=u.ZP.img.withConfig({componentId:"sc-97be3676-12"})(_templateObject13(),n=>{let{theme:e}=n;return e.spacing.small},d.Hb.tablet,d.Hb.mobile),Footer=()=>{let{t:n}=(0,i.$G)(),e=new Date().getFullYear(),t=(0,l.Cg)(n=>n.actions.openPreferences),a=n("common:footer.andoliving.links",{returnObjects:!0});return(0,r.jsx)(p,{children:(0,r.jsxs)(b,{children:[(0,r.jsx)(f,{children:(0,r.jsx)(g,{src:"/logos/andoliving-white.svg",alt:"Ando Living logo",title:"Ando Living"})}),(0,r.jsx)(h,{children:(0,r.jsxs)(x,{children:[a.map(n=>(0,r.jsx)(_,{children:(0,r.jsx)(v,{href:n.url,target:"_blank",children:n.title})},n.title)),(0,r.jsx)(_,{children:(0,r.jsx)(w,{type:"button",onClick:t,"data-testid":"ando-footer-cookie-preferences",children:n("common:cookies.preferences.title")})})]})}),(0,r.jsxs)("span",{children:["\xa9 ",e," Ando Living"]}),(0,r.jsxs)(y,{children:[(0,r.jsxs)(O,{children:[(0,r.jsx)(k,{href:"https://instagram.com/ando_living",target:"_blank",children:(0,r.jsx)(o.P.Instagram,{size:22})}),(0,r.jsx)(k,{href:"mailto:[email protected]",target:"_blank",children:(0,r.jsx)(o.P.Mail,{size:22})})]}),(0,r.jsx)(C,{src:"/logos/andoliving-optylon.png",alt:"Optylon Krea logo",title:"Optylon Krea"})]})]})})};var S=t(67294),Z=t(11163),I=t(96597),P=t(62195);
1function styles_templateObject(){let n=(0,a._)(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n list-style: none;\n\n svg {\n min-height: 22px;\n min-width: 22px;\n color: ",";\n }\n\n .favouriteBadge {\n top: 8px;\n right: 6px;\n height: 15px;\n min-width: 15px;\n font-size: ",";\n background-color: ",";\n }\n\n &.favourite {\n position: relative;\n width: 50px;\n }\n"]);return styles_templateObject=function(){return n},n}function styles_templateObject1(){let n=(0,a._)(["\n padding: ",";\n border-radius: ",";\n color: ",";\n text-transform: uppercase;\n text-decoration: none;\n white-space: nowrap;\n margin-right: ",";\n font-family: ",";\n transition: background 300ms;\n letter-spacing: 1.35px;\n\n &.mainNavBar {\n margin-right: 0;\n }\n\n &.home {\n border-radius: ",";\n border: 1px solid ",";\n\n &:hover,\n &.active {\n border-color: ",";\n }\n\n @media (max-width: 992px) {\n border: none;\n }\n }\n\n @media (min-width: 1920px) {\n font-size: 18px;\n }\n\n @media (max-width: 992px) {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: ",";\n text-transform: capitalize;\n margin-right: 0;\n padding: ",";\n\n &.mainNavBar {\n border-radius: ",";\n text-transform: uppercase;\n }\n }\n"]);return styles_templateObject1=function(){return n},n}function styles_templateObject2(){let n=(0,a._)(["\n @media (max-width: 992px) {\n display: flex;\n width: auto;\n align-items: center;\n gap: ",";\n }\n"]);return styles_templateObject2=function(){return n},n}function styles_templateObject3(){let n=(0,a._)(["\n ",";\n"]);return styles_templateObject3=function(){return n},n}let z=u.ZP.li.withConfig({componentId:"sc-59b117be-0"})(styles_templateObject(),n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.fontSizes.x_small},n=>{let{theme:e}=n;return e.colors.text}),E=(0,u.ZP)(s()).withConfig({componentId:"sc-59b117be-1"})(styles_templateObject1(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.radii.large},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.radii.xxx_large},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.x_large)},n=>{let{theme:e}=n;return e.radii.large}),handleDropDownMenu=()=>(0,u.iv)(styles_templateObject2(),n=>{let{theme:e}=n;return e.spacing.middle}),N=u.ZP.div.withConfig({componentId:"sc-59b117be-2"})(styles_templateObject3(),n=>{let{ignoreOnDropdown:e}=n;return!e&&handleDropDownMenu()}),NavLink=n=>{let{href:e,children:t,ignoreOnDropdown:i,className:o="",containerClassName:l,...a}=n,c=(0,Z.useRouter)(),s="".concat(c.pathname===e?"active":""," ").concat(i?"mainNavBar":"");return(0,r.jsx)(z,{className:l,children:(0,r.jsx)(E,{className:"".concat(o," ").concat(s),href:e,"data-testid":e,...a,children:(0,r.jsx)(N,{ignoreOnDropdown:i,children:t})})})};var H=t(25675),M=t.n(H);function Navbar_styles_templateObject(){let n=(0,a._)(["\n background-color: ",";\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n height: ",";\n padding: ",";\n width: 100%;\n top: ",";\n right: ",";\n z-index: 300;\n\n @media "," {\n padding: 0 ",";\n }\n"]);return Navbar_styles_templateObject=function(){return n},n}function Navbar_styles_templateObject1(){let n=(0,a._)(["\n width: 48px;\n"]);return Navbar_styles_templateObject1=function(){return n},n}function Navbar_styles_templateObject2(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-width: 280px;\n width: 100%;\n padding: ",";\n max-width: ",";\n\n @media (min-width: 1920px) {\n max-width: ",";\n }\n"]);return Navbar_styles_templateObject2=function(){return n},n}
1function Navbar_styles_templateObject3(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n column-gap: ",";\n"]);return Navbar_styles_templateObject3=function(){return n},n}function styles_templateObject4(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n column-gap: ",";\n\n @media "," {\n display: none;\n }\n"]);return styles_templateObject4=function(){return n},n}function styles_templateObject5(){let n=(0,a._)(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: ",";\n font-family: ",";\n font-size: ",";\n letter-spacing: 1.35px;\n text-transform: uppercase;\n text-decoration: none;\n white-space: nowrap;\n border: 1px solid ",";\n transition: ",";\n"]);return styles_templateObject5=function(){return n},n}function styles_templateObject6(){let n=(0,a._)(["\n ",";\n background-color: ",";\n color: ",";\n\n &:hover {\n background-color: ",";\n border-color: ",";\n }\n"]);return styles_templateObject6=function(){return n},n}function styles_templateObject7(){let n=(0,a._)(["\n ",";\n background-color: transparent;\n color: ",";\n\n &:hover {\n background-color: ",";\n color: ",";\n }\n"]);return styles_templateObject7=function(){return n},n}function styles_templateObject8(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n column-gap: ",";\n padding: ",";\n background: transparent;\n border: none;\n cursor: pointer;\n color: ",";\n font-family: ",";\n font-size: ",";\n letter-spacing: 1.35px;\n text-transform: uppercase;\n"]);return styles_templateObject8=function(){return n},n}function styles_templateObject9(){let n=(0,a._)(["\n display: flex;\n flex-direction: column;\n row-gap: 3px;\n width: 18px;\n\n span {\n height: 1px;\n width: 100%;\n background-color: ",";\n }\n"]);return styles_templateObject9=function(){return n},n}function styles_templateObject10(){let n=(0,a._)(["\n position: fixed;\n inset: 0;\n background-color: ",";\n z-index: 400;\n transition: opacity 300ms ease-in-out;\n opacity: ",";\n visibility: ",";\n"]);return styles_templateObject10=function(){return n},n}function styles_templateObject11(){let n=(0,a._)(["\n position: fixed;\n top: 0;\n right: 0;\n height: 100vh;\n width: 420px;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n row-gap: ",";\n padding: ",";\n padding-bottom: ",";\n overflow-y: auto;\n background-color: ",";\n z-index: 500;\n transition: transform 300ms ease-in-out, visibility 300ms ease-in-out;\n transform: translateX(",");\n visibility: ",";\n\n /* A phone browser reports 100vh as the height it has with its toolbars\n hidden, so the last rows of a full-height fixed panel sit underneath them.\n That put the language list out of reach: it is pinned to the bottom, and\n the drawer is shorter than the screen, so there was nothing to scroll */\n @supports (height: 100dvh) {\n height: 100dvh;\n }\n\n /* The side panel is a wide-layout affordance. Once the navbar collapses to\n the menu trigger, the drawer is the only navigation there is, so it takes\n the whole screen instead of leaving a strip of the page showing through */\n @media "," {\n width: 100%;\n }\n"]);return styles_templateObject11=function(){return n},n}function styles_templateObject12(){let n=(0,a._)(["\n align-self: flex-start;\n padding: ",";\n background: transparent;\n border: none;\n cursor: pointer;\n color: ",";\n font-family: ",";\n font-size: ",";\n letter-spacing: 1.35px;\n text-transform: uppercase;\n"]);return styles_templateObject12=function(){return n},n}function styles_templateObject13(){let n=(0,a._)(["\n align-self: center;\n"]);return styles_templateObject13=function(){return n},n}function _templateObject14(){let n=(0,a._)(["\n width: 90px;\n"]);return _templateObject14=function(){return n},n}function _templateObject15(){let n=(0,a._)(["\n display: flex;\n flex-direction: column;\n row-gap: ",";\n\n a {\n width: 100%;\n }\n"]);return _templateObject15=function(){return n},n}
1function _templateObject16(){let n=(0,a._)(["\n display: flex;\n flex-direction: column;\n\n /* The shared NavLink is centred and uppercased for the navbar itself, which\n is not how the drawer lists its links */\n li {\n width: 100%;\n justify-content: flex-start;\n }\n\n a {\n width: 100%;\n margin-right: ",";\n padding: ",";\n font-size: ",";\n letter-spacing: normal;\n text-transform: none;\n text-decoration: none;\n border-radius: ",";\n\n &:hover {\n color: ",";\n }\n }\n"]);return _templateObject16=function(){return n},n}function _templateObject17(){let n=(0,a._)(["\n margin-top: auto;\n padding-top: ",";\n border-top: 1px solid ",";\n"]);return _templateObject17=function(){return n},n}function _templateObject18(){let n=(0,a._)(["\n margin-bottom: ",";\n color: ",";\n font-family: ",";\n font-size: ",";\n letter-spacing: 1.35px;\n text-transform: uppercase;\n"]);return _templateObject18=function(){return n},n}function _templateObject19(){let n=(0,a._)(["\n display: flex;\n flex-direction: column;\n"]);return _templateObject19=function(){return n},n}function _templateObject20(){let n=(0,a._)(["\n list-style: none;\n"]);return _templateObject20=function(){return n},n}function _templateObject21(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n column-gap: ",";\n width: 100%;\n padding: ",";\n background: transparent;\n border: none;\n cursor: pointer;\n color: ",";\n font-family: ",";\n font-size: ",";\n text-align: left;\n\n &[aria-current='true'] {\n font-weight: ",";\n }\n\n &:hover {\n color: ",";\n }\n"]);return _templateObject21=function(){return n},n}function _templateObject22(){let n=(0,a._)(["\n height: 24px;\n width: auto;\n"]);return _templateObject22=function(){return n},n}let T="(max-width: 992px)",U=u.ZP.nav.withConfig({componentId:"sc-65385156-0"})(Navbar_styles_templateObject(),n=>{let{theme:e}=n;return e.colors.tertiary},n=>{let{theme:e}=n;return e.navbarHeight},n=>{let{theme:e}=n;return"".concat(e.spacing.none," ").concat(e.spacing.xxx_large)},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.spacing.none},d.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.large}),L=u.ZP.img.withConfig({componentId:"sc-65385156-1"})(Navbar_styles_templateObject1()),B=u.ZP.div.withConfig({componentId:"sc-65385156-2"})(Navbar_styles_templateObject2(),n=>{let{theme:e}=n;return e.spacing.x_small},"1000px","1320px"),A=u.ZP.div.withConfig({componentId:"sc-65385156-3"})(Navbar_styles_templateObject3(),n=>{let{theme:e}=n;return e.spacing.medium}),R=u.ZP.div.withConfig({componentId:"sc-65385156-4"})(styles_templateObject4(),n=>{let{theme:e}=n;return e.spacing.medium},T),X=(0,u.iv)(styles_templateObject5(),n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.large)},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.colors.buttonSurface},n=>{let{theme:e}=n;return e.transitions.regular}),D=(0,u.ZP)(s()).withConfig({componentId:"sc-65385156-5"})(styles_templateObject6(),X,n=>{let{theme:e}=n;return e.colors.buttonSurface},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.colors.text}),F=(0,u.ZP)(s()).withConfig({componentId:"sc-65385156-6"})(styles_templateObject7(),X,n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.colors.buttonSurface},n=>{let{theme:e}=n;return e.colors.white}),G=u.ZP.button.withConfig({componentId:"sc-65385156-7"})(styles_templateObject8(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.fontSizes.middle}),W=u.ZP.span.withConfig({componentId:"sc-65385156-8"})(styles_templateObject9(),n=>{let{theme:e}=n;return e.colors.text}),$=u.ZP.div.withConfig({componentId:"sc-65385156-9"})(styles_templateObject10(),n=>{let{theme:e}=n;return e.colors.overlay},n=>{let{isOpen:e}=n;return e?1:0},n=>{let{isOpen:e}=n;return e?"visible":"hidden"}),K=u.ZP.aside.withConfig({componentId:"sc-65385156-10"}
1)(styles_templateObject11(),n=>{let{theme:e}=n;return e.spacing.x_large},n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.x_large)},n=>{let{theme:e}=n;return"calc(".concat(e.spacing.large," + env(safe-area-inset-bottom, 0px))")},n=>{let{theme:e}=n;return e.colors.surface},n=>{let{isOpen:e}=n;return e?"0":"100%"},n=>{let{isOpen:e}=n;return e?"visible":"hidden"},T),Q=u.ZP.button.withConfig({componentId:"sc-65385156-11"})(styles_templateObject12(),n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.fontSizes.middle}),V=(0,u.ZP)(s()).withConfig({componentId:"sc-65385156-12"})(styles_templateObject13()),Y=u.ZP.img.withConfig({componentId:"sc-65385156-13"})(_templateObject14()),q=u.ZP.div.withConfig({componentId:"sc-65385156-14"})(_templateObject15(),n=>{let{theme:e}=n;return e.spacing.middle}),J=u.ZP.ul.withConfig({componentId:"sc-65385156-15"})(_templateObject16(),n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.none)},n=>{let{theme:e}=n;return e.fontSizes.medium},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.colors.primary}),nn=u.ZP.div.withConfig({componentId:"sc-65385156-16"})(_templateObject17(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.colors.border}),ne=u.ZP.p.withConfig({componentId:"sc-65385156-17"})(_templateObject18(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.colors.textMuted},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.fontSizes.middle}),nt=u.ZP.ul.withConfig({componentId:"sc-65385156-18"})(_templateObject19()),nr=u.ZP.li.withConfig({componentId:"sc-65385156-19"})(_templateObject20()),ni=u.ZP.button.withConfig({componentId:"sc-65385156-20"})(_templateObject21(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.none)},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.fonts.primary},n=>{let{theme:e}=n;return e.fontSizes.medium},n=>{let{theme:e}=n;return e.weights.bold},n=>{let{theme:e}=n;return e.colors.primary}),no=(0,u.ZP)(M()).withConfig({componentId:"sc-65385156-21"})(_templateObject22()),nl="ando-living-menu",Navbar=()=>{let{t:n,i18n:e}=(0,i.$G)(),t=(0,Z.useRouter)(),{pathname:o,asPath:l,query:a}=t,[c,u]=(0,S.useState)(!1),closeMenu=()=>u(!1),changeLanguage=n=>{t.push({pathname:o,query:a},l,{locale:n}),closeMenu()},d=[{href:m.gg,label:n("common:navbar.andoliving.partnerWithUs"),target:"_self"},{href:P.Z6.buildings,label:n("common:navbar.andoliving.buildings"),target:"_self"}],p=I.l.filter(n=>{let{showEverywhere:e}=n;return e});return(0,S.useEffect)(()=>{document.body.style.overflow=c?"hidden":"auto"},[c]),(0,S.useEffect)(()=>{let handleKeyDown=n=>{let{key:e}=n;"Escape"===e&&u(!1)};return window.addEventListener("keydown",handleKeyDown),()=>{window.removeEventListener("keydown",handleKeyDown)}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(U,{children:(0,r.jsxs)(B,{children:[(0,r.jsx)(s(),{href:m.rP,target:"_blank",children:(0,r.jsx)(L,{src:"/logos/andoliving.svg",alt:"Ando Living logo",title:"Ando Living"})}),(0,r.jsxs)(A,{children:[(0,r.jsxs)(R,{children:[(0,r.jsx)(D,{href:P.Z6.availability,children:n("common:navbar.andoliving.book")}),(0,r.jsx)(F,{href:m.ud,target:"_blank",rel:"noreferrer",children:n("common:navbar.andoliving.buyApartment")})]}),(0,r.jsxs)(G,{type:"button","aria-expanded":c,"aria-controls":nl,onClick:()=>u(n=>!n),children:[n("common:navbar.andoliving.menu"),(0,r.jsxs)(W,{"aria-hidden":"true",children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]})]})]})]})}),(0,r.jsx)($,{isOpen:c,"aria-hidden":"true",onClick:closeMenu}),(0,r.jsxs)(K,{id:nl,isOpen:c,"aria-hidden":!c,children:[(0,r.jsx)(Q,{type:"button",onClick:closeMenu,children:n("common:close")}),(0,r.jsx)(V,{href:m.rP,target:"_blank",onClick:closeMenu,children:(0,r.jsx)(Y,{src:"/logos/andoliving.svg",alt:"Ando Living logo",title:"Ando Living"})}),(0,r.jsxs)(q,{children:[(0,r.jsx)(F,{href:m.ud,target:"_blank",rel:"noreferrer",onClick:closeMenu,children:n("common:navbar.andoliving.buyApartment")}),(0,r.jsx)(D,{href:P.Z6.availability,onClick:closeMenu,children:n("common:navbar.andoliving.book")})]}),(0,r.jsx)(J,{children:d.map(n=>{let{href:e,label:t,target:i}=n;return(0,r.jsx)(NavLink,{href:e,target:i,onClick:closeMenu,children:t},t)})}),(0,r.jsxs)(nn,{children:[(0,r.jsx)(ne,{children:n("common:navbar.translationSection.languages")}),(0,r.jsx)(nt,{children:p.map(t=>{let{id:i,flag:o,imgAlt:l,imgTitle:a,label:c,locale:s}=t;return(0,r.jsx)(nr,{children:(0,r.jsxs)(ni,{type:"button","aria-current":s===e.language,onClick:()=>changeLanguage(s),children:[(0,r.jsx)(no,{src:o,alt:n(l),title:n(a)}),c]})},i)})})]})]})]})}},24880:function(n,e,t){t.d(e,{$:function(){return Footer},w:function(){return Navbar}});var r=t(85893),i=t(37303),o=t(50860),l=t(62195),a=t(82729),c=t(41664),s=t.n(c),u=t(85444),d=t(53182);
1function _templateObject(){let n=(0,a._)(["\n width: 100%;\n height: 150px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n background: ",";\n\n @media "," {\n height: 200px;\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,a._)(["\n display: flex;\n max-width: 90vw;\n width: ",";\n height: 100%;\n align-items: center;\n justify-content: space-between;\n\n @media "," {\n flex-direction: column;\n justify-content: space-evenly;\n }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,a._)(["\n width: 200px;\n display: flex;\n justify-content: center;\n align-items: center;\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,a._)(["\n width: 150px;\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,a._)(["\n width: 90%;\n display: flex;\n justify-content: space-between;\n justify-content: center;\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,a._)(["\n display: flex;\n column-gap: ",";\n\n @media "," {\n gap: ",";\n flex-direction: column;\n text-align: center;\n }\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,a._)(["\n letter-spacing: 1.68px;\n line-height: 22px;\n color: ",";\n font-size: ",";\n transition: ",";\n position: relative;\n\n @media "," {\n font-size: ",";\n width: 140px;\n }\n"]);return _templateObject6=function(){return n},n}let m=u.ZP.footer.withConfig({componentId:"sc-4a988fdd-0"})(_templateObject(),n=>{let{theme:e}=n;return e.colors.gradientBackground},d.Hb.tablet),p=u.ZP.div.withConfig({componentId:"sc-4a988fdd-1"})(_templateObject1(),n=>{let{theme:e}=n;return e.baseContentWidth},d.Hb.tablet),b=u.ZP.div.withConfig({componentId:"sc-4a988fdd-2"})(_templateObject2()),f=u.ZP.img.withConfig({componentId:"sc-4a988fdd-3"})(_templateObject3()),g=u.ZP.div.withConfig({componentId:"sc-4a988fdd-4"})(_templateObject4()),h=u.ZP.div.withConfig({componentId:"sc-4a988fdd-5"})(_templateObject5(),n=>{let{theme:e}=n;return e.spacing.xxx_large},d.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.medium}),x=(0,u.ZP)(s()).withConfig({componentId:"sc-4a988fdd-6"})(_templateObject6(),n=>{let{theme:e}=n;return e.colors.secondary},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.transitions.regular},d.Hb.mobile,n=>{let{theme:e}=n;return e.fontSizes.small}),Footer=()=>{let{t:n}=(0,i.$G)(),e=(0,o.j)();return(0,r.jsx)(m,{children:(0,r.jsxs)(p,{children:[(0,r.jsx)(b,{children:(0,r.jsx)(f,{src:"/logos/ferien-haus.png",alt:"FerienHaus logo",title:"FerienHaus"})}),(0,r.jsx)(g,{children:(0,r.jsxs)(h,{children:[(0,r.jsx)(x,{href:e(l.Z6.privacyPolicy),target:"_self",children:n("common:footer.privacy")}),(0,r.jsx)(x,{href:e(l.Z6.cookiesPolicy),target:"_self",children:n("common:footer.cookies")})]})})]})})};var _=t(67294),j=t(59886),v=t(61343),w=t(49762),y=t(1020),O=t(5826),k=t(22293),C=t(79362),S=t(86326);function styles_templateObject(){let n=(0,a._)(["\n background-color: ",";\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n height: ",";\n padding: ",";\n width: 100%;\n top: ",";\n right: ",";\n z-index: 300;\n\n @media "," {\n padding: ",";\n }\n"]);return styles_templateObject=function(){return n},n}function styles_templateObject1(){let n=(0,a._)(["\n width: 150px;\n"]);return styles_templateObject1=function(){return n},n}function styles_templateObject2(){let n=(0,a._)(["\n display: flex;\n position: relative;\n align-items: center;\n justify-content: space-between;\n min-width: 280px;\n width: 100%;\n padding: ",";\n max-width: ",";\n\n .mobile {\n display: none;\n }\n\n @media "," {\n .mobile {\n display: initial;\n }\n }\n\n @media (min-width: 1920px) {\n max-width: 1320px;\n }\n"]);return styles_templateObject2=function(){return n},n}function styles_templateObject3(){let n=(0,a._)(["\n display: flex;\n align-items: center;\n justify-content: center;
1\n column-gap: ",";\n width: 100%;\n font-size: ",";\n\n @media "," {\n background-color: ",";\n position: fixed;\n flex-direction: column;\n gap: ",";\n top: 0;\n right: ",";\n padding: ",";\n max-width: 250px;\n box-shadow: ",";\n display: none;\n height: 100%;\n justify-content: space-between;\n margin: 0;\n overflow: auto;\n\n &.active {\n display: flex;\n }\n\n .logo {\n display: none;\n }\n }\n\n @media "," {\n overflow: auto;\n }\n\n @media "," {\n max-width: initial;\n width: 100%;\n border-radius: 0;\n }\n"]);return styles_templateObject3=function(){return n},n}function styles_templateObject4(){let n=(0,a._)(["\n width: 100%;\n max-width: 500px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: relative;\n\n @media "," {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n }\n\n & > li > a:hover {\n background-color: transparent;\n }\n\n &.active {\n margin-top: 6%;\n }\n\n &.active > li > a:hover {\n &::after {\n transform: scale(0);\n }\n }\n"]);return styles_templateObject4=function(){return n},n}function styles_templateObject5(){let n=(0,a._)(["\n position: relative;\n color: ",";\n font-size: ",";\n font-weight: ",";\n letter-spacing: 3.2px;\n\n &:hover {\n color: #163665;\n font-weight: ",";\n letter-spacing: 3.2px;\n }\n\n @media "," {\n letter-spacing: 2px;\n color: ",";\n padding: ",";\n\n div {\n width: 180px;\n }\n\n &:hover {\n letter-spacing: 2px;\n color: ",";\n background-color: "," !important;\n\n svg {\n color: ",";\n }\n }\n }\n"]);return styles_templateObject5=function(){return n},n}function styles_templateObject6(){let n=(0,a._)(["\n width: 100%;\n height: 140px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]);return styles_templateObject6=function(){return n},n}function _templateObject7(){let n=(0,a._)(["\n display: flex;\n justify-content: flex-end;\n gap: ",";\n font-size: ",";\n min-width: 225px;\n\n @media "," {\n min-width: fit-content;\n }\n"]);return _templateObject7=function(){return n},n}let Z=u.ZP.div.withConfig({componentId:"sc-8db30c7f-0"})(styles_templateObject(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.navbarHeight},n=>{let{theme:e}=n;return"".concat(e.spacing.none," ").concat(e.spacing.xxx_large)},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return e.spacing.none},d.Hb.tablet,n=>{let{theme:e}=n;return"".concat(e.spacing.none," ").concat(e.spacing.medium)}),I=u.ZP.img.withConfig({componentId:"sc-8db30c7f-1"})(styles_templateObject1()),P=u.ZP.div.withConfig({componentId:"sc-8db30c7f-2"})(styles_templateObject2(),n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{theme:e}=n;return e.baseContentWidth},d.Hb.x_desktop),z=u.ZP.div.withConfig({componentId:"sc-8db30c7f-3"})(styles_templateObject3(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.fontSizes.middle},d.Hb.x_desktop,n=>{let{theme:e}=n;return e.colors.lightBlue},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.none},n=>{let{theme:e}=n;return"100px ".concat(e.spacing.none," ").concat(e.spacing.x_large)},n=>{let{theme:e}=n;return e.shadows.boxShadow},d.Hb.tablet,d.Hb.mobile),E=u.ZP.ul.withConfig({componentId:"sc-8db30c7f-4"})(styles_templateObject4(),d.Hb.x_desktop),N=(0,u.ZP)(S.O).withConfig({componentId:"sc-8db30c7f-5"})(styles_templateObject5(),n=>{let{theme:e}=n;return e.colors.secondary},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.weights.medium},n=>{let{theme:e}=n;return e.weights.medium},d.Hb.x_desktop,n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.medium)},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.colors.white}),H=u.ZP.div.withConfig({componentId:"sc-8db30c7f-6"}
1)(styles_templateObject6()),M=u.ZP.div.withConfig({componentId:"sc-8db30c7f-7"})(_templateObject7(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.fontSizes.middle},d.Hb.tablet),Navbar=()=>{let{t:n}=(0,i.$G)(),e=(0,_.useRef)(null),[t,o]=(0,_.useState)(),[a,c]=(0,_.useState)(!1),[u,m]=(0,_.useState)(!1);(0,_.useEffect)(()=>{let handleScroll=()=>{window.scrollY>0&&m(!1)};return window.addEventListener("scroll",handleScroll),()=>{window.removeEventListener("scroll",handleScroll)}},[]),(0,_.useEffect)(()=>{a?document.body.style.overflowY="hidden":document.body.style.overflowY="scroll"},[a]),(0,k.t)(e,()=>c(!1)),(0,_.useEffect)(()=>{let n=new MutationObserver(n=>{for(let e of n)"style"===e.attributeName&&o(document.body.style.top)});return n.observe(document.body,{attributes:!0}),()=>n.disconnect()},[]);let p=[{href:C.KR,label:n("common:navbar.ferienHaus.service").toUpperCase(),target:"_blank",rel:"noopener noreferrer",icon:(0,r.jsx)(j.P.Key,{size:20}),mobile:!1},{href:l.Z6.ferienhausApartments,label:n("common:navbar.ferienHaus.accommodations").toUpperCase(),target:"_self",icon:(0,r.jsx)(j.P.Home,{size:20}),mobile:!1}];return(0,r.jsx)(Z,{ref:e,children:(0,r.jsxs)(P,{children:[(0,r.jsxs)(H,{children:[(0,r.jsx)(s(),{href:l.Z6.ferienhausApartments,target:"_self",children:(0,r.jsx)(I,{src:"/logos/ferien-haus.png",alt:"FerienHaus logo",title:"FerienHaus"})}),(0,r.jsx)(z,{className:a?"active":"",children:(0,r.jsx)(E,{className:a?"active":"",children:p.filter(n=>{let{mobile:e}=n;return!e||e===a}).map(n=>{let{href:e,label:t,icon:i,target:o,rel:l}=n;return(0,r.jsxs)(N,{href:e,target:o,rel:l,onClick:()=>c(!1),children:[(0,r.jsx)(O.z,{maxWidth:d.J7.navbar,children:i}),(0,r.jsx)("span",{children:t})]},t)})})})]}),(0,r.jsxs)(M,{children:[(0,r.jsx)(y.E,{openMenuLang:m}),(0,r.jsx)(v.O,{isOpen:a,setIsOpen:c})]}),(0,r.jsx)(w.I,{top:t,isOpen:u,openMenuLang:m})]})})}},28278:function(n,e,t){t.d(e,{K:function(){return l}});var r,i,o=t(19692);(r=i||(i={})).SearchEngineClicked="search_engine_clicked",r.SearchEngineDestinationFilled="search_engine_destination_filled",r.PromotionalBannerClicked="promotional_banner_clicked",r.OwnerHeroButtonClicked="owner_hero_button_clicked",r.TopBannerClicked="top_banner_clicked",r.RecommendedDestinationsClicked="recommended_destinations_clicked",r.ExtraServicesClicked="extra_services_clicked",r.BenefitsBookButtonClicked="benefits_book_button_clicked",r.NavMenuItemClicked="nav_menu_item_clicked",r.NavMenuSubItemClicked="nav_menu_sub_item_clicked";let l={SearchEngineClicked:n=>{(0,o.sendGTMEvent)({event:"search_engine_clicked",...n})},SearchEngineDestinationFilled:n=>{let{filledBy:e,screen:t}=n;(0,o.sendGTMEvent)({event:"search_engine_destination_filled",filledBy:e,screen:t})},PromotionalBannerClicked:n=>{(0,o.sendGTMEvent)({event:"promotional_banner_clicked",...n})},OwnerHeroButtonClicked:()=>{(0,o.sendGTMEvent)({event:"owner_hero_button_clicked"})},TopBannerClicked:n=>{(0,o.sendGTMEvent)({event:"top_banner_clicked",...n})},RecommendedDestinationsClicked:n=>{(0,o.sendGTMEvent)({event:"recommended_destinations_clicked",destination:n})},ExtraServicesClicked:n=>{let{service:e,screen:t}=n;(0,o.sendGTMEvent)({event:"extra_services_clicked",service:e,screen:t})},BenefitsBookButtonClicked:()=>{(0,o.sendGTMEvent)({event:"benefits_book_button_clicked"})},NavMenuItemClicked:n=>{(0,o.sendGTMEvent)({event:"nav_menu_item_clicked",item:n})},NavMenuSubItemClicked:n=>{(0,o.sendGTMEvent)({event:"nav_menu_sub_item_clicked",item:n})}}},50860:function(n,e,t){t.d(e,{j:function(){return useBrandRoute}});var r=t(67294),i=t(62195),o=t(51195);let useBrandRoute=()=>{let{currentCompany:n}=(0,o.M)();return(0,r.useCallback)(e=>(0,i.Om)(e,n),[n])}},76261:function(n,e,t){t.d(e,{v:function(){return useCarousel}});var r=t(67294),i=t(89382);let useCarousel=(n,e)=>{let[t,o]=(0,i.Z)(n||{duration:20,skipSnaps:!0,containScroll:"trimSnaps"},e||[]),[l,a]=(0,r.useState)(!1),[c,s]=(0,r.useState)(!1),[u,d]=(0,r.useState)(0),[m,p]=(0,r.useState)(0),[b,f]=(0,r.useState)([]),[g,h]=(0,r.useState)(0),x=(0,r.useCallback)(()=>o&&o.scrollPrev(),[o]),_=(0,r.useCallback)(()=>o&&o.scrollNext(),[o]),j=(0,r.useCallback)(n=>o&&o.scrollTo(n),[o]),v=(0,r.useCallback)(n=>d(n),[d]),w=(0,r.useCallback)(()=>{o&&f(o.scrollSnapList())}
1,[o]),y=(0,r.useCallback)(()=>{o&&(v(o.selectedScrollSnap()),a(o.canScrollPrev()),s(o.canScrollNext()))},[o,v]),O=(0,r.useCallback)(()=>{if(!o)return;let n=Math.max(0,Math.min(1,o.scrollProgress()));h(100*n),v(o.selectedScrollSnap()),p(o.previousScrollSnap())},[o,v]);return{emblaRef:t,emblaApi:o,scrollPrev:x,scrollNext:_,scrollTo:j,onSelect:y,onScroll:O,onInit:w,prevBtnEnabled:l,nextBtnEnabled:c,selectedIndex:u,previousScrollSnap:m,scrollSnaps:b,scrollProgress:g}}},28477:function(n,e,t){t.d(e,{Z:function(){return useMediaQuery}});var r=t(67294);function useMediaQuery(n){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=window.matchMedia(n),listener=()=>t(!!e.matches);return listener(),e.addListener(listener),()=>e.removeListener(listener)},[n]),e}},22293:function(n,e,t){t.d(e,{t:function(){return useOnClickOutside}});var r=t(67294);let useOnClickOutside=(n,e)=>{(0,r.useEffect)(()=>{let listener=t=>{!n.current||n.current.contains(t.target)||e(t)};return document.addEventListener("mousedown",listener),()=>{document.removeEventListener("mousedown",listener)}},[n,e])}},52195:function(n,e,t){t.d(e,{Z:function(){return hooks_usePromotionalBanners},O:function(){return shouldReservePromotionalBannerSpace}});var r=t(37303),i=t(11163),o=t(62195),l=t(17e3),a=t(89206),c=t(13009),s=t(56420);let fetchPromotionalBanners=async n=>{let e=[],t="/promotional-banners?locale=".concat(n,"&populate=deep");try{let{data:n}=await s.V.get(t);return(n.data||[]).forEach(n=>{let{attributes:t,id:r}=n;e.push({...t,id:r})}),e}catch(n){throw(0,c.U)(),(0,a.S)({error:n,endpoint:t}),Error(n.message)}},usePromotionalBannersQuery=(n,e)=>(0,l.a)({queryKey:["promotional-banners",n],queryFn:()=>fetchPromotionalBanners(n),keepPreviousData:!0,staleTime:1/0,enabled:e});var u=t(51195);let d=[o.Z6.propertyAvailability,o.Z6.propertyType,o.Z6.availability,o.Z6.checkout],shouldReservePromotionalBannerSpace=(n,e)=>!!e&&(n===o.Z6.home||d.some(e=>n.includes(e)));var hooks_usePromotionalBanners=n=>{let{i18n:e}=(0,r.$G)(),{isLovelyStay:t}=(0,u.M)(),{pathname:o}=(0,i.useRouter)(),{data:l}=usePromotionalBannersQuery(e.language,n),a=shouldReservePromotionalBannerSpace(o,t);return{showBannerShell:a,bannersData:l}}},13009:function(n,e,t){t.d(e,{U:function(){return showErrorMessage}});var r=t(37303),i=t(77930);let showErrorMessage=(n,e)=>{var t;return(0,i.c0)({message:null!==(t=null!=n?n:null===r.ag||void 0===r.ag?void 0:r.ag.t("common:error"))&&void 0!==t?t:"Ops, an error occurred.",type:"error",toastId:e})}},56420:function(n,e,t){t.d(e,{V:function(){return i}});var r=t(87066);let i=r.default.create({headers:{Authorization:"Bearer ".concat("86a5cd3a674c26bb2252e34d41215a186a6785414f577401bb43ec536586b5ac9b18934404b6c60766a6754726c660d64e5c02f2cd53141bb3d5a0f7929ec0b8062669b35ac86379cf5a266b06a8e4458c1caf3607f27a52528296f6c9237fc1fedb5768009a340f046f44a95f9f8812dfe6df252f398adb9f4a4d8e37da9e19")},baseURL:"https://cms-manager-web.lovelystay.com/api"})},38942:function(n,e,t){t.d(e,{z:function(){return useHomeSectionsQuery}});var r=t(17e3),i=t(34487),o=t(89206),l=t(56420);let fetchHomeSections=async n=>{let e={},t="/home-sections?locale=".concat(n,"&populate=deep");try{let{data:n}=await l.V.get(t);return(n.data||[]).forEach(n=>{let{attributes:t}=n,r=t.sectionName;return e[r]=t.sections[0]}),{...e}}catch(n){return(0,o.S)({error:n,endpoint:t})}},useHomeSectionsQuery=(n,e)=>(0,r.a)({queryKey:["home-sections",n],queryFn:()=>fetchHomeSections(n),staleTime:i.no,cacheTime:i.fz,refetchOnWindowFocus:!1,initialData:e})},89206:function(n,e,t){t.d(e,{S:function(){return handleErrorTracking}});var r=t(99882);let handleErrorTracking=n=>{let{error:e,endpoint:t,method:i="GET"}=n;e instanceof Error?r.R.RequestError({error_message:e.message,method:i,endpoint:t}):r.R.RequestError({error_message:"An unknown error occurred",method:i,endpoint:t})}},43583:function(n,e,t){t.d(e,{Eg:function(){return l},JG:function(){return o},KI:function(){return i},U1:function(){return m},XT:function(){return c},_B:function(){return d},iD:function(){return r},mH:function(){return s},rQ:function(){return a},um:function(){return p},zP:function(){return u}});let r="guestInput",i="guestMobileInput",o="checkInCheckOutInput",l="checkInCheckOutMobileInput",a="search-form",c="lovelystay-navbar",s="top-banner",u="LeadboosterContainer",d="pipedrive-container",m="become-a-partner",p="owner-packages"},34487:function(n,e,t){t.d(e,{DX:function(){return restructureQueryParams},Y$:function(){return serializeQuery},fz:function(){return i},no:function(){return r}});let r=3e5,i=6e5,serializeQuery=(n,e)=>{let t=Object.keys(n).map((t,r)=>{let i=n[t];return(n.constructor===Array?t="".concat(e,"[").concat(r,"]"):n.constructor===Object&&(t=e?"".concat(e,"[").concat(t,"]"):t),"object"==typeof i)?serializeQuery(i,t):"".concat(t,"=").concat(encodeURIComponent(i))});
1return[].concat.apply([],t).filter(Boolean).join("&")},restructureQueryParams=n=>{let e={};Object.keys(n).forEach(t=>{let r=n[t];if(r&&"false"!==r&&"0"!==r){if(t.includes("[")&&t.includes("]")){let n=t.split(/[\[\]]+/).filter(Boolean),i=e;for(let e=0;e<n.length-1;e++){let t=n[e],r=n[e+1],o=!isNaN(Number(r));i[t]||(i[t]=o?[]:{}),i=i[t]}let o=n[n.length-1];isNaN(Number(o))?i[o]=r:i[Number(o)]=r}else e[t]=r}});let convertSpareArrays=n=>{if(Array.isArray(n))return n.filter(n=>void 0!==n).map(convertSpareArrays);if(n&&"object"==typeof n){let e={};Object.keys(n).forEach(t=>{e[t]=convertSpareArrays(n[t])});let t=Object.keys(e),r=t.length>0&&t.every(n=>!isNaN(Number(n)));if(r){let n=[];return t.forEach(t=>{n[Number(t)]=e[t]}),n.filter(n=>void 0!==n)}return e}return n};return convertSpareArrays(e)}}}]);
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.