1import{cy as b,cw as y,aM as v,t as k,bW as S}from"./0_EntryLoginRegisterChunk.A6wBCaPk.js";import{bd as x,A as C,aD as q,aH as B,R as T,bo as f}from"./commonChunk.B_cUH0Zs.js";import"./vendorChunk.LVLHXJtX.js";import{d as j,w as A,e as c,F as M,p}from"../vendors/vendor-stable.Bob7ohop.js";import{q as W,R as F}from"./0_WithdrawChunk.Bv-cc1Gj.js";import"./0_RechargeDialogsChunk.Dyd_ik_d.js";const o={"withdraw-account-wrapper":"_withdraw-account-wrapper_mj4cq_91","rtl-flip-text-withdraw":"_rtl-flip-text-withdraw_mj4cq_104","withdraw-account-modal-text":"_withdraw-account-modal-text_mj4cq_104","withdraw-account-modal-title":"_withdraw-account-modal-title_mj4cq_114","withdraw-account-modal-title-icon":"_withdraw-account-modal-title-icon_mj4cq_119","form-warn-text":"_form-warn-text_mj4cq_124","image-error":"_image-error_mj4cq_131"},[R]=x("dialog-recharge-bank-account"),H=j({name:R,setup(){const{t:s}=C(),i=q(),{visible:l,openOptions:e}=B("rechargeBankAccount"),{addAccountInfo:n,isOpen:h}=b(),{filteredWithdrawTypes:d}=y(),g=v(),r=k();p("isOpen",h),p("acountInfo",n),A(()=>[d.value],()=>{g.getWithdrawSetting(!1);const a=d.value.find(t=>t.typeId===S.BANK);a&&(n.value=a)},{immediate:!0,deep:!0});const u=()=>{var t;const a=(t=e==null?void 0:e.value)==null?void 0:t.success;l.value=!1,typeof a=="function"&&a()},_=()=>{var t;const a=(t=e==null?void 0:e.value)==null?void 0:t.close;l.value=!1,typeof a=="function"&&a()},w=()=>{var t;const a=(t=e==null?void 0:e.value)==null?void 0:t.failed;typeof a=="function"&&a()};return()=>c(T,{class:[o["withdraw-account-wrapper"],i.isRtlLanguage?"":i.rtlClass&&o["rtl-flip-text-withdraw"],r.paymentMode&&o["withdraw-account-modal-wrapper"]],"show-cancel-button":!0,show:l.value,"onUpdate:show":a=>l.value=a,title:s("lobby.finance.withdraw.add.addBank"),overlay:!0,closeOnClickOverlay:!1,showCancelButton:!1,cancelButtonClearBackground:!0,onClose:_,teleport:"body"},{title:()=>{var a,t,m;return c("div",{class:o["withdraw-account-modal-title"]},[(a=n.value)!=null&&a.logo&&r.paymentMode?c(f,{class:o["withdraw-account-modal-title-icon"],src:n.value.logo},null):null,c("span",{class:o["withdraw-account-modal-text"]},[(m=(t=n.value)==null?void 0:t.addTypeName)!=null?m:""])])},default:()=>r.paymentMode?c(M,null,[c("div",{class:o["form-warn-text"]},[c(f,{class:o["image-error"],src:"/lobby_asset/common/web/common/comm_icon_tip1.png"},null),s("lobby.finance.withdraw.warning.bindRechargeWarnText")]),c(W,{close:u,failed:w,skipPassword:!0,skipTwoVerify:!0},null)]):c(F,{close:u,failed:w},null)})}});export{H as default};
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.