PageSourceSearch

https://agora.gentlemenoftheroad.com/_next/static/chunks/9568-eda640489e3b85b8.js

js gentlemenoftheroad.com collected 2026-10-02 09:57:41 UTC 19,445 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9568],{1175:(e,r,t)=>{t.d(r,{m:()=>o});let n={FIXED:"fixed",PERCENTAGE:"percentage"};class o{static getDisplayServiceFee(e,r){let t=e.serviceFeeType||n.FIXED,o=Math.max(0,e.serviceFee);switch(t){case n.FIXED:return o;case n.PERCENTAGE:if(!r||!e.serviceFeePercentage)return o;return Math.round(r*e.serviceFeePercentage);default:return o}}static getServiceFeeForDisplay(e){return e.serviceFee}}},22914:(e,r,t)=>{t.r(r),t.d(r,{__N_SSG:()=>s,default:()=>l});var n=t(26514);t(75834);var o=t(61525),i=t(4631),s=!0;let l=()=>{let{t:e}=(0,o.Bd)();return(0,n.jsx)(i.A,{error:e("errorPages.404Error"),message:e("errorPages.errorMessage")})}},23215:(e,r,t)=>{t.d(r,{uV:()=>h,Tl:()=>b});var n=t(26514),o=t(40078),i=t(45192),s=t(75834),l=t(77535),a=t(31751),c=t(46206),d=t(86780),u=t(52969),p=t(57355),m=t(99518),x=t(4580),y=t(74299),h=function(e){return e.dark="dark",e.mid="mid",e.light="light",e}({});let f=l.A.create({root:{backgroundColor:p.Jy.white},header:{paddingVertical:p.Kz.M,paddingHorizontal:20,paddingRight:10,display:"flex",flexDirection:"row",borderTopLeftRadius:4,borderTopRightRadius:4},headerContent:{display:"flex",flexDirection:"row",justifyContent:"space-between",flexGrow:1,flexShrink:1},headerLeft:{display:"flex",flexDirection:"column",flexShrink:1},headerRight:{display:"flex",flexDirection:"column",flexShrink:1,paddingLeft:12},buttonContainer:{paddingLeft:10,alignItems:"center",justifyContent:"center"},childrenContainer:{borderWidth:2,borderTopWidth:0,borderBottomLeftRadius:4,borderBottomRightRadius:4}}),b=e=>{let{title:r,subtitle:t,type:l,date:h,children:b,isOpen:g=!0,testId:j,colorTheme:k,onClick:v,openByDefault:S=!1,getButtonAccessibilityLabel:E,backgroundMode:C,closeButtonLabel:w,openButtonLabel:_}=e,z=h?(0,o.A)((0,i.A)(h),"yyyy"):null,[R,T]=(0,s.useState)(g),P=(0,s.useRef)(new a.A.Value(+!!R)).current,D="light"===k,{iconRotate:A,expanded:J,setExpanded:M}=(0,y.En)({openByDefault:S});return(0,n.jsxs)(d.A,{style:f.root,testID:j,..."web"===c.A.OS&&j?{"data-testid":j}:{},children:[(0,n.jsx)(u.A,{accessibilityLabel:R?w:_,accessibilityRole:"button",onPress:()=>{v&&v(),R?a.A.timing(P,{toValue:0,duration:200,useNativeDriver:"web"!==c.A.OS}).start(()=>{T(!1)}):(T(!0),a.A.timing(P,{toValue:1,duration:200,useNativeDriver:"web"!==c.A.OS}).start()),M(!J)},children:(0,n.jsxs)(d.A,{style:[f.header,"mid"===k?{backgroundColor:p.Jy.midGrey}:"light"===k?{backgroundColor:p.Jy.white,borderWidth:2,borderStyle:"solid"}:{backgroundColor:p.Jy.black},R?{}:{borderBottomLeftRadius:4,borderBottomRightRadius:4}],testID:"container-header",children:[(0,n.jsxs)(d.A,{style:f.headerContent,children:[(0,n.jsxs)(d.A,{style:f.headerLeft,children:[(0,n.jsx)(m.E,{bold:!0,size:D?p.s.M:p.s.L,color:D?p.Jy.black:p.Jy.white,children:r}),t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.X,{size:"XS"}),(0,n.jsx)(m.E,{size:p.s.XS,color:D?p.Jy.black:p.Jy.white,children:t})]})]}),(0,n.jsxs)(d.A,{style:f.headerRight,children:[(0,n.jsx)(m.E,{size:p.s.XS,color:D?p.Jy.black:p.Jy.white,children:l}),(0,n.jsx)(x.X,{size:"XS"}),(0,n.jsx)(m.E,{bold:!0,size:p.s.L,color:D?p.Jy.black:p.Jy.white,children:z})]})]}),(0,n.jsx)(d.A,{style:[f.buttonContainer,D&&{paddingLeft:0,paddingRight:10}],children:(0,n.jsx)(y.N2,{title:r,expanded:J,iconRotate:A,backgroundMode:C,getButtonAccessibilityLabel:E})})]})}),R&&(0,n.jsx)(a.A.View,{style:[f.childrenContainer,"mid"===k?{borderColor:p.Jy.midGrey}:{borderColor:p.Jy.black},{opacity:P}],children:b})]})}},87078:(e,r,t)=>{t.d(r,{xi:()=>h,gC:()=>m,UG:()=>p});var n=t(26514),o=t(75834),i=t(77535),s=t(86780),l=t(99518),a=t(98302),c=t(4580),d=t(57355);let u=i.A.create({root:{borderRadius:4,borderWidth:2,borderColor:d.Jy.black,overflow:"hidden"},row:{flexDirection:"row",justifyContent:"space-between"},event:{flexDirection:"row"},summary:{borderTopColor:d.Jy.black,borderTopWidth:2,borderBottomColor:d.Jy.black,paddingHorizontal:20},content:{paddingHorizontal:20,borderTopWidth:2,paddingVertical:d.Kz.M},total:{backgroundColor:d.Jy.veryLightGrey}});var p=function(e){return e.dark="dark",e.mid="mid",e.light="light",e}({});let m=e=>{let{col1Title:r,col2Title:t,rows:i,textContent:a,extraContent:p,style:m,children:x,colorTheme:y}=e;return(0,n.jsxs)(s.A,{style:[u.content,m,"mid"===y&&{borderTopColor:d.Jy.midGrey}],children:[(0,n.jsxs)(s.A,{style:u.row,children:[(0,n.jsx)(l.E,{size:d.s.S,bold:!0,children:r}),t&&(0,n.jsx)(l.E,{size:d.s.S,bold:!0,children:t})]}),!!(null==i?void 0:i.length)&&(0,n.jsx)(c.X,{size:"S"}),i&&(0,n.jsx)(n.Fragment,{children:i.map((e,r)=>(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)(s.A,{style:u.row,testID:"row-".concat(r),children:[(0,n.jsx)(l.E,{color:"mid"===y?d.Jy.midGrey:d.Jy.darkGrey,size:d.s.XS,children:e.lineItem}),(0,n.jsx)(l.E,{color:"mid"===y?d.Jy.midGrey:d.Jy.darkGrey,size:d.s.XS,children:e.price})]}),e.seatingInfo&&e.seatingInfo]},"".concat(e.lineItem,"-").concat(r)))}),a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.X,{size:"M"}),(0,n.jsx)(l.E,{color:"mid"===y?d.Jy.midGrey:d.Jy.darkGrey,size:d.s.XS,children:a})]}),x&&(0,n.jsx)(n.Fragment,{children:x}),p&&(null==p?void 0:p.length)>0&&(null==p?void 0:p.map((e,r)=>(0,n.jsx)(l.E,{color:"mid"===y?d.Jy.midGrey:d.Jy.darkGrey,size:d.s.XS,children:e},r)))]})},x=e=>{let{col1Title:r,col2Title:t,rows:o,textContent:i,extraContent:s}=e;return(0,n.jsx)(m,{rows:o,col1Title:r,col2Title:t,textContent:i,style:u.summary,extraContent:s})},y=e=>{let{children:r,style:t,...o}=e;return(0,n.jsx)(s.A,{style:[u.root,t],...o,children:r})},h=e=>{let{event:r,eventTime:t,getText:o,entry:i,date:l,colorTheme:c}=e,d=r.sections.filter(e=>i.sectionIDs.includes(e.id)).map(e=>({lineItem:o.sectionPriceEach(e),price:o.sectionPriceTotal(e.totalPrice*i.numberOfTickets)}
1));return(0,n.jsxs)(y,{style:"light"===c?{borderWidth:0}:{},children:[(0,n.jsx)(s.A,{style:u.event,testID:"event-summary",children:(0,n.jsx)(a.G$,{date:l,venueLocation:"".concat(r.venue.city,", ").concat(r.venue.country),venueName:r.venue.name,eventTime:t,isExternalEvent:!!r.externalPlatformUrl,externalPlatformName:r.externalPlatformName,externalPlatformUrl:r.externalPlatformUrl})}),!r.externalPlatformUrl&&(0,n.jsx)(x,{rows:d,col1Title:o.totalTickets(i.numberOfTickets),col2Title:o.priceSummary,textContent:o.feesBreakdown(r),extraContent:[o.extraText].filter(Boolean)}),!!o.totalPreAuth&&(0,n.jsx)(m,{col1Title:o.totalPreAuth,textContent:o.totalDescription,style:u.total,extraContent:[o.getTickets,o.doNotGetTickets].filter(Boolean)})]})}},88420:(e,r,t)=>{t.d(r,{n:()=>T});var n=t(26514),o=t(75834),i=t(50812),s=t(84924),l=t(61525),a=t(46225),c=t(57355),d=t(64826),u=t(8499),p=t(26963),m=t(70096),x=t(48745),y=t(34130),h=t(61904),f=t(47977),b=t.n(f),g=t(78440),j=t(99518),k=t(4580),v=t(99113);let S=e=>{let{drawType:r,orderData:t,deferSubmitPayment:i,stripeClientSecret:a,onClosedDraw:d,onPaymentSuccess:u}=e,p=(0,s.useStripe)(),m=(0,s.useElements)(),{t:x}=(0,l.Bd)(["common","ticketing"]),[y,h]=(0,o.useState)(""),[f,S]=(0,o.useState)(null);return(0,o.useEffect)(()=>{if(!p||!m)return;let e=p.paymentRequest({country:"GB",currency:t.eventCurrency.toLowerCase(),total:{label:x("ticketing:paymentRequestLabel",{artistName:t.artistName}),amount:t.totalPrice},requestPayerName:!0,requestPayerEmail:!0});e.canMakePayment().then(r=>{r&&S(e)})},[p,m]),(0,o.useEffect)(()=>{f&&a&&f.on("paymentmethod",async e=>{p&&await i({paymentMethod:null,values:null,stripeClientSecret:a,paymentMethodId:e.paymentMethod.id,confirmCardPaymentOptions:{handleActions:!1},onSubmit:async r=>{let{paymentMethodId:t}=r;d();let{paymentIntent:n,error:o}=await p.confirmCardPayment(a,{payment_method:t},{handleActions:!1});if(o)e.complete("fail"),h(o.message||x("forms:formErrors.generic"));else if(e.complete("success"),(null==n?void 0:n.status)==="requires_action"){let{error:e}=await p.confirmCardPayment(a);e?h(e.message||x("forms:formErrors.generic")):u()}else u()}})})},[f,p,a]),(0,n.jsx)(n.Fragment,{children:f?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.E,{color:c.Jy.black,size:c.s.M,bold:!0,style:{marginBottom:c.Kz.M},children:r===g.N3M.buy_now?x("ticketing:payNowUsing",{amount:t.formattedPrice}):x("ticketing:preAuthButtonUsing",{amount:t.formattedPrice})}),y&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.C,{children:y}),(0,n.jsx)(k.X,{size:"XS"})]}),(0,n.jsx)(s.PaymentRequestButtonElement,{options:{paymentRequest:f}}),(0,n.jsx)("p",{className:b().dynamic([["cd98b3ac01c5ec99",[c.Jy.black,c.Kz.XL,c.Kz.XL,c.Jy.lightGrey]]])+" separator",children:x("ticketing:preAuthUseCard")}),(0,n.jsx)(b(),{id:"cd98b3ac01c5ec99",dynamic:[c.Jy.black,c.Kz.XL,c.Kz.XL,c.Jy.lightGrey],children:"p.separator.__jsx-style-dynamic-selector{color:".concat(c.Jy.black,";display:flex;flex-direction:row;margin-top:").concat(c.Kz.XL,"px;margin-bottom:").concat(c.Kz.XL,'px}p.separator.__jsx-style-dynamic-selector:before,p.separator.__jsx-style-dynamic-selector:after{content:"";flex:1 1;border-bottom:1px solid ').concat(c.Jy.lightGrey,";margin:auto}p.separator.__jsx-style-dynamic-selector:before{margin-right:10px}p.separator.__jsx-style-dynamic-selector:after{margin-left:10px}")})]}):null})};var E=t(86688),C=t(53502);let w=e=>{let{testMode:r,setTestMode:t,setMockQueryResponse:i,setOrderError:s,setStripeClientSecret:a,setIsProcessing:c,orderId:d}=e,{t:u}=(0,l.Bd)(["forms"]),[p,m]=(0,o.useState)(!1),x=e=>{i({success:{order:{__typename:"Order",id:null!=d?d:"",status:g.Re4.intent_created,payment:{__typename:"Payment",clientSecret:"pi_test_123_secret_test456"}}},failed:{order:{__typename:"Order",id:null!=d?d:"",status:g.Re4.intent_failed,payment:null}},processing:{order:{__typename:"Order",id:null!=d?d:"",status:g.Re4.pending,payment:null}},slowResponse:{order:{__typename:"Order",id:null!=d?d:"",status:g.Re4.pending,payment:null}},networkError:null,timeout:{order:{__typename:"Order",id:null!=d?d:"",status:g.Re4.expired,payment:null}}}[e])};return"true"!==C.env.NEXT_PUBLIC_ENABLE_PAYMENT_TEST_MODE?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{onClick:()=>m(!p),style:{position:"fixed",top:"20px",right:"20px",zIndex:1e3,padding:"8px 12px",background:r?"#007bff":"#6c757d",color:"white",border:"none",borderRadius:"4px",cursor:"pointer",fontSize:"12px",fontWeight:"bold"},children:["\uD83E\uDDEA Test Mode ",p?"▼":"▶"]}),p&&(0,n.jsxs)("div",{style:{position:"fixed",top:"60px",right:"20px",zIndex:999,width:"400px",maxHeight:"80vh",overflowY:"auto",background:"white",border:"1px solid #ccc",borderRadius:"8px",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",padding:"16px"},children:[(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"16
1px"},children:[(0,n.jsx)("h4",{style:{margin:0,fontSize:"16px"},children:"Payment Test Controls"}),(0,n.jsx)("button",{onClick:()=>m(!1),style:{background:"none",border:"none",fontSize:"18px",cursor:"pointer",padding:"4px"},children:"\xd7"})]}),(0,n.jsx)("div",{style:{marginBottom:"16px"},children:(0,n.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,n.jsx)("input",{type:"checkbox",checked:r,onChange:e=>{t(e.target.checked),e.target.checked||(i(null),s(null),a(null),c(!1))}}),"Enable Test Mode (Disables Real Polling)"]})}),r&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h5",{style:{margin:"0 0 12px 0",fontSize:"14px"},children:"Mock GraphQL Responses:"}),(0,n.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,n.jsx)("h6",{style:{margin:"0 0 8px 0",fontSize:"12px",color:"#666"},children:"Success Scenarios:"}),(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"4px"},children:[(0,n.jsx)("button",{onClick:()=>x("success"),style:{padding:"6px 10px",background:"#d4edda",border:"1px solid #c3e6cb",borderRadius:"4px",cursor:"pointer",fontSize:"11px"},children:"✅ Success"}),(0,n.jsx)("button",{onClick:()=>{x("processing"),setTimeout(()=>{x("success")},3e3)},style:{padding:"6px 10px",background:"#fff3cd",border:"1px solid #ffeaa7",borderRadius:"4px",cursor:"pointer",fontSize:"11px"},children:"⏳ Slow (3s)"})]})]}),(0,n.jsxs)("div",{style:{marginBottom:"16px"},children:[(0,n.jsx)("h6",{style:{margin:"0 0 8px 0",fontSize:"12px",color:"#666"},children:"Error Scenarios:"}),(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"4px"},children:[(0,n.jsx)("button",{onClick:()=>x("failed"),style:{padding:"6px 10px",background:"#f8d7da",border:"1px solid #f5c6cb",borderRadius:"4px",cursor:"pointer",fontSize:"11px"},children:"❌ Failed"}),(0,n.jsx)("button",{onClick:()=>x("processing"),style:{padding:"6px 10px",background:"#cce5ff",border:"1px solid #b3d9ff",borderRadius:"4px",cursor:"pointer",fontSize:"11px"},children:"\uD83D\uDD04 Processing"}),(0,n.jsx)("button",{onClick:()=>{i(null),s(u("forms:formErrors.paymentUnavailable"))},style:{padding:"6px 10px",background:"#f8d7da",border:"1px solid #f5c6cb",borderRadius:"4px",cursor:"pointer",fontSize:"11px"},children:"\uD83C\uDF10 Network Error"}),(0,n.jsx)("button",{onClick:()=>x("timeout"),style:{padding:"6px 10px",background:"#f8d7da",border:"1px solid #f5c6cb",borderRadius:"4px",cursor:"pointer",fontSize:"11px"},children:"⏰ Expired"})]})]}),(0,n.jsx)("div",{children:(0,n.jsx)("button",{onClick:()=>{i(null),s(null),a(null)},style:{padding:"8px 12px",background:"#e2e3e5",border:"1px solid #d6d8db",borderRadius:"4px",cursor:"pointer",fontSize:"12px"},children:"\uD83D\uDD04 Reset All"})})]})]})]})};var _=t(53502);let z=e=>Math.max(...e.entries.map(e=>e.section).map(e=>e.totalPrice))*e.entries[0].numberOfTickets,R=e=>{let{stripeClientSecret:r,order:t,orderError:i,artist:d,event:p,isProcessing:m=!1}=e,f=(0,u.o3)(),b=(0,a.useRouter)(),{t:j}
1=(0,l.Bd)(["ticketing","forms","common"]),C=(0,s.useStripe)(),w=(0,o.useRef)(r);w.current=r;let[_,R]=(0,o.useState)(!0),T=j(p.draw.type===g.N3M.buy_now?"ticketing:buyNowButton":"ticketing:preAuthButton",{amount:t?(0,x.vv)(z(t),p.currency,p.locale):""}),P=()=>{var e;if(!(0,x.x$)(null==d||null==(e=d.activeDraw)?void 0:e.endsAt))return void b.replace("/closed","/closed")},D=()=>{f.reset(),b.replace("/tickets/event/[id]/confirmation?order=".concat(t.id),"/tickets/event/".concat(p.id,"/confirmation?order=").concat(t.id))};async function A(e){let{paymentMethod:r,values:t,stripeClientSecret:n,paymentMethodId:o,confirmCardPaymentOptions:i}=e,s={payment_method:r&&t&&!o?{card:r,billing_details:{address:{line1:t.line1,postal_code:t.postal_code,country:t.country},name:t.name}}:o};if((null==t?void 0:t.checkboxValue)&&(s.setup_future_usage="on_session"),!C)return;let{error:l}=await C.confirmCardPayment(n,s,i);if(l)throw Error(l.message||j("forms:formErrors.generic"));D()}async function J(e){let{paymentMethod:r,values:t,paymentMethodId:n,confirmCardPaymentOptions:o,onSubmit:i}=e,s=w.current;return s?i({paymentMethod:r,values:t,stripeClientSecret:s,paymentMethodId:n,confirmCardPaymentOptions:o}):new Promise((e,s)=>{setTimeout(async()=>{try{await J({paymentMethod:r,values:t,stripeClientSecret:w.current,paymentMethodId:n,confirmCardPaymentOptions:o,onSubmit:i}),e()}catch(e){s(e)}},1e3)})}return(0,n.jsx)(n.Fragment,{children:m?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.C,{children:j("forms:formErrors.paymentProcessing")}),(0,n.jsx)(k.X,{size:"L"}),(0,n.jsx)(E.a,{loadingText:"Loading...",artistColor:d.themeColour})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{drawType:p.draw.type,orderData:{artistName:d.name,eventCurrency:p.currency,totalPrice:z(t),formattedPrice:(0,x.vv)(z(t),p.currency,p.locale)},onClosedDraw:P,stripeClientSecret:r,deferSubmitPayment:J,onPaymentSuccess:D}),_?(0,n.jsx)(y.Q,{brandColor:d.themeColour,themeColor:c.Jy.black,focusCardButton:!0,tourId:parseInt(p.tour.id),buttonText:T,fatalErrorMessage:i,onSubmit:async e=>(P(),J({paymentMethod:null,values:null,stripeClientSecret:r,paymentMethodId:e,onSubmit:A})),labelText:j("common:paymentMethods.payWith"),noPaymentMethodsCallback:()=>R(!1)}):(0,n.jsx)(h.k,{brandColor:d.themeColour,themeColor:c.Jy.black,buttonText:T,fatalErrorMessage:i,checkboxLabel:j("common:paymentMethods.savePaymentMethod"),showCheckbox:!0,onSubmit:async(e,t)=>(P(),J({paymentMethod:e,values:t,stripeClientSecret:r,paymentMethodId:void 0,onSubmit:A}))})]})})},T=e=>{let{orderId:r,order:t,artist:a,event:c}=e,{t:u}=(0,l.Bd)(["forms"]),{stripePromise:x}=(0,p.ib)(),[y,h]=(0,o.useState)(null),[f,b]=(0,o.useState)(null),[g,j]=(0,o.useState)("true"===_.env.NEXT_PUBLIC_ENABLE_PAYMENT_TEST_MODE),[k,v]=(0,o.useState)(null),[S,{data:E,stopPolling:C,error:z}]=(0,i._l)(m.KM,{pollInterval:2e3*!g,ssr:!1}),T=g?k:E;(0,o.useEffect)(()=>{var e,r,t,n;(null==T||null==(r=T.order)||null==(e=r.payment)?void 0:e.clientSecret)?(b(T.order.payment.clientSecret),g||C(),h(null),D(!1)):(null==T||null==(t=T.order)?void 0:t.status)==="intent_failed"?(h(u("forms:formErrors.paymentUnavailable")),D(!1)):(null==T||null==(n=T.order)?void 0:n.status)==="pending"&&(h(u("forms:formErrors.paymentProcessing")),D(!0))},[T,u,C,g]);let[P,D]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{r&&!g&&S({variables:{id:r}})},[r,g,S]),(0,o.useEffect)(()=>{z?h(u("forms:formErrors.paymentUnavailable")):h(null)},[z,u]),(0,n.jsxs)(s.Elements,{stripe:x,options:d.b,children:[(0,n.jsx)(w,{testMode:g,setTestMode:j,setMockQueryResponse:v,setOrderError:h,setStripeClientSecret:b,setIsProcessing:D,orderId:r}),(0,n.jsx)(R,{stripeClientSecret:f,orderError:y,order:t,artist:a,event:c,isProcessing:P})]})}},89110:(e,r,t)=>{t.d(r,{t:()=>l});var n=t(26514),o=t(75834),i=t(99518),s=t(4580);class l extends o.Component{render(){return this.state.hasError?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.X,{size:"XL"}),(0,n.jsx)(i.E,{bold:!0,children:"\uD83E\uDD26‍♀️ Something went wrong."}),(0,n.jsx)(s.X,{size:"XL"})]}):this.props.children||null}constructor(...e){super(...e),this.state={hasError:!1}}}l.getDerivedStateFromError=()=>({hasError:!0})},94178:(e,r,t)=>{t.d(r,{R:()=>l});var n=t(75834),o=t(46225),i=t(554),s=t(70611);let l=e=>{let{nextHrefPathname:r,registrationPathname:t="register",signInPathname:l="sign-in",ignoreLoggedOut:a=!1,cb:c}=e,d=(0,i.b)(),u=(0,o.useRouter)(),{isReady:p}=(0,o.useRouter)(),m=(0,n.useRef)(null),x="/".concat(t);return(0,n.useEffect)(()=>
1{if(!p)return;let e=(0,s.z6)(r);switch(d){case"loggedOut":if(a)break;m.current=setTimeout(()=>{m.current=null,u.replace({pathname:"/".concat(l),query:{nextHref:e}})},150);break;case"needsVerificationWithToken":m.current&&(clearTimeout(m.current),m.current=null),u.replace({pathname:"".concat(x,"/confirm-phone-number"),query:{nextHref:e}});break;case"needsVerificationWithoutToken":m.current&&(clearTimeout(m.current),m.current=null),u.replace({pathname:"".concat(x,"/enter-phone-number"),query:{nextHref:e}});break;case"verified":m.current&&(clearTimeout(m.current),m.current=null),null==c||c();break;default:m.current&&(clearTimeout(m.current),m.current=null)}return()=>{m.current&&(clearTimeout(m.current),m.current=null)}},[d,p]),{authStatus:d}}},99113:(e,r,t)=>{t.d(r,{C:()=>d});var n=t(26514),o=t(75834),i=t(77535),s=t(86780),l=t(99518),a=t(57355);let c=i.A.create({messageView:{backgroundColor:a.Jy.errorRed,borderRadius:4,paddingVertical:a.Kz.XS,paddingHorizontal:a.Kz.M,flexDirection:"row"},emoji:{marginRight:a.Kz.XS}}),d=e=>{let{children:r}=e,t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{t.current&&t.current.focus()},[]),(0,n.jsxs)(s.A,{style:c.messageView,ref:t,focusable:!1,children:[(0,n.jsx)(l.E,{size:a.s.S,style:c.emoji,children:"\uD83D\uDC4B"}),(0,n.jsx)(l.E,{color:a.Jy.white,size:a.s.XS,textProps:{accessibilityRole:"alert"},children:r})]})}}}]);

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.