PageSourceSearch

https://app.flowtheroom.com/_next/static/chunks/9024.b712ef50cc1687a6.js

js flowtheroom.com collected 2026-09-25 09:51:31 UTC 3,225 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7c6deee7-c3b8-4dcb-80a9-a1ea25b9c02a",e._sentryDebugIdIdentifier="sentry-dbid-7c6deee7-c3b8-4dcb-80a9-a1ea25b9c02a")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9024],{59024:function(e,t,a){a.r(t);var r=a(57437),l=a(2265),u=a(30490),s=a(72301),n=a(11362),o=a(85145),d=a(26141),i=a(78206),b=a(43493),c=a(43819),w=a(37054),f=a(38778),v=a(28412),p=a(71930);t.default=e=>{let{className:t,readyLabel:a,disableUntilReady:y=!1,gated:_=!1}=e,g=(0,s.useRouter)(),{region:h,lang:m,globalSpace:k}=(0,s.useParams)(),D=(0,u.T)(),x=(0,f.U0)(),T=(0,n.Dv)(b.jA),$=(0,n.Dv)(b.JG),C=(0,n.Dv)(b.BL),N=(0,n.Dv)(b.eo),I=(0,n.Dv)(b.yA),M=(0,n.b9)(v.s6),{authState:j}=(0,p.uF)(),A=!(0,o.D)(767,!0),[E,U]=l.useState(!1),{date:R,bookLength:S,checkIn:F,checkOut:P,venue:q,payType:B}=T,G="bookable"===C,H=l.useMemo(()=>!!B,[B]),J=l.useMemo(()=>{let e=R&&S?.value&&F?.value&&P?.value,t=q?.value;return e&&t&&H},[R,S?.value,F?.value,P?.value,q,H]),L=l.useMemo(()=>J&&!$?.reserving&&G,[J,$,G]),V=()=>R&&S?.value?F?.value?P?.value?q?.value?H?"":(0,c.CV)(q.value):c.mF:c.An:c.Rg:c.PI,z=l.useMemo(()=>{if(!G)return D("backToSearchResult");if(!I)return D("details.unAvailable_hint");if(y&&a)return a;if(R&&!S?.value)return D("hotel.selectSlot");if(!P?.value)return D("details.select_preferred_time_slot");if(!q?.value)return D("details.choose_room_type");if(!H)return D("details.select_bed_and_pay_type");else if(L)return a??D("hotel.bookNow");return""},[G,I,R,S?.value,P?.value,q?.value,H,L,a,y,D]),K=l.useMemo(()=>G&&I?!L&&y?"tw-bg-[var(--themes-border-light)] tw-border-0 tw-text-body-subtle tw-cursor-not-allowed":L?t?"sunshine-btn tw-border tw-border-solid tw-border-transparent":"sunshine-btn tw-border-0":"tw-bg-brand-subtle-info dark:tw-bg-[#6C5E18] tw-text-title tw-border tw-border-brand-default tw-transition tw-duration-150 hover:tw-opacity-70 active:tw-opacity-70":"tw-text-title tw-border tw-border-solid tw-border-default dark:tw-border-dark",[G,I,L,t,y]),O=()=>{G&&J&&(0,w.tM)({name:N.space_name,slug:N.slug,startDate:F?.date,endDate:P?.date,space:k,startTime:F?.value,endTime:P?.value,date:R,bookType:S?.value,venue:q?.value,venueName:q?.text,currency:T?.currency,posthog:x})};return(0,r.jsx)("button",{className:`book-cta tw-flex tw-items-center tw-justify-center ${t??"tw-h-14 tw-w-full tw-py-2 tw-px-3 lg:tw-px-6 tw-rounded-lg typography-fixed-base-semibold"} ${E?"tw-cursor-not-allowed":"tw-cursor-pointer"} ${K}`,onClick:()=>{if(!E&&(!y||!G||J)){if(G){if(J){let e=(0,d.Uk)(`/${h}/${m}/order-checkout`),t=()=>{U(!0),g.push(e),O()};if(_&&j!==p.jq.AUTHED){if(A){g.prefetch(e),M({proceed:t});return}M({})}t()}else(0,w._C)({reason:"info_incomplete",name:N?.space_name,slug:N?.slug}),(0,i.dN)(V(),120)}else(0,w._C)({reason:"not_bookable",name:N?.space_name,slug:N?.slug}),g.push((0,d.Uk)(`/${h}/${m}/${k}`))}},disabled:E||y&&G&&!J,"aria-busy":E,children:E?(0,r.jsx)("span",{className:"btn-spin",role:"status","aria-label":D("auth.loading")}):z})}}}]);

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.