PageSourceSearch

https://11win.ai/assets/theme-0/navigateToKYC.impl.B6v6ejbD.js

js 11win.ai collected 2026-10-05 11:54:47 UTC 2,655 bytes, 1 lines download raw bytes

1import{cf as h,aO as o,bI as k,ki as b,av as q,fG as K,io as T,bx as v,qz as U,hg as w,hl as A,qQ as F,j as Y,m as f,qP as D,dR as L}from"./commonChunk.ClFq2l8G.js";import{h as J,i as G}from"./1_MineChunk.1j_jT2i0.js";import{n as M}from"./2_EventDialogsChunk.BnDe_Dkw.js";import{af as l}from"./0_EntryLoginRegisterChunk.DeQ-Ywc2.js";import{m as Q}from"../vendors/vendor-stable.B-qaYwd4.js";import"./vendorChunk.B0S1SHvJ.js";import"./0_RechargeDialogsChunk.UPDYD78c.js";import"./0_WithdrawChunk.BzTLyrq2.js";import"./1_AgentCenterChunk.Cz5FR2RW.js";import"../vendors/vendor-swiper.BdYoNCW0.js";import"./1_PromotionChunk.FeY6TfYO.js";import"./1_SearchGameChunk.BENWLfH4.js";const re=r=>{const n=h();if([o.KYC,o.SECURITY].includes(n.route.name))return!1;const{kycConfig:m,isNeedUpIdSelfieAfterKYC:g,legalFormFieldConfig:{legalUserEkycFace:S,legalUserEkycDoc:y}}=l(),{statusPhone:p}=J(),{enableUsingSms:C}=k(),N=b();r=Q({needRedirect:!0,isForce:m.isRequired,needIdSelfie:g,needIdSelfieOptions:{whenTriggerNotSupportOS:!0},useReplace:!1},r);const I=()=>{const e={};let i={};if(r.isForce&&(e.force=!0),r.sceneCode&&(e.sceneCode=r.sceneCode),r.backNeedRedirect&&(e.backNeedRedirect=r.backNeedRedirect),r.needRedirect&&(!r.useReplace||r.redirectLocation)){const{name:t,query:E,params:P}=n.route;i=r.redirectLocation||{name:t,query:E,params:P},e.redirect=encodeURIComponent(JSON.stringify(i))}if(r.needIdSelfie){const t={force:S.isRequired};e.redirect&&(t.redirect=i.name===o.IDSelfie?e.redirect:encodeURIComponent(JSON.stringify({name:o.ROOT}))),e.backNeedRedirect=!0,e.noDialog=!0,e.redirect=encodeURIComponent(JSON.stringify({name:o.IDSelfie,query:t}))}return e},s=()=>r.needIdSelfie&&U(),d=()=>{(r.useReplace?n.replace:n.push)({name:o.KYC,query:c})},{isApp:O,isLite:R,isVest:u}=q.package;if(!O&&!R&&!u&&!K().device.isMobile&&!T())return v().open("kycNeedMobile",{openType:r.needMobileDialogOpenType||"insert",options:{onClose:()=>{var e;return((e=r.needIdSelfieOptions)==null?void 0:e.whenTriggerNotSupportOS)&&s()}}}),!1;const{kycDynamicConfig:a}=l();if(a!=null&&a.isAllow&&a.isAllow!==w.ALLOW)return A(a.isAllow),!1;const c=I();if(y.isNeedBindPhone&&p.value.type!==G.VERIFICATION&&C){const e=r.isForce;return F(i=>{const t={force2Page:!0,query:{redirect:encodeURIComponent(JSON.stringify({name:o.KYC,query:c})),...e?{forceHideBack:!0}
1:{}},onSuccess(){d()},onCancel(){s()}};Y().validateConfigStatus()[f.PHONE]&&(t.query.verification=f.PHONE),i?M(t):s()},e),!1}if(u){const e=D(c,{stringify:!0,doNotEncodeKeys:"*"}),i=`${location.origin}/home/kyc?_ti=${window.btoa(JSON.stringify(N.tokenInfos))}&${e}`;return L(i),!1}return d(),!0};export{re as navigateToKYC};

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.