PageSourceSearch

https://book.andoliving.com/_next/static/chunks/3956-f37998ba987f6251.js

js andoliving.com collected 2026-10-04 13:32:41 UTC 27,482 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3956],{93333:function(e,n,t){t.d(n,{I:function(){return _}});var r=t(85893),o=t(67294),l=t(85444),i=t(27631),a=t(59886),c=t(82729),s=t(45177);function _templateObject(){let e=(0,c._)(["\n  position: relative;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  margin-bottom: ",";\n\n  > div {\n    margin-bottom: ",";\n  }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,c._)(["\n          :after {\n            content: '*';\n            color: ",";\n          }\n        "]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,c._)(["\n  display: block;\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  margin-bottom: ",";\n  padding-left: ",";\n\n  ",";\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,c._)(["\n          :after {\n            content: '*';\n            color: ",";\n          }\n        "]);return _templateOb
1ject3=function(){return e},e}function _templateObject4(){let e=(0,c._)(["\n          color: ",";\n        "]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,c._)(["\n  color: ",";\n  font-size: ",";\n  padding: ",";\n  position: absolute;\n  top: 0;\n  left: 0;\n  transition: 0.2s ease all;\n  -moz-transition: 0.2s ease all;\n  -webkit-transition: 0.2s ease all;\n  pointer-events: none;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  max-width: 90%;\n\n  ",";\n\n  ",";\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,c._)(["\n  display: flex;\n  align-items: center;\n  position: relative;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,c._)(["\n  position: absolute;\n  top: 32%;\n  left: auto;\n  right: ",";\n"]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,c._)(["\n      padding-left: 40px;\n    "]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,c._)(["\n          border: 1px solid ",";\n          &:hover,\n          &:focus,\n          &:active {\n            border: 1px solid ",";\n          }\n        "]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,c._)(["\n          font-style: italic;\n        "]);return _templateObject10=function(){return e},e}function _templateObject11(){let e=(0,c._)(["\n          background: transparent;\n          border-radius: 0;\n          border: 1px solid ",";\n          font-size: ",";\n        "]);return _templateObject11=function(){return e},e}function _templateObject12(){let e=(0,c._)(["\n  display: block;\n  width: 100%;\n  border: 1px solid transparent;\n  min-height: 48px;\n  background: ","\n    0% 0% no-repeat padding-box;\n  border-radius: ",";\n  padding: ",";\n  color: ",";\n  transition: ",";\n  font-size: ",";\n  font-style: normal;\n\n  ",";\n\n  &:hover,\n  &:focus,\n  &:active {\n    border: 1px solid ",";\n  }\n\n  ",";\n\n  &:-webkit-autofill,\n  &:-webkit-autofill:hover,\n  &:-webkit-autofill:focus {\n    -webkit-text-fill-color: ",";\n    box-shadow: 0 0 0px 40rem\n      ","\n      inset;\n  }\n\n  ",";\n\n  ",";\n"]);return _templateObject12=function(){return e},e}function _templateObject13(){let e=(0,c._)(["\n          border: 1px solid ",";\n\n          &:not(:placeholder-shown) + label,\n          &:focus + label,\n          &:focus + label + div svg,\n          &:hover + label,\n          &:hover + label + div svg {\n            color: ",";\n          }\n\n          &:hover,\n          &:focus,\n          &:active {\n            border: 1px solid ",";\n          }\n        "]);return _templateObject13=function(){return e},e}function _templateObject14(){let e=(0,c._)(["\n  width: 100%;\n  min-height: 48px;\n  border: 1px solid ",";\n  background: ",";\n  border-radius: ",";\n  color: ",";\n  font-size: ",";\n  font-style: ",";\n  padding: ",";\n  box-shadow: none;\n\n  &:focus,\n  &:hover {\n    outline: none;\n    border: 1px solid ",";\n  }\n\n  &:focus + label,\n  &:not(:placeholder-shown) + label {\n    font-size: ",";\n    background: ",";\n    top: -5px;\n    left: 10px;\n    padding: ",";\n    color: ",";\n  }\n\n  &:not(:placeholder-shown) + label,\n  &:focus + label + div svg {\n    color: ",";\n  }\n\n  &:hover + label,\n  &:hover + label + div svg {\n    color: ",";\n  }\n\n  ",";\n\n  &:disabled {\n    cursor: not-allowed;\n    border-color: ",";\n  }\n\n  &:disabled + label,\n  &:disabled + label + div svg {\n    color: ",";\n  }\n\n  &:disabled + label + div svg {\n    color: ",";\n  }\n"]);return _templateObject14=function(){return e},e}function _templateObject15(){let e=(0,c._)(["\n  svg {\n    position: absolute;\n    top: 0;\n    width: 22px;\n    height: 100%;\n    left: 10px;\n    color: ",";\n  }\n"]);return _templateObject15=function(){return e},e}function _templateObject16(){let e=(0,c._)(["\n  svg {\n    position: absolute;\n    top: 0;\n    width: 22px;\n    height: 100%;\n    right: 10px;\n    color: ",";\n  }\n"]);
1return _templateObject16=function(){return e},e}let d="#AAAAAA",u=l.ZP.div.withConfig({componentId:"sc-ff033bb4-0"})(_templateObject(),e=>{let{theme:n}=e;return n.spacing.middle},e=>{let{theme:n}=e;return n.spacing.middle}),p=l.ZP.label.withConfig({componentId:"sc-ff033bb4-1"})(_templateObject2(),e=>{let{theme:n}=e;return n.colors.text},e=>{let{theme:n}=e;return n.fontSizes.middle},e=>{let{theme:n}=e;return n.currentCompany===s.O3.lovelystay?n.weights.semiBold:n.weights.regular},e=>{let{theme:n}=e;return n.spacing.middle},e=>{let{theme:n}=e;return n.spacing.middle},e=>{let{isRequired:n,theme:t}=e;return n?(0,l.iv)(_templateObject1(),t.colors.danger):null}),m=l.ZP.label.withConfig({componentId:"sc-ff033bb4-2"})(_templateObject5(),d,e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{theme:n}=e;return"".concat(n.spacing.medium," ").concat(n.spacing.middle)},e=>{let{isRequired:n,theme:t}=e;return n?(0,l.iv)(_templateObject3(),t.colors.danger):null},e=>{let{error:n,theme:t}=e;return n?(0,l.iv)(_templateObject4(),t.colors.danger):null}),b=l.ZP.div.withConfig({componentId:"sc-ff033bb4-3"})(_templateObject6()),f=l.ZP.div.withConfig({componentId:"sc-ff033bb4-4"})(_templateObject7(),e=>{let{rightIcon:n}=e;return n?"35px":"10px"}),g=l.ZP.input.withConfig({componentId:"sc-ff033bb4-5"})(_templateObject12(),e=>{let{theme:n,backgroundColor:t}=e;return null!=t?t:n.colors.background2},e=>{let{theme:n}=e;return n.radii.xxx_large},e=>{let{showValidation:n,rightIcon:t,theme:r}=e;return n?t?"0 50px 0 ".concat(r.spacing.middle):"0 30px 0 ".concat(r.spacing.middle):"0 ".concat(r.spacing.middle)},e=>{let{theme:n}=e;return n.colors.text},e=>{let{theme:n}=e;return n.transitions.regular},e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{leftIcon:n}=e;return n&&(0,l.iv)(_templateObject8())},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{error:n,theme:t}=e;return n?(0,l.iv)(_templateObject9(),t.colors.danger,t.colors.danger):null},e=>{let{theme:n}=e;return n.colors.grey},e=>{let{theme:n,backgroundColor:t}=e;return null!=t?t:n.colors.background2},e=>{let{theme:n}=e;return n.currentCompany===s.O3.andoliving?(0,l.iv)(_templateObject10()):null},e=>{let{theme:n}=e;return n.currentCompany===s.O3.ferienhaus?(0,l.iv)(_templateObject11(),n.colors.grey3,e=>{let{theme:n}=e;return n.fontSizes.middle}):null}),h=l.ZP.input.withConfig({componentId:"sc-ff033bb4-6"})(_templateObject14(),d,e=>{let{theme:n,backgroundColor:t}=e;return null!=t?t:n.colors.white},e=>{let{theme:n}=e;return n.radii.medium},e=>{let{theme:n}=e;return n.colors.text},e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{theme:n}=e;return n.currentCompany===s.O3.lovelystay?"normal":"italic"},e=>{let{showValidation:n,rightIcon:t,theme:r}=e;return n?t?"0 50px 0 ".concat(r.spacing.middle):"0 30px 0 ".concat(r.spacing.middle):"0 ".concat(r.spacing.middle)},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{theme:n,backgroundColor:t}=e;return null!=t?t:n.colors.white},e=>{let{theme:n}=e;return"0px ".concat(n.spacing.x_small)},e=>{let{theme:n}=e;return n.colors.primary},d,e=>{let{theme:n}=e;return n.colors.primary},e=>{let{error:n,theme:t}=e;return n?(0,l.iv)(_templateObject13(),t.colors.danger,t.colors.danger,t.colors.danger):null},d,d,d),v=l.ZP.div.withConfig({componentId:"sc-ff033bb4-7"})(_templateObject15(),e=>{let{theme:n}=e;return n.colors.grey2}),x=l.ZP.div.withConfig({componentId:"sc-ff033bb4-8"})(_templateObject16(),e=>{let{theme:n}=e;return n.colors.grey2}),_=(0,o.forwardRef)((e,n)=>{let{variant:t="default",className:o,hasError:c,errorMessage:s,rightIcon:d,leftIcon:_,isRequired:y,isValid:j,label:O,name:w,placeholder:C="",showValidationIcon:V,backgroundColor:k,...T}=e,I=(0,l.Fg)(),S=O&&(0,r.jsx)(p,{htmlFor:w,isRequired:y,error:!!s||c,className:"label",backgroundColor:k,children:O}),z=O&&(0,r.jsx)(m,{htmlFor:w,isRequired:y,error:!!s||c,className:"label",backgroundColor:k,children:O}),P="default"===t?(0,r.jsx)(g,{ref:n,id:w,name:w,rightIcon:!!d,leftIcon:!!_,showValidation:!0,placeholder:C,...T,error:!!s||c,backgroundColor:k}):(0,r.jsx)(h,{ref:n,id:w,name:w,rightIcon:!!d,leftIcon:!!_,showValidation:!0,...T,placeholder:O?"":C,error:!!s||c,className:"input",backgroundColor:k});return(0,r.jsxs)(u,{className:o,children:[(0,r.jsxs)(r.Fragment,{children:["default"===t&&S,(0,r.jsxs)(b,{children:[P,"floating"===t&&z,_?(0,r.jsx)(v,{children:_}):null,d?(0,r.jsx)(x,{children:d}):null,V&&j?(0,r.jsx)(f,{rightIcon:!!d,className:"validationIcon",children:(0,r.jsx)(a.P.CheckCircle,{size:18,color:I.colors.success})}):null,V&&!j?(0,r.jsx)(f,{rightIcon:!!d,className:"validationIcon",children:(0,r.jsx)(a.P.XCircle,{size:18,color:I.colors.danger,"data-testid":"validation-error-".concat(w)})}):null]})]}),s&&(0,r.jsx)(i.B,{className:"error",message:s})]})});_.displayName="Input"},83425:function(e,n,t){t.d(n,{I:function(){return r.I}});var r=t(93333)},81002:function(e,n,t){t.d(n,{B:function(){return k},I:function(){return C}});var r=t(85893),o=t(67294),l=t(37303),i=t(85444),a=t(27631),c=t(59886),s=t(54555);let getCountryCodeByCountryId=e=>{var n;return null===(n=Object.values(s.ki).find(n=>{let{id:t}=n;return t===e}))||void 0===n?void 0:n.phoneCode},getCountryCodeWithFlags=function(e){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=[];
1return Object.entries(s.ki).forEach(r=>{let[o,{id:l,nameEN:i,namePT:a,nameES:c,nameFR:d,phoneCode:u}]=r,p=(0,s.mv)(o);t.push({value:l,label:"".concat(p," +").concat(u," ").concat(n?({en:i,pt:a,es:c,fr:d})[e]:"")})}),t},getPhoneDataByCountryId=function(e,n){let t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=getCountryCodeWithFlags(e,t);return r.find(e=>e.value===n)};var d=t(79648),u=t(91773),p=t(53182);let defaultSelectStyles=e=>({control:(n,t)=>({...n,borderRadius:"".concat(p.TV.radii.xxx_large," 0 0 ").concat(p.TV.radii.xxx_large," "),background:null!=e?e:p.TV.colors.background2,color:p.TV.colors.text,border:"1px solid transparent",borderRight:"1px solid ".concat(p.TV.colors.white),fontSize:p.TV.fontSizes.small,cursor:t.isDisabled?"not-allowed":"default",height:"48px",borderColor:t.isFocused?p.TV.colors.primary:"transparent",boxShadow:"none",":hover":{borderColor:p.TV.colors.primary},":focus":{borderColor:p.TV.colors.primary}}),indicatorSeparator:e=>({...e,display:"none"}),dropdownIndicator:e=>({...e,color:p.TV.colors.grey3,width:"20px",padding:"0",paddingRight:p.TV.spacing.x_small}),menu:e=>({...e,borderRadius:p.TV.radii.x_large,boxShadow:"0px 1px 6px ".concat(p.TV.shadows.color),backgroundColor:p.TV.colors.white,padding:p.TV.spacing.small,marginLeft:"1px",marginRight:"1px",width:"200px",zIndex:101}),menuPortal:e=>({...e,zIndex:1e3}),option:(e,n)=>{let{isDisabled:t,isFocused:r}=n;return{...e,color:t?p.TV.colors.grey2:p.TV.colors.text,fontSize:p.TV.fontSizes.small,backgroundColor:r?void 0:"transparent",padding:"".concat(p.TV.spacing.x_small," ").concat(p.TV.spacing.large),margin:"".concat(p.TV.spacing.xxx_small," 0"),userSelect:"none",cursor:t?"not-allowed":"pointer",borderRadius:p.TV.radii.large,textAlign:"left",display:"flex",alignItems:"center",position:"relative"}},valueContainer:e=>({...e,justifyContent:"center",position:"static",padding:"0",paddingLeft:p.TV.spacing.x_small}),placeholder:e=>({...e,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"})}),floatingSelectStyles=e=>({control:(n,t)=>{let{isDisabled:r}=t;return{...n,borderRadius:"0",borderTopLeftRadius:p.TV.radii.medium,borderBottomLeftRadius:p.TV.radii.medium,background:null!=e?e:p.TV.colors.white,color:p.TV.colors.text,border:"1px solid ".concat(p.TV.colors.grey3),borderRight:"none",fontSize:p.TV.fontSizes.small,height:p.TV.spacing.xx_large,boxShadow:"none",cursor:r?"not-allowed":"default",":hover":{borderColor:p.TV.colors.primary},":focus":{borderColor:p.TV.colors.primary}}},indicatorSeparator:e=>({...e,display:"none"}),dropdownIndicator:e=>({...e,color:p.TV.colors.grey3,width:"20px",padding:"0",paddingRight:p.TV.spacing.x_small}),menu:e=>({...e,borderRadius:p.TV.radii.medium,boxShadow:"0px 1px 6px ".concat(p.TV.shadows.color),backgroundColor:p.TV.colors.white,padding:p.TV.spacing.small,marginLeft:"1px",marginRight:"1px",zIndex:101,width:"200px"}),menuPortal:e=>({...e,zIndex:1e3}),option:(e,n)=>{let{isDisabled:t,isFocused:r}=n;return{...e,color:t?p.TV.colors.grey2:p.TV.colors.text,fontSize:p.TV.fontSizes.small,backgroundColor:r?void 0:"transparent",padding:"".concat(p.TV.spacing.middle," ").concat(p.TV.spacing.medium),userSelect:"none",cursor:t?"not-allowed":"pointer",borderRadius:p.TV.radii.medium,textAlign:"left",display:"flex",alignItems:"center",position:"relative",width:"100%",overflow:"hidden"}},valueContainer:e=>({...e,justifyContent:"center",position:"static",padding:"0",paddingLeft:p.TV.spacing.x_small}),singleValue:e=>({...e,color:p.TV.colors.text}),placeholder:(e,n)=>({...e,display:n.isFocused||n.selectProps.inputValue?"none":"block",color:p.TV.colors.grey3,fontSize:p.TV.fontSizes.small})});var m=t(82729),b=t(45177);function _templateObject(){let e=(0,m._)(["\n          & > div > div {\n            border-color: "," !important;\n\n            &:hover {\n              border-color: "," !important;\n            }\n          }\n        "]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,m._)(["\n          > div > div > div > div {\n            font-style: italic;\n          }\n\n          > div > div:nth-of-type(2) > div {\n            div:hover,\n            div:active,\n            div:focus,\n            div:focus-within {\n              background-color: ",";\n            }\n          }\n        "]);
1return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,m._)(["\n          > div > div:nth-of-type(2) {\n            border-radius: 0;\n\n            > div {\n              div {\n                font-size: ",";\n              }\n\n              div:hover,\n              div:active,\n              div:focus,\n              div:focus-within {\n                border-radius: 0;\n                background-color: ",";\n              }\n            }\n          }\n\n          > div > div:nth-of-type(1) {\n            border-radius: 0;\n            height: 48px;\n            background: ",";\n            border: 1px solid ",";\n            font-size: ",";\n          }\n        "]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,m._)(["\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n\n  > div > div > div > div {\n    font-style: normal;\n  }\n\n  > div > div:nth-of-type(2) > div {\n    div:hover,\n    div:active,\n    div:focus,\n    div:focus-within {\n      background-color: ",";\n    }\n  }\n\n  > div > div:hover,\n  > div > div:focus {\n    border-color: ",";\n  }\n\n  ",";\n\n  &:hover,\n  &:focus {\n    label {\n      color: ",";\n    }\n  }\n\n  &.disabled {\n    cursor: not-allowed;\n\n    label {\n      color: ",";\n    }\n  }\n\n  ",";\n\n  ",";\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,m._)(["\n  position: absolute;\n  color: ",";\n  top: ",";\n  left: 0;\n"]);return _templateObject4=function(){return e},e}let f="rgba(208, 174, 121, 0.5)",g=i.ZP.div.withConfig({componentId:"sc-22af9f6d-0"})(_templateObject3(),"rgba(79, 176, 175, 0.5)",e=>{let{theme:n}=e;return n.colors.primary},e=>{let{error:n,theme:t}=e;return n?(0,i.iv)(_templateObject(),t.colors.danger,t.colors.danger):null},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{theme:n}=e;return n.colors.grey3},e=>{let{theme:n}=e;return n.currentCompany===b.O3.andoliving?(0,i.iv)(_templateObject1(),f):null},e=>{let{theme:n}=e;return n.currentCompany===b.O3.ferienhaus?(0,i.iv)(_templateObject2(),e=>{let{theme:n}=e;return n.fontSizes.middle},f,n.colors.white,n.colors.grey3,e=>{let{theme:n}=e;return n.fontSizes.middle}):null}),h=(0,i.ZP)(c.P.Check).withConfig({componentId:"sc-22af9f6d-1"})(_templateObject4(),e=>{let{theme:n}=e;return n.colors.primary},e=>{let{theme:n}=e;return n.spacing.medium}),v=(0,o.forwardRef)((e,n)=>{var t;let{id:o,name:i,classNamePrefix:a,value:c,defaultValue:s,hasError:p,onChange:m,classNames:b,containerClassName:f,isDisabled:v,className:x,variant:_="default",backgroundColor:y,menuPortalTarget:j,...O}=e,{t:w,i18n:C}=(0,l.$G)(),V=null!==(t=C.language)&&void 0!==t?t:"en",k=getCountryCodeWithFlags(V);return(0,r.jsx)(g,{error:p,className:"".concat(x," ").concat(null!=f?f:""," ").concat(v?"disabled":""),children:(0,r.jsx)(u.ZP,{ref:n,name:i,classNamePrefix:a,instanceId:o,inputId:o,options:k,value:(null==c?void 0:c.value)?getPhoneDataByCountryId(V,c.value,!1):c,placeholder:w("common:fields.countryCodePlaceholder"),isSearchable:!0,styles:"floating"===_?floatingSelectStyles(y):defaultSelectStyles(y),components:{NoOptionsMessage:e=>(0,r.jsx)(d.c.NoOptionsMessage,{...e,children:(0,r.jsx)("span",{children:w("common:noOption")})}),Option:e=>{let{children:n,...t}=e;return(0,r.jsxs)(d.c.Option,{...t,children:[t.isSelected&&(0,r.jsx)(h,{}),n]})}},onChange:(e,n)=>{"object"==typeof e&&null!==e&&m(e,n)},menuPlacement:"auto",menuPortalTarget:j,defaultValue:s?null==k?void 0:k.find(e=>e.label===s||e.value===s):"",classNames:b,isDisabled:v,maxMenuHeight:200,...O})})});function styles_templateObject(){let e=(0,m._)(["\n  position: relative;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  margin-bottom: ",";\n\n  > div {\n    margin-bottom: ",";\n  }\n"]);return styles_templateObject=function(){return e},e}function styles_templateObject1(){let e=(0,m._)(["\n  display: grid;\n  grid-template-columns: 90px 1fr;\n  align-items: center;\n  position: relative;\n"]);return styles_templateObject1=function(){return e},e}
1function styles_templateObject2(){let e=(0,m._)(["\n  position: absolute;\n  top: 32%;\n  left: auto;\n  right: 10px;\n"]);return styles_templateObject2=function(){return e},e}function styles_templateObject3(){let e=(0,m._)(["\n          border: 1px solid ",";\n\n          &:not(:placeholder-shown) + label,\n          &:focus + label,\n          &:focus + label + div svg,\n          &:hover + label,\n          &:hover + label + div svg {\n            color: ",";\n          }\n\n          &:hover,\n          &:focus,\n          &:active {\n            border: 1px solid ",";\n          }\n        "]);return styles_templateObject3=function(){return e},e}function styles_templateObject4(){let e=(0,m._)(["\n  width: 100%;\n  min-height: 48px;\n  border: 1px solid ",";\n  background: ",";\n  border-top-right-radius: ",";\n  border-bottom-right-radius: ",";\n  color: ",";\n  font-size: ",";\n  font-style: ",";\n  padding: ",";\n  box-shadow: none;\n\n  &::placeholder {\n    color: ",";\n  }\n\n  &:focus,\n  &:hover {\n    outline: none;\n    border: 1px solid ",";\n  }\n\n  &:focus + label,\n  &:not(:placeholder-shown) + label {\n    font-size: ",";\n    background: ",";\n    top: -5px;\n    left: 10px;\n    padding: ",";\n    color: ",";\n  }\n\n  &:not(:placeholder-shown) + label,\n  &:focus + label + div svg {\n    color: ",";\n  }\n\n  &:hover + label,\n  &:hover + label + div svg {\n    color: ",";\n  }\n\n  ",";\n\n  &:disabled {\n    cursor: not-allowed;\n    border-color: ",";\n  }\n\n  &:disabled + label,\n  &:disabled + label + div svg {\n    color: ",";\n  }\n\n  &:disabled + label + div svg {\n    color: ",";\n  }\n"]);return styles_templateObject4=function(){return e},e}function _templateObject5(){let e=(0,m._)(["\n          border: 1px solid ",";\n          border-left: 0px;\n\n          &:hover,\n          &:focus,\n          &:active {\n            border: 1px solid ",";\n            border-left: 0px;\n          }\n        "]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,m._)(["\n          font-style: italic;\n        "]);return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,m._)(["\n          background: transparent;\n          border-radius: 0;\n          border: 1px solid ",";\n          font-size: ",";\n        "]);return _templateObject7=function(){return e},e}function _templateObject8(){let e=(0,m._)(["\n  display: block;\n  width: 100%;\n  border: 1px solid transparent;\n  min-height: 48px;\n  background: "," 0% 0% no-repeat\n    padding-box;\n  border-radius: ",";\n  padding: ",";\n  color: ",";\n  transition: ",";\n  font-size: ",";\n  font-style: normal;\n\n  &:hover,\n  &:focus,\n  &:active {\n    border: 1px solid ",";\n  }\n\n  ",";\n\n  &:-webkit-autofill,\n  &:-webkit-autofill:hover,\n  &:-webkit-autofill:focus {\n    -webkit-text-fill-color: ",";\n    box-shadow: 0 0 0px 40rem "," inset;\n  }\n\n  ",";\n\n  ",";\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){let e=(0,m._)(["\n          :after {\n            content: '*';\n            color: ",";\n          }\n        "]);return _templateObject9=function(){return e},e}function _templateObject10(){let e=(0,m._)(["\n  display: block;\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  margin-bottom: ",";\n  padding-left: ",";\n\n  ",";\n"]);return _templateObject10=function(){return e},e}v.displayName="CountryCodeSelector";let x=i.ZP.div.withConfig({componentId:"sc-aa3c4cf5-0"})(styles_templateObject(),e=>{let{theme:n}=e;return n.spacing.middle},e=>{let{theme:n}=e;return n.spacing.middle}),_=i.ZP.div.withConfig({componentId:"sc-aa3c4cf5-1"})(styles_templateObject1()),y=i.ZP.div.withConfig({componentId:"sc-aa3c4cf5-2"})(styles_templateObject2()),j=i.ZP.input.withConfig({componentId:"sc-aa3c4cf5-3"})(styles_templateObject4(),e=>{let{theme:n}=e;return n.colors.grey3},e=>{let{theme:n,backgroundColor:t}=e;return null!=t?t:n.colors.white},e=>{let{theme:n}=e;return n.radii.medium},e=>{let{theme:n}=e;return n.radii.middle},e=>{let{theme:n}=e;return n.colors.text},e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{theme:n}=e;return n.currentCompany===b.O3.lovelystay?"normal":"italic"},e=>{let{theme:n}=e;return"0 ".concat(n.spacing.middle)},e=>{let{theme:n}=e;return n.colors.grey3},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{theme:n}=e;return n.colors.white},e=>{let{theme:n}=e;return"0px ".concat(n.spacing.x_small)},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{theme:n}=e;return n.colors.grey3},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{error:n,theme:t}=e;
1return n?(0,i.iv)(styles_templateObject3(),t.colors.danger,t.colors.danger,t.colors.danger):null},e=>{let{theme:n}=e;return n.colors.grey3},e=>{let{theme:n}=e;return n.colors.grey3},e=>{let{theme:n}=e;return n.colors.grey3}),O=i.ZP.input.withConfig({componentId:"sc-aa3c4cf5-4"})(_templateObject8(),e=>{let{theme:n}=e;return n.colors.background2},e=>{let{theme:n}=e;return"0 ".concat(n.radii.xxx_large," ").concat(n.radii.xxx_large," 0")},e=>{let{theme:n}=e;return"0 ".concat(n.spacing.middle)},e=>{let{theme:n}=e;return n.colors.text},e=>{let{theme:n}=e;return n.transitions.regular},e=>{let{theme:n}=e;return n.fontSizes.small},e=>{let{theme:n}=e;return n.colors.primary},e=>{let{error:n,theme:t}=e;return n?(0,i.iv)(_templateObject5(),t.colors.danger,t.colors.danger):null},e=>{let{theme:n}=e;return n.colors.grey},e=>{let{theme:n}=e;return n.colors.background2},e=>{let{theme:n}=e;return n.currentCompany===b.O3.andoliving?(0,i.iv)(_templateObject6()):null},e=>{let{theme:n}=e;return n.currentCompany===b.O3.ferienhaus?(0,i.iv)(_templateObject7(),n.colors.grey3,e=>{let{theme:n}=e;return n.fontSizes.middle}):null}),w=i.ZP.label.withConfig({componentId:"sc-aa3c4cf5-5"})(_templateObject10(),e=>{let{theme:n}=e;return n.colors.text},e=>{let{theme:n}=e;return n.fontSizes.middle},e=>{let{theme:n}=e;return n.currentCompany===b.O3.lovelystay?n.weights.semiBold:n.weights.regular},e=>{let{theme:n}=e;return n.spacing.middle},e=>{let{theme:n}=e;return n.spacing.middle},e=>{let{isRequired:n,theme:t}=e;return n?(0,i.iv)(_templateObject9(),t.colors.danger):null}),C={shouldDirty:!0,shouldTouch:!0,shouldValidate:!0},V={label:"",value:""},k=(0,o.forwardRef)((e,n)=>{let{className:t,hasError:s,errorMessage:d,name:u,isRequired:p,isValid:m,showValidationIcon:b,showPlaceholder:f=!0,phoneNumberValue:g="",phoneCountryId:h="",handleChange:C,countryCodeProps:k,countryCodeClassnames:T,variant:I="default",label:S,backgroundColor:z,menuPortalTarget:P,...N}=e,R=(0,i.Fg)(),{t:Z,i18n:B}=(0,l.$G)(),F=B.language||"en",A=getPhoneDataByCountryId(F,h),[D,L]=(0,o.useState)(null!=A?A:V),q=getCountryCodeByCountryId(h),[E,M]=(0,o.useState)(q),[W,G]=(0,o.useState)(g);(0,o.useEffect)(()=>{let e=getCountryCodeByCountryId(h),n=getPhoneDataByCountryId(F,h);M(h?e:""),L(h?n:V),G(g)},[h,g,F]);let handleValueChange=(e,n,t)=>{C({phoneCountryId:e,countryCode:n,normalizedNationalPhoneNumber:t})},X=S&&(0,r.jsx)(w,{htmlFor:u,isRequired:p,error:!!d||s,children:S}),$="floating"===I?j:O;return(0,r.jsxs)(x,{className:t,children:["default"===I&&X,(0,r.jsxs)(_,{children:[(0,r.jsx)(v,{variant:I,classNamePrefix:"guest-country-select",id:"phoneNumber.country",hasError:!!d||s,...k,value:D,onChange:e=>{var n;let t=e.value,r=null!==(n=getCountryCodeByCountryId(t))&&void 0!==n?n:"";L(e),M(r),handleValueChange(t,r,null!=W?W:"")},backgroundColor:z,menuPortalTarget:P,classNames:T}),(0,r.jsx)($,{ref:n,id:u,name:u,placeholder:f?"".concat(Z("common:fields.phoneNumberPlaceholder")).concat(p?"*":""):"",className:"input",type:"text",value:W,...N,error:!!d||s,onChange:e=>{var n;let t=e.target.value.replace(/\D/g,""),r=null!==(n=null==D?void 0:D.value)&&void 0!==n?n:"";G(t),handleValueChange(r,null!=E?E:"",t)},backgroundColor:z}),b&&!m?(0,r.jsx)(y,{className:"validationIcon",children:(0,r.jsx)(c.P.XCircle,{size:18,color:R.colors.danger})}):null,b&&m?(0,r.jsx)(y,{className:"validationIcon",children:(0,r.jsx)(c.P.CheckCircle,{size:18,color:R.colors.success})}):null]}),d&&(0,r.jsx)(a.B,{className:"error",message:d})]})});k.displayName="FullPhoneNumber"},55839:function(e,n,t){t.d(n,{B:function(){return validatePhoneByCountry},C:function(){return validateRequiredString}});var r=t(54555);let validateRequiredString=e=>{var n;return!!e&&(null===(n=e.trim())||void 0===n?void 0:n.length)>0},validatePhoneByCountry=(e,n)=>{let t=e.length,o=Object.values(r.ki).find(e=>{let{id:t}=e;return t===n});if(o){let{phoneLength:e}=o;if(e)return e.includes(t)}return!0}}}]);

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.