PageSourceSearch

https://app.flowtheroom.com/_next/static/chunks/664.649c9f99020f199c.js

js flowtheroom.com collected 2026-09-25 09:50:04 UTC 12,998 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]="c419845b-becb-4168-b4e6-702636a7d21a",e._sentryDebugIdIdentifier="sentry-dbid-c419845b-becb-4168-b4e6-702636a7d21a")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[664],{99673:function(e,t,n){n.d(t,{D3:function(){return c},FH:function(){return m},Gl:function(){return d},Qh:function(){return l},Wk:function(){return s},X1:function(){return h},XJ:function(){return f},Zm:function(){return p},ky:function(){return i},ol:function(){return u},xx:function(){return a},yx:function(){return w}});var r=n(491),o=n(59864);let s=(e,t)=>{let n=r._n+"/support/proof/upload";return r.hM.post(n,e,t,!0)},i=(e,t)=>{let n=r._n+"/party/proof/upload";return r.hM.post(n,e,t,!0)},l=(e,t)=>{let n=r._n+`/support/enquiry/${o.up.PRICE_GUARANTEE}`;return r.hM.post(n,e,t,!0)},c=(e,t)=>{let n=r._n+"/support/help_center/ticket";return r.hM.post(n,e,t,!0)},a=e=>{let t=r._n+"/support/reservation/cancellable";return r.hM.get(t,e)},u=(e,t)=>{let n=r._n+"/support/help_center/token";return r.hM.post(n,e,t,!0)},d=e=>{let t=r._n+"/support/help_center/ticket/latest";return r.hM.get(t,e)},f=e=>{let t=r._n+"/support/reservation/availability/date/search";return r.hM.get(t,e)},h=(e,t)=>{let n=r._n+`/reservation/${e}/cancellation/terms`;return r.hM.get(n,t)},p=(e,t)=>{let n=r._n+"/reservation/cancel";return r.hM.put(n,e,t,!0)},m=(e,t)=>{let n=r._n+"/reservation/retrieve/verify";return r.hM.put(n,e,t,!0)},w=(e,t)=>{let n=r._n+"/reservation/retrieve";return r.hM.put(n,e,t,!0)}},61695:function(e,t,n){var r=n(57437);n(2265),t.Z=e=>{let{className:t="",borderHeight:n="tw-border-t-1",borderColor:o="tw-border-light"}=e;return(0,r.jsx)("div",{className:`${t}`,children:(0,r.jsx)("hr",{className:`${o} ${n}`})})}},97121:function(e,t,n){var r=n(57437);n(2265);var o=n(61695),s=n(4689);t.Z=e=>{let{children:t,title:n,className:i="",isRemoveStyle:l=!1,isHr:c=!0}=e;return(0,r.jsxs)("div",{className:`${c||l?"":"tw-mt-10 lg:tw-mt-20"} ${i}`,children:[c&&(0,r.jsx)(o.Z,{className:"tw-my-3 lg:tw-my-5"}),(0,r.jsx)(s.Z,{text:n}),(0,r.jsx)("div",{children:t})]})}},4160:function(e,t,n){n.d(t,{J:function(){return o}});var r=n(57437);n(2265);let o=e=>{let{className:t,width:n=24,height:o=24,...s}=e;return(0,r.jsx)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,...s,children:(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9"})})}},57319:function(e,t,n){n.d(t,{L:function(){return o}});var r=n(57437);n(2265);let o=e=>{let{className:t,width:n=24,height:o=24,...s}=e;return(0,r.jsx)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,...s,children:(0,r.jsx)("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.5"})})}},61565:function(e,t,n){n.d(t,{a:function(){return o}});var r=n(57437);n(2265);let o=e=>{let{className:t,width:n=24,height:o=24,...s}=e;return(0,r.jsx)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,...s,children:(0,r.jsx)("path",{d:"M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},47446:function(e,t,n){var r=n(57437),o=n(97121),s=n(2265),i=n(4160),l=n(57319),c=n(61565),a=n(96294),u=n(29327),d=n(30490),f=n(11362),h=n(87897);t.Z=e=>{let{refund:t,title:n,className:p="",dispatchRefundAction:m,isRemoveStyle:w=!1,isHr:g=!0}=e,_=(0,d.T)(),[,x]=(0,f.KO)(h._l),[,v]=(0,f.KO)(h.KH),y=(0,s.useCallback)(()=>{x(!0),v({title:_("booking.confirmCancel"),message:t.description,buttons:[{action:"cancel",text:_("cancel")},{action:u.HL.REFUND_BOOKING,text:_("confirmCancellation")}]})},[x,v,_,t.description]);return(0,r.jsxs)(o.Z,{title:n,className:p,isRemoveStyle:w,isHr:g,children:[(0,r.jsx)("div",{className:"tw-text-13 text-paragraph",children:t.cancellation.upper_description}),(0,r.jsx)("div",{className:"tw-py-3 tw-text-13 text-paragraph",children:t?.cancellation?.timelines.map((e,t)=>r.jsxs("div",{children:["c_start"===e.type&&r.jsxs("div",{className:"tw-flex tw-items-center",children:[r.jsx(c.a,{style:{color:"var(--color-sunshine-hex)"}}),r.jsx("div",{className:"tw-mx-3",children:e.text})]}),"l_refundable"===e.type&&r.jsxs("div",{className:"tw-flex tw-items-center",children:[r.jsx("div",{className:"tw-border-r-4 tw-h-14 tw-ml-2.5 tw--my-1",style:{borderColor:"l_refundable"===e.type?"var(--color-sunshine-hex)":""}}),r.jsx("hr",{className:"tw-border-solid tw-w-[10px]",style:{borderColor:"var(--color-sunshine-hex)"}}),r.jsx("div",{className:"tw-mx-3 tw-text-pop-green",children:e.text})]}),"c_non_refundable"===e.type&&r.jsxs("div",{className:"tw-flex tw-items-center",children:[r.jsx(l.L,{style:{color:"var(--color-grey-hex)"}}),r.jsx("div",{className:"tw-mx-3",children:e.text})]}),"l_non_refundable"===e.type&&r.jsxs("div",{className:"tw-flex tw-items-center",children:[r.jsx("div",{className:"tw-border-r-4 tw-h-14 tw-ml-2.5 tw--my-1",style:{borderColor:"var(--color-grey-hex)"}}),r.jsx("hr",{className:"tw-border-solid tw-w-[10px]",style:{borderColor:"var(--color-grey-hex)"}}),r.jsx("div",{className:"tw-mx-3 tw-text-red",children:e.text})]}),"c_end"===e.type&&r.jsxs("div",{className:"tw-flex tw-items-center",children:[r.jsx(i.J,{style:{color:"var(--color-grey-hex)"}}),r.jsx("div",{className:"tw-mx-3",children:e.text})]})]},`timeline-${t}`))}),(0,r.jsx)("div",{className:"tw-text-13 text-paragraph",children:t.cancellation.lower_description}),m&&(0,r.jsx)(a.default,{className:"tw-mt-4 tw-rounded-[11px] tw-px-[22px] tw-py-3 tw-text-15 tw-font-semibold sunshine-btn tw-shadow-[0_8px_22px_rgba(254,220,1,0.35)]",disableHover:!1,onClick:y,children:_("booking.cancelBooking")})]})}},94098:function(e,t,n){n.r(t);var r=n(57437),o=n(2265),s=n(30490),i=n(72301),l=n(46542),c=n(91812),a=n(52197),u=n(99673),d=n(47446),f=n(29327),h=n(11362),p=n(87897),m=n(37054),w=n(20176);t.default=e=>{let{isOpen:t,closeModal:n}=e,g=(0,s.T)(),_=(0,i.useParams)(),x=(0,i.useRouter)(),[,v]=(0,h.KO)(p._l),[,y]=(0,h.KO)(p.KH),[b,C]=(0,h.KO)(p.Lt),[k,N]=(0,o.useState)(null),[j,O]=(0,o.useState)(null),[S,E]=(0,o.useState)(!1),T=(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g("error.err_occurred"),t=arguments.length>1?arguments[1]:void 0;v(!0),y({title:t,message:e})},[]);(0,o.useEffect)(()=>{(async()=>{try{if(k){E(!0);let e=await (0,u.X1)(k,{region:_.region,lang:_.lang});e.Success?O(e.Data):T(e.Data.message)}else O(null)}catch(e){T()}finally{E(!1)}})()},[k,_.lang,_.region,T]);let L=(0,o.useCallback)(async e=>{try{let t=await (0,u.xx)({booking_id:e,region:_.region,lang:_.lang});t.Success?1===t.Data.refundable?(N(e),n()):0===t.Data.refundable?(n(),x.push(`/${_.region}/${_.lang}/user/booking-details?bookingId=${e}&isRequestCancel=true`)):T(t.Data.message.header):T(t.Data.message)}catch(e){T(g("error.err_occurred"))}},[_.region,_.lang,T,n,x,g]);return(0,o.useEffect)(()=>{(async()=>
1{if(b===f.HL.REFUND_BOOKING)try{E(!0);let e=await (0,u.Zm)({booking_id:k},{region:_.region,lang:_.lang});e.Success?(T(e.Data.message,g("booking.cancelSuccess")),N(null),(0,m.Ci)(e.Data.events)):T()}catch(e){T()}finally{E(!1)}C(void 0)})()},[b,T]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{isOpen:t,onClose:n,modalTitle:g("faq.select_booking_cancel"),modalContent:(0,r.jsx)(a.Z,{bookingType:"cancellable",hideReview:!0,onClickHandler:L,className:"tw-h-[750px]"}),customDesktopStyle:l.RZ,closeButton:!0}),(0,r.jsx)(c.Z,{isOpen:!!k,onClose:()=>N(null),modalTitle:(0,r.jsxs)(r.Fragment,{children:[g("booking.cancelBooking"),(0,r.jsx)("p",{className:"typography-subtitle-2",children:g("booking.confirmCancel")})]}),modalContent:j&&(S?(0,r.jsx)("div",{className:"tw-h-80",children:(0,r.jsx)("div",{className:"tw-h-full tw-flex tw-justify-center tw-items-center",children:(0,r.jsx)(w.Z,{className:"tw-h-9 tw-w-9 tw-animate-spin tw-text-flow-primary"})})}):(0,r.jsx)(d.Z,{refund:j,dispatchRefundAction:!0})),customDesktopStyle:l.RZ,closeButton:!0})]})}},29327:function(e,t,n){n.d(t,{HL:function(){return r},U2:function(){return i},_H:function(){return s},g$:function(){return o}});let r={DUPLICATE_BOOKING_CONTINUE:"duplicate_booking_continue",RESV_TERMS_CONTINUE:"resv_terms_continue",RESV_TERMS_REJECT:"resv_terms_reject",FLOW_DOLLAR_TOP_UP:"flow_dollar_top_up",REFUND_BOOKING:"refund_booking",NON_FLOW_DOLLAR_CHECKOUT:"non_flow_dollar_checkout",PREVIOUS_PAGE:"previous_page",LOGIN_POP_UP:"login_pop_up",HOME_PAGE:"home_page",PW_LENGTH_SUPPORT:"pw_length_support",BACK_TO_CHECKOUT:"back_to_checkout",BACK_TO_DETAILS:"back_to_details"},o="flow-dollar-topped-up",s={CANCEL:"cancel"},i={GENERIC:"GENERIC",HTML:"HTML",LOADING:"LOADING"}},87897:function(e,t,n){n.d(t,{KH:function(){return i},Lt:function(){return l},_l:function(){return s}});var r=n(39959),o=n(29327);let s=(0,r.cn)(!1),i=(0,r.cn)({title:"",message:"",buttons:[],contentType:o.U2.GENERIC,type:"",additionalBtnText:"",id:0}),l=(0,r.cn)("")},43088:function(e,t,n){n.d(t,{NF:function(){return c},Os:function(){return i},Qr:function(){return l},Wm:function(){return s},e9:function(){return a}});var r=n(11548),o=n(88056);let s=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",i=e=>e?.toString().slice(0,3)||"",l=e=>!!e&&0===Object.keys(e).length,c=e=>{if(!e)return;let t=Math.abs((0,r.A)(Date.now(),e,{roundingMethod:"floor"}));if(t>6)return;let n="HOUR";return t<1&&(t=Math.abs((0,o.X)(Date.now(),e,{roundingMethod:"floor"})),n="MINUTE"),t<1&&(t=1),{key:"HOUR"===n?"search_bar.last_resv_hour_desc":"search_bar.last_resv_minute_desc",values:{timeDiff:t}}},a=(e,t)=>{let n=e?.map(e=>e.price)??[],r=n.length>0?Math.min(...n):0;return t&&"-"!==t?t:r}},63726:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(20717),o=n.n(r)},20717:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return c},getImageProps:function(){return l}});let r=n(43150),o=n(10249),s=n(92267),i=r._(n(22314));function l(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=s.Image},37054:function(e,t,n){n.d(t,{$0:function(){return v},AV:function(){return w},Bq:function(){return B},Cg:function(){return p},Ci:function(){return L},D$:function(){return G},DV:function(){return y},Du:function(){return I},GH:function(){return N},K2:function(){return D},Nm:function(){return b},OA:function(){return _},Oo:function(){return R},RC:function(){return k},RG:function(){return h},Tv:function(){return u},VB:function(){return H},W$:function(){return S},ZF:function(){return F},_C:function(){return P},cG:function(){return M},h6:function(){return c},hF:function(){return a},ko:function(){return C},od:function(){return A},ok:function(){return g},pG:function(){return f},pJ:function(){return m},r9:function(){return O},s3:function(){return V},sV:function(){return i},tM:function(){return E},tN:function(){return j},tQ:function(){return l},v8:function(){return U},w9:function(){return d},wB:function(){return T},xd:function(){return x}});let r=null,o=()=>r??=Promise.all([n.e(7081),n.e(2732),n.e(7958),n.e(4442),n.e(6141),n.e(450),n.e(1741)]).then(n.bind(n,90450)),s=e=>function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return o().then(t=>t[e](...n))},i=s("sendSignUp"),l=s("sendLogin"),c=s("sendViewBlog"),a=s("sendViewBlogList"),u=s("sendViewOfferArticles"),d=s("sendViewCurrentOffersList"),f=s("sendAddToWishList"),h=s("sendViewSearchResults"),p=s("sendUserActiveSearch"),m=s("sendApplyQuickFilter"),w=s("sendViewItem"),g=s("sendDownloadAppClicked"),_=s("sendSelectCheckInDate"),x=s("sendSelectBookingLength"),v=s("sendSelectCheckInTime"),y=s("sendSelectCheckOutTime"),b=s("sendSelectPurchaseOption"),C=s("sendSelectBookType"),k=s("sendOpenStayFilter"),N=s("sendApplyStayFilter"),j=s("sendClearStayFilter"),O=s("sendSelectStayRow"),S=s("sendAddPaymentInfo"),E=s("sendBeginCheckout"),T=s("sendEcommercePurchase");s("sendFeedSpaceFilter");let L=s("sendCancelBooking");s("sendChatbotButtonClicked");let R=s("sendOvernightBtnClicked"),D=s("sendSocialShareClicked"),I=s("sendSort"),B=s("sendPopularCheckInTimeButtonClicked"),M=s("sendViewBookingSummary"),P=s("sendBookCtaBlocked");s("sendCheckoutViewed"),s("sendPaymentMethodSelected"),s("sendPaymentSubmitted");let A=s("sendCheckoutError"),U=s("sendPaymentRetry"),G=s("sendViewMap"),H=s("sendScrollPhotos"),V=s("sendViewPhotos"),F=s("sendRedeemPerk")}}]);

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.