1import{a as se}from"./chunk-MKMU6CV3.js";import{a as oe}from"./chunk-7HRBTXX4.js";import{a as re,b as ae}from"./chunk-GK4FMGPU.js";import{a as ne}from"./chunk-GNSVSSEC.js";import"./chunk-FFTXNXI6.js";import"./chunk-5LWFT2LT.js";import{a as X}from"./chunk-WQGKT4QG.js";import{e as ie}from"./chunk-EJMX6GXD.js";import{j as $}from"./chunk-LBFZVMBI.js";import{b as ee,p as te}from"./chunk-SQXH55RY.js";import{A as U,c as z,g as H,l as J,x as Q}from"./chunk-FZLMV5FP.js";import{O as Z}from"./chunk-2RZNBXEW.js";import"./chunk-WUS6VI32.js";import{C as R,ea as q,i as N,j,k as O,p as G,r as K,sa as Y}from"./chunk-LKIBVTZY.js";import"./chunk-IXSVJUWF.js";import"./chunk-VXMZGT4Q.js";import{A as d,B as v,Da as C,Ia as t,Ja as n,Ka as S,La as E,Ma as P,Oa as b,Ra as w,Sa as T,ab as L,bb as s,cb as l,db as A,ga as i,ha as h,jb as y,kb as M,lb as B,nb as D,p as V,pb as F,sb as c,tb as p,ub as W,xa as x}from"./chunk-LZGEQQYD.js";import"./chunk-BW2TMJN6.js";import{j as k}from"./chunk-RNQ7BUHW.js";var le=r=>({open:r});function ce(r,m){if(r&1&&S(0,"app-account-wallet",23),r&2){let a=T(2);C("ngClass",F(1,le,a.accountInfoService.isProviderListOpen))}}function pe(r,m){if(r&1&&(E(0),x(1,ce,1,3,"app-account-wallet",22),P()),r&2){let a=T();i(),C("ngIf",!a.globalData.isMobileStyle&&!(a.cmsService.cmsSetting!=null&&a.cmsService.cmsSetting.isAutoTransfer))}}function me(r,m){r&1&&S(0,"i",29)}function fe(r,m){if(r&1){let a=b();t(0,"div",30)(1,"span"),s(2),c(3,"translate"),n(),t(4,"strong"),s(5),n(),t(6,"input",31),B("ngModelChange",function(o){d(a);let e=T(2);return M(e.transferService.previewBonus,o)||(e.transferService.previewBonus=o),v(o)}),n()()}if(r&2){let a=T(2);i(2),l(p(3,3,"transferPage.previewBonus")),i(3),l(a.transferService.previewBonus),i(),y("ngModel",a.transferService.previewBonus)}}function de(r,m){if(r&1){let a=b();t(0,"div",24)(1,"label"),s(2),c(3,"translate"),t(4,"span"),s(5,"*"),n()(),t(6,"a",25),w("click",function(){d(a);let o=T();return v(o.transferService.openPromotionList())}),x(7,me,1,0,"i",26),t(8,"p"),s(9),c(10,"translate"),n(),S(11,"i",27),n(),x(12,fe,7,5,"div",28),n()}if(r&2){let a=T();i(2),A("",p(3,4,"transferPage.promotionList")," "),i(5),C("ngIf",a.transferService.promoteTitle),i(2),l(a.transferService.promoteTitle?a.transferService.promoteTitle:p(10,6,"transferPage.noThanks")),i(3),C("ngIf",a.transferService.transferForm.promoteId)}}var Ae=(()=>{let m=class m{constructor(f,o,e,u,_,g,I){this.router=f,this.globalData=o,this.transferService=e,this.accountInfoService=u,this.cmsService=_,this.menuService=g,this.langService=I}ngOnInit(){return k(this,null,function*(){var f;this.cmsService.cmsSetting||this.cmsService.initCommonCMS().catch(o=>{console.log(o)}),this.cmsService.cmsSetting&&((f=this.cmsService.cmsSetting)!=null&&f.isAutoTransfer)&&this.router.navigate(["/"]).then(()=>{this.globalData.isApp||window.location.reload()});try{this.menuService.menuData||(yield this.menuService.initMenu()),this.loadIndex()}catch(o){console.error(o)}})}loadIndex(){var f;((f=this.menuService.providerMenuList)==null?void 0:f.length)<0?(this.transferService.providerList.providerMenu=this.menuService.providerMenuList,this.transferService.getLastTransfer()):this.menuService.getProviderMenu("report").then(()=>{this.transferService.providerList.providerMenu=this.menuService.providerMenuList,this.transferService.getLastTransfer()})}ngOnDestroy(){}};m.\u0275fac=function(o){return new(o||m)(h(q),h(Y),h(ie),h(ee),h(Z),h(te),h(O))},m.\u0275cmp=V({type:m,selectors:[["app-transfer"]],standalone:!0,features:[D],decls:53,vars:36,consts:[["Num",""],[3,"title"],[3,"displayMemberInfo"],[1,"acc-block"],[4,"ngIf"],[1,"col"],[1,"form","trans-form"],[1,"select"],[1,"target"],[1,"value"],[1,"select-btn",3,"click"],[1,"icon-bannerarrow"],[1,"transfer-btn",3,"click"],[1,"icon-Transfer_arrow"],["data-show","web-window",1,"tooltip"],["class","form",4,"ngIf"],[1,"form","trans-acc-form"],["for","fAmount"],["type","text","name","fAmount","maxlength","30","placeholder","Please Key In Amount to Transfer",2,"margin-right","3px",3,"ngModelChange","click","ngModel"],[1,"max-btn",3,"click"],[1,"btn-group"],["app-debounce-click","",1,"btn-submit",3,"debounceClick"],["class","money-info-box",3,"ngClass",4,"ngIf"],[1,"money-info-box",3,"ngClass"],[1,"form"],[1,"promotion-select",3,"click"],["class","icon-Bonus",4,"ngIf"],[1,"icon-triangle"],["class","preview-box",4,"ngIf"],[1,"icon-Bonus"],[1,"preview-box"],["type","hidden","name","fBonus","readonly","",3,"ngModelChange","ngModel"]],template:function(o,e){if(o&1){let u=b();S(0,"app-title-nav",1),c(1,"translate"),t(2,"main"),S(3,"app-account-nav",2),t(4,"div",3),x(5,pe,2,1,"ng-container",4),t(6,"div",5)(7,"div",6)(8,"label"),s(9),c(10,"translate"),n(),t(11,"div",7)(12,"p",8),s(13),c(14,"translate"),n(),t(15,"p",9),s(16),c(17,"number"),n(),t(18,"button",10),w("click",function(){return d(u),v(e.transferService.openProviderList("from"))}),S(19,"i",11),n()()(),t(20,"button",12),w("click",function(){return d(u),v(e.transferService.changeArrow())}),S(21,"i",13),t(22,"span",14),s(23),c(24,"translate"),n()(),t(25,"div",6)(26,"label"),s(27),c(28,"translate"),n(),t(29,"div",7)(30,"p",8),s(31),c(32,"translate"),n(),t(33,"p",9),s(34),n(),t(35,"button",10),w("click",function(){return d(u),v(e.transferService.openProviderList("to"))}),S(36,"i",11),n()()(),x(37,de,13,8,"div",15),t(38,"div",16)(39,"label",17),s(40),c(41,"translate"),n(),t(42,"input",18,0),B("ngModelChange",function(g){return d(u),M(e.transferService.transferForm.amount,g)||(e.transferService.transferForm.amount=g),v(g)}),w("ngModelChange",function(g){d(u);let I=L(43);return v(e.transferService.setAmount(g,I))})("click",function(g){return d(u),v(g.target.select())}),n(),t(44,"button",19),w("click",function(){return d(u),v(e.transferService.setAmount(e.transferService.fromBalance))}),s(45),c(46,"translate"),n()(),t(47,"div",20)(48,"button",21),w("debounceClick",function(){return d(u),v(e.transferService.checkTransfer(!0,null))}),s(49),c(50,"translate"),n()()()(),S(51,"app-provider-select")(52,"app-promotion-select"),n()}o&2&&(C("title",p(1,15,"bottomMenu.transfer")),i(3),C("displayMemberInfo",e.globalData.isMobileStyle),i(2),C("ngIf",e.cmsService.cmsSetting),i(4),l(p(10,17,"transferPage.transferFrom")),i(4),l(e.transferService.transferForm.from==="-"?p(14,19,"mainWallet"):e.transferService.providerFromDisplay),i(3),l(e.transferService.fromBalance==-1?"-":W(17,21,e.transferService.fromBalance,"1.2-2")),i(7),l(p(24,24,"transferPage.change")),i(4),l(p(28,26,"transferPage.transferTo")),i(4),l(e.transferService.transferForm.to==="-"?p(32,28,"mainWallet"):e.transferService.providerToDisplay),i(3),l(e.transferService.toBalance==-1?"-":e.transferService.toBalance.toFixed(2)),i(3),C("ngIf",e.transferService.promotionList&&e.transferService.promotionList.length>0),i(3),l(p(41,30,"transferPage.transferAmount")),i(2),y("ngModel",e.transferService.transferForm.amount),i(3),l(p(46,32,"transferPage.max")),i(4),l(p(50,34,"transferPage.transfer")))}
1,dependencies:[ne,ae,K,re,G,U,z,H,Q,J,X,se,oe,R,j,N],encapsulation:2,data:{animation:[$]}});let r=m;return r})();export{Ae as TransferComponent};
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.