1import{qP as i,me as u}from"./commonChunk.BIjOjUCX.js";import{m as p}from"./1_SearchGameChunk.DPI3iJMb.js";import{ba as a}from"./0_EntryLoginRegisterChunk.DEYBGXQ-.js";import{f as m,h as f}from"../vendors/vendor-stable.BZTOV27i.js";import"./vendorChunk.B6ure_9S.js";import"./1_MineChunk.D4xSacn5.js";import"./0_WithdrawChunk.BZmRfyng.js";import"./0_RechargeCommonChunk.CfvjGnyg.js";import"./1_AgentCenterChunk.C1eo237I.js";import"../vendors/vendor-swiper.ByVZYtOX.js";const g={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,showCloseButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,cancelButtonClearBackground:!0,dialogMode:"small"},C=(o=null,e={})=>p({setup(){const{state:s,toggle:l}=u(),n=Object.assign({},g,e);return()=>m(a,f(s,n,{"onUpdate:show":l}),null)}},o);function w(o){var l;if(typeof window=="undefined")return{close:()=>{},instance:{},result:Promise.resolve("cancel")};const e=o.appContext||((l=i.get("App"))==null?void 0:l._context),{instance:t}=C(e,o),s=new Promise((n,c)=>{t.proxy.open({callback:r=>{(r==="confirm"?n:c)(r)}})});return{close:()=>y(t),instance:t,result:s}}const T=o=>w(Object.assign({showCancelButton:!0},o)),y=o=>{var e;o&&("close"in o&&typeof o.close=="function"?o.close():"proxy"in o&&((e=o.proxy)!=null&&e.close)&&o.proxy.close())},A=a;export{A as DialogComponent,y as closeDialog,T as showConfirmDialog,w as showDialog};
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.