PageSourceSearch

https://www.betpawa.com/_next/static/chunks/59491-e38625c4fb594e81.js

js betpawa.com collected 2026-09-25 05:44:36 UTC 6,785 bytes, 1 lines download raw bytes

1!function(){try{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]="af691b4c-5215-4be9-8d2a-5aca63b3e0ad",e._sentryDebugIdIdentifier="sentry-dbid-af691b4c-5215-4be9-8d2a-5aca63b3e0ad")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59491],{2195:(e,t,n)=>{n.d(t,{T:()=>h});var s=n(73691),r=n(93786),o=n(35078),u=n(58497),i=n(46733),c=n(36423),l=n(17138),a=n(84949),d=n(22858),E=n(71354),f=n(20999),S=n(2150),k=n(23349),y=n(54096),p=n(61839),C=n(98901),v=n(82515),D=n(40743),N=n(55144),g=n(32675),R=n(18530),T=n(49239);const{startSession:_,cancelSession:L,resetSession:I}=l.O.actions,{addNotification:A}=D.y.actions,b=new Set([a.yk.EXPIRED,a.yk.BLOCKED,a.yk.FAILED,a.yk.ATTEMPTS_EXCEEDED]);function h(){const e=(0,o.YQ)(),{events:t}=(0,r.useRouter)(),{trackSetupSuccess:n,trackSetupError:l}=(0,g.J_)(),D=(0,i.Sx)(),h=(0,s.useRef)(null),m=(0,s.useRef)(null),O=(0,s.useRef)(!0),U=(0,f.Bn)(),w=(0,f.Se)(),P=(0,u.gS)(),M=(0,u.HB)(),F=(0,o.N4)(e=>e.passkeyRegistrationSession.otpRequired),K=(0,u.XU)(),X=(0,o.N4)(e=>e.passkeyRegistrationSession.registrationToken),Y=(0,u.l0)(),B=(0,f.Dx)(),G=(0,o.N4)(e=>e.passkeyRegistrationSession.ceremonyIssuedAt),W=(0,f.rw)();var x;const q=null!==(x=(0,c.s5)(Y))&&void 0!==x?x:B,H=!0===F&&!!X&&void 0===q,Q=M!==a.yk.IDLE&&M!==a.yk.ATTEMPTS_EXCEEDED&&!0===F&&!H,V=(0,s.useRef)(M),$=(0,s.useRef)(P);(0,s.useEffect)(()=>{V.current=M,$.current=P});const j=(0,s.useCallback)(function(t){let{keepSession:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=h.current;s&&(h.current=null,s(t),n||e(I()))},[e]);(0,s.useEffect)(()=>{if(h.current){if(M===a.yk.SUCCESS)return n({otpRequired:F,otpCodeLength:null!=q?q:null}),e(w?(0,p.D)({type:C.C.PASSKEY_SETUP_SUCCESS,params:null,config:{displayPeriodMs:y.TI}}):A({status:N.Tr.SUCCESS,content:N.Qr.PASSKEY_SETUP_SUCCESS,closable:!0})),e((0,v.T)({body:{key:"passkey_prompt_outcome",value:T.R0.ENROLLED}})),void j({status:a.yk.SUCCESS});var t;if(M!==a.yk.ATTEMPTS_EXCEEDED)if(H)j({status:a.yk.FAILED,errorCode:S.tG.UNKNOWN});else if(M!==a.yk.CANCELLED)if((null==K?void 0:K.code)!==S.tG.WEBAUTHN_CREDENTIAL_LIMIT_REACHED&&(null==K?void 0:K.code)!==S.tG.WEBAUTHN_OTP_NOT_REQUIRED)if(M!==a.yk.FAILED)if(!0!==F){var s;M===a.yk.CEREMONY_FAILED&&j({status:a.yk.CEREMONY_FAILED,errorCode:null!==(s=null==K?void 0:K.code)&&void 0!==s?s:S.tG.UNKNOWN},{keepSession:!0})}else{if(O.current)return;j({status:a.yk.FAILED,errorCode:S.tG.UNKNOWN})}else j({status:a.yk.FAILED,errorCode:null!==(t=null==K?void 0:K.code)&&void 0!==t?t:S.tG.UNKNOWN});else j({status:a.yk.FAILED,errorCode:K.code});else j({status:a.yk.CANCELLED});else j({status:a.yk.ATTEMPTS_EXCEEDED})}},[M,K,F,H,e,n,j,w,q]);const z=(0,s.useRef)(null);(0,s.useEffect)(()=>{var e;b.has(M)?m.current===P&&z.current!==M&&(l(null!==(e=null==K?void 0:K.code)&&void 0!==e?e:"unknown",{otpRequired:F,otpCodeLength:null!=q?q:null}),z.current=M):z.current=null},[M,P,null==K?void 0:K.code,F,q,l]);const J=(0,s.useCallback)(()=>{h.current&&e(L())},[e]),Z=(0,s.useCallback)(()=>{h.current&&e(I())},[e]),ee=(0,s.useCallback)(()=>{V.current===a.yk.CEREMONY_FAILED&&$.current&&$.current===m.current&&e(I())},[e]);(0,s.useEffect)(()=>()=>{Z(),ee()},[Z,ee]),(0,s.useEffect)(()=>(t.on("routeChangeStart",J),()=>{t.off("routeChangeStart",J)}),[t,J]);const te=(0,s.useCallback)(t=>{if(h.current)return Promise.resolve({status:a.yk.CANCELLED});var n;O.current=null===(n=null==t?void 0:t.allowOtpStep)||void 0===n||n;const s=!(0,c.kG)(G,W),r=M===a.yk.CEREMONY_FAILED&&s?P:null,o=!0===U;return new Promise(t=>{if(h.current=t,r)return m.current=r,void e((0,d.F)({sessionId:r,ceremonyRetryTtlSec:W}));const n=(0,k.i)();m.current=n;const s=(0,c.eR)((0,R.l)(),D);e(_({sessionId:n,label:s,otpRequired:o})),o||e((0,E.O)({sessionId:n}))})},[e,D,M,P,U,G,W]);return(0,s.useMemo)(()=>({register:te,isOtpSheetOpen:Q}),[te,Q])}},42075:(e,t,n)=>{n.d(t,{C3:()=>i,sf:()=>u,vn:()=>c});var s=n(73691),r=n(36423);let o=null;function u(){return null!=o||(o=(0,r.ON)()),o}
1function i(){const[e,t]=(0,s.useState)(void 0);return(0,s.useEffect)(()=>{let e=!1;return u().then(n=>{e||t(n)}),()=>{e=!0}},[]),e}function c(){return!0===i()}},44810:(e,t,n)=>{n.d(t,{v:()=>o});var s=n(20999),r=n(46733);function o(){const e=(0,r.XI)(),t=(0,r.xo)(),n=(0,r.zq)(),o=(0,s.cv)();if(!e)return!1;const u=(null==t?void 0:t.terms_accepted_date)?new Date(t.terms_accepted_date):null,i=(null==n?void 0:n.signedUp)?new Date(n.signedUp):null,{displayTerms:c,termsActivationDate:l}=null!=o?o:{};if(!o)return!1;if(!c)return!1;if(!l)return!0;const a=new Date(l);if(isNaN(a.getTime()))return!0;const d=null!=i&&i.getTime()<a.getTime(),E=null!=u&&u.getTime()>a.getTime();return c&&d&&!E}},49239:(e,t,n)=>{n.d(t,{$L:()=>f,R0:()=>S,T7:()=>k});var s=n(73691),r=n(93786),o=n(72247),u=n.n(o),i=n(35078),c=n(46733),l=n(20999),a=n(42075),d=n(26493),E=n(44810);const f=15,S={ENROLLED:"enrolled",DECLINED:"declined"};function k(){const e=(0,i.YQ)(),t=(0,c.XI)(),n=(0,r.useRouter)(),o=(0,l.u5)(),f=(0,l.Bn)(),k=(0,l.KF)(),y=(0,a.vn)(),p=(0,c.Sx)(),C=(0,c.jk)(),v=(0,i.N4)(e=>{var t;return null===(t=e.userSlice.componentData)||void 0===t?void 0:t.preference}),D=(0,i.N4)(e=>e.userSlice.signupAt),N=null!=v;var g;const R=function(e,t,n,s,r,o,i,c,l){return!!e&&!0===t&&!!n&&"/"===s&&!!r&&!!o&&!(c&&Date.now()-c<1e3*l)&&(!i||i!==S.ENROLLED&&i!==S.DECLINED&&u()().isAfter(u()(i)))}(o,f,t,null!==(g=n.asPath.split("?")[0])&&void 0!==g?g:"",y,N,null==v?void 0:v.passkey_prompt_outcome,D,k);(0,s.useEffect)(()=>{R&&!C&&e((0,d.P)())},[R,C,e]);const T=(0,E.v)(),_=function(e,t,n){return!(!e||!t||n>0)}(R,C,p.length),L=_&&!T;return(0,s.useMemo)(()=>({shouldShowPrompt:L}),[L])}},58497:(e,t,n)=>{n.d(t,{$K:()=>a,HB:()=>r,XU:()=>u,g:()=>l,gS:()=>o,l0:()=>i,xV:()=>c});var s=n(35078);function r(){return(0,s.N4)(e=>e.passkeyRegistrationSession.status)}function o(){return(0,s.N4)(e=>e.passkeyRegistrationSession.sessionId)}function u(){return(0,s.N4)(e=>e.passkeyRegistrationSession.error)}function i(){return(0,s.N4)(e=>e.passkeyRegistrationSession.otpCodeLength)}function c(){return(0,s.N4)(e=>e.passkeyRegistrationSession.selectedMethod)}function l(){return(0,s.N4)(e=>e.passkeyRegistrationSession.resendAvailableAt)}function a(){return(0,s.N4)(e=>e.passkeyRegistrationSession.resendPending)}},93485:(e,t,n)=>{function s(e){return e?"".concat(e.substring(0,4)," ").concat(e.substring(4)):""}function r(e,t){if(!e)return"";const n=t?"+".concat(t):"",s=n&&e.startsWith(n)?e.slice(n.length):e,r=s.slice(-3),o="*".repeat(Math.max(0,s.length-3)),u=t?"+".concat(t," "):"";return"".concat(u).concat(o).concat(r)}n.d(t,{V:()=>r,g:()=>s})}}]);

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.