PageSourceSearch

https://book.danhostelcopenhagencity.dk/_next/static/chunks/3-8hj8z5x17cw.js

js danhostelcopenhagencity.dk collected 2026-10-03 21:20:37 UTC 29,746 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,904456,e=>{"use strict";e.s(["DETAILS_PAGE_SEGMENTS",0,["room-details","room-group-info","package-details"]])},2808,e=>{"use strict";var a=e.i(843476),t=e.i(500932),l=e.i(271645),s=e.i(66768),o=e.i(987295),n=e.i(906554),r=e.i(651010),i=e.i(618566),c=e.i(672464),b=e.i(58840),v=e.i(225111),d=e.i(364441),m=e.i(735875),u=e.i(825438),p=e.i(990717),h=e.i(692156),x=e.i(707690),f=e.i(859951),g=e.i(811488),S=e.i(698357),_=e.i(918878),y=e.i(102477),k=e.i(482582),j=e.i(605458),C=e.i(178126),A=e.i(903342);let w=(0,e.i(639372).atom)(void 0),E=e=>{let s,o,n,r,i,c,v,d,m=(0,t.c)(20),{onClose:p}=e,{isVerySmallScreen:h}=(0,u.useScreenSizes)(),x=(0,b.useAccommodationTranslations)(),f=h?"bv:bg-transparent":"";m[0]!==f?(s=(0,j.cn)("bv:relative bv:h-full bv:z-1",f),m[0]=f,m[1]=s):s=m[1];let _=h?void 0:"var(--bv_frameworkBackground)";m[2]!==_?(o={backgroundColor:_},m[2]=_,m[3]=o):o=m[3];let y=h?"bv:top-[5px] bv:right-[5px]":"bv:top-[-15px] bv:right-[-15px]";return m[4]!==y?(n=(0,j.cn)("bv:grid bv:place-content-center bv:h-[30px] bv:w-[30px] bv:rounded-full bv:absolute bv:outline-hidden bv:border-0 bv:cursor-pointer bv:bg-black/50",y),m[4]=y,m[5]=n):n=m[5],m[6]!==x?(r=x("EA4H.General.Close"),m[6]=x,m[7]=r):r=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.jsx)(g.FontAwesomeIcon,{className:"bv:h-[18px] bv:text-white",icon:S.faXmark}),m[8]=i):i=m[8],m[9]!==p||m[10]!==n||m[11]!==r?(c=(0,a.jsx)("button",{className:n,onClick:p,"aria-label":r,children:i}),m[9]=p,m[10]=n,m[11]=r,m[12]=c):c=m[12],m[13]!==p?(v=(0,a.jsx)(l.Suspense,{fallback:null,children:(0,a.jsx)(N,{closeModal:p})}),m[13]=p,m[14]=v):v=m[14],m[15]!==v||m[16]!==s||m[17]!==o||m[18]!==c?(d=(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:s,style:o,children:[c,v]})}),m[15]=v,m[16]=s,m[17]=o,m[18]=c,m[19]=d):d=m[19],d},N=e=>{let t=(0,h.useGlobalContext)(),s=(0,n.useSinglePropertyContext)(),[o,r]=(0,l.useState)(!0),[i,v]=(0,l.useState)(""),[g,S]=(0,l.useState)(!1),E=(0,c.useAtomValue)(w),N=(0,c.useAtomValue)((0,A.searchOptionsState)(s.channelId)),{isSmallScreen:H}=(0,u.useScreenSizes)(),B=(0,b.useAccommodationTranslations)(),P=(0,x.useAccommodationSearchResult)(),D=(0,l.useRef)(null),{data:T}=(0,m.useHotelInformation)(),{data:F}=(0,d.useOnlineMessages)(),L=(0,C.buildSearchUrl)({searchOptions:N,culture:E,usingCustomHostname:!!t.customHostname}),M=async()=>{if(!D?.current?.checkValidity()){D?.current?.setCustomValidity(B("EA4H.General.Error.InvalidEmailAddress")),D?.current?.reportValidity();return}D?.current?.setCustomValidity("");try{let a,l;S(!0),await t.APIClient.accommodationSendSaveYourSearchLinkV1({channelId:s.channelId,email:i,link:L,price:((a=P?.roomsResult?.filter(e=>e.nrAvailable&&e.nrAvailable>0&&e.cheapestPrice).map(e=>e.cheapestPrice??Number.MAX_VALUE))&&(l=Math.min(...a)),l),searchOptions:N})&&e.closeModal()}finally{S(!1)}};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:(0,j.cn)("sys bv:flex bv:font-bv_bodyFontFamily",H?"bv:flex-col":"bv:flex-row"),children:[T?.images?.[0]?.uri?(0,a.jsx)("div",{className:(0,j.cn)("bv:w-full bv:bg-center bv:bg-no-repeat bv:bg-cover",H?"bv:h-[300px]":"bv:h-[400px]"),style:{backgroundImage:`url('${T?.images?.[0]?.uri}')`}}):null,(0,a.jsxs)("div",{className:"bv:basis-full bv:p-[30px]",children:[(0,a.jsx)(p.default,{level:1,className:H?"bv:m-0":"bv:mt-[20px] bv:mx-0 bv:mb-0",children:B("EA4H.General.SaveYourSearch")}),F?.onlineMessages?.SaveYourSearch&&(0,a.jsx)(k.default,{className:"bv:font-semibold bv:mt-[15px] bv:mx-0 bv:mb-[20px]",dangerouslySetInnerHTML:{__html:`${F.onlineMessages.SaveYourSearch}:`}}),(0,a.jsx)(y.TextArea,{value:L,id:"saveYourSearchLink",className:"bv:h-[80px] bv:resize-none bv:p-[8px]",readOnly:!0,"aria-readonly":"true","aria-label":`${B("EA4H.General.SaveYourSearch")} Link`}),o&&(0,a.jsx)("div",{className:"bv:text-right bv:mt-[15px] bv:w-max bv:float-right",children:(0,a.jsx)(f.Button,{onClick:()=>r(!1),children:B("EA4H.Confirmation.SendAsEmail")})}),!o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"saveYourSearchEmailArea",className:"bv:mt-[10px]",children:(0,a.jsx)(_.Input,{className:"bv:w-full",id:"email-input",ref:D,value:i,required:!0,onChange:e=>{D.current.setCustomValidity(""),v(e.target.value)},type:"email",placeholder:B("EA4H.General.Email")})}),(0,a.jsx)("div",{className:"bv:text-right bv:mt-[15px] bv:w-max bv:float-right",children:(0,a.jsx)(f.Button,{isLoading:g,disabled:g,onClick:M,children:B("EA4H.General.Send")})})]})]})]})})},H=e=>{let l,s,o,n,r,i,c,d,m=(0,t.c)(5),u=(0,b.useAccommodationTranslations)(),p=((i=(0,t.c)(6))[0]===Symbol.for("react.memo_cache_sentinel")?(o={modalId:"save_your_search",centered:!0,noCloseButton:!0},i[0]=o):o=i[0],c=(0,v.useModal)(o),i[1]!==c?(n=()=>{c.open((0,a.jsx)(E,{onClose:c.close}))},i[1]=c,i[2]=n):n=i[2],d=n,i[3]!==c.close||i[4]!==d?(r={open:d,close:c.close},i[3]=c.close,i[4]=d,i[5]=r):r=i[5],r),h=p.open;return m[0]!==u?(l=u("EA4H.General.SaveSearch"),m[0]=u,m[1]=l):l=m[1],m[2]!==p.open||m[3]!==l?
1(s=(0,a.jsxs)("span",{children:[" ⋅ ",(0,a.jsx)("span",{className:"bv:cursor-pointer bv:text-bv_bodyFontSize bv:font-bv_bodyFontWeight bv:text-current bv:underline",onClick:h,role:"button","aria-haspopup":"dialog",tabIndex:0,children:l})]}),m[2]=p.open,m[3]=l,m[4]=s):s=m[4],s};var B=e.i(704134);let P=e=>{let l,s,o,n,r,i=(0,t.c)(15),{summary:v}=e,d=(0,b.useAccommodationTranslations)(),[m,u]=(0,c.useAtom)(B.showYouSearchedForState);i[0]!==d?(l=d("EA4H.General.ChooseYourPreferredRoomFor"),i[0]=d,i[1]=l):l=i[1];let p=l;i[2]!==p||i[3]!==d?(s="EA4H.General.ChooseYourPreferredRoomFor"===p?d("EA4H.General.YouHaveSearchedFor"):p,i[2]=p,i[3]=d,i[4]=s):s=i[4];let h=s;i[5]!==u?(o=()=>u(D),i[5]=u,i[6]=o):o=i[6];let x=`${d("EA4H.General.ChangeSearch")}: ${v}`,f=!m;return i[7]!==v||i[8]!==o||i[9]!==x||i[10]!==f?(n=(0,a.jsx)("button",{type:"button",onClick:o,"data-testid":"searchbartop-change-search","aria-label":x,"aria-expanded":f,className:"bv:cursor-pointer bv:border-0 bv:bg-transparent bv:p-0 bv:font-[inherit] bv:text-[length:inherit] bv:text-inherit bv:underline",children:v}),i[7]=v,i[8]=o,i[9]=x,i[10]=f,i[11]=n):n=i[11],i[12]!==h||i[13]!==n?(r=(0,a.jsxs)(a.Fragment,{children:[h," ",n]}),i[12]=h,i[13]=n,i[14]=r):r=i[14],r};function D(e){return!e}var T=e.i(644870),F=e.i(956058);let L=e=>{let l,o,n,i,c,b,v,d,m,u,p,h,x,f,g,S,_,y,k,C=(0,t.c)(78),{step:A,showCircleOnly:w,showLabelOnly:E}=e,N="disabled"!==A.status&&!!A.onClick,H=(0,s.useTheme)(),B=(0,r.useHasFrameworkHeaderColor)(),P=H.css.frameworkBackground,D=H.css.frameworkHeaderColor,T=P??"#ffffff";if(C[0]!==P||C[1]!==D||C[2]!==B){let e,a,t;l=B&&D?(a=parseInt((e=D.replace("#","")).substring(0,2),16),t=parseInt(e.substring(2,4),16),(299*a+587*t+114*parseInt(e.substring(4,6),16))/1e3>=128?"#000000":"#ffffff"):P??"#ffffff",C[0]=P,C[1]=D,C[2]=B,C[3]=l}else l=C[3];C[4]!==T||C[5]!==l?(o={small:T,large:l},C[4]=T,C[5]=l,C[6]=o):o=C[6];let F=o;C[7]!==A.status?(n=()=>"active"===A.status?"current":"complete"===A.status?"completed":"not started",C[7]=A.status,C[8]=n):n=C[8];let L=n;C[9]!==L||C[10]!==A.index||C[11]!==A.label?(i=()=>`Step ${A.index+1}: ${A.label}, ${L()}`,C[9]=L,C[10]=A.index,C[11]=A.label,C[12]=i):i=C[12];let M=i,I=B&&"bv:bv_large:bg-bv_frameworkHeaderColor";if(C[13]!==F||C[14]!==M||C[15]!==B||C[16]!==N||C[17]!==w||C[18]!==E||C[19]!==A||C[20]!==I){x=Symbol.for("react.early_return_sentinel");e:{let e,t,l=(0,j.cn)("bv:bg-bv_subtitleColor",I),s=(0,j.cn)("bv:text-bv_subtitleColor",B&&"bv:bv_large:text-bv_frameworkHeaderColor"),o=(0,j.cn)("bv:focus-visible:outline-bv_subtitleColor",B&&"bv:bv_large:focus-visible:outline-bv_frameworkHeaderColor"),n=()=>"active"===A.status?(0,j.cn)(l,"bv:opacity-100"):"complete"===A.status?(0,j.cn)(l,"bv:opacity-50"):(0,j.cn)(l,"bv:opacity-15"),r=()=>"active"===A.status||"complete"===A.status?"bv:opacity-100":(0,j.cn)(s,"bv:opacity-70"),i=()=>{let e=(0,j.cn)(s,"bv:text-center");return"active"===A.status?(0,j.cn)(e,"bv:opacity-100"):"complete"===A.status?(0,j.cn)(e,"bv:opacity-70"):(0,j.cn)(e,"bv:opacity-50")},_=(0,j.cn)("bv:cursor-pointer bv:focus-visible:outline bv:focus-visible:outline-2 bv:focus-visible:outline-offset-2",o);if(w){let e,t,l;C[33]!==N||C[34]!==A?(e=()=>N&&A.onClick?.(),C[33]=N,C[34]=A,C[35]=e):e=C[35],C[36]!==N||C[37]!==A?(t=e=>{N&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),A.onClick?.())},C[36]=N,C[37]=A,C[38]=t):t=C[38],C[39]!==F||C[40]!==A.index||C[41]!==A.status?(l="active"===A.status||"complete"===A.status?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"bv:bv_large:hidden",style:{color:F.small},children:A.index+1}),(0,a.jsx)("span",{className:"bv:hidden bv:bv_large:inline",style:{color:F.large},children:A.index+1})]}):A.index+1,C[39]=F,C[40]=A.index,C[41]=A.status,C[42]=l):l=C[42],x=(0,a.jsxs)("div",{className:(0,j.cn)("bv:relative bv:flex bv:h-7 bv:w-7 bv:shrink-0 bv:items-center bv:justify-center",N&&_),onClick:e,role:N?"button":void 0,tabIndex:N?0:void 0,"aria-label":N?M():void 0,"aria-current":"active"===A.status?"step":void 0,"aria-hidden":!N||void 0,onKeyDown:t,children:[(0,a.jsx)("div",{className:(0,j.cn)("step-circle bv:h-7 bv:w-7 bv:rounded-full bv:transition-all bv:duration-300 bv:ease-in-out",n())}),(0,a.jsx)("span",{className:(0,j.cn)("bv:pointer-events-none bv:absolute bv:text-bv_smallFontSize bv:font-bv_bodyBoldFontWeight bv:leading-5 bv:transition-all bv:duration-300 bv:ease-in-out",r()),children:l})]});break e}if(E){let e,t;C[43]!==N||C[44]!==A?(e=()=>
1N&&A.onClick?.(),C[43]=N,C[44]=A,C[45]=e):e=C[45],C[46]!==N||C[47]!==A?(t=e=>{N&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),A.onClick?.())},C[46]=N,C[47]=A,C[48]=t):t=C[48],x=(0,a.jsxs)("div",{className:(0,j.cn)("bv:flex bv:h-5 bv:items-center bv:justify-center bv:px-3",N&&_),onClick:e,role:N?"button":void 0,tabIndex:N?0:void 0,"aria-label":M(),"aria-current":"active"===A.status?"step":void 0,onKeyDown:t,children:[(0,a.jsx)("span",{className:(0,j.cn)("bv:whitespace-nowrap bv:text-bv_smallFontSize bv:font-bv_bodyBoldFontWeight bv:leading-5 bv:transition-opacity bv:duration-500 bv:ease-in-out bv:bv_large:hidden",i(),N&&"step-label-underline"),children:A.labelShort}),(0,a.jsx)("span",{className:(0,j.cn)("bv:hidden bv:whitespace-nowrap bv:text-bv_smallFontSize bv:font-bv_bodyBoldFontWeight bv:leading-5 bv:transition-opacity bv:duration-500 bv:ease-in-out bv:bv_large:inline",i(),N&&"step-label-underline"),children:A.label})]});break e}c=(0,j.cn)("bv:flex bv:h-[52px] bv:flex-col bv:items-center bv:justify-start bv:gap-1",N&&(0,j.cn)("bv:rounded",_)),C[49]!==N||C[50]!==A?(b=()=>N&&A.onClick?.(),C[49]=N,C[50]=A,C[51]=b):b=C[51],v=N?"button":void 0,d=N?0:void 0,m=N?M():void 0,u="active"===A.status?"step":void 0,C[52]!==N||C[53]!==A?(p=e=>{N&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),A.onClick?.())},C[52]=N,C[53]=A,C[54]=p):p=C[54];let y=(0,j.cn)("step-circle bv:h-7 bv:w-7 bv:rounded-full bv:transition-all bv:duration-300 bv:ease-in-out",n());C[55]!==y?(e=(0,a.jsx)("div",{className:y}
1),C[55]=y,C[56]=e):e=C[56],C[57]!==F||C[58]!==A.index||C[59]!==A.status?(t="active"===A.status||"complete"===A.status?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"bv:bv_large:hidden",style:{color:F.small},children:A.index+1}),(0,a.jsx)("span",{className:"bv:hidden bv:bv_large:inline",style:{color:F.large},children:A.index+1})]}):A.index+1,C[57]=F,C[58]=A.index,C[59]=A.status,C[60]=t):t=C[60],h=(0,a.jsxs)("div",{className:"bv:relative bv:flex bv:h-7 bv:w-7 bv:shrink-0 bv:items-center bv:justify-center","aria-hidden":"true",children:[e,(0,a.jsx)("span",{className:(0,j.cn)("bv:pointer-events-none bv:absolute bv:text-bv_smallFontSize bv:font-bv_bodyBoldFontWeight bv:leading-5 bv:transition-all bv:duration-300 bv:ease-in-out",r()),children:t})]}),g="bv:flex bv:h-5 bv:items-center bv:justify-center bv:px-3",S=(0,a.jsx)("span",{className:(0,j.cn)("bv:whitespace-nowrap bv:text-bv_smallFontSize bv:font-bv_bodyBoldFontWeight bv:leading-5 bv:transition-opacity bv:duration-500 bv:ease-in-out bv:bv_large:hidden",i(),N&&"step-label-underline"),children:A.labelShort}),f=(0,j.cn)("bv:hidden bv:whitespace-nowrap bv:text-bv_smallFontSize bv:font-bv_bodyBoldFontWeight bv:leading-5 bv:transition-opacity bv:duration-500 bv:ease-in-out bv:bv_large:inline",i(),N&&"step-label-underline")}C[13]=F,C[14]=M,C[15]=B,C[16]=N,C[17]=w,C[18]=E,C[19]=A,C[20]=I,C[21]=c,C[22]=b,C[23]=v,C[24]=d,C[25]=m,C[26]=u,C[27]=p,C[28]=h,C[29]=x,C[30]=f,C[31]=g,C[32]=S}else c=C[21],b=C[22],v=C[23],d=C[24],m=C[25],u=C[26],p=C[27],h=C[28],x=C[29],f=C[30],g=C[31],S=C[32];return x!==Symbol.for("react.early_return_sentinel")?x:(C[61]!==A.label||C[62]!==f?(_=(0,a.jsx)("span",{className:f,children:A.label}),C[61]=A.label,C[62]=f,C[63]=_):_=C[63],C[64]!==_||C[65]!==g||C[66]!==S?(y=(0,a.jsxs)("div",{className:g,children:[S,_]}),C[64]=_,C[65]=g,C[66]=S,C[67]=y):y=C[67],C[68]!==c||C[69]!==b||C[70]!==v||C[71]!==d||C[72]!==m||C[73]!==u||C[74]!==p||C[75]!==h||C[76]!==y?(k=(0,a.jsxs)("div",{className:c,onClick:b,role:v,tabIndex:d,"aria-label":m,"aria-current":u,onKeyDown:p,children:[h,y]}),C[68]=c,C[69]=b,C[70]=v,C[71]=d,C[72]=m,C[73]=u,C[74]=p,C[75]=h,C[76]=y,C[77]=k):k=C[77],k)},M=e=>{let s,o,n,i,c,b=(0,t.c)(10),{steps:v,className:d}=e,m=(0,l.useRef)(null),u=(0,l.useRef)(null),p=(0,r.useHasFrameworkHeaderColor)(),h=(0,j.cn)("bv:bg-bv_subtitleColor",p&&"bv:bv_large:bg-bv_frameworkHeaderColor");b[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{if(m.current&&u.current){let e=m.current,a=u.current,t=e.offsetWidth,l=a.offsetLeft,s=a.offsetWidth;e.scrollTo({left:l-t/2+s/2,behavior:"smooth"})}},b[0]=s):s=b[0],b[1]!==v?(o=[v],b[1]=v,b[2]=o):o=b[2],(0,l.useEffect)(s,o),b[3]!==d?(n=(0,j.cn)("bv:no-scrollbar bv:step-bar-container","bv:mx-auto bv:flex bv:items-start bv:justify-start bv:overflow-x-auto bv:overflow-y-visible","bv:touch-pan-x bv:px-[16px]","bv:w-full bv:max-w-full bv:bv_large:max-w-max bv:bv_large:justify-center bv:bv_large:overflow-visible bv:bv_large:px-6",d),b[3]=d,b[4]=n):n=b[4];let x=v.map((e,t)=>{let l="active"===e.status,s=t===v.length-1,o="disabled"!==e.status&&!!e.onClick;return(0,a.jsxs)("div",{ref:l?u:null,className:(0,j.cn)("bv:flex bv:shrink-0 bv:flex-col bv:items-center bv:gap-1 bv:bv_large:flex-1",o&&"step-item-hover-group"),children:[(0,a.jsxs)("div",{className:"bv:flex bv:w-full bv:items-center bv:gap-0.5",children:[(0,a.jsx)("div",{className:(0,j.cn)("bv:h-0.5 bv:flex-1 bv:transition-opacity bv:duration-500 bv:ease-in-out",0===t?"bv:opacity-0":(0,j.cn)(h,"bv:opacity-30"))}),(0,a.jsx)("div",{className:"bv:flex bv:h-7 bv:w-7 bv:shrink-0 bv:items-center bv:justify-center",children:(0,a.jsx)(L,{step:e,showCircleOnly:!0})}),(0,a.jsx)("div",{className:(0,j.cn)("bv:h-0.5 bv:flex-1 bv:transition-opacity bv:duration-500 bv:ease-in-out",s?"bv:opacity-0":(0,j.cn)(h,"bv:opacity-30"))})]}),(0,a.jsx)("div",{className:"bv:px-3",children:(0,a.jsx)(L,{step:e,showLabelOnly:!0})})]},e.id)});return b[5]!==x?(i=(0,a.jsx)("div",{className:"bv:mx-auto bv:flex bv:w-max bv:items-start bv:justify-start bv:bv_large:w-full bv:bv_large:justify-center",children:x}),b[5]=x,b[6]=i):i=b[6],b[7]!==n||b[8]!==i?(c=(0,a.jsx)("nav",{"aria-label":"Booking progress",ref:m,className:n,children:i}),b[7]=n,b[8]=i,b[9]=c):c=b[9],c};var I=e.i(775911),R=e.i(315147),O=e.i(346117),V=e.i(619837),G=e.i(297638),Y=e.i(629197),z=e.i(661760),W=e.i(682040),$=e.i(156311),U=e.i(253654),K=e.i(106808);let X=e=>{let{firstStepId:a,firstStepLabel:t,firstStepLabelShort:l,firstStepNavigation:s,isCheckout:o,push:n,detailsPaymentLabel:r,detailsPaymentLabelShort:i}=e;return[{id:a,label:t,labelShort:l,index:0,status:o?"complete":"active",onClick:()=>n(s)},{id:"details_payment",label:r,labelShort:i,index:1,status:o?"active":"disabled",onClick:()=>{o&&n("checkout")}}]};var q=e.i(285183),J=e.i(298533),Q=e.i(912034);let Z=()=>{let e,o,r,v=(0,t.c)(2),{steps:d}=(()=>{let e=(0,i.usePathname)(),a=(0,i.useSearchParams)(),{push:t,getUrl:o,rootParam:r}=(0,V.useNavigationManager)(),v=(0,b.useAccommodationTranslations)(),d=(0,n.use
1SinglePropertyContext_UNSAFE)(),m=d?.channelInfo,{data:u}=(0,I.useBasket)(),p=(0,x.useAccommodationSearchResult)(),h=(0,s.useTheme)(),f=(0,q.useLDFlag)(Q.FeatureFlags.ENABLE_MANDATORY_ADDONS_PAGE,!1),g=(0,c.useAtomValue)(Y.selectedCalendarStartDate),S=(0,c.useAtomValue)(z.selectedCalendarEndDate),_=(0,c.useAtomValue)(W.selectedDateRangeState),y=(0,c.useAtomValue)($.conferenceTypeState),k=(0,l.useMemo)(()=>(0,K.getPathInfo)(e),[e]),j=a?.get("extras"),C=h.css.viewType===J.ViewType.SearchBarTop&&f,A=(0,l.useMemo)(()=>k.isExtras||"true"===j,[k.isExtras,j]),w=(0,l.useMemo)(()=>"conference_with_accommodation"===y,[y]),E=(0,l.useMemo)(()=>!!u?.booking?.bookingData?.isConferenceBooking||k.isConference,[u?.booking?.bookingData?.isConferenceBooking,k.isConference]),N=!!u?.booking?.bookingData?.conferenceRooms?.length,H=!!u?.booking?.bookingData?.rooms?.length,B=(0,l.useMemo)(()=>{let e=p?.accommodationSearch?.roomConfigs?.length||1;return(u?.booking?.bookingData?.rooms?.length||0)>=e},[p?.accommodationSearch?.roomConfigs?.length,u?.booking?.bookingData?.rooms?.length]),P=(0,l.useMemo)(()=>!!(g&&S||_?.start&&_?.end||H&&u?.booking?.bookingData?.rooms?.[0]?.startDate&&u?.booking?.bookingData?.rooms?.[0]?.endDate||N&&u?.booking?.bookingData?.conferenceRooms?.[0]?.date),[g,S,_,H,N,u?.booking?.bookingData?.rooms,u?.booking?.bookingData?.conferenceRooms]),D=!!p?.roomsResult,T=(0,l.useMemo)(()=>{let e=k.isPackage||k.isSpecificPackage,a=(k.isCampaign||k.isCampaignDetails)&&!m?.channelStyle?.showRoomTab,t="package"===r||"campaign"===r;return e||a||t},[k.isPackage,k.isSpecificPackage,k.isCampaign,k.isCampaignDetails,m?.channelStyle?.showRoomTab,r]),F=(0,l.useMemo)(()=>["package","campaign"].includes(r)?o("package list",{clearSearchConfigParams:!0}):o(u?.booking?.bookingData?.isConferenceBooking?"conference":"accommodation list",{clearSearchConfigParams:!0}),[r,o,u?.booking?.bookingData?.isConferenceBooking]),{confirmCancelBooking:L}=(0,G.default)({redirectUrl:F}),M=(0,U.useClearSearch)(),Z=(0,l.useMemo)(()=>(0,R.basketHasMandatoryTimeSlotAddons)(u?.booking?.bookingData?.rooms??[]),[u?.booking?.bookingData?.rooms]),ee=(0,l.useMemo)(()=>(0,O.basketHasMandatoryDynamicAddons)(u?.booking?.bookingData?.rooms??[]),[u?.booking?.bookingData?.rooms]),ea=!!m?.channelStyle?.hasOptionalAddOns,et=Z||ee||ea,el=C&&!E,es=el&&(Z||ee),eo=el&&ea,en=(0,l.useCallback)(e=>{if(!P||!D&&!E&&!H&&!N)return"select_date"===e?"active":"disabled";let a={hasSelectedDate:P,hasConferenceRooms:N,hasRoomsInBasket:H,allRoomsSelected:B,isCheckout:k.isCheckout,isAddons:k.isAddons,isOptionalAddons:k.isOptionalAddons,isConference:k.isConference,isSpecificPackage:k.isSpecificPackage,isFromPackageList:T,shouldShowSelectOptions:et,isSplitAddonSteps:el,showOptionsStep:es,showExtrasStep:eo,isAccommodation:k.isAccommodation};if(E)return((e,a)=>{let{hasSelectedDate:t,hasConferenceRooms:l,hasRoomsInBasket:s,isCheckout:o,isAddons:n,isConference:r,shouldShowSelectOptions:i}=a;if(!l&&!s)return t?"select_date"===e?"complete":"select_room"===e?"active":"disabled":"select_date"===e?"active":"disabled";return l?o?"details_payment"===e?"active":"select_date"===e||"select_room"===e||"choose_accommodation"===e||"select_options"===e&&i?"complete":"disabled":n?"select_options"===e?"active":"select_date"===e||"select_room"===e||"choose_accommodation"===e&&s?"complete":"disabled":r?"select_date"===e?"complete":"select_room"===e?"active":"disabled":s?"select_date"===e||"select_room"===e||"choose_accommodation"===e?"complete":"disabled":"select_date"===e||"select_room"===e?"complete":"choose_accommodation"===e?"active":"disabled":"select_date"===e?"complete":"select_room"===e?"active":"disabled"})(e,a)??"disabled";let t=((e,a)=>{let{hasRoomsInBasket:t,isSpecificPackage:l}=a;return l?t?null:"select_date"===e||"select_package"===e?"complete":"select_room"===e?"active":"disabled":null})(e,a);return null!==t?t:((e,a)=>{let{hasRoomsInBasket:t,allRoomsSelected:l,isCheckout:s,isAddons:o,isOptionalAddons:n,isFromPackageList:r,shouldShowSelectOptions:i,isSplitAddonSteps:c,showOptionsStep:b,showExtrasStep:v,isAccommodation:d}=a,m=["select_date","select_package","select_room"];if(!t)return"select_date"===e?"complete":r?"select_package"===e?"active":"disabled":"select_room"===e?"active":"disabled";if(!l)return"select_date"===e||r&&"select_package"===e?"complete":"select_room"===e?"active":"disabled";if(s)return"details_payment"===e?"active":m.includes(e)?"complete":c?"select_options"===e?b?"complete":"disabled":"select_extras"===e&&v?"complete":"disabled":"select_options"===e&&i?"complete":"disabled";if(o){if(m.includes(e))return"complete";if(c&&n)return"select_extras"===e?"active":"select_options"===e&&b?"complete":"disabled";return"select_options"===e?"active":"disabled"}return d&&l&&"select_room"===e?"active":m.includes(e)?"complete":"disabled"})(e,a)??"disabled"},[P,D,E,N,T,H,B,k,et,es,eo]),er=(0,l.useCallback)(async e=>{if("disabled"===en(e))return;let a=k.isCampaign||k.isCampaignDetails,l=a?{clearSearchConfigParams:!0,searchParamsToRemove:["campaignid"]}:{clearSearchConfigParams:!0};switch(e){case"select_package":H||N?L():t("package list",l);break;case"select_date":H||N?L():(await M(!0),T?t("package list",l):E?t("conference",{clearSearchConfigParams:!0}):t("accommodation list",a?{clearSearchConfigParams:!0,searchParamsToRemove:["campaignid"]}:{clearSearchConfigParams:!0}));break;case"select_room":T?t("package list",l):E?t("conference"):t("accommodation list",a?{clearSearchConfigParams:!0,searchParamsToRemove:["campaignid"]}:{clearSearchConfigParams:!0});break;case"choose_accommodation":t("accommodation list",{clearSearchConfigParams:!0});break;case"select_options":el?t("mandatory addons"):et&&(Z?t(E?C?"conference mandatory addons":"conference mandatory timeslot addons":C?"mandatory addons":"mandatory timeslot addons"):ee?t(E?C?"conference mandatory addons":"conference mandatory dynamic addons":C?"mandatory addons":"mandatory dynamic addons"):t(E?"conference optional addons":"optional addons"));break;case"select_extras":t(E?"conference optional addons":"optional addons");break;case"details_payment":t("checkout")}},[en,t,T,E,et,el,C,Z,ee,H,N,L,k,M]);return{steps:(0,l.useMemo)(()=>{let e;if(k.isVoucher)return X({firstStepId:"select_voucher",firstStepLabel:v("EA4H.StepBar.SelectVoucher"),firstStepLabelShort:v("EA4H.StepBar.SelectVoucher.Short"),firstStepNavigation:"voucher",isCheckout:k.isCheckout,push:t,detailsPaymentLabel:v("EA4H.StepBar.DetailsAndPayment"),detailsPaymentLabelShort:v("EA4H.StepBar.DetailsAndPayment.Short")});if(A)return X({firstStepId:"select_options",firstStepLabel:v("EA4H.StepBar.SelectOptions"),firstStepLabelShort:v("EA4H.StepBar.SelectOptions.Short"),firstStepNavigation:"standalone addons",isCheckout:k.isCheckout,push:t,detailsPaymentLabel:v("EA4H.StepBar.DetailsAndPayment"),detailsPaymentLabelShort:v("EA4H.StepBar.DetailsAndPayment.Short")});let a=[{id:"select_date",label:v("EA4H.StepBar.SelectDate"),labelShort:v("EA4H.StepBar.SelectDate.Short")}];return T&&!E&&a.push({id:"select_package",label:v("EA4H.StepBar.SelectPackage"),labelShort:v("EA4H.StepBar.SelectPackage.Short")}),a.push({id:"select_room",label:E?v("EA4H.StepBar.SelectConferenceRoom"):m?.onlyRoomTypeGroups?v("EA4H.StepBar.ChooseLodging"):v("EA4H.StepBar.SelectRoom"),labelShort:E?v("EA4H.StepBar.SelectConferenceRoom.Short"):m?.onlyRoomTypeGroups?v("EA4H.StepBar.Lodging.Short"):v("EA4H.StepBar.SelectRoom.Short")}),E&&w&&a.push({id:"choose_accommodation",label:v("EA4H.StepBar.ChooseAccommodation"),labelShort:v("EA4H.StepBar.ChooseAccommodation.Short")}),el?(es&&a.push({id:"select_options",label:v("EA4H.StepBar.SelectOptions"),labelShort:v("EA4H.StepBar.SelectOptions.Short")}),eo&&a.push({id:"select_extras",label:v("EA4H.StepBar.Extras"),labelShort:v("EA4H.StepBar.Extras")})):et&&a.push({id:"select_options",label:v("EA4H.StepBar.SelectOptions"),labelShort:v("EA4H.StepBar.SelectOptions.Short")}),a.push({id:"details_payment",label:v("EA4H.StepBar.DetailsAndPayment"),labelShort:v("EA4H.StepBar.DetailsAndPayment.Short")}),e=a.filter((e,a,t)=>a===t.findIndex(a=>a.id===e.id)),e.map((e,a)=>({id:e.id,label:e.label,labelShort:e.labelShort,index:a,status:en(e.id),onClick:()=>er(e.id)}))},[T,E,A,el,et,es,eo,v,en,er,k,w,t,H,N])}})();
1return(o=(0,n.useSinglePropertyContext_UNSAFE)(),(r=o?.channelInfo?.channelStyle?.progressBarDisplayType)&&r!==J.ProgressBarDisplayType.ShowHeadingOnly&&0!==d.length)?(v[0]!==d?(e=(0,a.jsx)(M,{steps:d}),v[0]=d,v[1]=e):e=v[1],e):null};var ee=e.i(904456),ea=e.i(607830);e.s(["PageTitleAndStatus",0,e=>{let b,v,d,m,u,p,h,x,f=(0,t.c)(40),{customTitle:g,customSubtitle:S,customSubtitleHtml:_}=e,y=(0,s.useTheme)(),C=(0,i.usePathname)(),A=(0,c.useAtomValue)(ea.StatusTextState),w=(0,n.useSinglePropertyContext_UNSAFE)(),E=w?.channelInfo,{text:N,config:B}=(0,o.useSubHeaderText)(),D=(0,r.useHasFrameworkHeaderColor)();f[0]!==B?(b=B??{},f[0]=B,f[1]=b):b=f[1];let{showSaveYourSearchButton:L}=b,M=y.css.viewType===J.ViewType.SearchBarTop,I=B?.stayBetweenLabel&&B?.roomsLabel&&B?.guestsLabel?`${B.stayBetweenLabel}, ${B.roomsLabel}, ${B.guestsLabel}`:void 0;f[2]!==C?(v=ee.DETAILS_PAGE_SEGMENTS.some(e=>C.includes(e)),f[2]=C,f[3]=v):v=f[3];let R=v,O=E?.channelStyle?.progressBarDisplayType,V=g||A,G=S||N;if(y.css.viewType===J.ViewType.SearchBarTop&&["room-details","room-group-info"].some(e=>C.includes(e))){let e,t,s;return f[4]!==V?(e=V&&(0,a.jsx)(T.default,{level:1,className:"bv:sr-only",children:V}),f[4]=V,f[5]=e):e=f[5],f[6]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(l.Suspense,{fallback:null,children:(0,a.jsx)(Z,{})}),f[6]=t):t=f[6],f[7]!==e?(s=(0,a.jsxs)("div",{className:"bv:relative bv:mb-[30px] bv:w-full bv:overflow-visible bv:pt-[10px] bv:bv_large:pt-[20px]",children:[e,t]}),f[7]=e,f[8]=s):s=f[8],s}if(M&&C.includes("package-details")){let e,t,s;return f[9]!==V?(e=V&&(0,a.jsx)(T.default,{level:1,className:"bv:sr-only",children:V}),f[9]=V,f[10]=e):e=f[10],f[11]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(l.Suspense,{fallback:null,children:(0,a.jsx)(Z,{})}),f[11]=t):t=f[11],f[12]!==e?(s=(0,a.jsxs)("div",{className:"bv:relative bv:mb-[30px] bv:w-full bv:overflow-visible bv:pt-[10px] bv:bv_large:pt-[20px]",children:[e,t]}),f[12]=e,f[13]=s):s=f[13],s}if(O===J.ProgressBarDisplayType.ShowStepBarOnly){let e,t,s,o;return f[14]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("div",{className:"bv:relative bv:m-auto bv:w-full bv:max-w-bv_frameworkMaxWidth bv:px-[20px] bv:bv_large:px-[30px]",children:(0,a.jsx)("div",{id:"back_btn_container",className:"bv:pointer-events-auto bv:absolute bv:left-0 bv:top-0 bv:h-[30px] bv:w-[30px] bv:bv_large:h-[40px] bv:bv_large:w-[40px]"})}),f[14]=e):e=f[14],f[15]!==V?(t=V&&(0,a.jsx)(T.default,{level:1,className:"bv:sr-only",children:V}),f[15]=V,f[16]=t):t=f[16],f[17]===Symbol.for("react.memo_cache_sentinel")?(s=(0,a.jsx)(l.Suspense,{fallback:null,children:(0,a.jsx)(Z,{})}),f[17]=s):s=f[17],f[18]!==t?(o=(0,a.jsxs)("div",{className:"bv:relative bv:mb-[30px] bv:w-full bv:overflow-visible bv:pt-[10px] bv:bv_large:pt-[20px]",children:[e,t,s]}),f[18]=t,f[19]=o):o=f[19],o}let Y=O===J.ProgressBarDisplayType.ShowHeadingAndStepBar;f[20]!==Y?(d=Y&&(0,a.jsx)("div",{className:"bv:mb-[30px] bv:w-full bv:overflow-visible bv:pt-[10px] bv:bv_large:pt-[20px]",children:(0,a.jsx)(l.Suspense,{fallback:null,children:(0,a.jsx)(Z,{})})}),f[20]=Y,f[21]=d):d=f[21];let z=!Y&&"bv:pt-[40px] bv:bv_large:pt-[50px]";return f[22]!==z?(m=(0,j.cn)("bv:relative bv:m-auto bv:flex bv:w-full bv:flex-col bv:items-center bv:px-[20px] bv:pb-[30px] bv:bv_large:px-[30px]","bv:text-center bv:bv_large:pb-[40px]",z),f[22]=z,f[23]=m):m=f[23],f[24]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.jsx)("div",{id:"back_btn_container",className:"bv:h-[30px] bv:w-[30px] bv:bv_large:h-[40px] bv:bv_large:w-[40px]"}),f[24]=u):u=f[24],f[25]!==I||f[26]!==_||f[27]!==D||f[28]!==R||f[29]!==M||f[30]!==L||f[31]!==G||f[32]!==V?(p=(0,a.jsxs)("div",{className:"bv:flex bv:w-full bv:max-w-bv_frameworkMaxWidth bv:gap-[5px]",children:[u,(0,a.jsx)("div",{className:"bv:flex bv:flex-1 bv:flex-col bv:items-center bv:gap-[5px] bv:pl-[10px] bv:pr-[40px] bv:bv_large:pr-[50px]",children:V?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T.default,{level:1,hideEmpty:!0,wrap:!0,className:(0,j.cn)("bv:wrap-break-word",D&&"bv:bv_large:text-bv_frameworkHeaderColor"),children:V}),_?(0,a.jsx)(k.default,{hideEmpty:!0,className:(0,j.cn)(D&&"bv:bv_large:text-bv_frameworkHeaderColor"),dangerouslySetInnerHTML:{__html:_}}):M&&I&&!R?(0,a.jsxs)(k.default,{className:(0,j.cn)(D&&"bv:bv_large:text-bv_frameworkHeaderColor"),hideEmpty:!0,children:[(0,a.jsx)("span",{className:"bv:hidden bv:md:inline",children:(0,a.jsx)(P,{summary:I})}),L&&(0,a.jsx)(H,{})]}):(0,a.jsxs)(k.default,{className:(0,j.cn)(D&&"bv:bv_large:text-bv_frameworkHeaderColor"),hideEmpty:!0,children:[G,L&&(0,a.jsx)(H,{})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(F.default,{className:"bv:max-w-[400px]",children:(0,a.jsx)(T.default,{level:1,children:"titleText"})}),(0,a.jsx)(F.default,{className:"bv:max-w-[300px]",children:(0,a.jsx)(k.default,{children:"subTitleText"})})]})})]}),f[25]=I,f[26]=_,f[27]=D,f[28]=R,f[29]=M,f[30]=L,f[31]=G,f[32]=V,f[33]=p):p=f[33],f[34]!==m||f[35]!==p?(h=(0,a.jsx)("div",{"data-testid":"page_title_and_status",className:m,children:p}),f[34]=m,f[35]=p,f[36]=h):h=f[36],f[37]!==d||f[38]!==h?(x=(0,a.jsxs)(a.Fragment,{children:[d,h]}),f[37]=d,f[38]=h,f[39]=x):x=f[39],x}],2808)},651010,e=>{"use strict";var a=e.i(66768);e.s(["useHasFrameworkHeaderColor",0,()=>{let e=(0,a.useTheme)(),t=e.originalCSS?.frameworkHeaderColor;return"string"==typeof t&&""!==t.trim()}])}]);

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.