1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"btse@2f4cc265"};var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ac717130-ea9d-4f25-863b-9408af62c7b4",e._sentryDebugIdIdentifier="sentry-dbid-ac717130-ea9d-4f25-863b-9408af62c7b4")}catch(n){}}();import{ai as e,aS as a,ap as n,a5 as r,r as s,aO as t,cp as o,a8 as i,ab as c,a9 as l,aa as _,aK as d}from"./B-0vxubZ.js";import{u,R as p,cG as f,is as R,dx as A}from"./fTPyrBIP.js";import{_ as E}from"./SJUTAzMa.js";import"./CEBSnBgb.js";import"./D8-5GxBK.js";import"./chunk-lottie.tqfMQl6Y.js";import"./SmGL2nNO.js";import"./chunk-web3.BZXhiO4y.js";import"./chunk-web3-onboard-utils.iUTN3q_9.js";import"./chunk-sentry.DKA24Cnk.js";const b={VUE_APP_AFFILIATE_BRANCH_IO_URL:"https://y34pn.app.link/e/H7CvWTv4vFb",VUE_APP_CN_AFFILIATE_BRANCH_IO_URL:"https://y34pn.app.link/e/0Mby8cVN4Fb",VUE_APP_CN_REFERRAL_BRANCH_IO_URL:"https://y34pn.app.link/e/YWL9jk0N4Fb",VUE_APP_REFERRAL_BRANCH_IO_URL:"https://y34pn.app.link/e/jhGjQBUuuFb"},h={key:0,class:"loading-cover"},w={class:"loading-icon-container"},I=E(e({__name:"Register",setup(e){const{VUE_APP_REFERRAL_BRANCH_IO_URL:E,VUE_APP_AFFILIATE_BRANCH_IO_URL:I,VUE_APP_CN_REFERRAL_BRANCH_IO_URL:y,VUE_APP_CN_AFFILIATE_BRANCH_IO_URL:m}=b,L=a(),U=n(),g=u(),{lang:P}=r(g),C=s(!0);function F(e,a){L.replace({name:p.REGISTER,params:{lang:P.value},query:o(e),state:{isInvalidCode:a}})}return t((()=>{!function(){if(!0===function(){const{path:e,params:{payload:a}={}}=U;if(!a)return!1;const n=new URL(window.location.href).searchParams;n.set("ref",a);const r=n.toString();switch(!0){case!f&&E&&e.includes("referral"):return window.location.href=`${E}?${r}`,!0;case!f&&I&&e.includes("partner"):return window.location.href=`${I}?${r}`,!0;case f&&y&&e.includes("referral"):return window.location.href=`${y}?${r}`,!0;case f&&m&&e.includes("partner"):return window.location.href=`${m}?${r}`,!0;case e.includes("referral"):case e.includes("partner"):return F(r),!0;case e.includes("/join"):return async function(e,a){try{C.value=!0;const{referralCode:n}=await R.getReferralCodeByShortLink(e);a.set("ref",n);const r=a.toString();!f&&I?window.location.href=`${I}?${r}`:f&&m?window.location.href=`${m}?${r}`:F(r)}catch{F(null,!0)}}(a,n),!0;default:return!1}}());else L.replace({name:p.HOME,params:{lang:P.value}})}()})),(e,a)=>C.value?(l(),i("div",h,[_("div",w,[d(A)])])):c("",!0)}}),[["__scopeId","data-v-22495c8e"]]);export{I as default}; 2//# sourceMappingURL=BBhaZS-y.js.map
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.