PageSourceSearch

https://tickets.empiretheatre.com.au/web/_next/static/chunks/pages/account/verify/[token]-f37473895ad84d87.js

js empiretheatre.com.au collected 2026-10-03 23:02:06 UTC 2,174 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1561],{32183:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>n,default:()=>c});var l=r(58585),n=!0;let c=l.default},42876:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/verify/[token]",function(){return r(32183)}])},58585:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>_,default:()=>x,getVerifyAccountServerSideProps:()=>k});var l=r(50979),n=r(84614),c=r(8119),s=r(45625),o=r(49181),i=r(25963),a=r(92458),u=r(91993),d=r(62097);let f=e=>{let{t}=(0,n.Bd)(["account"]),r=(0,a.br)(),f=(0,o.useRouter)(),[y,h]=(0,i.useState)(!1),[v,_]=(0,i.useState)(!1),k=async()=>{c.Ay.start();let t=await u.A.verifyCustomer(e.token,e.seller._id).catch(e=>null);c.Ay.stop(),t?(h(!0),setTimeout(()=>{f.push((0,a.oU)(e.seller,r))},3e3)):(_(!0),setTimeout(()=>{f.push("".concat((0,a.oU)(e.seller,r),"/account/edit"))},3e3))};return(0,l.jsx)(d.v,{hideAccountPill:!0,children:(0,l.jsx)("div",{className:"main",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)(s.A,{title:t("account:verify.verifyAccount"),children:[!y&&!v&&(0,l.jsx)("p",{children:t("account:verify.clickToVerify")}),y&&(0,l.jsx)("p",{children:t("account:verify.verifySuccess")}),v&&(0,l.jsx)("p",{children:t("account:verify.verifyError")}),!y&&!v&&(0,l.jsx)("button",{type:"button",className:"btn default block mt-0",onClick:()=>k(),disabled:c.Ay.loading,children:t("account:verify.verifyAccount")})]})})})})};var y=r(81438),h=r(33792),v=r(92200),_=!0;let k=async(e,t,r)=>{var l,n;let c=null==(n=e.query)||null==(l=n.token)?void 0:l.toString();try{let l=await v.A.fetchSellerInfo(r,e.detectedLocale),n=(0,a.Wq)(t.domainCtx,l._id,l.orgId);return t.domainCtx=await n,{token:c,seller:l}}catch(e){}return{seller:null,organization:null}},x=e=>{let{t}=(0,n.Bd)(["auth"]);return e.token?e.seller?(0,l.jsx)(h.O3,{seller:e.seller,children:(0,l.jsx)(f,{token:e.token,seller:e.seller})}):(0,l.jsx)(y.M,{code:404,message:t("seller:sellerCouldNotBeFound")}):(0,l.jsx)(y.M,{code:404,message:t("auth:verifyAccount.pageNotFoundError")})}}},e=>{e.O(0,[7310,95,589,885,6878,8367,3407,7681,6707,6099,575,2194,636,6593,8792],()=>e(e.s=42876)),_N_E=e.O()}]);

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.