(function(){"use strict";var e={96011:function(e,a){const t={username:'',password:'',biyan:'',zhengyan:''};a["Z"]=t},50719:function(e,a,t){t.d(a,{F1:function(){return f},Hz:function(){return v},XG:function(){return A},_i:function(){return I},kC:function(){return b},kj:function(){return s},oU:function(){return u},ps:function(){return w}});var n=t(70781),i=t.n(n),o=t(66309),c=t(86680),r=t(98120);const l=(0,o.ltg)("history"),d=Object.keys(l);function s(){const e=d.includes("appType")||!!localStorage.getItem("isbridApp");window.location.href.includes("appType")&&localStorage.setItem("isbridApp","1");const a=(["VestApp","1"].includes(localStorage.getItem(r.DV)||"")||d.includes("downlodTip"))&&!e,t="casingApp"===localStorage.getItem(r.DV)||d.includes("casingApp");return a&&!localStorage.getItem(r.DV)&&localStorage.setItem(r.DV,"VestApp"),t&&!localStorage.getItem(r.DV)&&localStorage.setItem(r.DV,"casingApp"),{isbridApp:e,isHideDownlod:a,casingApp:t}}function u(){const{isHideDownlod:e,isbridApp:a}=s();return!!e||!(!window._dsbridge&&!window._dswk||a)}function m(e){return new Promise((function(a,t){setTimeout((()=>{t(new Error("request timeout"))}),e)}))}function p(e){const{toast:a}=(0,c.p)();return new Promise(((e,a)=>{e(null)}))}const g=2e3;function h(e,a,t){const n=m(g),o=new Promise(((n,o)=>{i().call(e,a,(function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(a){}n(e),null===t||void 0===t||t(e)}))}));return Promise.race([o,n])}async function b(e){try{return await h("openNativePage",e)}catch(a){return p("与app通讯失败")}}async function A(e){try{return await h("jumpToNativeLogin",e)}catch(a){return p("与app通讯失败")}}async function v(){try{return await h("getAppInfo")}catch(e){return p("与app通讯失败")}}async function f(){try{return await h("getToken")}catch(e){return p("与app通讯失败")}}async function w(e){try{return await h("openPage",e)}catch(a){return p("与app通讯失败")}}async function I(){try{return await h("getCurrentTheme")}catch(e){return p("与app通讯失败")}}},98120:function(e,a,t){t.d(a,{DV:function(){return I},GD:function(){return c},GL:function(){return d},Gj:function(){return w},Hv:function(){return g},Jz:function(){return p},K5:function(){return v},Kc:function(){return m},MF:function(){return r},Oq:function(){return G},Po:function(){return S},WN:function(){return M},Xq:function(){return s},Y0:function(){return A},Zw:function(){return h},aA:function(){return W},b:function(){return u},bD:function(){return y},fM:function(){return f},hL:function(){return b},kR:function(){return i},kc:function(){return l},lQ:function(){return R},os:function(){return k},q2:function(){return C},vF:function(){return N},z6:function(){return o}});var n=t(4071);const i="ACCESS_TOKEN_".concat(n.tq?"H5":"WEB"),o="ACCESS_REFRESH_TOKEN",c=("ACCESS_AGENT_".concat(n.tq?"H5":"WEB"),"CMS_RC"),r="CMS_GLOBEL_CONFIGS",l="CMS_MESSAGE_ACTIVE_PC",d="CMS_USER_REMEMBER",s="CMS_RECHARGE_MODAL_SHOW",u="CANCELORDER_MODAL_SHOW",m="CMS_ACTIVITY_POPUP",p="CMS_PERSONAL_POPUP",g="CMS_CLOSEED_ACTIVITY_POPUP",h="CMS_CLOSEED_PERSONAL_POPUP",b="CMS_CLOSEED_SYSTEM_POPUP",A="STORE_SYSBULLET_POPUP",v="5.5.7.1",f="rcCode",w="proxy",I="CMS_DOWNLOAD",R="CMS_POPUP_LIST",M="CMS_SAFARI_POPUP",C="CMS_AGENT_HOME_POPUP",y="CMS_JUMP_DATA",S="CMS_SPORT_DATA_CODE",W="CMS_LADING",N="SP_SPORT_SOURCES";var G;(functi