PageSourceSearch

https://www.goldenheartsgames.com/chunk-RRXXZMSW.js

js goldenheartsgames.com collected 2026-10-03 23:45:10 UTC 8,121 bytes, 1 lines download raw bytes

1import{$b as x,D as B,E as $,F as K,Xb as M,Yb as _,Zb as Z,_b as Q,ab as J,ac as z,vb as Y,wb as G}from"./chunk-LS24A6DE.js";import{p as v}from"./chunk-BNOJBRMD.js";import{Fa as j,Gb as F,Hb as R,Ib as A,Ja as N,Lb as C,Mb as k,Q as y}from"./chunk-PULBI4KM.js";import{a as O}from"./chunk-YW6DWN4T.js";import{$ as W,Ca as D,Da as U,Ea as S,Fa as q,Ga as V,p as w}from"./chunk-PT5IPMWH.js";import{a as T}from"./chunk-A5KRY6GU.js";import{q as r}from"./chunk-ICEETNFI.js";import{d as t}from"./chunk-G44W6JOE.js";import{D as L,E as n,F as f,L as c,ba as P,da as l,ga as h,n as E,s as p,t as b}from"./chunk-EN2B4KZW.js";var H=class{static kycBlockStatusIdvIsEnabledAndRequired$(i){return b([i.pipe(r(W)),i.pipe(r(D)),i.pipe(r(F),p(e=>e.jumio_enabled)),i.pipe(r(R),p(e=>e?.kyc_block_status_idv))]).pipe(p(([e,o,s,d])=>e&&o&&s&&d))}static kycRedemptionIdvIsEnabledAndRequired$(i){return b([i.pipe(r(S),p(e=>!e)),i.pipe(r(D)),i.pipe(r(F),p(e=>e.jumio_enabled)),i.pipe(r(R),p(e=>e?.redemption_idv))]).pipe(p(([e,o,s,d])=>e&&o&&s&&d))}static kycPurchaseLimitIdvIsEnabledAndRequired$(i,e){return b([i.pipe(r(S),p(o=>!o)),i.pipe(r(D)),i.pipe(r(F),p(o=>o.jumio_enabled)),i.pipe(r(R),p(o=>o?.monthly_purchase_limit_idv))]).pipe(p(([o,s,d,a])=>e&&o&&s&&d&&a))}static ensureUserIdIsVerified(i,e,o,s,d){return b([e.pipe(r(U)),e.pipe(r(A))]).pipe(c(1),l(([a,m])=>{let I=m.max_retries*m.retry_pause_seconds;return(a?this.reAuth(i,e,o,s,d):this.verifyId(i,e,o,s,d)).pipe(c(1),l(u=>u.authResponse?(e.dispatch(C({msg:t.spinnerMessages.gettingKYCResults(I)})),e.dispatch(K({data:u,flow:o})),f(e.pipe(r(x),n(g=>!!g),h(()=>{e.dispatch(k()),e.dispatch(v())})),e.pipe(r(z),n(g=>!!g),h(g=>{e.dispatch(k()),e.dispatch(v()),this.displayErrorDialog(i,e,g)}))).pipe(c(1))):(e.dispatch(y({message:"Oops, it looks like the identity verification pop-up was closed. If you are still not verified, please try again by clicking \u201CVerify\u201D on the My Account page.",hideExitButton:!0,hideSupportButton:!0,secondaryButtonText:"CLOSE",secondaryButtonTestID:"kyc-dialog-closed-error-dialog-close-button",contentTestID:"kyc-dialog-closed-error-dialog-content"})),L)))}))}static verifyWithoutDialog(i,e,o,s,d){return b([e.pipe(r(U)),e.pipe(r(A))]).pipe(c(1),l(([a,m])=>{let I=m.max_retries*m.retry_pause_seconds;return e.dispatch(B({flow:o})),e.dispatch(C({msg:t.spinnerMessages.loadingJumio})),f(e.pipe(r(M),n(u=>!!u),c(1),l(u=>this.openKycDialogFlow(e,u))),e.pipe(r(_),n(u=>!!u),h(u=>{e.dispatch(k()),this.displayErrorDialog(i,e,u)}),l(()=>E(null)))).pipe(c(1)).pipe(c(1),l(u=>u?u.authResponse?(e.dispatch(C({msg:t.spinnerMessages.gettingKYCResults(I)})),e.dispatch(K({data:u,flow:o})),f(e.pipe(r(x),n(g=>!!g),h(()=>{e.dispatch(k()),e.dispatch(v())})),e.pipe(r(z),n(g=>!!g),h(g=>{e.dispatch(k()),e.dispatch(v()),this.displayErrorDialog(i,e,g)}))).pipe(c(1))):(e.dispatch(y({message:"Oops, it looks like the identity verification pop-up was closed. If you are still not verified, please try again by clicking \u201CVerify\u201D on the My Account page.",hideExitButton:!0,hideSupportButton:!0,secondaryButtonText:"CLOSE",secondaryButtonTestID:"kyc-dialog-closed-error-dialog-close-button",contentTestID:"kyc-dialog-closed-error-dialog-content"})),E(null)):E(null)))}))}static displayErrorDialog(i,e,o){switch(o){case t.ghgErrorCodes.kyc.socialOnlyState:{e.dispatch(y({message:"We're sorry, but it looks like you reside in a state that does not allow sweepstakes participation. Please contact our Support Team if you have any questions.",zendeskTicketFormId:t.zendesk.ticketFormIds.suspectFraudOrClosedUnderReview}));break}case t.ghgErrorCodes.kyc.verificationRejection:case t.ghgErrorCodes.kyc.userRejected:{e.dispatch(y({message:"We\u2019re sorry, but we are unable to verify your identity. For your security, your account has been locked. Please contact our Support Team for additional assistance.",zendeskTicketFormId:t.zendesk.ticketFormIds.suspectFraudOrClosedUnderReview}));break}case t.ghgErrorCodes.kyc.verificationAddressRejected:{e.dispatch(y({message:"We\u2019re sorry, but your address could not be verified. Please contact our Support Team to update your address.",zendeskTicketFormId:t.zendesk.ticketFormIds.updateAccountInfo}));break}case t.ghgErrorCodes.kyc.prohibitedState:{e.dispatch(y({message:"We're sorry, but it looks like you reside in a state or region where we currently do not allow participation. As a result, your account has been closed. For additional information, please contact our Support Team.",zendeskTicketFormId:t.zendesk.ticketFormIds.accountCreationOrLoginIssue}));break}case t.ghgErrorCodes.kyc.userDisabled:case t.ghgErrorCodes.kyc.globalDisabled:case t.ghgErrorCodes.kyc.flowDisabled:case t.ghgErrorCodes.kyc.vendorUnavailable:case t.ghgErrorCodes.kyc.tokenError:{e.dispatch(y({message:"We\u2019re sorry, but an unexpected error occurred while trying to verify your identity. Please try refreshing your browser before attempting again.",zendeskTicketFormId:t.zendesk.ticketFormIds.accountCreationOrLoginIssue}));break}case t.ghgErrorCodes.kyc.duplicateId:{e.dispatch(y({message:"We're sorry, but it looks like you are using an ID that has already been scanned. For your security, your account has been closed. Please contact our Support Team for additional assistance.",navigateToURL:T.LOGOUT,hideExitButton:!0,hideSupportButton:!0,secondaryButtonText:"CONTINUE"}));break}case t.ghgErrorCodes.kyc.userPending:{e.dispatch(y({message:"We're sorry, but it looks like you already have a verification request pending. Please allow up to 15 minutes before attempting again.",zendeskTicketFormId:t.zendesk.ticketFormIds.accountCreationOrLoginIssue,hideSupportButton:!0}));break}case t.ghgErrorCodes.kyc.mismatch:{e.dispatch(y({message:"Oops - It looks like the information on your photo ID does not match the information on your account profile. As a result, we are required to temporarily suspend your account so we can collect additional documentation to ensure we have your correct information. Please contact our Support Team at your convenience.",zendeskTicketFormId:t.zendesk.ticketFormIds.accountCreationOrLoginIssue})),e.pipe(r(J),c(1)).subscribe(()=>i.navigate([T.LOGOUT]));break}case t.ghgErrorCodes.kyc.noDecisionMax:break;case t.ghgErrorCodes.kyc.accountError:case t.ghgErrorCodes.kyc.badDecisionLabel:case t.ghgErrorCodes.kyc.dataError:case t.ghgErrorCodes.kyc.resultExtractionDataError:case t.ghgErrorCodes.kyc.wrongUser:case t.ghgErrorCodes.kyc.transactionNotFound:case t.ghgErrorCodes.kyc.vendorTimeout:default:{e.dispatch(y({message:"We\u2019re sorry, but an unexpected error occurred while trying to verify your identity. Please check your verification status on your My Account page. If you are still not verified, please try again by clicking \u201CVerify\u201D on the My Account page.",navigateToURL:T.MY_ACCOUNT,hideExitButton:!0,hideSupportButton:!0,secondaryButtonText:"CONTINUE"}));break}}}static reAuth(i,e,o,s,d){return this.openIdvRequiredDialogFlow(e,s,d).pipe(c(1),n(a=>a),c(1),l(()=>(e.dispatch($({flow:o})),f(e.pipe(r(Z),n(a=>!!a),c(1),l(a=>this.openKycDialogFlow(e,a))),e.pipe(r(Q),n(a=>!!a),h(a=>{e.dispatch(k()),this.displayErrorDialog(i,e,a)}),l(()=>E(null)))).pipe(c(1)))))}static verifyId(i,e,o,s,d){return this.openIdvRequiredDialogFlow(e,s,d).pipe(c(1),n(a=>a),h(()=>
1e.dispatch(C({msg:t.spinnerMessages.loadingJumio}))),c(1),l(()=>(e.dispatch(B({flow:o})),f(e.pipe(r(M),n(a=>!!a),c(1),l(a=>this.openKycDialogFlow(e,a))),e.pipe(r(_),n(a=>!!a),h(a=>{e.dispatch(k()),this.displayErrorDialog(i,e,a)}),l(()=>E(null)))).pipe(c(1)))))}static openIdvRequiredDialogFlow(i,e,o){return b([i.pipe(r(w),n(s=>!!s),p(s=>O.getArticleUrl(t.zendesk.articleIds.jumio,s))),i.pipe(r(w),n(s=>!!s),p(s=>O.getTicketUrl(t.zendesk.ticketFormIds.suspectFraudOrClosedUnderReview,s))),i.pipe(r(V)),i.pipe(r(q))]).pipe(c(1),l(([s,d,a,m])=>(i.dispatch(N({learnMoreUrl:s,supportUrl:d,isPending:a,isRedemption:e,isRejected:m,isPurchase:o})),i.pipe(r(G),n(I=>!!I),p(I=>I.doVerify)))))}static openKycDialogFlow(i,e){return i.dispatch(j({src:e})),i.dispatch(k()),i.pipe(r(Y),P(o=>!!o),n(o=>!!o),c(1))}};export{H as a};

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.