PageSourceSearch

https://book.andoliving.com/_next/static/chunks/pages/guests/[token]-9c0e833870de92cd.js

js andoliving.com collected 2026-10-04 13:32:17 UTC 109,787 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7449],{77349:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return addDays}});var i=t(83946),r=t(19013),o=t(13882);function addDays(n,e){(0,o.Z)(2,arguments);var t=(0,r.default)(n),l=(0,i.Z)(e);return isNaN(l)?new Date(NaN):(l&&t.setDate(t.getDate()+l),t)}},33913:function(n,e,t){"use strict";t.d(e,{Z:function(){return isPast}});var i=t(19013),r=t(13882);function isPast(n){return(0,r.Z)(1,arguments),(0,i.default)(n).getTime()<Date.now()}},96874:function(n){n.exports=function(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}},44286:function(n){n.exports=function(n){return n.split("")}},34865:function(n,e,t){var i=t(89465),r=t(77813),o=Object.prototype.hasOwnProperty;n.exports=function(n,e,t){var l=n[e];o.call(n,e)&&r(l,t)&&(void 0!==t||e in n)||i(n,e,t)}},89465:function(n,e,t){var i=t(38777);n.exports=function(n,e,t){"__proto__"==e&&i?i(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[e]=t}},21078:function(n,e,t){var i=t(62488),r=t(37285);n.exports=function baseFlatten(n,e,t,o,l){var a=-1,s=n.length;for(t||(t=r),l||(l=[]);++a<s;){var c=n[a];e>0&&t(c)?e>1?baseFlatten(c,e-1,t,o,l):i(l,c):o||(l[l.length]=c)}return l}},10313:function(n,e,t){var i=t(13218),r=t(25726),o=t(33498),l=Object.prototype.hasOwnProperty;n.exports=function(n){if(!i(n))return o(n);var e=r(n),t=[];for(var a in n)"constructor"==a&&(e||!l.call(n,a))||t.push(a);return t}},56560:function(n,e,t){var i=t(75703),r=t(38777),o=t(6557),l=r?function(n,e){return r(n,"toString",{configurable:!0,enumerable:!1,value:i(e),writable:!0})}:o;n.exports=l},40180:function(n,e,t){var i=t(14259);n.exports=function(n,e,t){var r=n.length;return t=void 0===t?r:t,!e&&t>=r?n:i(n,e,t)}},98805:function(n,e,t){var i=t(40180),r=t(62689),o=t(83140),l=t(79833);n.exports=function(n){return function(e){var t=r(e=l(e))?o(e):void 0,a=t?t[0]:e.charAt(0),s=t?i(t,1).join(""):e.slice(1);return a[n]()+s}}},38777:function(n,e,t){var i=t(10852),r=function(){try{var n=i(Object,"defineProperty");return n({},"",{}),n}catch(n){}}();n.exports=r},99021:function(n,e,t){var i=t(85564),r=t(45357),o=t(30061);n.exports=function(n){return o(r(n,void 0,i),n+"")}},46904:function(n,e,t){var i=t(68866),r=t(51442),o=t(81704);n.exports=function(n){return i(n,o,r)}},85924:function(n,e,t){var i=t(5569)(Object.getPrototypeOf,Object);n.exports=i},51442:function(n,e,t){var i=t(62488),r=t(85924),o=t(99551),l=t(70479),a=Object.getOwnPropertySymbols?function(n){for(var e=[];n;)i(e,o(n)),n=r(n);return e}:l;n.exports=a},62689:function(n){var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");n.exports=function(n){return e.test(n)}},37285:function(n,e,t){var i=t(62705),r=t(35694),o=t(1469),l=i?i.isConcatSpreadable:void 0;n.exports=function(n){return o(n)||r(n)||!!(l&&n&&n[l])}},33498:function(n){n.exports=function(n){var e=[];if(null!=n)for(var t in Object(n))e.push(t);return e}},45357:function(n,e,t){var i=t(96874),r=Math.max;n.exports=function(n,e,t){return e=r(void 0===e?n.length-1:e,0),function(){for(var o=arguments,l=-1,a=r(o.length-e,0),s=Array(a);++l<a;)s[l]=o[e+l];l=-1;for(var c=Array(e+1);++l<e;)c[l]=o[l];return c[e]=t(s),i(n,this,c)}}},30061:function(n,e,t){var i=t(56560),r=t(21275)(i);n.exports=r},21275:function(n){var e=Date.now;n.exports=function(n){var t=0,i=0;return function(){var r=e(),o=16-(r-i);if(i=r,o>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}},83140:function(n,e,t){var i=t(44286),r=t(62689),o=t(676);n.exports=function(n){return r(n)?o(n):i(n)}},676:function(n){var e="\ud800-\udfff",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\ud83c[\udffb-\udfff]",r="[^"+e+"]",o="(?:\ud83c[\udde6-\uddff]){2}",l="[\ud800-\udbff][\udc00-\udfff]",a="(?:"+t+"|"+i+")?",s="[\\ufe0e\\ufe0f]?",c="(?:\\u200d(?:"+[r,o,l].join("|")+")"+s+a+")*",d=RegExp(i+"(?="+i+")|(?:"+[r+t+"?",t,o,l,"["+e+"]"].join("|")+")"+(s+a+c),"g");n.exports=function(n){return n.match(d)||[]}},48403:function(n,e,t){var i=t(79833),r=t(11700);n.exports=function(n){return r(i(n).toLowerCase())}},75703:function(n){n.exports=function(n){return function(){return n}}},85564:function(n,e,t){var i=t(21078);n.exports=function(n){return(null==n?0:n.length)?i(n,1):[]}},41609:function(n,e,t){var i=t(280),r=t(64160),o=t(35694),l=t(1469),a=t(98612),s=t(44144),c=t(25726),d=t(36719),u=Object.prototype.hasOwnProperty;n.exports=function(n){if(null==n)return!0;
1if(a(n)&&(l(n)||"string"==typeof n||"function"==typeof n.splice||s(n)||d(n)||o(n)))return!n.length;var e=r(n);if("[object Map]"==e||"[object Set]"==e)return!n.size;if(c(n))return!i(n).length;for(var t in n)if(u.call(n,t))return!1;return!0}},81704:function(n,e,t){var i=t(14636),r=t(10313),o=t(98612);n.exports=function(n){return o(n)?i(n,!0):r(n)}},11700:function(n,e,t){var i=t(98805)("toUpperCase");n.exports=i},76535:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guests/[token]",function(){return t(47880)}])},81196:function(n,e,t){"use strict";t.d(e,{Z:function(){return Accordion_Accordion}});var i=t(85893),r=t(67294),o=t(82729),l=t(47398),a=t(85444),s=t(59886);function _templateObject(){let n=(0,o._)([""]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,o._)(["\n  overflow: hidden;\n  border-bottom: 1px solid ",";\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,o._)(["\n  display: flex;\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,o._)(["\n  background-color: transparent;\n  height: 45px;\n  flex: 1;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n\n  &[data-state='open'] > .accordionIcon {\n    transform: rotate(180deg);\n  }\n\n  // specific animations\n  &[data-state='open'] {\n    transition: ",";\n\n    // join-us: activities section\n    & > div #activities-number {\n      border-radius: 100%;\n      background-color: ",";\n    }\n  }\n\n  @keyframes slideDown {\n    from {\n      height: 0;\n    }\n    to {\n      height: var(--radix-accordion-content-height);\n    }\n  }\n\n  @keyframes slideUp {\n    from {\n      height: var(--radix-accordion-content-height);\n    }\n    to {\n      height: 0;\n    }\n  }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,o._)(["\n  overflow: hidden;\n\n  &[data-state='open'] {\n    animation: slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1);\n  }\n\n  &[data-state='closed'] {\n    animation: slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1);\n  }\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,o._)(["\n  color: ",";\n  transition: transform 300ms cubic-bezier(0.87, 0, 0.13, 1);\n"]);return _templateObject5=function(){return n},n}let c=(0,a.ZP)(l.fC).withConfig({componentId:"sc-a7bc91c1-0"})(_templateObject()),d=(0,a.ZP)(l.ck).withConfig({componentId:"sc-a7bc91c1-1"})(_templateObject1(),n=>{let{theme:e}=n;return e.colors.grey2}),u=(0,a.ZP)(l.h4).withConfig({componentId:"sc-a7bc91c1-2"})(_templateObject2()),m=(0,a.ZP)(l.xz).withConfig({componentId:"sc-a7bc91c1-3"})(_templateObject3(),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.text},n=>{let{theme:e}=n;return e.transitions.regular},n=>{let{theme:e}=n;return e.colors.lightBlue}),p=(0,a.ZP)(l.VY).withConfig({componentId:"sc-a7bc91c1-4"})(_templateObject4()),g=(0,a.ZP)(s.P.ArrowDown).withConfig({componentId:"sc-a7bc91c1-5"})(_templateObject5(),n=>{let{theme:e}=n;return e.colors.text}),f=r.forwardRef((n,e)=>{let{children:t,className:r,showIcon:o=!0,...l}=n;return(0,i.jsx)(u,{children:(0,i.jsxs)(m,{className:r,...l,ref:e,children:[t,o&&(0,i.jsx)(g,{className:"accordionIcon","aria-hidden":!0,size:16})]})})});f.displayName="AccordionTrigger";let h=r.forwardRef((n,e)=>{let{children:t,className:r,...o}=n;return(0,i.jsx)(p,{className:r,...o,ref:e,children:(0,i.jsx)("div",{children:t})})});h.displayName="AccordionContent";var Accordion_Accordion=n=>{let{items:e,defaultValue:t,className:r,triggerClassName:o,showIcon:l}=n;return(0,i.jsx)(c,{type:"single",defaultValue:t,className:"accordion",collapsible:!0,children:e.map(n=>{let{content:e,title:t,value:a}=n;return(0,i.jsxs)(d,{className:r,value:a,children:[(0,i.jsx)(f,{className:o,showIcon:l,children:t}),(0,i.jsx)(p,{children:e})]},a)})})}},4127:function(n,e,t){"use strict";t.d(e,{g:function(){return IconLabel}});var i=t(85893),r=t(59886),o=t(82729),l=t(85444),a=t(53182);
1function _templateObject(){let n=(0,o._)(["\n        color: ",";\n        font-weight: ",";\n      "]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,o._)(["\n        color: ",";\n        font-weight: ",";\n      "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,o._)(["\n        color: ",";\n        font-weight: ",";\n      "]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,o._)(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  margin-top: ",";\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,o._)(["\n  font-size: ",";\n  margin-left: ",";\n\n  @media "," {\n    font-size: ",";\n  }\n\n  ","\n"]);return _templateObject4=function(){return n},n}let handleLabelColor=n=>{switch(n){case"black":return(0,l.iv)(_templateObject(),n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.weights.regular});case"white":return(0,l.iv)(_templateObject1(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.weights.semiBold});default:return(0,l.iv)(_templateObject2(),n=>{let{theme:e}=n;return e.colors.grey},n=>{let{theme:e}=n;return e.weights.medium})}},s=l.ZP.div.withConfig({componentId:"sc-54f972b8-0"})(_templateObject3(),n=>{let{theme:e}=n;return e.spacing.small}),c=l.ZP.label.withConfig({componentId:"sc-54f972b8-1"})(_templateObject4(),n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.spacing.small},a.Hb.tablet,n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{labelColor:e}=n;return handleLabelColor(e)}),IconLabel=n=>{let{label:e,labelColor:t="black",labelClass:o,iconName:l,size:a=16,color:d="#252729",title:u}=n,m=r.P[l];return(0,i.jsxs)(s,{children:[(0,i.jsx)(m,{size:a,color:d,title:"string"!=typeof e||u?u:e}),(0,i.jsx)(c,{className:o,labelColor:t,children:e})]})}},68850:function(n,e,t){"use strict";t.d(e,{K:function(){return InfoPeek}});var i=t(85893),r=t(86419),o=t(66192),l=t(53182),a=t(59886),s=t(28477),c=t(82729),d=t(85444);function _templateObject(){let n=(0,c._)(["\n  position: ",";\n  display: inline-block;\n\n  .defaultIcon {\n    svg {\n      fill: ",";\n    }\n  }\n\n  button {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    cursor: default;\n  }\n\n  @media "," {\n    button {\n      cursor: pointer;\n    }\n  }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,c._)(["\n  border-radius: ",";\n  background-color: ",";\n  color: ",";\n  box-shadow: ",";\n  user-select: none;\n  animation-duration: 100ms;\n  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n  will-change: transform, opacity;\n  z-index: 1000;\n  padding: ",";\n\n  p {\n    color: inherit;\n  }\n\n  &[data-state='delayed-open'][data-side='top'] {\n    animation-name: slideDownAndFade;\n  }\n  &[data-state='delayed-open'][data-side='right'] {\n    animation-name: slideLeftAndFade;\n  }\n  &[data-state='delayed-open'][data-side='bottom'] {\n    animation-name: slideUpAndFade;\n  }\n  &[data-state='delayed-open'][data-side='left'] {\n    animation-name: slideRightAndFade;\n  }\n\n  @keyframes slideUpAndFade {\n    from {\n      opacity: 0;\n      transform: translateY(2px);\n    }\n    to {\n      opacity: 1;\n      transform: translateY(0);\n    }\n  }\n\n  @keyframes slideRightAndFade {\n    from {\n      opacity: 0;\n      transform: translateX(-2px);\n    }\n    to {\n      opacity: 1;\n      transform: translateX(0);\n    }\n  }\n\n  @keyframes slideDownAndFade {\n    from {\n      opacity: 0;\n      transform: translateY(-2px);\n    }\n    to {\n      opacity: 1;\n      transform: translateY(0);\n    }\n  }\n\n  @keyframes slideLeftAndFade {\n    from {\n      opacity: 0;\n      transform: translateX(2px);\n    }\n    to {\n      opacity: 1;\n      transform: translateX(0);\n    }\n  }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,c._)(["\n  font-weight: 300;\n  font-family: ",";\n  font-size: ",";\n  color: ",";\n  padding: 0;\n  margin: 0;\n\n  @media (max-width: 1024px) {\n    font-size: ",";\n  }\n\n  @media "," {\n    font-size: 1.1rem;\n  }\n"]);
1return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,c._)(["\n  z-index: 1000;\n  padding: ",";\n  text-align: left;\n  border-radius: ",";\n  background-color: ",";\n  box-shadow: ",";\n\n  p {\n    color: inherit;\n  }\n\n  @media "," {\n    width: 90vw;\n    max-width: 90vw;\n  }\n"]);return _templateObject3=function(){return n},n}let u=d.ZP.div.withConfig({componentId:"sc-aa83bb6e-0"})(_templateObject(),n=>{let{position:e}=n;return e},n=>{let{theme:e}=n;return e.colors.black},l.Hb.tablet),m=(0,d.ZP)(o.VY).withConfig({componentId:"sc-aa83bb6e-1"})(_templateObject1(),n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.black},n=>{let{theme:e}=n;return e.shadows.boxShadow},n=>{let{theme:e,$contentSize:t}=n;return"large"===t?e.spacing.large:e.spacing.middle}),p=d.ZP.div.withConfig({componentId:"sc-aa83bb6e-2"})(_templateObject2(),n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.fontSizes.small},l.Hb.mobile),g=(0,d.ZP)(r.VY).withConfig({componentId:"sc-aa83bb6e-3"})(_templateObject3(),n=>{let{theme:e,$contentSize:t}=n;return"large"===t?e.spacing.medium:e.spacing.small},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.shadows.boxShadow},l.Hb.mobile),InfoPeek=n=>{let{trigger:e,defaultIconSize:t=20,contentSize:c="small",position:d="relative",side:f,align:h,content:b,customStyles:x}=n,j=(0,s.Z)(l.Hb.tablet);return(0,i.jsx)(u,{position:d,children:j?(0,i.jsxs)(r.fC,{children:[(0,i.jsx)(r.xz,{children:e||(0,i.jsx)(a.P.InfoFilled,{className:"defaultIcon",size:t})}),(0,i.jsx)(r.h_,{children:(0,i.jsx)(g,{$contentSize:c,style:x,side:f,align:h,collisionPadding:8,children:(0,i.jsx)(p,{children:b})})})]}):(0,i.jsx)(o.zt,{delayDuration:100,children:(0,i.jsxs)(o.fC,{children:[(0,i.jsx)(o.xz,{children:e||(0,i.jsx)(a.P.InfoFilled,{className:"defaultIcon",size:t})}),(0,i.jsx)(o.h_,{children:(0,i.jsx)(m,{$contentSize:c,style:x,side:f,sideOffset:5,align:h,collisionPadding:8,children:(0,i.jsx)(p,{children:b})})})]})})})}},98704:function(n,e,t){"use strict";t.d(e,{K:function(){return i.K}});var i=t(68850)},93844:function(n,e,t){"use strict";t.d(e,{P:function(){return NavigationControl}});var i=t(85893),r=t(53182),o=t(59886),l=t(82729),a=t(85444);function _templateObject(){let n=(0,l._)(["\n          right: -21px;\n        "]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,l._)(["\n          left: -21px;\n        "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,l._)(["\n  width: 32px;\n  height: 32px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  border-radius: 100%;\n  border: 2px solid ",";\n  position: absolute;\n  top: 50%;\n  ",";\n  transition: ",";\n\n  &:hover {\n    transform: scale(1.1);\n  }\n\n  svg {\n    color: ",";\n  }\n"]);return _templateObject2=function(){return n},n}let s=a.ZP.button.withConfig({componentId:"sc-a8259b8d-0"})(_templateObject2(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{direction:e}=n;return"next"===e?(0,a.iv)(_templateObject()):(0,a.iv)(_templateObject1())},n=>{let{theme:e}=n;return e.transitions.regular},n=>{let{theme:e}=n;return e.colors.secondary}),NavigationControl=n=>{let{className:e,direction:t,iconSize:l=22,disabled:a,onClick:c}=n;return(0,i.jsx)(s,{className:e,direction:t,disabled:a,onClick:c,children:"next"===t?(0,i.jsx)(o.P.ArrowRight,{size:l,color:r.TV.colors.white}):(0,i.jsx)(o.P.ArrowLeft,{size:l,color:r.TV.colors.white})})}},76261:function(n,e,t){"use strict";t.d(e,{v:function(){return useCarousel}});var i=t(67294),r=t(89382);let useCarousel=(n,e)=>{let[t,o]=(0,r.Z)(n||{duration:20,skipSnaps:!0,containScroll:"trimSnaps"},e||[]),[l,a]=(0,i.useState)(!1),[s,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(0),[m,p]=(0,i.useState)(0),[g,f]=(0,i.useState)([]),[h,b]=(0,i.useState)(0),x=(0,i.useCallback)(()=>o&&o.scrollPrev(),[o]),j=(0,i.useCallback)(()=>o&&o.scrollNext(),[o]),_=(0,i.useCallback)(n=>o&&o.scrollTo(n),[o]),y=(0,i.useCallback)(n=>u(n),[u]),w=(0,i.useCallback)(()=>{o&&f(o.scrollSnapList())}
1,[o]),O=(0,i.useCallback)(()=>{o&&(y(o.selectedScrollSnap()),a(o.canScrollPrev()),c(o.canScrollNext()))},[o,y]),k=(0,i.useCallback)(()=>{if(!o)return;let n=Math.max(0,Math.min(1,o.scrollProgress()));b(100*n),y(o.selectedScrollSnap()),p(o.previousScrollSnap())},[o,y]);return{emblaRef:t,emblaApi:o,scrollPrev:x,scrollNext:j,scrollTo:_,onSelect:O,onScroll:k,onInit:w,prevBtnEnabled:l,nextBtnEnabled:s,selectedIndex:d,previousScrollSnap:m,scrollSnaps:g,scrollProgress:h}}},55354:function(n,e,t){"use strict";var i,r;t.d(e,{m:function(){return i}}),(r=i||(i={})).shortTerm="short_term",r.shortTermAndMidTerm="short_term_and_mid_term",r.midTerm="mid_term",r.longTerm="long_term"},47880:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return eO},default:function(){return ek}});var i=t(85893),r=t(67294),o=t(37303),l=t(2962),a=t(9008),s=t.n(a),c=t(53182),d=t(79597),u=t(17801),m=t(59647),p=t(72742),g=t(81196),f=t(59886),h=t(18500),b=t(73960),x=t(65289),j=t(12854),_=t(96219),y=t(65665),w=t(287),O=t(80258),k=t(39374),v=t
1(82729),C=t(60434),I=t(85444);function _templateObject(){let n=(0,v._)(["\n  padding: ",";\n  border-radius: ",";\n  box-shadow: none;\n  display: flex;\n  align-items: center;\n  gap: ",";\n  background-color: ",";\n  color: ",";\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,v._)(["\n  svg {\n    min-width: 18px;\n    min-height: 18px;\n    max-width: 18px;\n    max-height: 18px;\n  }\n\n  @media (max-width: 1024px) {\n    svg {\n      min-width: 16px;\n      min-height: 16px;\n      max-width: 16px;\n      max-height: 16px;\n    }\n  }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,v._)(["\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  justify-content: flex-start;\n  position: relative;\n  padding: ",";\n\n  h4 {\n    margin-bottom: ",";\n    font-weight: ",";\n  }\n\n  .accordion {\n    width: 100%;\n\n    .tabsContainer {\n      margin: "," 0;\n    }\n\n    .accordionItem {\n      border: none;\n      margin-bottom: ",";\n      h3 > button {\n        text-align: left;\n        height: auto;\n        min-height: 56px;\n        padding: ",";\n      }\n\n      h3 {\n        background-color: ",";\n        border: 1px solid ",";\n        border-radius: ",";\n        padding: 0 ",";\n        transition: border-color 0.2s ease, background-color 0.2s ease;\n\n        &:hover {\n          border-color: ",";\n          background-color: ",";\n        }\n\n        &[data-state='open'] {\n          border-color: ",";\n          background-color: ",";\n        }\n      }\n\n      .accordionIcon {\n        width: 22px;\n        height: 22px;\n        flex-shrink: 0;\n        margin-left: ",";\n      }\n    }\n  }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n  gap: ",";\n  flex: 1;\n  min-width: 0;\n\n  svg {\n    flex-shrink: 0;\n    color: ",";\n  }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  flex: 1;\n  min-width: 0;\n  gap: ",";\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,v._)(["\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  line-height: 1.3;\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,v._)(["\n  display: flex;\n  margin-top: ",";\n  column-gap: ",";\n  width: 100%;\n  position: relative;\n\n  @media (max-width: 1100px) {\n    column-gap: ",";\n  }\n\n  @media (max-width: 670px) {\n    flex-direction: column;\n    row-gap: ",";\n  }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  row-gap: ",";\n  z-index: 3;\n\n  @media (max-width: 670px) {\n    flex-direction: row;\n    gap: ",";\n  }\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,v._)(["\n  display: none;\n  width: 100%;\n\n  &[data-state='active'] {\n    display: flex;\n  }\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,v._)(["\n  ","\n  width: 270px;\n  max-width: 270px;\n  min-width: 270px;\n\n  &:hover {\n    background-color: #e8e8e8;\n  }\n\n  &[data-state='active'] {\n    background-color: ",";\n    color: ",";\n\n    &:hover {\n      background-color: ",";\n    }\n\n    p {\n      color: ",";\n      text-align: left;\n    }\n  }\n\n  &:disabled {\n    color: ",";\n    background-color: #eeeeee;\n  }\n\n  @media (max-width: 1300px) {\n    width: 210px;\n    max-width: 210px;\n    min-width: 210px;\n    text-align: left;\n  }\n\n  @media (max-width: 670px) {\n    width: auto;\n    min-width: auto;\n    min-height: 48px;\n    padding: ",";\n\n    p {\n      white-space: nowrap;\n    }\n\n    &[data-state='inactive'] {\n      p {\n        display: none;\n      }\n    }\n  }\n\n  ","\n"]);
1return _templateObject9=function(){return n},n}function _templateObject10(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n  padding: 0 ",";\n  font-size: ",";\n\n  h4 {\n    display: flex;\n    align-items: center;\n    font-family: ",";\n    font-weight: ",";\n    margin: 0;\n  }\n\n  div {\n    font-family: ",";\n    gap: ",";\n\n    &.unavailable {\n      font-style: italic;\n    }\n  }\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){let n=(0,v._)(["\n  display: flex;\n  align-items: flex-start;\n  gap: ",";\n  width: 100%;\n  max-height: 250px;\n  overflow-y: auto;\n  align-items: flex-start;\n\n  &.centered {\n    justify-content: center;\n    align-items: center;\n  }\n\n  p {\n    a {\n      text-decoration: underline;\n      -ms-word-break: break-all;\n      word-break: break-word;\n      word-break: break-all;\n      -webkit-hyphens: auto;\n      -moz-hyphens: auto;\n      hyphens: auto;\n    }\n  }\n\n  @media "," {\n    &.centered {\n      justify-content: flex-start;\n    }\n  }\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n\n  h3 {\n    min-width: 150px;\n    max-width: 150px;\n  }\n\n  p {\n    display: flex;\n    column-gap: ",";\n    align-items: center;\n  }\n\n  @media (max-width: 1150px) {\n    h3 {\n      min-width: 120px;\n      max-width: 120px;\n    }\n  }\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){let n=(0,v._)(["\n  svg {\n    color: ",";\n  }\n\n  &:hover {\n    opacity: 0.7;\n  }\n"]);return _templateObject13=function(){return n},n}function _templateObject14(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  column-gap: ",";\n\n  svg {\n    min-width: 30px;\n    max-width: 30px;\n    min-height: 30px;\n    max-height: 30px;\n    color: ",";\n  }\n"]);return _templateObject14=function(){return n},n}let P="#eeeeee",S=(0,I.iv)(_templateObject(),n=>{let{theme:e}=n;return"".concat(e.spacing.medium," ").concat(e.spacing.large)},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.spacing.middle},P,n=>{let{theme:e}=n;return e.colors.black}),D=(0,I.iv)(_templateObject1()),Z=I.ZP.div.withConfig({componentId:"sc-db88f1a9-0"})(_templateObject2(),n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.medium)},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.weights.medium},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return"".concat(e.spacing.small," 0")},n=>{let{theme:e}=n;return e.colors.background2},n=>{let{theme:e}=n;return e.colors.grey2},n=>{let{theme:e}=n;return e.radii.middle},n=>{let{theme:e}=n;return e.spacing.medium},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.colors.primary},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.medium}),N=I.ZP.div.withConfig({componentId:"sc-db88f1a9-1"})(_templateObject3(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.colors.primary}),z=I.ZP.div.withConfig({componentId:"sc-db88f1a9-2"})(_templateObject4(),n=>{let{theme:e}=n;return e.spacing.xx_small}),M=I.ZP.span.withConfig({componentId:"sc-db88f1a9-3"})(_templateObject5(),n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.weights.semiBold},n=>{let{theme:e}=n;return e.colors.text}),A=(0,I.ZP)(C.fC).withConfig({componentId:"sc-db88f1a9-4"})(_templateObject6(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.x_large},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.large}),T=(0,I.ZP)(C.aV).withConfig({componentId:"sc-db88f1a9-5"})(_templateObject7(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.middle}),B=(0,I.ZP)(C.VY).withConfig({componentId:"sc-db88f1a9-6"})(_templateObject8()),H=(0,I.ZP)(C.xz).withConfig({componentId:"sc-db88f1a9-7"}
1)(_templateObject9(),S,n=>{let{theme:e}=n;return e.colors.black},P,n=>{let{theme:e}=n;return e.colors.black},P,n=>{let{theme:e}=n;return e.colors.black},n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.medium)},D),F=I.ZP.div.withConfig({componentId:"sc-db88f1a9-8"})(_templateObject10(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.weights.medium},n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.spacing.small}),G=I.ZP.div.withConfig({componentId:"sc-db88f1a9-9"})(_templateObject11(),n=>{let{theme:e}=n;return e.spacing.small},c.Hb.tablet),U=I.ZP.div.withConfig({componentId:"sc-db88f1a9-10"})(_templateObject12(),n=>{let{theme:e}=n;return e.spacing.x_small}),Q=I.ZP.button.withConfig({componentId:"sc-db88f1a9-11"})(_templateObject13(),n=>{let{theme:e}=n;return e.colors.primary}),E=I.ZP.div.withConfig({componentId:"sc-db88f1a9-12"})(_templateObject14(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.colors.text}),NoDataInfo=n=>{let{text:e}=n,{t}=(0,o.$G)(),r=(0,b.J)(n=>n.bookingInfo),l="AndoLiving"===r.brand;return(0,i.jsx)(G,{className:"centered",children:(0,i.jsxs)(E,{children:[(0,i.jsx)(f.P.Info,{size:30}),(0,i.jsx)(m.x,{children:null!=e?e:t("guest:bookingInformation.informationNotAvailable",{count:l?48:1})})]})})};var L=t(77930);let handleCopyContent=async n=>{try{await navigator.clipboard.writeText(n),(0,L.c0)({type:"success",message:(0,i.jsx)(o.cC,{i18nKey:"guest:bookingInformation.copySuccess",components:{b:(0,i.jsx)("b",{})}})})}catch(n){(0,L.c0)({type:"error",message:(0,i.jsx)(o.cC,{i18nKey:"guest:bookingInformation.copyError",components:{b:(0,i.jsx)("b",{})}})})}};var R=t(92744);function styles_templateObject(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n  gap: ",";\n  padding: 0 ",";\n  font-size: ",";\n"]);return styles_templateObject=function(){return n},n}function styles_templateObject1(){let n=(0,v._)(["\n  width: 100%;\n  display: flex;\n  align-items: flex-start;\n  gap: ",";\n  max-height: 250px;\n  overflow-y: auto;\n  align-items: flex-start;\n"]);return styles_templateObject1=function(){return n},n}function styles_templateObject2(){let n=(0,v._)(["\n  width: 100%;\n  display: grid;\n  align-items: end;\n  grid-template-columns: 30px 0.7fr 1fr 20px;\n  gap: ",";\n  background-color: #f8f8f8;\n  border-radius: ",";\n  padding: ",";\n\n  h3 {\n    min-width: 78px;\n  }\n\n  @media (max-width: 1350px) {\n    grid-template-columns: 30px 120px 1fr 20px;\n  }\n\n  @media "," {\n    gap: ",";\n    grid-template-columns: 30px 90px 1fr 20px;\n  }\n\n  .extraInfo {\n    cursor: pointer;\n\n    circle {\n      ","\n    }\n\n    &:hover {\n      opacity: 0.7;\n    }\n  }\n"]);return styles_templateObject2=function(){return n},n}function styles_templateObject3(){let n=(0,v._)(["\n  display: flex;\n  align-items: end;\n  justify-content: space-between;\n  gap: ",";\n\n  .subItem {\n    display: flex;\n    flex-direction: column;\n    width: 70%;\n\n    .subtitle {\n      color: #a3a3a3;\n      font-size: ",";\n      line-height: 1.2;\n      margin-bottom: ",";\n\n      @media (max-width: 1024px) {\n        font-size: ",";\n      }\n\n      @media "," {\n        font-size: 0.9rem;\n      }\n    }\n\n    @media "," {\n      white-space: nowrap;\n      overflow: hidden;\n      text-overflow: ellipsis;\n    }\n  }\n\n  .instructions {\n    ",";\n    font-size: ",";\n\n    &:hover {\n      text-decoration: underline;\n    }\n\n    @media (max-width: 1024px) {\n      font-size: ",";\n    }\n\n    @media "," {\n      font-size: 0.9rem;\n    }\n  }\n"]);return styles_templateObject3=function(){return n},n}function styles_templateObject4(){let n=(0,v._)(["\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: 450px;\n  height: 500px;\n  max-height: 80vh;\n  z-index: 1000;\n  padding: ",";\n\n  h2 {\n    text-align: center;\n    margin-bottom: ",";\n  }\n\n  p {\n    padding-top: ",";\n  }\n\n  a {\n    text-decoration: underline;\n    -ms-word-break: break-all;\n    word-break: break-word;\n    word-break: break-all;\n    -webkit-hyphens: auto;\n    -moz-hyphens: auto;\n    hyphens: auto;\n  }\n\n  @media "," {\n    padding: ",";\n  }\n\n  @media "," {\n    width: 100vw;\n    max-width: 100vw;\n    height: 100vh;\n    max-height: 100vh;\n    border-radius: 0;\n  }\n"]);
1return styles_templateObject4=function(){return n},n}function styles_templateObject5(){let n=(0,v._)(["\n  overflow-y: auto;\n  height: calc(100% - 80px);\n"]);return styles_templateObject5=function(){return n},n}function styles_templateObject6(){let n=(0,v._)(["\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  background-color: ",";\n"]);return styles_templateObject6=function(){return n},n}let $=I.ZP.div.withConfig({componentId:"sc-c1bb79e-0"})(styles_templateObject(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{theme:e}=n;return e.fontSizes.middle}),V=I.ZP.div.withConfig({componentId:"sc-c1bb79e-1"})(styles_templateObject1(),n=>{let{theme:e}=n;return e.spacing.small}),W=I.ZP.div.withConfig({componentId:"sc-c1bb79e-2"})(styles_templateObject2(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return"".concat(e.spacing.x_small," ").concat(e.spacing.medium)},c.Hb.mobile,n=>{let{theme:e}=n;return e.spacing.small},(0,R.iM)(R.oe,"primary")),X=I.ZP.div.withConfig({componentId:"sc-c1bb79e-3"})(styles_templateObject3(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{theme:e}=n;return e.spacing.xx_small},n=>{let{theme:e}=n;return e.fontSizes.x_small},c.Hb.mobile,c.Hb.mobile,(0,R.Pe)("primary","secondary"),n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{theme:e}=n;return e.fontSizes.x_small},c.Hb.mobile),J=(0,I.ZP)(j.VY).withConfig({componentId:"sc-c1bb79e-4"})(styles_templateObject4(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return"".concat(e.spacing.x_large," ").concat(e.spacing.xx_large)},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.large},c.Hb.tablet,n=>{let{theme:e}=n;return"".concat(e.spacing.xx_large," ").concat(e.spacing.large," ").concat(e.spacing.large)},c.Hb.mobile),Y=I.ZP.div.withConfig({componentId:"sc-c1bb79e-5"})(styles_templateObject5()),K=I.ZP.button.withConfig({componentId:"sc-c1bb79e-6"})(styles_templateObject6(),n=>{let{theme:e}=n;return e.transitions.regular},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.black}
1),filterInstructionsObj=n=>{if(!n)return!1;let e=Object.keys(n).reduce((e,t)=>(n[t]&&(e[t]=n[t]),e),{});return 0!==Object.keys(e).length},AccessCodes=n=>{let{unit:e}=n,{t,i18n:r}=(0,o.$G)(),l=r.language?r.language.toUpperCase():"EN",a=(0,h.X)();if(!(null==e?void 0:e.bookingCheckInDetails))return(0,i.jsx)(NoDataInfo,{});let{buildingDoorCode:s,aptDoorCode:c,smartlockCode:u,elevatorCode:p,garageCode:g,garageInstructions:b,additionalCode:x,additionalCodeInstructions:v}=e.bookingCheckInDetails,C=filterInstructionsObj(b),I=filterInstructionsObj(v);if(!s&&!c&&!u&&!g&&!C&&!p&&!x&&!I)return(0,i.jsx)(NoDataInfo,{text:t("guest:bookingInformation.noAccessCodes")});let P=[{value:null!=s?s:"",slug:"building_door",name:t("guest:bookingInformation.buildingDoorCode"),show:!!s,icon:(0,i.jsx)(f.P.BuildingDoor,{title:t("guest:bookingInformation.buildingDoorCode"),size:35})},{value:null!=p?p:"",slug:"elevator",name:t("guest:bookingInformation.elevatorCode"),show:!!p,icon:(0,i.jsx)(f.P.ElevatorCode,{title:t("guest:bookingInformation.elevatorCode"),size:35})},{value:null!=c?c:"",slug:"apt_door",name:t("guest:bookingInformation.aptDoorCo
1de"),show:!!c,icon:(0,i.jsx)(f.P.PropertyDoorCode,{title:t("guest:bookingInformation.aptDoorCode"),size:35})},{value:null!=u?u:"",slug:"smartlock",name:t("guest:bookingInformation.smartlockCode"),show:!!u,icon:(0,i.jsx)(f.P.SmartlockCode,{title:t("guest:bookingInformation.smartlockCode"),size:35})},{value:null!=g?g:"",slug:"garage",name:t("guest:bookingInformation.garageCode"),show:!!g||C,icon:(0,i.jsx)(f.P.GarageCode,{title:t("guest:bookingInformation.garageCode"),size:35}),extraInfo:b,title:t("guest:bookingInformation.garageAccess")},{value:null!=x?x:"",slug:"additional",name:t("guest:bookingInformation.additionalCode"),show:!!x||I,icon:(0,i.jsx)(f.P.AccessCodes,{title:t("guest:bookingInformation.additionalCode"),size:35}),extraInfo:v,title:t("guest:bookingInformation.additionalCode")}],getExtraInfoDialog=function(){var n;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,o=null!==(n=r[l])&&void 0!==n?n:null==r?void 0:r.EN;return(0,i.jsx)(O.V,{trigger:(0,i.jsx)(m.x,{className:"instructions",children:t("guest:bookingInformation.showInstructions")}),triggerAsChild:!1,content:(0,i.jsxs)(J,{children:[(0,i.jsxs)(_.T,{children:[(0,i.jsx)(j.$N,{children:e}),(0,i.jsx)(j.Be,{children:e})]}),(0,i.jsx)(w.D,{variant:"regular",children:t("guest:bookingInformation.instructions")}),(0,i.jsx)(w.D,{children:e}),(0,i.jsx)(Y,{children:(0,i.jsx)(m.x,{className:"hyphenated",dangerouslySetInnerHTML:{__html:(0,k.fL)(null!=o?o:"-")}})}),(0,i.jsx)(j.GG,{asChild:!0,children:(0,i.jsx)(K,{children:(0,i.jsx)(f.P.Close,{size:20})})})]})})},S=P.filter(n=>{let{show:e}=n;return e}),handleCopyCode=(n,e)=>{d.f.GuestInfoCopied({...a,content_type:"access_code",code_type:e}),handleCopyContent(n)};return(0,i.jsx)($,{children:S.map(n=>{let{value:e,slug:r,name:o,icon:l,extraInfo:a,title:s}=n,c=filterInstructionsObj(a);return(0,i.jsx)(V,{children:(0,i.jsxs)(W,{children:[l,(0,i.jsx)(y.Q,{variant:"semibold",children:o}),(0,i.jsxs)(X,{children:[e&&(0,i.jsxs)("div",{className:"subItem",children:[(0,i.jsx)(m.x,{className:"subtitle",children:t("guest:bookingInformation.accessCode")}),(0,i.jsx)(y.Q,{variant:"semibold",children:e})]}),!!a&&!!c&&getExtraInfoDialog(s,a)]}),e&&(0,i.jsx)(Q,{title:t("common:copy"),onClick:()=>handleCopyCode(e,r),children:(0,i.jsx)(f.P.CopyPaste,{size:20})})]})},o)})})};var q=t(41609),nn=t.n(q);let CheckInInstructions=n=>{var e;let{unit:t}=n,{t:r,i18n:l}=(0,o.$G)(),a=l.language?l.language.toUpperCase():"EN";if(!(null==t?void 0:t.bookingCheckInDetails))return(0,i.jsx)(NoDataInfo,{});let{selfCheckInInstructions:s}=t.bookingCheckInDetails;if(nn()(s))return(0,i.jsx)(NoDataInfo,{text:r("guest:bookingInformation.noCheckInInstructions")});let c=null!==(e=s[a])&&void 0!==e?e:null==s?void 0:s.EN;return c?(0,i.jsx)(F,{children:(0,i.jsx)(G,{children:(0,i.jsx)(m.x,{className:"hyphenated",dangerouslySetInnerHTML:{__html:(0,k.fL)(c)}})})}):(0,i.jsx)(NoDataInfo,{text:r("guest:bookingInformation.noCheckInInstructions")})};var ne=t(4127);let nt=(0,i.jsx)(m.x,{children:"22:00 - 8:00"}),HouseRules=n=>{let{unit:e}=n,t=(0,I.Fg)(),{t:r}=(0,o.$G)();return e?(0,i.jsx)(F,{children:(0,i.jsx)(G,{children:(0,i.jsxs)(F,{children:[(0,i.jsx)(ne.g,{iconName:"Pets",label:(0,i.jsx)(m.x,{children:r(e.allowsPets?"guest:bookingInformation.petsAllowed":"guest:bookingInformation.petsNotAllowed")}),labelClass:"house-rules-icon-label",title:r("guest:bookingInformation.petsTitle"),color:t.colors.secondary}),(0,i.jsx)(ne.g,{iconName:"Mute",label:nt,labelClass:"house-rules-icon-label",title:r("guest:bookingInformation.noNoiseTitle"),color:t.colors.secondary}),(0,i.jsx)(m.x,{className:"hyphenated",dangerouslySetInnerHTML:{__html:(0,k.fL)(e.aptHouseRules||"")}})]})})}):(0,i.jsx)(NoDataInfo,{})},WifiDetails=n=>{var e,t;let{unit:r}=n,{t:l}=(0,o.$G)(),a=(0,h.X)();if(!(null==r?void 0:r.bookingCheckInDetails))return(0,i.jsx)(NoDataInfo,{});if(!r.bookingCheckInDetails.wifiCode&&!r.bookingCheckInDetails.wifiName)return(0,i.jsx)(NoDataInfo,{text:l("guest:bookingInformation.noWifi")});let s=[{value:null!==(e=r.bookingCheckInDetails.wifiName)&&void 0!==e?e:"",contentType:"wifi_name",name:l("guest:bookingInformation.wifiName"),show:!!r.bookingCheckInDetail
1s.wifiName},{value:null!==(t=r.bookingCheckInDetails.wifiCode)&&void 0!==t?t:"",contentType:"wifi_password",name:l("guest:bookingInformation.wifiCode"),show:!!r.bookingCheckInDetails.wifiCode}],c=s.filter(n=>{let{show:e}=n;return e}),handleCopyWifiDetail=(n,e)=>{d.f.GuestInfoCopied({...a,content_type:e}),handleCopyContent(n)};return(0,i.jsx)(F,{children:c.map(n=>{let{value:e,contentType:t,name:r}=n;return(0,i.jsx)(G,{children:(0,i.jsxs)(U,{children:[(0,i.jsxs)(y.Q,{variant:"bold",children:[r,":"]}),(0,i.jsxs)(m.x,{children:[e,(0,i.jsx)(Q,{title:l("common:copy"),onClick:()=>handleCopyWifiDetail(e,t),children:(0,i.jsx)(f.P.CopyPaste,{size:20})})]})]})},r)})})},BookingInformation=()=>{var n;let{t:e}=(0,o.$G)(),{isMultiRoomBooking:t,bookingUnits:r,bookingCheckInDetails:l,aptTitle:a,aptAddress:s,aptHouseRules:c,allowsPets:j}=(0,b.J)(n=>n.bookingInfo),_=(0,h.X)(),y=[{id:"1",slug:"check_in_instructions",name:e("guest:bookingInformation.checkInInstructions"),icon:(0,i.jsx)(f.P.Bedroom,{size:18}),Component:CheckInInstructions},{id:"2",slug:"access_codes",name:e("guest:bookingInformation.accessCodes"),icon:(0,i.jsx)(f.P.KeyVertical,{size:18}),Component:AccessCodes},{id:"3",slug:"wifi",name:e("guest:bookingInformation.wifiDetails"),icon:(0,i.jsx)(f.P.Wifi,{size:18}),Component:WifiDetails},{id:"4",slug:"house_rules",name:e("guest:bookingInformation.houseRules"),icon:(0,i.jsx)(f.P.Home,{size:18}),Component:HouseRules}],handleTabChange=n=>{let e=y.find(e=>{let{id:t}=e;return t===n});e&&d.f.BookingInfoTabViewed({..._,tab:e.slug})},w=t?r:[{bookingCheckInDetails:l,aptTitle:a,aptAddress:s,allowsPets:j,aptHouseRules:c}],O=(w||[]).map((n,r)=>{let{title:o,subtitle:l}=(0,u.yh)(n,e,{isMultiRoomBooking:t,bookingAddress:s});return{value:"unit-".concat(r),title:(0,i.jsxs)(N,{children:[(0,i.jsx)(f.P.Building,{size:18}),(0,i.jsxs)(z,{children:[(0,i.jsx)(M,{children:o}),l&&(0,i.jsx)(p.tF,{children:l})]})]}),content:(0,i.jsxs)(A,{className:"tabsContainer",defaultValue:String(y[0].id),onValueChange:handleTabChange,children:[(0,i.jsx)(T,{children:y.map(n=>{let{id:e,name:t,icon:r}=n;return(0,i.jsxs)(H,{value:String(e),children:[r,(0,i.jsx)(m.x,{children:t})]},e)})}),y.map(e=>{let{id:t,Component:r}=e;return(0,i.jsx)(B,{value:t,children:(0,i.jsx)(r,{unit:n})},t)})]})}})||[];return(0,i.jsxs)(Z,{children:[(0,i.jsx)(x.N,{hideDetail:!0,sectionTitle:e("guest:bookingInformation.title")}),O.length>0&&(0,i.jsx)(g.Z,{items:O,defaultValue:null===(n=O[0])||void 0===n?void 0:n.value,showIcon:!0,className:"accordionItem"})]})};var ni=t(41664),nr=t.n(ni),no=t(86419),nl=t(67803),na=t(23855),ns=t(48403),nc=t.n(ns),nd=t(76248),nu=t(86299),nm=t(16573),np=t(51652),ng=t(12834),nf=t(69275),nh=t(38168),nb=t(44276),nx=t(79362),nj=t(48773);function ShareAddress_styles_templateObject(){let n=(0,v._)(["\n  background-color: ",";\n  border-radius: ",";\n  padding: ",";\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: 500px;\n  max-height: 95vh;\n  z-index: 1000;\n  display: flex;\n  flex-direction: column;\n\n  h2 {\n    text-align: center;\n    margin-top: ",";\n    margin-bottom: ",";\n  }\n"]);return ShareAddress_styles_templateObject=function(){return n},n}function ShareAddress_styles_templateObject1(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n"]);return ShareAddress_styles_templateObject1=function(){return n},n}function ShareAddress_styles_templateObject2(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n  margin: ",";\n  gap: ",";\n\n  a:hover {\n    text-decoration: underline;\n  }\n\n  img {\n    width: 48px;\n    height: 48px;\n  }\n\n  @media (max-width: 395px) {\n    margin: ",";\n  }\n"]);return ShareAddress_styles_templateObject2=function(){return n},n}function ShareAddress_styles_templateObject3(){let n=(0,v._)(["\n  display: flex;\n  justify-content: space-between;\n  background-color: #f8f8f8;\n  border-bottom-left-radius: ",";\n  border-bottom-right-radius: ",";\n  padding: ",";\n  margin: ",";\n  width: calc(100% + ",");\n\n  @media (max-width: 395px) {\n    display: grid;\n    justify-items: center;\n    grid-template-columns: 1fr 1fr;\n    row-gap: ",";\n  }\n"]);
1return ShareAddress_styles_templateObject3=function(){return n},n}function ShareAddress_styles_templateObject4(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  width: 70px;\n  row-gap: ",";\n"]);return ShareAddress_styles_templateObject4=function(){return n},n}function ShareAddress_styles_templateObject5(){let n=(0,v._)(["\n  width: 40px;\n  height: 40px;\n"]);return ShareAddress_styles_templateObject5=function(){return n},n}function ShareAddress_styles_templateObject6(){let n=(0,v._)(["\n  font-family: inherit;\n  border-radius: 100%;\n  height: 30px;\n  width: 30px;\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"]);return ShareAddress_styles_templateObject6=function(){return n},n}let n_=(0,I.ZP)(j.VY).withConfig({componentId:"sc-45f8c9ae-0"})(ShareAddress_styles_templateObject(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.large}),ny=I.ZP.div.withConfig({componentId:"sc-45f8c9ae-1"})(ShareAddress_styles_templateObject1()),nw=I.ZP.div.withConfig({componentId:"sc-45f8c9ae-2"})(ShareAddress_styles_templateObject2(),n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.large)},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.small}),nO=I.ZP.div.withConfig({componentId:"sc-45f8c9ae-3"})(ShareAddress_styles_templateObject3(),n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return"".concat(e.spacing.medium," -").concat(e.spacing.large," -").concat(e.spacing.large)},n=>{let{theme:e}=n;return e.spacing.xx_large},n=>{let{theme:e}=n;return e.spacing.medium}),nk=I.ZP.div.withConfig({componentId:"sc-45f8c9ae-4"})(ShareAddress_styles_templateObject4(),n=>{let{theme:e}=n;return e.spacing.small}),nv=I.ZP.img.withConfig({componentId:"sc-45f8c9ae-5"})(ShareAddress_styles_templateObject5()),nC=I.ZP.button.withConfig({componentId:"sc-45f8c9ae-6"})(ShareAddress_styles_templateObject6(),n=>{let{theme:e}=n;return e.transitions.regular},n=>{let{theme:e}=n;return e.colors.secondary}),getGoogleMapsAddressLink=n=>{let{coordLatitude:e,coordLongitude:t,aptStreetName:i,aptStreetNumber:r,aptZipCode:o,aptMunicipality:l}=n,a=i&&r&&o&&l,s=a?"".concat(i,", ").concat(r,", ").concat(l,", ").concat(o):"",c=e&&t&&"".concat(e,",").concat(t),d=a?[s].filter(n=>n).join(","):c;return"https://www.google.com/maps?q=".concat(d)},ShareAddress=()=>{let{t:n}=(0,o.$G)(),e=(0,nj.J)(n=>n.bookingInfo),t=(0,h.X)(),r=getGoogleMapsAddressLink(e),trackShare=n=>{d.f.Share({...t,method:n,content_type:"address"})};return(0,i.jsxs)(n_,{children:[(0,i.jsxs)(_.T,{children:[(0,i.jsx)(j.$N,{children:n("bookingInfo.showMap")}),(0,i.jsx)(j.Be,{children:n("guest:bookingInfo.showMap")})]}),(0,i.jsx)(w.D,{children:n("guest:bookingInfo.showMap")}),(0,i.jsxs)(ny,{children:[(0,i.jsxs)(nw,{children:[(0,i.jsx)(nv,{src:"".concat(nx.Mx,"/logos/google_maps.png")}),(0,i.jsx)(m.x,{children:(0,i.jsx)(nr(),{href:r,target:"_blank",onClick:()=>trackShare("google_maps"),children:n("guest:bookingInfo.openGoogleMaps")})})]}),(0,i.jsxs)(nw,{children:[(0,i.jsx)(nv,{src:"".concat(nx.Mx,"/logos/share_link.png")}),(0,i.jsxs)(m.x,{children:[n("common:share"),":"]})]}),(0,i.jsxs)(nO,{children:[(0,i.jsxs)(nk,{children:[(0,i.jsx)(nm.Z,{url:r,beforeOnClick:()=>trackShare("facebook"),children:(0,i.jsx)(np.Z,{size:40,round:!0,href:r})}),(0,i.jsx)(m.x,{children:n("common:facebook")})]}),(0,i.jsxs)(nk,{children:[(0,i.jsx)(ng.Z,{url:r,beforeOnClick:()=>trackShare("whatsapp"),children:(0,i.jsx)(nf.Z,{size:40,round:!0})}),(0,i.jsx)(m.x,{children:n("common:whatsapp")})]}),(0,i.jsxs)(nk,{children:[(0,i.jsx)(nh.Z,{url:r,beforeOnClick:()=>trackShare("telegram"),children:(0,i.jsx)(nb.Z,{size:40,round:!0})}),(0,i.jsx)(m.x,{children:n("common:telegram")})]}),(0,i.jsxs)(nk,{children:[(0,i.jsx)("a",{href:"mailto:''?body=".concat(r),onClick:()=>trackShare("email"),children:(0,i.jsx)(nv,{src:"".concat(nx.Mx,"/logos/social-media/email.png")})}),(0,i.jsx)(m.x,{children:n("common:email")})]})]})]}),(0,i.jsx)(j.GG,{asChild:!0,children:(0,i.jsx)(nC,{children:(0,i.jsx)(f.P.Close,{size:25})})})]})};var nI=t(5826),nP=t(13719),nS=t(62195),nD=t(60543),nZ=t(66653),nN=t(69274);
1function BookingDetails_styles_templateObject(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n"]);return BookingDetails_styles_templateObject=function(){return n},n}function BookingDetails_styles_templateObject1(){let n=(0,v._)(["\n  svg {\n    min-width: 18px;\n    min-height: 18px;\n    max-width: 18px;\n    max-height: 18px;\n  }\n\n  @media (max-width: 1024px) {\n    svg {\n      min-width: 16px;\n      min-height: 16px;\n      max-width: 16px;\n      max-height: 16px;\n    }\n  }\n\n  @media "," {\n    svg {\n      min-width: 14px;\n      min-height: 14px;\n      max-width: 14px;\n      max-height: 14px;\n    }\n  }\n"]);return BookingDetails_styles_templateObject1=function(){return n},n}function BookingDetails_styles_templateObject2(){let n=(0,v._)(["\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n  padding: ",";\n"]);return BookingDetails_styles_templateObject2=function(){return n},n}function BookingDetails_styles_templateObject3(){let n=(0,v._)(["\n  ","\n  width: 100%;\n\n  .houseRulesTitle {\n    color: ",";\n    font-weight: ",";\n  }\n\n  @media (max-width: 1200px) {\n    align-items: flex-start;\n    flex-direction: column;\n    gap: ",";\n  }\n\n  @media "," {\n    gap: ",";\n  }\n"]);return BookingDetails_styles_templateObject3=function(){return n},n}function BookingDetails_styles_templateObject4(){let n=(0,v._)(["\n  ","\n  justify-content: flex-end;\n  width: 100%;\n"]);return BookingDetails_styles_templateObject4=function(){return n},n}function BookingDetails_styles_templateObject5(){let n=(0,v._)(["\n  ","\n  gap: ",";\n\n  @media (max-width: 1200px) {\n    width: 100%;\n  }\n"]);return BookingDetails_styles_templateObject5=function(){return n},n}function BookingDetails_styles_templateObject6(){let n=(0,v._)(["\n  height: 52px;\n  display: flex;\n  align-items: center;\n  border-radius: ",";\n\n  @media (min-width: 1200px) {\n    width: 170px;\n  }\n\n  @media (max-width: 1024px) {\n    height: 34px;\n  }\n"]);return BookingDetails_styles_templateObject6=function(){return n},n}function styles_templateObject7(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n\n  h3 {\n    span {\n      font-size: inherit;\n      margin-left: ",";\n      font-weight: ",";\n    }\n  }\n\n  svg {\n    margin-right: ",";\n  }\n"]);return styles_templateObject7=function(){return n},n}function styles_templateObject8(){let n=(0,v._)(["\n  color: ",";\n  width: 20px;\n  height: 20px;\n  margin: 0 ",";\n"]);return styles_templateObject8=function(){return n},n}function styles_templateObject9(){let n=(0,v._)(["\n  width: 20px;\n  height: 20px;\n  color: ",";\n  margin: 0 ",";\n"]);return styles_templateObject9=function(){return n},n}function styles_templateObject10(){let n=(0,v._)(["\n  display: flex;\n  width: 100%;\n  column-gap: ",";\n\n  @media (max-width: 1024px) {\n    flex-direction: column;\n    align-items: center;\n    row-gap: ",";\n  }\n"]);return styles_templateObject10=function(){return n},n}function styles_templateObject11(){let n=(0,v._)(["\n  max-width: 270px;\n  min-width: 270px;\n  position: relative;\n  background: gray;\n  border-radius: ",";\n  overflow: hidden;\n\n  @media (max-width: 1200px) {\n    max-width: 240px;\n    min-width: 240px;\n  }\n\n  @media (max-width: 1024px) {\n    max-width: 100%;\n    min-width: 186px;\n    max-height: 234px;\n    min-height: 234px;\n  }\n\n  @media "," {\n    max-height: 300px;\n    height: 230px;\n\n    img {\n      width: 100%;\n    }\n  }\n\n  #slider-container,\n  #slider-size,\n  #limit-area,\n  #card-image {\n    height: 100%;\n    max-width: 50vw;\n  }\n\n  #slider-size,\n  #card-image {\n    border-radius: ",";\n  }\n\n  button {\n    top: 40%;\n  }\n\n  #dots-container {\n    top: 90%;\n  }\n\n  @media "," {\n    #slider-container,\n    #slider-size,\n    #limit-area,\n    #card-image {\n      max-width: 100% !important;\n    }\n  }\n"]);return styles_templateObject11=function(){return n},n}function styles_templateObject12(){let n=(0,v._)(["\n  width: 100%;\n"]);
1return styles_templateObject12=function(){return n},n}function styles_templateObject13(){let n=(0,v._)(["\n  margin-bottom: ",";\n\n  a:hover {\n    text-decoration: underline;\n  }\n"]);return styles_templateObject13=function(){return n},n}function styles_templateObject14(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n  margin-bottom: ",";\n  font-size: ",";\n\n  svg {\n    margin-right: ",";\n    min-width: 14px;\n    min-height: 14px;\n    ",";\n  }\n"]);return styles_templateObject14=function(){return n},n}function _templateObject15(){let n=(0,v._)(["\n  display: flex;\n  width: 100%;\n  margin-bottom: ",";\n  font-size: ",";\n\n  svg {\n    align-self: flex-start;\n    margin-top: 3px;\n  }\n\n  .items-container {\n    display: flex;\n    flex-direction: column;\n  }\n\n  .items-list {\n    display: flex;\n    align-items: center;\n    gap: ",";\n  }\n  .address {\n    align-items: baseline;\n  }\n\n  ","\n"]);return _templateObject15=function(){return n},n}function _templateObject16(){let n=(0,v._)(["\n  p {\n    user-select: none;\n    color: ",";\n\n    &:hover {\n      cursor: pointer;\n      text-decoration: underline;\n    }\n  }\n"]);return _templateObject16=function(){return n},n}function _templateObject17(){let n=(0,v._)(["\n  margin-left: ",";\n  min-width: 80px;\n"]);return _templateObject17=function(){return n},n}function _templateObject18(){let n=(0,v._)(["\n  background-color: ",";\n  padding: ",";\n  text-align: left;\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  z-index: 2;\n\n  p {\n    margin-bottom: ",";\n  }\n"]);return _templateObject18=function(){return n},n}function _templateObject19(){let n=(0,v._)(["\n  display: flex;\n  justify-content: space-between;\n  max-width: 500px;\n  gap: ",";\n\n  .item {\n    display: flex;\n\n    svg {\n      margin: ",";\n      ",";\n    }\n\n    ","\n  }\n\n  @media (max-width: 1300px) {\n    flex-direction: column;\n  }\n"]);return _templateObject19=function(){return n},n}function _templateObject20(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n\n  @media (max-width: 1300px) {\n    flex-direction: row;\n    column-gap: ",";\n  }\n"]);return _templateObject20=function(){return n},n}let nz=(0,I.iv)(BookingDetails_styles_templateObject()),nM=(0,I.iv)(BookingDetails_styles_templateObject1(),c.Hb.tablet),nA=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-0"})(BookingDetails_styles_templateObject2(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.medium," ").concat(e.spacing.medium)}),nT=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-1"})(BookingDetails_styles_templateObject3(),nz,n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.weights.regular},n=>{let{theme:e}=n;return e.spacing.medium},c.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.middle}),nB=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-2"})(BookingDetails_styles_templateObject4(),nz),nH=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-3"})(BookingDetails_styles_templateObject5(),nz,n=>{let{theme:e}=n;return e.spacing.middle}),nF=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-4"})(BookingDetails_styles_templateObject6(),n=>{let{theme:e}=n;return e.radii.xxx_large}),nG=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-5"})(styles_templateObject7(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.weights.regular},n=>{let{theme:e}=n;return e.spacing.medium}),nU=(0,I.ZP)(nN.Sbn).withConfig({componentId:"sc-f9d5e42d-6"})(styles_templateObject8(),"#FCC968",n=>{let{theme:e}=n;return e.spacing.small}),nQ=(0,I.ZP)(nZ.KJd).withConfig({componentId:"sc-f9d5e42d-7"})(styles_templateObject9(),n=>{let{theme:e}=n;return e.colors.primary},n=>{let{theme:e}=n;return e.spacing.small}),nE=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-8"})(styles_templateObject10(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.large}),nL=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-9"}
1)(styles_templateObject11(),n=>{let{theme:e}=n;return e.radii.medium},c.Hb.mobile,n=>{let{theme:e}=n;return e.radii.medium},c.Hb.mobile),nR=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-10"})(styles_templateObject12()),n$=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-11"})(styles_templateObject13(),n=>{let{theme:e}=n;return e.spacing.middle}),nV=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-12"})(styles_templateObject14(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.spacing.small},(0,R.Pe)("primary","secondary")),nW=(0,I.ZP)(nV).withConfig({componentId:"sc-f9d5e42d-13"})(_templateObject15(),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.spacing.small},nM),nX=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-14"})(_templateObject16(),n=>{let{theme:e}=n;return e.colors.primary}),nJ=(0,I.ZP)(nX).withConfig({componentId:"sc-f9d5e42d-15"})(_templateObject17(),n=>{let{theme:e}=n;return e.spacing.small}),nY=(0,I.ZP)(no.VY).withConfig({componentId:"sc-f9d5e42d-16"})(_templateObject18(),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.radii.medium},n=>{let{theme:e}=n;return e.spacing.x_small}),nK=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-17"})(_templateObject19(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return"2px ".concat(e.spacing.small," 0 0")},(0,R.Pe)("primary","secondary"),nM),nq=I.ZP.div.withConfig({componentId:"sc-f9d5e42d-18"})(_templateObject20(),n=>{let{theme:e}=n;return e.spacing.x_large}),BookingDetails=()=>{let{t:n,i18n:e}=(0,o.$G)("guest"),[t,l]=(0,r.useState)(),{bookingInfo:a,guests:s,generalStatus:c}=(0,nj.J)(n=>({bookingInfo:n.bookingInfo,guests:n.guests,generalStatus:n.generalStatus()}),nd.X);if((0,r.useEffect)(()=>{if(a&&s){var n,e;l({propertyGroupId:a.propertyGroupId||"",bookingId:a.bookingId||"",aptTitle:(0,u.zY)(a),address:(0,u.Pu)(a),aptNeighbourhood:a.aptNeighbourhood||"",aptMunicipality:a.aptMunicipality||"",buildingName:a.buildingName||"",checkIn:a.checkIn||"",checkOut:a.checkOut||"",nights:(0,nl.Z)((0,na.default)(null!==(n=a.checkOut)&&void 0!==n?n:""),(0,na.default)(null!==(e=a.checkIn)&&void 0!==e?e:"")),guests:s.map(n=>"".concat(nc()(n.name)||""," ").concat(nc()(n.surname)||"")),totalPayout:a.totalBookingAmount||0,photos:a.photos,source:a.source})}},[a,s]),t){var d,p;let{bookingId:r,aptTitle:o,propertyGroupId:l,address:s,aptMunicipality:u,aptNeighbourhood:g,buildingName:h,guests:b,checkIn:x,checkOut:j,nights:_}=t,k=b.slice(0,1),v=b.slice(1),C=(0,nP.p6)((0,na.default)(x),"EE, dd MMM yyyy",null!==(d=null==e?void 0:e.language)&&void 0!==d?d:"en"),I=(0,nP.p6)((0,na.default)(j),"EE, dd MMM yyyy",null!==(p=null==e?void 0:e.language)&&void 0!==p?p:"en"),getDates=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"item",children:[(0,i.jsx)(f.P.CalendarCheck,{size:18}),(0,i.jsxs)("div",{children:[(0,i.jsx)(y.Q,{variant:"bold",children:n("bookingInfo.checkIn")}),(0,i.jsx)(m.x,{children:C})]})]}),(0,i.jsxs)("div",{className:"item",children:[(0,i.jsx)(f.P.CalendarCheck,{size:18}),(0,i.jsxs)("div",{children:[(0,i.jsx)(y.Q,{variant:"bold",children:n("bookingInfo.checkOut")}),(0,i.jsx)(m.x,{children:I})]})]})]});return(0,i.jsxs)(nA,{children:[(0,i.jsxs)(nT,{children:[(0,i.jsx)(nH,{children:a.isPastBooking?(0,i.jsx)(nF,{children:(0,i.jsx)(w.D,{children:n("guest:bookingStatus.pastBooking")})}):a.isOngoingBooking?(0,i.jsx)(nF,{children:(0,i.jsx)(w.D,{children:n("guest:bookingStatus.ongoingBooking")})}):(0,i.jsx)(nF,{children:(0,i.jsx)(w.D,{children:n("guest:bookingStatus.upcomingBooking")})})}),(0,i.jsx)(nB,{children:(0,i.jsxs)(nG,{status:c,children:[(0,i.jsx)(y.Q,{children:n("guest:bookingStatus.status")}),(0,i.jsx)(nD.M,{status:c,completeIcon:(0,i.jsx)(nQ,{}),incompleteIcon:(0,i.jsx)(nU,{}),processingIcon:(0,i.jsx)(nQ,{})}),(0,i.jsxs)(y.Q,{children:[n("guest:bookingStatus.bookingNumber"),(0,i.jsxs)("span",{children:["#",r]})]})]})})]}),(0,i.jsxs)(nE,{children:[(0,i.jsx)(nL,{children:(0,i.jsx)(nu.f,{photos:t.photos})}),(0,i.jsxs)(nR,{children:[(0,i.jsx)(n$,{children:(0,i.jsx)(w.D,{children:l?(0,i.jsx)(nr(),{href:"".concat(nS.Z6.propertyAvailability,"/").concat(l),target:"_blank",children:o}):o})}),(0,i.jsxs)(nW,{children:[(0,i.jsx)(f.P.LocationPinFilled,{size:18}),(0,i.jsxs)("div",{className:"items-container",children:[(0,i.jsx)(y.Q,{variant:"bold",children:n("bookingInfo.address")}),(0,i.jsxs)("div",{className:"items-list address",children:[(0,i.jsxs)(m.x,{children:[s,g?", ".concat(g):"",u?" - ".concat(u):""]}),(0,i.jsx)(O.V,{trigger:(0,i.jsx)(nJ,{children:(0,i.jsx)(m.x,{children:n("bookingInfo.showMap")})}
1),content:(0,i.jsx)(ShareAddress,{})})]})]})]}),h&&h!==o&&(0,i.jsxs)(nW,{children:[(0,i.jsx)(f.P.Building,{size:18}),(0,i.jsxs)("div",{className:"items-container",children:[(0,i.jsx)(y.Q,{variant:"bold",children:n("bookingInfo.building")}),(0,i.jsx)(m.x,{children:h})]})]}),(0,i.jsxs)(nW,{children:[(0,i.jsx)(f.P.UserFilled,{size:18}),(0,i.jsxs)("div",{className:"items-container",children:[(0,i.jsx)(y.Q,{variant:"bold",children:n("bookingInfo.guestNames")}),(0,i.jsxs)("div",{className:"items-list",children:[k.map(n=>(0,i.jsx)(m.x,{children:n},n)),!!v.length&&(0,i.jsxs)(no.fC,{children:[(0,i.jsx)(no.xz,{asChild:!0,children:(0,i.jsx)(nX,{children:(0,i.jsxs)(m.x,{children:["+",v.length]})})}),(0,i.jsx)(nY,{sideOffset:5,align:"center",side:"right",children:v.map(n=>(0,i.jsxs)(m.x,{children:[(0,i.jsx)(f.P.UserFilled,{size:10})," ",n]},n))})]})]})]})]}),(0,i.jsxs)(nK,{children:[(0,i.jsx)(nI.z,{minWidth:"1300px",children:getDates()}),(0,i.jsx)(nI.z,{maxWidth:"1299px",children:(0,i.jsx)(nq,{children:getDates()})}),(0,i.jsxs)("div",{className:"item",children:[(0,i.jsx)(f.P.CalendarAlt,{size:18}),(0,i.jsxs)("div",{children:[(0,i.jsx)(y.Q,{variant:"bold",children:n("bookingInfo.total")}),(0,i.jsx)(m.x,{children:n("bookingInfo.totalNights",{nights:_})})]})]})]})]})]})]})}return(0,i.jsx)(i.Fragment,{})};var n0=t(28477),n1=t(11163);function desktop_styles_templateObject(){let n=(0,v._)(["\n  background-color: ",";\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  border-radius: ",";\n  padding: ",";\n  height: 100%;\n"]);return desktop_styles_templateObject=function(){return n},n}function desktop_styles_templateObject1(){let n=(0,v._)(["\n  width: 50px;\n  height: 50px;\n  margin-bottom: ",";\n  color: ",";\n\n  @media "," {\n    width: 42px;\n    height: 42px;\n  }\n"]);return desktop_styles_templateObject1=function(){return n},n}function desktop_styles_templateObject2(){let n=(0,v._)(["\n  width: 50px;\n  height: 50px;\n  color: ",";\n  margin-bottom: ",";\n\n  @media "," {\n    width: 42px;\n    height: 42px;\n  }\n"]);return desktop_styles_templateObject2=function(){return n},n}function desktop_styles_templateObject3(){let n=(0,v._)(["\n  text-align: center;\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n  margin-bottom: ",";\n"]);return desktop_styles_templateObject3=function(){return n},n}function desktop_styles_templateObject4(){let n=(0,v._)(["\n  width: 100%;\n  max-width: 240px;\n  padding: ",";\n  border-radius: ",";\n  color: ",";\n  ","\n\n  p {\n    color: ",";\n  }\n\n  &:hover {\n    opacity: 0.7;\n  }\n\n  &.incomplete {\n    background-color: ",";\n    p {\n      color: ",";\n    }\n  }\n\n  @media (max-width: 1024px) {\n    padding: ",";\n  }\n\n  @media "," {\n    padding: ",";\n  }\n"]);return desktop_styles_templateObject4=function(){return n},n}let n2="#FCC968",n4=I.ZP.div.withConfig({componentId:"sc-74d243de-0"})(desktop_styles_templateObject(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return"".concat(e.spacing.x_large," ").concat(e.spacing.medium)}),n8=(0,I.ZP)(nZ.KJd).withConfig({componentId:"sc-74d243de-1"})(desktop_styles_templateObject1(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.colors.success},c.Hb.tablet),n3=(0,I.ZP)(nN.Sbn).withConfig({componentId:"sc-74d243de-2"})(desktop_styles_templateObject2(),n2,n=>{let{theme:e}=n;return e.spacing.middle},c.Hb.tablet),n5=I.ZP.div.withConfig({componentId:"sc-74d243de-3"})(desktop_styles_templateObject3(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.large}),n7=I.ZP.button.withConfig({componentId:"sc-74d243de-4"})(desktop_styles_templateObject4(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.radii.middle},n=>{let{theme:e}=n;return e.colors.white},(0,R.c2)(R.oe,"primary"),n=>{let{theme:e}=n;return e.colors.white},n2,n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.spacing.middle},c.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.small}),BookingStatus_BookingStatus=()=>{let{t:n}=(0,o.$G)(),{push:e}=(0,n1.useRouter)(),{mainGuest:t,generalStatus:r,bookingInfo:l}=(0,nj.J)(n=>({mainGuest:n.mainGuest,generalStatus:n.generalStatus(),bookingInfo:n.bookingInfo}
1),nd.X),a=(0,h.X)(),s="AndoLiving"===l.brand;return(0,i.jsxs)(n4,{children:[(0,i.jsx)(nD.M,{status:r,completeIcon:(0,i.jsx)(n8,{}),incompleteIcon:(0,i.jsx)(n3,{}),processingIcon:(0,i.jsx)(n8,{})}),(0,i.jsxs)(n5,{children:[(0,i.jsxs)(y.Q,{variant:"bold",children:[n("guest:bookingStatus.status"),(0,i.jsx)("br",{}),n("guest:bookingStatus.title.".concat(r))]}),(0,i.jsx)(m.x,{children:"complete"===r?(()=>{let{bookingCheckInDetails:n}=l;if(!n)return!1;let{buildingDoorCode:e,aptDoorCode:t,smartlockCode:i,additionalCode:r,additionalCodeInstructions:o,elevatorCode:a,garageCode:s,garageInstructions:c}=n;return!!(e||t||i||r||o||a||s||c)})()?n("guest:bookingStatus.description.completed"):n("guest:bookingStatus.description.complete",{count:s?48:1}):n("guest:bookingStatus.description.".concat(r))})]}),(0,i.jsx)(n7,{onClick:()=>{d.f.GuestPageCtaClicked({...a,cta:["processing","incomplete"].includes(r)?"complete_booking_info":"view_booking_details",placement:"status_card"}),e("".concat(nS.Z6.guestBooking,"/").concat(t.guestToken))},className:r,children:(0,i.jsx)(m.x,{children:n(["processing","incomplete"].includes(r)?"guest:bookingStatus.callToAction.additionalInfo":"guest:bookingStatus.callToAction.successfullyCompleted")})})]})};var n9=t(60737);function Status_styles_templateObject(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  border-radius: ",";\n  background-color: ",";\n  padding: ",";\n  margin: ",";\n\n  svg {\n    color: ",";\n    margin-bottom: ",";\n  }\n\n  h3 {\n    text-align: center;\n    font-size: ",";\n    font-weight: ",";\n    font-family: ",";\n    margin-bottom: ",';\n  }\n\n  /* Refined alert-card pattern: white card, thin yellow accent stripe on the\n     left signals "warning" without dominating the layout. Horizontal layout\n     with icon + text block + CTA all vertically centered keeps the height\n     proportional to the content. */\n  @media '," {\n    flex-direction: row;\n    align-items: center;\n    justify-content: flex-start;\n    gap: ",";\n    padding: ",";\n    margin: ",";\n    height: fit-content;\n    background-color: ",";\n    border: 1px solid ",";\n    border-radius: ",";\n    /* Inset accent stripe — keeps the card's border-radius clean while still\n       carrying the warning color cue. */\n    box-shadow: inset 4px 0 0 0 ",";\n    padding-left: ",";\n\n    svg {\n      width: 22px;\n      height: 22px;\n      color: ",";\n      margin: 0;\n      flex-shrink: 0;\n    }\n  }\n"]);return Status_styles_templateObject=function(){return n},n}function Status_styles_templateObject1(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  flex: 1;\n  min-width: 0;\n\n  h3 {\n    font-family: ",";\n    font-size: ",";\n    font-weight: ",";\n    color: ",";\n    text-align: left;\n    line-height: 1.3;\n    margin: 0;\n  }\n\n  p {\n    font-family: ",";\n    font-size: ",";\n    color: ",";\n    text-align: left;\n    opacity: 0.7;\n    line-height: 1.35;\n    margin: ",";\n  }\n"]);return Status_styles_templateObject1=function(){return n},n}function Status_styles_templateObject2(){let n=(0,v._)(["\n  flex-shrink: 0;\n  max-width: 100px;\n  padding: ",";\n  border-radius: ",";\n  background-color: ",";\n  color: ",";\n  border: none;\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  line-height: 1.3;\n  white-space: normal;\n  cursor: pointer;\n  transition: opacity 0.15s ease;\n\n  &:hover {\n    opacity: 0.85;\n  }\n"]);return Status_styles_templateObject2=function(){return n},n}let n6=I.ZP.div.withConfig({componentId:"sc-918f90f0-0"})(Status_styles_templateObject(),n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.x_large},n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.large," 0 145px")},n=>{let{theme:e}=n;return e.colors.warning},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.fontSizes.medium},n=>{let{theme:e}=n;return e.weights.medium},n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.spacing.xx_small},c.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return"".concat(e.spacing.middle," ").concat(e.spacing.medium)},n=>{let{theme:e}=n;return"".concat(e.spacing.medium," ").concat(e.spacing.medium," 0")},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.grey2},n=>{let{theme:e}=n;return e.radii.medium},"#FCC968",n=>{let{theme:e}=n;return"calc(".concat(e.spacing.medium," + 4px)")},n=>{let{theme:e}=n;return e.colors.text}),en=I.ZP.div.withConfig({componentId:"sc-918f90f0-1"}
1)(Status_styles_templateObject1(),n=>{let{theme:e}=n;return e.fonts.poppins},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.text},n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.fontSizes.x_small},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return"".concat(e.spacing.xx_small," 0 0 0")}),ee=I.ZP.button.withConfig({componentId:"sc-918f90f0-2"})(Status_styles_templateObject2(),n=>{let{theme:e}=n;return"".concat(e.spacing.x_small," ").concat(e.spacing.medium)},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.colors.text},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.fonts.poppins},n=>{let{theme:e}=n;return e.fontSizes.small},n=>{let{theme:e}=n;return e.weights.medium}),Status=()=>{let{asPath:n,push:e}=(0,n1.useRouter)(),{t}=(0,o.$G)(),r=(0,n0.Z)(c.Hb.tablet),{mainGuest:l,generalStatus:a}=(0,nj.J)(n=>({mainGuest:n.mainGuest,generalStatus:n.generalStatus()}),nd.X),s=(0,h.X)();return(0,i.jsx)(n6,{children:r?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(nN.Sbn,{}),(0,i.jsxs)(en,{children:[(0,i.jsx)("h3",{children:t("guest:bookingStatus.title.incomplete")}
1),(0,i.jsx)("p",{children:t("guest:bookingStatus.subtitle.incomplete")})]}),!n.includes(nS.Z6.guestBooking)&&(0,i.jsx)(ee,{onClick:()=>{d.f.GuestPageCtaClicked({...s,cta:"complete_booking_info",placement:"status_card"}),e("".concat(nS.Z6.guestBooking,"/").concat(l.guestToken))},children:t(["processing","incomplete"].includes(a)?"guest:bookingStatus.callToAction.additionalInfo":"guest:bookingStatus.callToAction.successfullyCompleted")})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(nN.Sbn,{size:c.TV.spacing.xx_large}),(0,i.jsx)("h3",{children:t("guest:status.title")})]})})};function mobile_styles_templateObject(){let n=(0,v._)([""]);return mobile_styles_templateObject=function(){return n},n}let et=I.ZP.div.withConfig({componentId:"sc-a915a45f-0"})(mobile_styles_templateObject()),mobile_BookingStatus_BookingStatus=()=>{let n=(0,nj.J)(n=>n.generalStatus);return n()===n9.m.incomplete?(0,i.jsx)(et,{children:(0,i.jsx)(Status,{})}):null},BookingStatus_BookingStatus_BookingStatus=()=>{let n=(0,n0.Z)(c.Hb.mobile);return n?(0,i.jsx)(mobile_BookingStatus_BookingStatus,{}):(0,i.jsx)(BookingStatus_BookingStatus,{})};var ei=t(25675),er=t.n(ei),eo=t(51195);let isMobileDevice=()=>{let n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return n};function CustomerServiceDetails_styles_templateObject(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n  row-gap: ",";\n  padding-top: ",";\n\n  .telephone {\n    width: fit-content;\n  }\n"]);return CustomerServiceDetails_styles_templateObject=function(){return n},n}function CustomerServiceDetails_styles_templateObject1(){let n=(0,v._)(["\n  display: flex;\n  align-items: center;\n  row-gap: ",";\n  column-gap: ",";\n  height: 24px;\n\n  h3 {\n    min-width: 90px;\n  }\n\n  a:hover {\n    text-decoration: underline;\n  }\n  h3,\n  p {\n    overflow: hidden;\n    white-space: nowrap;\n    text-overflow: ellipsis;\n  }\n\n  a {\n    font-family: inherit;\n  }\n\n  .whatsapp-icon {\n    margin-right: -",";\n  }\n\n  @media "," {\n    flex-direction: column;\n    align-items: flex-start;\n    height: auto;\n\n    p {\n      width: 100%;\n    }\n  }\n\n  @media "," {\n    height: 24px;\n    align-items: center;\n    flex-direction: row;\n  }\n"]);return CustomerServiceDetails_styles_templateObject1=function(){return n},n}let el=I.ZP.div.withConfig({componentId:"sc-51b58a16-0"})(CustomerServiceDetails_styles_templateObject(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.medium}),ea=I.ZP.div.withConfig({componentId:"sc-51b58a16-1"})(CustomerServiceDetails_styles_templateObject1(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.small},c.Hb.tablet,c.Hb.mobile),CustomerServiceDetails=n=>{let{bookingInfo:e}=n,{t}=(0,o.$G)(),{isAndoLiving:r}=(0,eo.M)(),l=(0,h.X)(),trackSupportContact=n=>{d.f.SupportContactClicked({...l,channel:n})},a=e.geoZoneBookingsEmail,s=e.geoZoneBookingsPhone;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.N,{hideDetail:!0,sectionTitle:t("guest:supportInformation.customerService")}),(0,i.jsxs)(el,{children:[(0,i.jsxs)(ea,{children:[(0,i.jsx)(y.Q,{variant:"bold",children:t("guest:supportInformation.email")}),(0,i.jsx)(m.x,{title:a,children:(0,i.jsx)(nr(),{target:"_blank",href:"mailto:".concat(a),onClick:()=>trackSupportContact("email"),children:a})})]}),(0,i.jsxs)(ea,{children:[(0,i.jsx)(y.Q,{variant:"bold",children:t("guest:supportInformation.phone")}),(0,i.jsx)(m.x,{className:"telephone",children:(0,i.jsx)(nr(),{target:"_blank",href:"tel:".concat(s),onClick:()=>trackSupportContact("phone"),children:s})}),(0,i.jsx)(nr(),{target:"_blank",href:(()=>{let n=isMobileDevice()?"api":"web",t=e.whatsappPhone||e.geoZoneBookingsPhone,i=null==t?void 0:t.replace("+","");return"https://".concat(n,".whatsapp.com/send?phone=").concat(i)})(),className:"whatsapp-icon",onClick:()=>trackSupportContact("whatsapp"),children:(0,i.jsx)(er(),{src:"".concat(nx.Mx,"/logos/social-media/whatsapp_icon.png"),width:24,height:24,alt:t("guest:supportInformation.socialMedia")})})]}),(0,i.jsxs)(ea,{children:[(0,i.jsx)(y.Q,{variant:"bold",children:t("guest:supportInformation.socialMedia")}),(0,i.jsx)(nr(),{target:"_blank",href:e.instagramUrl?e.instagramUrl:"https://www.instagram.com/".concat(r?"ando_living":"lovelystay_properties","/"),onClick:()=>trackSupportContact("instagram"),children:(0,i.jsx)(er(),{src:"".concat(nx.Mx,"/logos/social-media/instagram_icon.png"),width:24,height:24,alt:t("guest:supportInformation.socialMedia")})})]})]})]})};var es=t(93973),ec=t(61592);
1function MidTermPaymentDetails_styles_templateObject(){let n=(0,v._)(["\n  background-color: ",";\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  border-radius: ",";\n  padding: ",";\n"]);return MidTermPaymentDetails_styles_templateObject=function(){return n},n}function MidTermPaymentDetails_styles_templateObject1(){let n=(0,v._)(["\n  position: fixed;\n  bottom: 70px;\n  height: 120px;\n  background-color: ",";\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  border-top-left-radius: ",";\n  border-top-right-radius: ",";\n  padding: ",";\n  width: 100%;\n  z-index: 10;\n  gap: ",";\n  box-shadow: 0px 3px 6px #00000093;\n\n  .paymentButton {\n    padding: ",";\n  }\n\n  .total {\n    font-weight: ",";\n    font-size: ",";\n  }\n"]);return MidTermPaymentDetails_styles_templateObject1=function(){return n},n}function MidTermPaymentDetails_styles_templateObject2(){let n=(0,v._)(["\n  display: flex;\n  flex-direction: column;\n"]);return MidTermPaymentDetails_styles_templateObject2=function(){return n},n}function MidTermPaymentDetails_styles_templateObject3(){let n=(0,v._)(["\n  width: auto;\n  height: 50px;\n  min-width: 140px;\n  padding: ",";\n  border-radius: ",";\n  background-color: ",";\n\n  &:hover,\n  &:disabled {\n    opacity: 0.6;\n  }\n\n  p {\n    color: ",";\n  }\n\n  @media (max-width: 1024px) {\n    padding: ",";\n  }\n\n  @media "," {\n    padding: ",";\n    min-width: 120px;\n    height: 40px;\n  }\n"]);return MidTermPaymentDetails_styles_templateObject3=function(){return n},n}let ed=I.ZP.div.withConfig({componentId:"sc-d8c140cb-0"})(MidTermPaymentDetails_styles_templateObject(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.medium," ").concat(e.spacing.middle)}),eu=I.ZP.div.withConfig({componentId:"sc-d8c140cb-1"})(MidTermPaymentDetails_styles_templateObject1(),n=>{let{isPaid:e,theme:t}=n;return e?t.colors.white:"#fff7e7"},n=>{let{theme:e}=n;return e.radii.xx_large},n=>{let{theme:e}=n;return e.radii.xx_large},n=>{let{theme:e}=n;return"".concat(e.spacing.medium," ").concat(e.spacing.medium," ").concat(e.spacing.xx_large)},n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return"".concat(e.spacing.small," ").concat(e.spacing.x_large)},n=>{let{theme:e}=n;return e.weights.extraBold},n=>{let{theme:e}=n;return e.fontSizes.small}),em=I.ZP.div.withConfig({componentId:"sc-d8c140cb-2"})(MidTermPaymentDetails_styles_templateObject2()),ep=I.ZP.button.withConfig({componentId:"sc-d8c140cb-3"})(MidTermPaymentDetails_styles_templateObject3(),n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.radii.middle},n=>{let{theme:e}=n;return e.colors.black},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.middle},c.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.small}),MidTermPaymentDetails=n=>{let{goToPayment:e,isCurrentMonthPaid:t,paymentInfo:r,bookingUnit:l}=n,{t:a}=(0,o.$G)();return(0,i.jsxs)(ed,{children:[(0,i.jsx)(ec.g,{isHomePage:!0,isNextPayment:t,paymentInfo:r,bookingUnit:l}),(0,i.jsx)(ep,{className:"paymentButton",disabled:t,onClick:e,children:(0,i.jsx)(m.x,{children:a("guest:bookingUnitsPayments.payNow")})})]})};var eg=t(80691);let MidTermPaymentDetails_MidTermPaymentDetails=n=>{let{goToPayment:e,isCurrentMonthPaid:t,paymentInfo:r,bookingUnit:l}=n,{t:a,i18n:s}=(0,o.$G)(),c=s.language||"en";return(0,i.jsxs)(eu,{isPaid:t,children:[(0,i.jsxs)(em,{children:[(0,i.jsx)(y.Q,{className:"total",children:(0,eg.WW)(r.totalToCharge)}),(0,i.jsx)(y.Q,{variant:"bold",children:a("guest:bookingUnitsPayments.".concat(t?"upcomingPayment":"monthlyPayment"))}),(0,i.jsx)(y.Q,{children:(0,k.a5)(l.checkIn,l.checkOut,c)})]}),(0,i.jsx)(ep,{className:"paymentButton",disabled:t,onClick:e,children:(0,i.jsx)(m.x,{children:a("guest:bookingUnitsPayments.payNow")})})]})},MidTermPaymentDetails_MidTermPaymentDetails_MidTermPaymentDetails=()=>{var n;let{query:e,push:t}=(0,n1.useRouter)(),o=(0,n0.Z)(c.Hb.mobile),l=e.token,[a,s]=(0,r.useState)(),[u,m]=(0,r.useState)(!0),p=(0,nj.J)(n=>n.bookingInfo),g=(0,h.X)(),{data:f,refetch:b}=(0,es.I)({guestToken:l,bookingUnitId:null!==(n=null==a?void 0:a.bookingUnitId)&&void 0!==n?n:"",isMultiRoom:p.isMultiRoomBooking,enabled:!1});(0,r.useEffect)(()=>
1{if(p.bookingUnits){let{current:n,next:e}=(0,k.KN)(p.bookingUnits),t=(null==n?void 0:n.chargedAmount)===(null==n?void 0:n.totalToCharge);m(t),s(t?e:n)}},[p.bookingUnits]),(0,r.useEffect)(()=>{a&&b()},[a]);let goToPayment=()=>{d.f.PayNowClicked(g);let n="".concat(nS.Z6.guestPayments,"/").concat(l,"/unit/").concat(null==a?void 0:a.bookingUnitId);t(n)};return f&&a?o?(0,i.jsx)(MidTermPaymentDetails_MidTermPaymentDetails,{goToPayment:goToPayment,isCurrentMonthPaid:u,paymentInfo:f,bookingUnit:a}):(0,i.jsx)(MidTermPaymentDetails,{goToPayment:goToPayment,isCurrentMonthPaid:u,paymentInfo:f,bookingUnit:a}):(0,i.jsx)(i.Fragment,{})};var ef=t(290),eh=t(15329),eb=t(86094),ex=t(55354),ej=t(1112);function guests_styles_templateObject(){let n=(0,v._)(["\n  display: flex;\n  justify-content: center;\n  padding-bottom: ",";\n\n  @media "," {\n    display: block;\n    width: 100%;\n    padding-bottom: ",";\n  }\n\n  @media "," {\n    padding-bottom: ",";\n  }\n"]);return guests_styles_templateObject=function(){return n},n}function guests_styles_templateObject1(){let n=(0,v._)(["\n  width: 100%;\n  display: grid;\n  align-content: center;\n  justify-content: center;\n  padding: ",";\n  grid-template-columns: 1fr 1fr 380px;\n  grid-template-rows: 1fr auto;\n  gap: ",";\n  grid-template-areas:\n    'booking-details booking-details status-content'\n    'booking-information booking-information customer-service';\n\n  .skeletonContainer {\n    flex: 1;\n    height: 35vh;\n    display: flex;\n  }\n\n  .skeleton {\n    height: 100%;\n    border-radius: ",";\n    line-height: unset;\n  }\n\n  .booking-details {\n    grid-area: booking-details;\n    border-radius: ",";\n    background: ",";\n\n    @media "," {\n      border-radius: 0;\n\n      .skeleton {\n        height: 280px;\n        border-radius: 0;\n      }\n    }\n  }\n\n  .booking-information {\n    grid-area: booking-information;\n    height: fit-content;\n    display: flex;\n    align-items: flex-start;\n    justify-content: flex-start;\n    border-radius: ",";\n    background: ",";\n    border: 1px solid ",";\n  }\n\n  .status-content {\n    grid-area: status-content;\n    display: flex;\n    flex-direction: column;\n    gap: ",";\n\n    .card-content {\n      height: fit-content;\n    }\n\n    .skeletonContainer {\n      height: 100%;\n    }\n\n    @media "," {\n      .skeletonContainer {\n        height: 100px;\n      }\n    }\n  }\n\n  .customer-service {\n    grid-area: customer-service;\n    display: flex;\n    flex-direction: column;\n    gap: ",";\n  }\n\n  @media (max-width: 1200px) {\n    grid-template-columns: 1fr 1fr 270px;\n  }\n\n  @media (max-width: 1080px) {\n    grid-template-columns: 2.5fr 270px;\n    grid-template-rows: 1fr auto;\n    grid-template-areas:\n      'booking-details status-content'\n      'booking-details customer-service'\n      'booking-information booking-information';\n  }\n\n  @media (max-width: 900px) {\n    grid-template-rows: 1fr auto;\n  }\n\n  @media "," {\n    grid-template-columns: 1fr 220px;\n    padding: ",";\n  }\n\n  @media (max-width: 600px) {\n    grid-template-columns: 1fr 190px;\n  }\n\n  @media "," {\n    display: flex;\n    grid-template-columns: 1fr;\n    flex-direction: column;\n    row-gap: ",";\n\n    .status-content {\n      max-width: 100%;\n    }\n\n    .customer-service {\n      display: hidden;\n    }\n\n    padding: 0;\n  }\n"]);return guests_styles_templateObject1=function(){return n},n}function guests_styles_templateObject2(){let n=(0,v._)(["\n  background-color: ",";\n  border-radius: ",";\n  padding: ",";\n  height: 100%;\n"]);return guests_styles_templateObject2=function(){return n},n}let e_=I.ZP.div.withConfig({componentId:"sc-45d0dabf-0"})(guests_styles_templateObject(),n=>{let{theme:e}=n;return e.spacing.large},c.Hb.tablet,n=>{let{theme:e}=n;return"calc(100px + ".concat(e.spacing.x_large,")")},c.Hb.mobile,n=>{let{theme:e}=n;return"calc(100px + ".concat(e.spacing.xxx_large,")")}),ey=I.ZP.div.withConfig({componentId:"sc-45d0dabf-1"})(guests_styles_templateObject1(),n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.large," 0 115px")},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.colors.white},c.Hb.tablet,n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.medium},c.Hb.tablet,n=>{let{theme:e}=n;return e.spacing.medium},c.Hb.tablet,n=>{let{theme:e}=n;return"".concat(e.spacing.medium," ").concat(e.spacing.medium," 0")},c.Hb.mobile,n=>{let{theme:e}=n;return e.spacing.medium}),ew=I.ZP.div.withConfig({componentId:"sc-45d0dabf-2"}
1)(guests_styles_templateObject2(),n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return"".concat(e.spacing.large," ").concat(e.spacing.medium)}),Guest=()=>{let{t:n}=(0,o.$G)(),[e,t]=(0,r.useState)(!0),[a,d]=(0,r.useState)(!0),{isGuestDataLoading:u}=(0,eb.Z)(),m=(0,nj.J)(n=>n.bookingInfo);return(0,r.useEffect)(()=>{if(m){let{bookingRentalType:n}=m;t(n===ex.m.shortTerm),d(!1)}},[m]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.PB,{noindex:!0,nofollow:!0}),(0,i.jsx)(s(),{children:(0,i.jsx)("title",{children:n("guest:dashboard")})}),(0,i.jsx)(e_,{children:(0,i.jsxs)(ey,{children:[(0,i.jsx)("div",{className:"status-content",children:u||a?(0,i.jsx)(eh.O,{containerClassName:"skeletonContainer",className:"skeleton"}):e?(0,i.jsx)(BookingStatus_BookingStatus_BookingStatus,{}):m.source===ej.X.office?(0,i.jsx)(MidTermPaymentDetails_MidTermPaymentDetails_MidTermPaymentDetails,{}):(0,i.jsx)(i.Fragment,{})}),(0,i.jsx)(nI.z,{minWidth:"769px",children:(0,i.jsx)("div",{className:"customer-service",children:u||a?(0,i.jsx)(eh.O,{containerClassName:"skeletonContainer",className:"skeleton"}):(0,i.jsx)(ew,{children:(0,i.jsx)(CustomerServiceDetails,{bookingInfo:m})})})}),(0,i.jsx)("div",{className:"booking-details",children:u||a?(0,i.jsx)(eh.O,{containerClassName:"skeletonContainer",className:"skeleton"}):(0,i.jsx)(BookingDetails,{})}),(0,i.jsx)("div",{className:"booking-information",children:u||a||!m?(0,i.jsx)(eh.O,{containerClassName:"skeletonContainer",className:"skeleton"}):(0,i.jsx)(BookingInformation,{})}),(0,i.jsx)(nI.z,{maxWidth:c.J7.tablet,children:(0,i.jsx)("div",{children:u||a?(0,i.jsx)(eh.O,{containerClassName:"skeletonContainer",className:"skeleton"}):(0,i.jsx)(ew,{children:(0,i.jsx)(CustomerServiceDetails,{bookingInfo:m})})})})]})})]})};Guest.getLayout=n=>(0,i.jsx)(ef.A,{children:n});var eO=!0,ek=Guest},86299:function(n,e,t){"use strict";t.d(e,{f:function(){return ApartmentCarousel}});var i=t(85893),r=t(67294),o=t(37303),l=t(76261),a=t(82729),s=t(85444),c=t(53182),d=t(93844),u=t(45177);function _templateObject(){let n=(0,a._)(["\n  width: 100%;\n  display: flex;\n  flex-direction: row;\n  justify-content: center;\n  position: absolute;\n  top: ",";\n  gap: ",";\n\n  @media (max-width: 950px) {\n    top: 90%;\n  }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,a._)(["\n          background-color: ",";\n          scale: 1.2;\n        "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,a._)(["\n          background-color: ",";\n        "]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,a._)(["\n  width: 6px;\n  height: 6px;\n  border-radius: 100%;\n\n  ",";\n\n  &:hover {\n    scale: 1.2;\n  }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,a._)(["\n  top: ",";\n\n  opacity: 0;\n\n  &:hover {\n    opacity: 0.7;\n  }\n\n  &[direction='next'] {\n    right: 1%;\n  }\n\n  &[direction='previous'] {\n    left: 1%;\n  }\n  @media (max-width: 975px) {\n    top: 40%;\n  }\n\n  @media "," {\n    display: none;\n  }\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,a._)(["\n  &:hover {\n    button {\n      opacity: 0.7;\n    }\n  }\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,a._)(["\n          border-radius: 0;\n\n          @media (max-width: 950px) {\n            border-radius: 0;\n          }\n        "]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,a._)(["\n  overflow: hidden;\n  border-top-left-radius: ",";\n  border-bottom-left-radius: ",";\n  border-top-right-radius: ",";\n\n  @media (max-width: 950px) {\n    border-top-right-radius: 0;\n    border-top-left-radius: ",";\n    border-bottom-left-radius: ",";\n  }\n\n  ",";\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,a._)(["\n  backface-visibility: hidden;\n  display: flex;\n  touch-action: pan-y;\n  flex-direction: row;\n  height: auto;\n"]);
1return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,a._)(["\n          width: 170px;\n        "]);return _templateObject9=function(){return n},n}function _templateObject10(){let n=(0,a._)([""]);return _templateObject10=function(){return n},n}function _templateObject11(){let n=(0,a._)(["\n  flex: 0 0 100%;\n  min-width: 0;\n  position: relative;\n  overflow: hidden;\n\n  ",";\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){let n=(0,a._)(["\n  display: block;\n  height: 200px;\n  width: 100%;\n  object-fit: cover;\n  transform: scale(1.2);\n  border-top-left-radius: ",";\n  border-top-right-radius: ",";\n  border-bottom-right-radius: ",";\n\n  @media "," {\n    width: 100%;\n  }\n\n  @media "," {\n    width: 180px;\n  }\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){let n=(0,a._)(["\n  z-index: 1;\n  bottom: 1.2rem;\n  position: absolute;\n  left: 0;\n  right: 0;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n"]);return _templateObject13=function(){return n},n}let m=s.ZP.div.withConfig({componentId:"sc-6f83ba07-0"})(_templateObject(),n=>{let{$isMapOpen:e}=n;return e?"90%":"46%"},n=>{let{theme:e}=n;return e.spacing.x_small}),p=s.ZP.button.withConfig({componentId:"sc-6f83ba07-1"})(_templateObject3(),n=>{let{isSelected:e,theme:t}=n;return e?(0,s.iv)(_templateObject1(),t.colors.white):(0,s.iv)(_templateObject2(),t.colors.grey2)}),g=(0,s.ZP)(d.P).withConfig({componentId:"sc-6f83ba07-2"})(_templateObject4(),n=>{let{$isMapOpen:e}=n;return e?"40%":"20%"},c.Hb.tablet),f=s.ZP.div.withConfig({componentId:"sc-6f83ba07-3"})(_templateObject5()),h=s.ZP.div.withConfig({componentId:"sc-6f83ba07-4"})(_templateObject7(),n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e,$isMapOpen:t}=n;return t?e.radii.medium:0},n=>{let{theme:e,$isMapOpen:t}=n;return t?0:e.radii.medium},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.currentCompany===u.O3.ferienhaus?(0,s.iv)(_templateObject6()):null}),b=s.ZP.div.withConfig({componentId:"sc-6f83ba07-5"})(_templateObject8()),x=s.ZP.div.withConfig({componentId:"sc-6f83ba07-6"})(_templateObject11(),n=>{let{$isMapOpen:e}=n;return e?(0,s.iv)(_templateObject9()):(0,s.iv)(_templateObject10())}),j=s.ZP.img.withConfig({componentId:"sc-6f83ba07-7"})(_templateObject12(),n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.radii.medium},c.Hb.tablet,c.Hb.mobile);s.ZP.div.withConfig({componentId:"sc-6f83ba07-8"})(_templateObject13());let ApartmentCarousel=n=>{let{photos:e,photosMaxQtd:t=5,isMapOpen:a}=n,{t:s}=(0,o.$G)(),{emblaRef:c,emblaApi:d,scrollPrev:u,scrollNext:_,scrollTo:y,onSelect:w,onInit:O,scrollSnaps:k,prevBtnEnabled:v,nextBtnEnabled:C,selectedIndex:I}=(0,l.v)();(0,r.useEffect)(()=>{d&&(O(),w(),d.on("reInit",O),d.on("reInit",w),d.on("select",w))},[d,w,O]);let P=Array.from(Array(t).keys()),imageByIndex=n=>e[n%e.length];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(f,{id:"slider-container",children:[(0,i.jsx)(h,{id:"slider-size",$isMapOpen:a,ref:c,children:(0,i.jsx)(b,{id:"limit-area",children:P.map(n=>(0,i.jsx)(x,{$isMapOpen:a,children:(0,i.jsx)(j,{id:"card-image",src:imageByIndex(n),alt:s("apartments:cards.apartmentAlt")})},n))})}),(0,i.jsx)(g,{direction:"next",disabled:!C,onClick:_,$isMapOpen:a}),(0,i.jsx)(g,{direction:"previous",disabled:!v,$isMapOpen:a,onClick:u})]}),(0,i.jsx)(m,{id:"dots-container",$isMapOpen:a,children:k.map((n,e)=>(0,i.jsx)(p,{isSelected:e===I,onClick:()=>y(e)},e))})]})}},17801:function(n,e,t){"use strict";t.d(e,{Pu:function(){return getMainCardAddress},yh:function(){return getUnitLabel},zY:function(){return getMainCardTitle}});let clean=n=>{var e;return null!==(e=null==n?void 0:n.trim())&&void 0!==e?e:""},getBuildingAddress=n=>{let{aptAddress:e,aptStreetName:t,aptStreetNumber:i}=n,r=clean(t),o=clean(i);return r?[r,o].filter(Boolean).join(", "):clean(e)},getMainCardAddress=n=>{let{isMultiRoomBooking:e,...t}=n;return e?getBuildingAddress(t):clean(t.aptAddress)},getMainCardTitle=n=>{let{isMultiRoomBooking:e,aptTitle:t,buildingName:i}=n;return e&&clean(i)?clean(i):clean(t)},getOwnUnitAddress=(n,e)=>{let t=clean(null==n?void 0:n.aptAddress);return t===clean(e)?"":t},getUnitLabel=function(n,e){let{isMultiRoomBooking:t=!1,bookingAddress:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=clean(null==n?void 0:n.aptTitle);
1if(!t){let e=clean(null==n?void 0:n.aptAddress);return r?{title:r,subtitle:e}:{title:e,subtitle:""}}let o=getOwnUnitAddress(n,i),l=clean(null==n?void 0:n.aptFlatNumber);if(!l)return o?{title:o,subtitle:r}:{title:r,subtitle:""};let a=Number(null==n?void 0:n.floorNumber);return{title:Number.isFinite(a)&&0!==a?e("guest:bookingInformation.unitWithFloor",{number:l,floor:a}):e("guest:bookingInformation.unitNumber",{number:l}),subtitle:r||o}}},65289:function(n,e,t){"use strict";t.d(e,{N:function(){return SectionTitle}});var i=t(85893),r=t(37303),o=t(53182),l=t(65665),a=t(59647),s=t(287),c=t(98704),d=t(28477),u=t(60543),m=t(36208);let SectionTitle=n=>{let{sectionTitle:e,sectionStatus:t,statusExtraInfo:p,hideDetail:g=!1,titleSize:f="normal",showInfoPeek:h=!1}=n,{t:b}=(0,r.$G)(),x=(0,d.Z)(o.Hb.mobile),j=(0,i.jsx)(u.M,{status:t,completeIcon:(0,i.jsx)(m.A1,{}),incompleteIcon:(0,i.jsx)(m.MN,{}),processingIcon:(0,i.jsx)(m.MN,{className:"underReview"})});return(0,i.jsxs)(m.h4,{className:f,children:[!g&&(0,i.jsx)("span",{className:"detail"}),(0,i.jsxs)(m.c7,{children:[(0,i.jsx)(s.D,{children:e}),h?(0,i.jsx)(c.K,{side:x?"bottom":"right",contentSize:"large",content:(0,i.jsx)(()=>(0,i.jsxs)(m.Oo,{children:[(0,i.jsx)(l.Q,{children:b("guest:guestForm.sefForm")}),(0,i.jsx)(a.x,{children:b("guest:guestForm.sefDescription")})]}),{})}):null]}),t&&(0,i.jsx)(m.gn,{sectionStatus:t,children:(0,i.jsxs)("div",{children:[(0,i.jsx)(a.x,{children:b("guest:bookingStatus.status")}),p||j]})})]})}},36208:function(n,e,t){"use strict";t.d(e,{A1:function(){return p},MN:function(){return m},Oo:function(){return g},c7:function(){return d},gn:function(){return u},h4:function(){return c}});var i=t(82729),r=t(66653),o=t(69274),l=t(86419),a=t(85444),s=t(92744);function _templateObject(){let n=(0,i._)(["\n  position: relative;\n  width: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: ",";\n\n  .detail {\n    position: absolute;\n    left: -24px;\n    width: 16px;\n    height: 18px;\n    background-color: ",";\n    ",";\n    border-radius: ",";\n  }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,i._)(["\n  display: flex;\n  align-items: center;\n  column-gap: ",";\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,i._)(["\n  div {\n    display: flex;\n\n    p {\n      margin-right: ",";\n    }\n  }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,i._)(["\n  border: 0.5px solid #e5e5e5;\n  background-color: ",";\n  padding: ",";\n  text-align: left;\n  border-radius: ",";\n  z-index: 2;\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,i._)(["\n  color: ",";\n  width: 18px;\n  height: 18px;\n\n  &.underReview {\n    color: ",";\n  }\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,i._)(["\n  width: 18px;\n  height: 18px;\n  color: ",";\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,i._)(["\n  width: 18px;\n  height: 18px;\n  color: ",";\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,i._)(["\n  max-width: 300px;\n"]);return _templateObject7=function(){return n},n}let c=a.ZP.div.withConfig({componentId:"sc-eb947064-0"})(_templateObject(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.colors.primary},(0,s.c2)(s.oe,"#283537"),n=>{let{theme:e}=n;return"0px ".concat(e.radii.medium," ").concat(e.radii.medium," 0")}),d=a.ZP.div.withConfig({componentId:"sc-eb947064-1"})(_templateObject1(),n=>{let{theme:e}=n;return e.spacing.x_small}),u=a.ZP.div.withConfig({componentId:"sc-eb947064-2"})(_templateObject2(),n=>{let{theme:e}=n;return e.spacing.small});(0,a.ZP)(l.VY).withConfig({componentId:"sc-eb947064-3"})(_templateObject3(),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.radii.small});let m=(0,a.ZP)(o.Sbn).withConfig({componentId:"sc-eb947064-4"})(_templateObject4(),n=>{let{theme:e}=n;return e.colors.warning},n=>{let{theme:e}=n;return e.colors.warning}),p=(0,a.ZP)(r.KJd).withConfig({componentId:"sc-eb947064-5"}
1)(_templateObject5(),n=>{let{theme:e}=n;return e.colors.primary});(0,a.ZP)(o.Sbn).withConfig({componentId:"sc-eb947064-6"})(_templateObject6(),n=>{let{theme:e}=n;return e.colors.warning});let g=a.ZP.div.withConfig({componentId:"sc-eb947064-7"})(_templateObject7())},61592:function(n,e,t){"use strict";t.d(e,{g:function(){return PaymentDetails}});var i=t(85893),r=t(67294),o=t(37303),l=t(86419),a=t(65665),s=t(59647),c=t(287),d=t(59886),u=t(80691),m=t(39374),p=t(82729),g=t(85444),f=t(53182);function _templateObject(){let n=(0,p._)(["\n  width: 100%;\n  display: flex;\n  align-items: flex-start;\n  flex-direction: column;\n  gap: ",";\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,p._)(["\n      @media "," {\n        flex-direction: row;\n        align-items: center;\n        margin-bottom: ",";\n        text-align: center;\n\n        div {\n          gap: ",";\n        }\n\n        .datesMobile {\n          font-weight: ",";\n        }\n\n        .paymentPage {\n          margin: 0;\n        }\n      }\n\n      @media "," {\n        flex-direction: column;\n        gap: ",";\n        margin-bottom: ",";\n\n        .datesMobile {\n          font-weight: 300;\n        }\n\n        div {\n          align-items: center;\n\n          .titleMobile {\n            font-weight: ",";\n          }\n        }\n      }\n    "]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,p._)(["\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n\n  ",";\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,p._)(["\n  width: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  padding: ",";\n  margin-left: -",";\n  margin-right: -",";\n  padding-left: ",";\n  padding-right: ",";\n  width: calc(100% + ",");\n\n  &.total {\n    background-color: ",";\n  }\n\n  &.homePage {\n    margin-left: -",";\n    margin-right: -",";\n    width: calc(100% + ",");\n  }\n\n  &.dueDate {\n    margin-top: -",";\n  }\n\n  h2 {\n    text-transform: uppercase;\n  }\n\n  @media "," {\n    h3 {\n      text-transform: uppercase;\n    }\n  }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,p._)(["\n  border: 1px solid ",";\n  background-color: ",";\n  padding: ",";\n  text-align: left;\n  border-radius: ",";\n  z-index: 2;\n  width: 300px;\n  max-width: calc(100% - ",");\n  margin-right: ",";\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,p._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){let n=(0,p._)(["\n  display: flex;\n  justify-content: space-between;\n  gap: ",";\n\n  p {\n    &.title {\n      text-transform: uppercase;\n    }\n  }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,p._)(["\n  display: flex;\n  gap: ",";\n  margin: ",";\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,p._)(["\n  min-width: 140px;\n  display: flex;\n  flex-direction: column;\n  align-content: flex-start;\n  align-items: flex-start;\n  gap: ",";\n  padding: ",";\n  border: 1px solid ",";\n  text-transform: uppercase;\n  border-radius: ",";\n\n  svg {\n    margin-bottom: ",";\n  }\n\n  .value {\n    border-bottom: 1px solid ",";\n  }\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,p._)(["\n  display: flex;\n"]);return _templateObject9=function(){return n},n}let h="#dddddd",b=g.ZP.div.withConfig({componentId:"sc-2d324713-0"})(_templateObject(),n=>{let{theme:e}=n;return e.spacing.small}),x=g.ZP.div.withConfig({componentId:"sc-2d324713-1"})(_templateObject2(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{isHomePage:e,theme:t}=n;return!e&&(0,g.iv)(_templateObject1(),f.Hb.x_desktop,t.spacing.large,t.spacing.x_small,t.weights.medium,f.Hb.mobile,t.spacing.large,t.spacing.middle,t.weights.medium)}),j=g.ZP.div.withConfig({componentId:"sc-2d324713-2"}
1)(_templateObject3(),n=>{let{theme:e}=n;return e.spacing.middle},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.xx_large},n=>{let{nextPayment:e}=n;return e?"transparent":" rgba(255, 215, 139, 0.21)"},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.spacing.x_large},n=>{let{theme:e}=n;return e.spacing.small},f.Hb.mobile),_=(0,g.ZP)(l.VY).withConfig({componentId:"sc-2d324713-3"})(_templateObject4(),h,n=>{let{theme:e}=n;return e.colors.white},n=>{let{theme:e}=n;return e.spacing.medium},n=>{let{theme:e}=n;return e.radii.middle},n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return e.spacing.middle}),y=g.ZP.div.withConfig({componentId:"sc-2d324713-4"})(_templateObject5(),n=>{let{theme:e}=n;return e.spacing.small}),w=g.ZP.div.withConfig({componentId:"sc-2d324713-5"})(_templateObject6(),n=>{let{theme:e}=n;return e.spacing.small}),O=g.ZP.div.withConfig({componentId:"sc-2d324713-6"})(_templateObject7(),n=>{let{theme:e}=n;return e.spacing.large},n=>{let{theme:e}=n;return"".concat(e.spacing.x_small," 0")}),k=g.ZP.div.withConfig({componentId:"sc-2d324713-7"})(_templateObject8(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.middle},h,n=>{let{theme:e}=n;return e.radii.medium},n=>{let{theme:e}=n;return e.spacing.x_small},n=>{let{theme:e}=n;return e.colors.primary}),v=g.ZP.div.withConfig({componentId:"sc-2d324713-8"})(_templateObject9()),PaymentDetails=n=>{var e,t;let{isHomePage:p,isNextPayment:g,bookingUnit:f,paymentInfo:h}=n,{t:C,i18n:I}=(0,o.$G)(),P=I.language||"en",[S,D]=(0,r.useState)(!1);return(0,i.jsxs)(b,{children:[p&&(0,i.jsx)(c.D,{children:C("guest:bookingUnitsPayments.".concat(g?"upcomingPayment":"monthlyPayment"))}),(0,i.jsxs)(x,{isHomePage:p,children:[(0,i.jsxs)(b,{children:[!p&&(0,i.jsxs)(s.x,{className:"titleMobile",children:[C("guest:bookingUnitsPayments.".concat(g?"upcomingPayment":"monthlyPayment"))," ","- ",C("guest:bookingUnitsPayments.table.unit")," #",f.bookingUnitId]}),(0,i.jsx)(s.x,{className:"datesMobile",children:(0,m.a5)(f.checkIn,f.checkOut,P)})]}),(0,i.jsx)(O,{className:p?"":"paymentPage",children:(0,i.jsxs)(k,{children:[(0,i.jsxs)(v,{children:[(0,i.jsx)(a.Q,{variant:"bold",children:C("guest:bookingUnitsPayments.rental")}),(0,i.jsxs)(l.fC,{open:S,children:[(0,i.jsx)(l.xz,{children:h.paymentDetail&&h.paymentDetail.length>0&&(0,i.jsx)("div",{onMouseOver:()=>D(!0),onMouseOut:()=>D(!1),onClick:()=>D(!0),children:(0,i.jsx)(d.P.InfoFilled,{size:14})})}),(0,i.jsx)(_,{align:"start",children:(0,i.jsxs)(y,{children:[(0,i.jsx)(w,{children:(0,i.jsx)(a.Q,{className:"title",children:C("guest:bookingUnitsPayments.paymentDetails")})}),null===(e=h.paymentDetail)||void 0===e?void 0:e.map((n,e)=>{let{itemName:t,itemValue:r}=n;return(0,i.jsxs)(w,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(s.x,{children:C("guest:payment.".concat(t))})}),(0,i.jsx)("div",{children:(0,i.jsx)(s.x,{children:(0,u.WW)(r)})})]},e)})]})})]})]}),(0,i.jsx)(a.Q,{variant:"bold",className:"value",children:(0,u.WW)(h.totalToCharge)})]})})]}),(0,i.jsxs)(j,{nextPayment:g,className:"total ".concat(p?"homePage":""),children:[(0,i.jsxs)(a.Q,{variant:"bold",children:[C("guest:bookingUnitsPayments.total"),":"]}),(0,i.jsx)(a.Q,{variant:"bold",children:(0,u.WW)(parseFloat(null!==(t=String(f.totalToCharge))&&void 0!==t?t:"0"))})]}),(0,i.jsxs)(j,{className:"dueDate ".concat(p?"homePage":""),children:[(0,i.jsxs)(a.Q,{variant:"bold",children:[C("guest:bookingUnitsPayments.".concat(g?"nextPayment":"dueDate")),":"]}),(0,i.jsx)(a.Q,{variant:"bold",children:(0,m.p6)(f.chargeAllowedDate,P)})]})]})}},72742:function(n,e,t){"use strict";t.d(e,{Ro:function(){return o},kG:function(){return l},po:function(){return a},qP:function(){return s},tF:function(){return c}});var i=t(82729),r=t(85444);function _templateObject(){let n=(0,i._)(["\n  display: flex;\n  flex-direction: column;\n  row-gap: ",";\n\n  &.totals {\n    margin-top: ",";\n  }\n"]);
1return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,i._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n  margin-bottom: ",";\n  padding-bottom: ",";\n  border-bottom: 1px solid ",";\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,i._)(["\n  display: flex;\n  flex-direction: column;\n  gap: ",";\n  margin-bottom: ",";\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,i._)(["\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  text-transform: uppercase;\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,i._)(["\n  font-family: ",";\n  font-size: ",";\n  font-weight: ",";\n  color: ",";\n  line-height: 1.4;\n  text-transform: none;\n"]);return _templateObject4=function(){return n},n}let o=r.ZP.div.withConfig({componentId:"sc-233b2926-0"})(_templateObject(),n=>{let{theme:e}=n;return e.spacing.small},n=>{let{theme:e}=n;return e.spacing.middle}),l=r.ZP.div.withConfig({componentId:"sc-233b2926-1"})(_templateObject1(),n=>{let{theme:e}=n;return e.spacing.x_small},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.colors.grey2}),a=r.ZP.div.withConfig({componentId:"sc-233b2926-2"})(_templateObject2(),n=>{let{theme:e}=n;return e.spacing.xx_small},n=>{let{theme:e}=n;return e.spacing.x_small}),s=r.ZP.h6.withConfig({componentId:"sc-233b2926-3"})(_templateObject3(),n=>{let{theme:e}=n;return e.fontSizes.middle},n=>{let{theme:e}=n;return e.weights.semiBold},n=>{let{theme:e}=n;return e.colors.text}),c=r.ZP.span.withConfig({componentId:"sc-233b2926-4"})(_templateObject4(),n=>{let{theme:e}=n;return e.fonts.poppins},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.colors.grey})},73960:function(n,e,t){"use strict";t.d(e,{J:function(){return i.J},e:function(){return o}});var i=t(48773),r=t(52464);let o=(0,r.F)(n=>({guestId:"",guestName:"",isUpdateSuccess:!1,setIsUpdateSuccess:(e,t)=>{n({isUpdateSuccess:!0,guestId:e,guestName:t}),setTimeout(()=>{n({isUpdateSuccess:!1})},6e3)}}))},13719:function(n,e,t){"use strict";t.d(e,{IQ:function(){return getDateReplacement},Oe:function(){return generateDateSeriesFromMonthRange},Oi:function(){return getDaysDiff},as:function(){return formatDateToQueryParam},oS:function(){return getDateFromQueryParam},p6:function(){return formatDate},t4:function(){return getDateLocale}});var i=t(67803),r=t(9005),o=t(4135),l=t(42298),a=t(70197),s=t(23855),c=t(89345),d=t(63345),u=t(75830),m=t(94952);let p={en:c.Z,pt:m.Z,es:d.Z,fr:u.Z},getDateLocale=n=>{let e=p[n];return null!=e?e:c.Z},formatDate=function(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";return(0,l.default)(n,e,{locale:getDateLocale(t)})},getDateFromQueryParam=n=>n?(0,s.default)(n):null,formatDateToQueryParam=n=>n?formatDate(n,"yyyy-MM-dd"):"",getDaysDiff=n=>{let{startDate:e,endDate:t}=n;return e&&t?(0,i.Z)(t,e):0},getDateReplacement=n=>{var e;let t={en:{D:/\d/,M:/\d/,Y:/\d/},pt:{D:/\d/,M:/\d/,A:/\d/},es:{D:/\d/,M:/\d/,A:/\d/},fr:{J:/\d/,M:/\d/,A:/\d/}};return null!==(e=t[n])&&void 0!==e?e:t.en};function generateDateSeriesFromMonthRange(n,e){let t=(0,a.default)(n,"yyyy-MM",new Date),i=(0,o.default)((0,a.default)(e,"yyyy-MM",new Date)),l=(0,r.Z)({start:t,end:i});return l.map(n=>formatDate(n,"yyyy-MM-dd"))}},60543:function(n,e,t){"use strict";t.d(e,{M:function(){return StatusIconHandler}});var i=t(60737);let StatusIconHandler=n=>{let{status:e,completeIcon:t,incompleteIcon:r,processingIcon:o}=n;return e===i.m.complete?t:e===i.m.incomplete?r:e===i.R.processing?o:t}}},function(n){n.O(0,[4980,7627,8907,4774,1228,2013,1778,5937,5445,260,3874,4617,955,9866,8941,1057,3609,4090,9401,7237,6556,1827,3777,9483,8434,5860,9382,760,2376,7476,5637,9268,4555,6813,9774,2888,179],function(){return n(n.s=76535)}),_N_E=n.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.