1const __vite__fileDeps=["assets/vendors/vendor-swiper.BqvbXe0X.css","assets/theme-0/commonChunk.DukCAJCj.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); 2import{_ as u}from"./vendorChunk.BdsO83GQ.js";import{cS as g,h as p,hc as y,bE as w,bA as h,D as m,cY as _,k9 as D}from"./commonChunk.Dhe5lqYh.js";import"../vendors/vendor-stable.B8ub4Ug6.js";const I=g(()=>u(()=>import("./commonChunk.Dhe5lqYh.js").then(e=>e.xW),__vite__mapDeps([0,1])),e=>e.navigateToWithdrawPage,"navigateToWithdrawPage"),P=g(()=>u(()=>import("./commonChunk.Dhe5lqYh.js").then(e=>e.xW),__vite__mapDeps([0,1])),e=>e.openRechargeModal,"openRechargeModal"),c=y,T=D;let r;const i={Paymodal:()=>P(),PaymodalPreSelect:e=>_({payKind:e.paykind,payTypeId:e.payTypeId,channelId:e.channelId})},E=(e,t)=>{var o;try{return e==="Paymodal"&&t.paykind?i.PaymodalPreSelect(t):(o=i[e])!=null&&o.call(i,t)||h().open(e,t),!0}catch(n){return!1}},d=e=>e instanceof Error?e.message:String(e),R=e=>{const{error:t,isSomeErrorText:o=!0,onConfirm:n}=e,s=d(t),{t:a}=p();c({type:"error",title:()=>a("lobby.common.tips.title"),className:"host-envs_tg-micro-app",confirmButtonText:()=>a("lobby.common.tips.confirm"),message:()=>(o?`${a("lobby.error.microAppLoginFailed")}[${s||"Network Error"}]`:s)||"Unknown Error",showCancelButton:!1,showCloseButton:!1,closeOnRouteChange:!1,onConfirm:n})},v=e=>{const t=d(e),{t:o}=p();c({type:"error",title:()=>o("lobby.common.tips.title"),className:"host-envs_tg-micro-app",confirmButtonText:()=>o("lobby.common.tips.confirm"),message:()=>o("lobby.tgma.e1",{m:t}),showCancelButton:!1,showCloseButton:!1,showConfirmButton:!1,closeOnRouteChange:!1})},l=e=>{if(r){e==null||e();return}w("APP_BEFORE_MOUNTED",()=>{r=h(),e==null||e()})},A=()=>{let e=!1;return l(()=>{e=!0,r==null||r.lockAutoDialog()}),()=>{e&&(r==null||r.unlockAutoDialog())}},C=e=>{const t=o=>{const n=s=>{if(s.name&&e.includes(s.name))return o(s);const a=()=>{},f={close:a,instance:{proxy:{open:a,close:a}},result:Promise.resolve("cancel")};return Promise.resolve(f)};return Object.assign(n,o),n};m.showConfirmDialog=t(T),m.showDialog=t(c),l(()=>{const o=r.open;r.open=(n,...s)=>n&&e.includes(n)?o(n,...s):!1})},b=()=>(l(),{forbidAutoDialog:A,createDialogGuard:C}),S=Object.freeze(Object.defineProperty({__proto__:null,createDialogOperator:b,openDialog:E,showDialog:c,showInitFailed:v,showLoginFailed:R},Symbol.toStringTag,{value:"Module"}));export{b as c,S as d,I as n,E as o,R as 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.