1var _sentryDebugIds,_sentryDebugIdIdentifier;void 0===_sentryDebugIds&&(_sentryDebugIds={});try{var stack=(new Error).stack;stack&&(_sentryDebugIds[stack]="fd51763e-472c-4171-8d27-7aad9fb52606",_sentryDebugIdIdentifier="sentry-dbid-fd51763e-472c-4171-8d27-7aad9fb52606")}catch(e){} 2var SENTRY_RELEASE;SENTRY_RELEASE={name: "Taalimi", version: "1.1.9"}; 3__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return w}});var t=r(d[0]),n=e(r(d[1])),o=e(r(d[2])),s=e(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),f=r(d[7]),p=r(d[8]),y=r(d[9]),h=r(d[10]),v=r(d[11]),x=r(d[12]),b=r(d[13]),k=r(d[14]);function w(){const e=(0,l.useRouter)(),{email:w,preview:j,sampleLevel:S}=(0,l.useLocalSearchParams)(),_=(0,y.useAuthStore)(e=>e.pendingVerificationEmail),E=w??_??'your email address',[A,C]=(0,t.useState)(!1),[P,V]=(0,t.useState)(!1),[B,N]=(0,t.useState)(''),[L,M]=(0,t.useState)(''),R=(0,t.useCallback)(async(t=!1)=>{C(!0),t||(N(''),M(''));try{await(0,p.continueAfterEmailVerification)(),await(0,x.captureAnalytics)('email_verification_completed',{entry_point:t?'app_return':'verification_button'}),e.replace({pathname:'/onboarding',params:{preview:'completed'===j?'completed':void 0,sampleLevel:'completed'===j?(0,b.parseSampleDifficulty)(S)??void 0:void 0}})}catch(e){if(t)return;const n=(0,v.getAuthErrorMessage)(e);M(n),(0,h.showAppDialog)({title:'Verification Not Ready',body:n})}finally{C(!1)}},[j,S,e]);async function D(){V(!0),N(''),M('');try{await(0,p.resendCurrentVerificationEmail)(),N('We sent a fresh verification link. Please check your inbox, Spam, or Junk folder.')}catch(e){const t=(0,v.getAuthErrorMessage)(e);M(t),(0,h.showAppDialog)({title:'Could Not Resend',body:t})}finally{V(!1)}}async function O(t){try{await(0,p.signOut)()}catch(e){console.warn('Could not sign out while leaving verification.',e)}finally{e.replace(t)}}return(0,t.useEffect)(()=>{(0,x.captureAnalytics)('email_verification_viewed');const e=n.default.addEventListener('change',e=>{'active'===e&&R(!0)});return()=>e.remove()},[R]),(0,k.jsx)(c.SafeView,{className:"px-6",children:(0,k.jsxs)(s.default,{className:"flex-1 justify-center gap-5",children:[(0,k.jsx)(o.default,{className:"font-sans-bold text-2xl text-text",children:"Check Your Email"}),(0,k.jsxs)(o.default,{className:"font-sans text-sm leading-6 text-ink-dark",children:["We sent a verification link to ",E,". Check your inbox, and if you don't see it, please check your Spam or Junk folder. After you tap the link, come back here and continue."]}),B?(0,k.jsx)(f.StatusCard,{variant:"success",title:"Email sent",body:B}):null,L?(0,k.jsx)(f.StatusCard,{variant:"warning",title:"Verification not ready",body:L}):null,(0,k.jsx)(u.Button,{title:"I've Verified My Email",onPress:()=>{R(!1)},loading:A,disabled:P,accessibilityHint:"Checks whether Firebase has confirmed your email verification."}),(0,k.jsx)(u.Button,{title:"Resend Verification Email",variant:"outline",onPress:()=>{D()},loading:P,disabled:A,accessibilityHint:"Sends a new verification email to your parent account email address."}),(0,k.jsx)(u.Button,{title:"Back to Login",variant:"ghost",onPress:()=>{O('/(auth)/login')}}),(0,k.jsx)(u.Button,{title:"Back to Welcome",variant:"ghost",onPress:()=>{O('/(auth)/welcome')}})]})})}},733,[12,343,132,427,766,780,779,783,810,787,809,813,791,878,6]);
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.