PageSourceSearch

https://aero.com/_next/static/chunks/pages/waitlist-201d5a22ffa849df.js

js aero.com collected 2026-10-02 06:24:28 UTC 6,726 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9908],{93348:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/waitlist",function(){return e(78818)}])},4278:function(t,n,e){"use strict";e.d(n,{F:function(){return v}});var i=e(26042),r=e(85893),o=e(67294),a=e(78435),u=e(14333),s=e(96271),c=e(7697),l=e(75828),f=e(11624),d=e(75354),m=new Proxy({},{get:function(){throw new Error("Attempted to use location at server-side!")}}),h=(0,d.s)()?m:window.location,g=e(11163),x=e(65379),p=function(){return(0,r.jsx)(r.Fragment,{})},w=function(){return(0,r.jsx)(r.Fragment,{})},v=function(t){var n=t.location,e=t.useRouter,d=t.useReturnToAfterEmailVerified,m=void 0===d?x.M:d;return function(t){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(h){var g=(0,a.u)().useProfile,x=d.onRedirecting,v=void 0===x?p:x,j=d.onError,b=void 0===j?w:j,T=g(),E=T.user,P=T.error,_=T.isLoading,L=e(),R=m().setReturnToAfterEmailVerified,k=function(){R(L.asPath),L.replace((0,l.q)({modalName:c.B.VerifyEmail,path:"/",hideCloseButton:!0}),void 0)},I=(0,o.useRef)(k);return I.current=k,(0,o.useEffect)((function(){if(!_){if(!E||P){if((0,s.f1)(P)&&P.type===s.sy.TokenExpired){var t=f.v.public.appBaseUrl.concat(u._.authSessionExpired.url);return n.replace("/api/auth/logout?returnTo=".concat(encodeURI(t)))}var e=n.toString(),i=e.replace(new URL(e).origin,"");n.replace("/api/auth/login?returnTo=".concat(encodeURIComponent(i)))}E&&!E.emailVerified&&I.current()}}),[E,P,_]),P?(0,s.f1)(P)?b(new Error(P.type)):b(new Error(JSON.stringify(P))):E&&E.emailVerified?(0,r.jsx)(t,(0,i.Z)({},h)):v()}}}({location:h,useRouter:g.useRouter,useReturnToAfterEmailVerified:x.M})},56119:function(t,n,e){"use strict";e.d(n,{X:function(){return a}});var i=e(59661),r=e(41948),o=i.S.WaitList,a=function(t){var n=t.getI18nInstance,e=void 0===n?r.z:n;return{joinTitle:function(){return e().t("wait-list.join.title",{ns:o})},joinDescription:function(t){return e().t("wait-list.join.description",{ns:o,name:t,context:t?"with-name":"without-name"})},joinButtonLabel:function(){return e().t("wait-list.join.button.label",{ns:o})},passengers:function(){return e().t("wait-list.join.passengers",{ns:o})},confirmationTitle:function(t){return e().t("wait-list.confirmation.title",{ns:o,name:t,context:t?"with-name":"without-name"})},confirmationDescription:function(){return e().t("wait-list.confirmation.description",{ns:o})},seatsRequested:function(){return e().t("wait-list.confirmation.seatsRequested",{ns:o})},confirmationAdult:function(t){return e().t("wait-list.confirmation.adult",{ns:o,count:t})},confirmationInfant:function(t){return e().t("wait-list.confirmation.infant",{ns:o,count:t})},confirmationPetUnderSeat:function(t){return e().t("wait-list.confirmation.pet-under-seat",{ns:o,count:t})},confirmationPetInSeat:function(t){return e().t("wait-list.confirmation.pet-in-seat",{ns:o,count:t})},confirmationPet:function(t){return e().t("wait-list.confirmation.pet",{ns:o,count:t})},confirmationTripSegmentLabel:function(t){return e().t("wait-list.confirmation.".concat(t),{ns:o})},confirmationFindAnotherFlightButtonLabel:function(){return e().t("wait-list.confirmation.find-another-flight",{ns:o})}}}({getI18nInstance:r.z})},78818:function(t,n,e){"use strict";e.r(n),e.d(n,{__N_SSP:function(){return W},default:function(){return N}});var i=e(85893),r=e(67294),o=e(19945),a=e(7297),u=e(78435),s=e(33029),c=function(t){return""!==(null===t||void 0===t?void 0:t.firstName)?null===t||void 0===t?void 0:t.firstName:null===t||void 0===t?void 0:t.email},l=e(56119);function f(){var t=(0,a.Z)(["\n  word-break: break-word;\n"]);return f=function(){return t},t}var d=(0,s.ZP)(o.ZT).withConfig({componentId:"sc-d5f932da-0"})(f()),m=function(t){var n=t.waitListLocator;return function(){var t=(0,(0,u.u)().useProfile)().user;return(0,i.jsxs)(o.xu,{paddingTop:[0,5],maxWidth:480,mx:"auto",children:[(0,i.jsx)(o.ZT,{as:"h1",variant:"headingXLarge",children:n.joinTitle()}),(0,i.jsx)(d,{variant:"headingXLarge",color:"lightQuinary",children:n.joinDescription(c(t))})]})}}({waitListLocator:l.X}),h=e(26042),g=e(69396),x=e(96164),p=e(7952),w=e(20189),v=e(32166),j=e(6304),b=e(36828),T=e(20977),E=e(63076),P=e(34582),_=function(){var t=(0,u.u)(),n=t.useFlightSearchParameters,e=t.useWaitlist,r=t.useProfile,a=(0,P.p)(x.N.Waitlist),s=a.renderToast,c=a.showToast,f=e(),d=f.submitToWaitlist,m=f.submitToWaitlistIsLoading,_=f.abandonWaitlist,L=r({onError:function(){return c({title:E._.error(),children:b.I.fetchError()})}}),R=L.user,k=L.isLoading,I=n(),B=I.adults,Z=I.infants;return(0,i.jsxs)(o.xu,{maxWidth:480,paddingTop:[0,40],marginX:"auto",children:[s(),(0,i.jsx)(o.xE,{"data-testid":j.g.form.backButton,onClick:_}),(0,i.jsx)(w.e,{children:(0,i.jsxs)(o.xu,{marginTop:[2,3],children:[(0,i.jsx)(o.ZT,{marginBottom:1,color:"lightQuinary",variant:"labelMedium",fontWeight:"medium",children:l.X.passengers()}),(0,i.jsx)(o.zt,{value:B.count,text:T.R.adults(B.count),helper:T.R.adultsHint(),borders:["bottom","top"],onDecrement:B.decrement,onIncrement:B.increment,decreaseButton:(0,h.Z)({disabled:!B.canDecrement},(0,v.o)(j.g.form.adultsPicker.decrement)),increaseButton:(0,h.Z)({disabled:!B.canIncrement},(0,v.o)(j.g.form.adultsPicker.increment)),label:(0,h.Z)({},(0,v.o)(j.g.form.adultsPicker.value))}),(0,i.jsxs)(o.xu,{display:"flex",flexDirection:["column","row"],mb:[2,4],children:[(0,i.jsx)(o.xu,{flex:1,children:(0,i.jsx)(o.zt,{rootStyles:{pr:[0,16]},onDecrement:Z.decrement,onIncrement:Z.increment,value:Z.count,text:T.R.infants(Z.count),label:(0,h.Z)({},(0,v.o)(j.g.form.infantsPicker.value)),borders:[["bottom"],["bottom","right"]],decreaseButton:(0,h.Z)({disabled:!Z.canDecrement},(0,v.o)(j.g.form.infantsPicker.decrement)),increaseButton:(0,h.Z)({disabled:!Z.canIncrement},(0,v.o)(j.g.form.infantsPicker.increment))})}),(0,i.jsx)(o.xu,{flex:1,children:(0,i.jsx)(p.P,{borders:[["bottom"],["bottom"]],rootStyles:{paddingLeft:[0,1]}})})]}),(0,i.jsx)(o.zx,(0,g.Z)((0,h.Z)({loading:m||k,onClick:d,disabled:!R,align:"left",iconName:"arrow_E_filled"}
1,(0,v.o)(j.g.form.submit)),{children:l.X.joinButtonLabel()}))]})})]})},L=function(){return(0,i.jsx)(o.Qh,{left:{children:(0,i.jsx)(m,{})},right:{children:(0,i.jsx)(_,{})}})},R=e(14333),k=e(4278),I=e(2962),B=e(13812),Z=e(11163),W=!0,N=(0,k.F)((function(){var t=(0,u.u)().useWaitlist,n=(0,Z.useRouter)(),e=t(),a=e.flightToBeWaitlistedIsLoading,s=e.flightToBeWaitlisted;(0,r.useEffect)((function(){a||s||n.push(R._.flights.url)}),[s,a,n]);var c=a||!a&&!s;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(I.PB,{title:B.x.pageTitleWaitlistJoin()}),c?(0,i.jsx)(o.gb,{}):(0,i.jsx)(L,{})]})}))}},function(t){t.O(0,[9774,2888,179],(function(){return n=93348,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.