1import{a as Xe,b as Ze}from"./chunk-GK4FMGPU.js";import{a as ze}from"./chunk-GNSVSSEC.js";import{a as Ke}from"./chunk-Z6YKEPQR.js";import"./chunk-RBT7V6O6.js";import{a as Je,b as Ce,c as L}from"./chunk-4ZUV4ZKP.js";import"./chunk-WTEBCJXP.js";import"./chunk-FFTXNXI6.js";import{b as Ye}from"./chunk-WH22GQDU.js";import"./chunk-5LWFT2LT.js";import{a as We}from"./chunk-WQGKT4QG.js";import"./chunk-EJMX6GXD.js";import"./chunk-LBFZVMBI.js";import{b as H}from"./chunk-SQXH55RY.js";import{A as K,B as X,c as $,e as T,g as W,h as q,m as Q,n as Ge,q as Y,r as z,s as de,t as ge,u as he,x as He,y as $e,z as J}from"./chunk-FZLMV5FP.js";import{O as Qe,r as Se,x as O}from"./chunk-2RZNBXEW.js";import"./chunk-WUS6VI32.js";import{C as Ue,e as Oe,fa as Re,h as ue,i as N,j as w,k as fe,p as F,q as oe,r as B,ra as qe,sa as M,v as G}from"./chunk-LKIBVTZY.js";import{b as je}from"./chunk-IXSVJUWF.js";import"./chunk-VXMZGT4Q.js";import{$a as Ae,A as C,B as I,Da as s,Ea as _e,Fa as Ne,Ga as we,Ia as l,Ja as c,K as D,Ka as h,La as U,Ma as R,Oa as k,Ra as _,Sa as u,Za as Be,_a as De,ab as Fe,bb as m,cb as S,db as y,eb as me,ga as a,ha as v,mb as ee,nb as E,ob as A,p as x,pb as P,rb as Te,sb as f,tb as d,ub as Me,xa as b,xb as Le,z as Ee}from"./chunk-LZGEQQYD.js";import{R as xe}from"./chunk-BW2TMJN6.js";import{a as le,b as be,j as Z}from"./chunk-RNQ7BUHW.js";function pt(e,r){e&1&&(l(0,"p",10),m(1),f(2,"translate"),c()),e&2&&(a(),y(" ",d(2,1,"fastLoginPage.thankUpdatedBirthday")," "))}var et=(()=>{let r=class r{constructor(){this.isVerifyProfileSuccess=!1,this.sucessMessage="",this.closeVerifySuccessPopupEvent=new D}ngOnInit(){}closeVerifySuccessPopup(){this.closeVerifySuccessPopupEvent.emit(!1)}};r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=x({type:r,selectors:[["app-verify-success"]],inputs:{isVerifyProfileSuccess:"isVerifyProfileSuccess",sucessMessage:"sucessMessage"},outputs:{closeVerifySuccessPopupEvent:"closeVerifySuccessPopupEvent"},standalone:!0,features:[E],decls:16,vars:8,consts:[[1,"popup-box","small"],[1,"popup-title"],[1,"popup-block"],[1,"verify-success-box"],[1,"icon-congratulations_gift"],[1,"success-text"],["class","popup-text",4,"ngIf"],[1,"btn-group","full-width"],[1,"btn-default","submit",3,"click"],[1,"mask","popup"],[1,"popup-text"]],template:function(o,n){o&1&&(l(0,"div",0)(1,"p",1)(2,"strong"),m(3),f(4,"translate"),c()(),l(5,"div",2)(6,"div",3),h(7,"i",4),l(8,"p",5),m(9),c(),b(10,pt,3,3,"p",6),c(),l(11,"div",7)(12,"button",8),_("click",function(){return n.closeVerifySuccessPopup()}),m(13),f(14,"translate"),c()()()(),h(15,"div",9)),o&2&&(a(3),S(d(4,4,"fastLoginPage.congratulations")),a(6),S(n.sucessMessage),a(),s("ngIf",n.isVerifyProfileSuccess),a(3),y(" ",d(14,6,"confirm")," "))},dependencies:[B,w,N],encapsulation:2});let e=r;return e})();var mt=e=>({verify:e}),ut=()=>({color:"red"});function ft(e,r){e&1&&(l(0,"strong"),m(1),f(2,"translate"),c()),e&2&&(a(),y(" ",d(2,1,"fastLoginPage.verifyEamil")," "))}function dt(e,r){e&1&&(l(0,"strong"),m(1),f(2,"translate"),c()),e&2&&(a(),y(" ",d(2,1,"fastLoginPage.verifyPhoneNumber")," "))}function gt(e,r){if(e&1&&(l(0,"p",16),m(1),f(2,"translate"),l(3,"strong",17),m(4),c(),m(5),f(6,"translate"),f(7,"translate"),c()),e&2){let t=u();a(),y(" ",d(2,4,"fastLoginPage.verifyEmailSent")," "),a(3),y('"',t.email,'"'),a(),me("",d(6,6,"fastLoginPage.already"),". ",d(7,8,"fastLoginPage.verifyEmailbyOtp")," ")}}function ht(e,r){if(e&1&&(l(0,"p",16),m(1),f(2,"translate"),l(3,"strong",17),m(4),c(),m(5),f(6,"translate"),f(7,"translate"),c()),e&2){let t=u();a(),y(" ",d(2,4,"fastLoginPage.verifyPhoneNumberSent")," "),a(3),y('"+'," "+t.phoneNumber+" ",'"'),a(),me("",d(6,6,"fastLoginPage.already"),". ",d(7,8,"fastLoginPage.verifyPhoneNumberbyOtp")," ")}}function vt(e,r){if(e&1&&(l(0,"div",18)(1,"span",19),m(2),f(3,"translate"),c(),l(4,"span",20),m(5),f(6,"translate"),c()()),e&2){let t=u();a(2),me("",t.timer," ",d(3,3,"fastLoginPage.second"),""),a(3),S(d(6,5,"fastLoginPage.resendLater"))}}function yt(e,r){if(e&1){let t=k();l(0,"button",21),_("click",function(){C(t);let o=u();return I(o.onResend())}),m(1),f(2,"translate"),c()}e&2&&(a(),y(" ",d(2,1,"fastLoginPage.resendLater")," "))}function bt(e,r){if(e&1&&(l(0,"p",22),m(1),c()),e&2){let t=u();s("ngStyle",t.errorMessage&&A(2,ut)),a(),y(" ",t.errorMessage," ")}}var tt=(()=>
1{let r=class r{constructor(i,o,n,p,g,V){this.fb=i,this.globalData=o,this.http=n,this.translate=p,this.storageService=g,this.accountInfoService=V,this.email="",this.phoneNumber="",this.closeVerifyOtpPopupEvent=new D,this.openVerifySuccessPopupEvent=new D,this.RESED_INTERVAL_EMAIL=600,this.RESED_INTERVAL_PHONE=180,this.timer=0,this.isShowResetBtn=!1,this.errorMessage="",this.contactCountry="",this.contactNumber="",this.oriContactNumber=""}ngOnInit(){var i;this.memInfo=this.storageService.getMemberInfoFromCookie(),this.contactCountry=this.phoneNumber.split(" ")[0],this.contactNumber=this.phoneNumber.split(" ")[1],this.oriContactNumber=(i=this.memInfo)==null?void 0:i.contactNumber,this.setTimer(),this.verifyOtpForm=this.fb.group({otp:["",[T.required,T.pattern("[0-9]{6}")]]})}setSeconds(){this.email?this.timer=this.RESED_INTERVAL_EMAIL:this.timer=this.RESED_INTERVAL_PHONE}setTimer(){clearInterval(this.timerId),this.setSeconds(),this.timerId=setInterval(()=>{this.timer=this.timer-1,this.timer===0&&(clearInterval(this.timerId),this.isShowResetBtn=!0)},1e3)}closeVerifyOtpPopup(){this.closeVerifyOtpPopupEvent.emit(!1)}backToCount(){this.isShowResetBtn=!1,this.setSeconds(),this.setTimer(),this.globalData.loading=!1}onResend(){if(this.globalData.loading=!0,this.email){let i={MailTo:this.email};this.http.sendEmailToVerifyCode(i).subscribe(o=>{o.code===0?this.backToCount():this.globalData.showAlert(o.code)})}if(this.phoneNumber){this.contactNumber===this.oriContactNumber&&(this.contactNumber="");let i={ContactCountry:this.contactCountry,ContactNumber:this.contactNumber};this.http.sendTelMemEditPhone(i).subscribe(o=>{o.code===0?this.backToCount():this.globalData.showAlert(o.code)})}}onSubmit(){return Z(this,null,function*(){let{otp:i}=this.verifyOtpForm.value;this.globalData.loading=!0,this.email&&(yield this.editMemberEmail(i)),this.phoneNumber&&(yield this.editMemberPhone(i).then(()=>{this.accountInfoService.loadProfileData()}))})}editMemberEmail(i){return new Promise(o=>{let n={MemEmail:this.email,ActivationCode:String(i)};this.http.editMemberEmail(n).subscribe(p=>{if(p.code===0){let g=be(le({},this.memInfo),{memEmail:this.email});this.storageService.setMemberInCookie(g),this.openVerifySuccessPopupEvent.emit({message:this.translate.instant("fastLoginPage.emailVerified"),type:"email"}),this.closeVerifyOtpPopupEvent.emit(!1),o(!0)}else p.code===1430074?this.globalData.showDirectAlert("accountDetailsPage.emailUnderVerify",0,()=>window.location.reload(),1430074):this.globalData.showAlert(p.code);this.globalData.loading=!1})})}editMemberPhone(i){return new Promise(o=>{this.contactNumber===this.oriContactNumber&&(this.contactNumber="");let n={Sendphone:String(i),ContactCountry:this.contactCountry,ContactNumber:this.contactNumber,Act:"SAVE"};this.http.editMemberPhone(n).subscribe(p=>{if(p.code===0){let g=be(le({},this.memInfo),{contactCountry:this.contactCountry,contactNumber:this.contactNumber});this.storageService.setMemberInCookie(g),this.openVerifySuccessPopupEvent.emit({message:this.translate.instant("fastLoginPage.phoneNumberVerified"),type:"phoneNumber"}),this.closeVerifyOtpPopupEvent.emit(!1),o(!0)}else p.code===1440433?this.globalData.showAlert(p.code,0,()=>window.location.reload()):this.globalData.showAlert(p.code);this.globalData.loading=!1})})}ngOnDestroy(){clearInterval(this.timerId)}};r.\u0275fac=function(o){return new(o||r)(v(J),v(M),v(O),v(ue),v(Oe),v(H))},r.\u0275cmp=x({type:r,selectors:[["app-verify-otp"]],inputs:{email:"email",phoneNumber:"phoneNumber"},outputs:{closeVerifyOtpPopupEvent:"closeVerifyOtpPopupEvent",openVerifySuccessPopupEvent:"openVerifySuccessPopupEvent"},standalone:!0,features:[E],decls:24,vars:21,consts:[[1,"popup-box","small"],[3,"click","ngClass"],[1,"icon-Close"],[1,"popup-title","no-border"],[4,"ngIf"],[1,"popup-block",3,"formGroup"],["class","popup-text",4,"ngIf"],[1,"form"],[1,"code-input"],["type","number","placeholder","Enter OTP","formControlName","otp"],["class","otp-count",4,"ngIf"],["class","input-btn submit",3,"click",4,"ngIf"],["class","popup-note",3,"ngStyle",4,"ngIf"],[1,"btn-group","full-width"],[1,"btn-default",3,"click","ngClass","disabled"],[1,"mask","popup"],[1,"popup-text"],[1,"popup-note"],[1,"otp-count"],[1,"time"],[1,"text"],[1,"input-btn","submit",3,"click"],[1,"popup-note",3,"ngStyle"]],template:function(o,n){o&1&&(l(0,"div",0)(1,"button",1),_("click",function(){return n.closeVerifyOtpPopup()}),h(2,"i",2),c(),l(3,"div",3),b(4,ft,3,3,"strong",4)(5,dt,3,3,"strong",4),c(),l(6,"form",5),b(7,gt,8,10,"p",6)(8,ht,8,10,"p",6),l(9,"div",7)(10,"label"),m(11),f(12,"translate"),c(),l(13,"div",8),h(14,"input",9),b(15,vt,7,7,"div",10)(16,yt,3,3,"button",11),c()(),b(17,bt,2,3,"p",12),l(18,"div",13)(19,"button",14),_("click",function(){return n.onSubmit()}),m(20),f(21,"translate"),f(22,"translate"),c()()()(),h(23,"div",15)),o&2&&(a(),s("ngClass",n.globalData.isMobileStyle?"select-close-btn":"popup-close-btn"),a(3),s("ngIf",n.email),a(),s("ngIf",n.phoneNumber),a(),s("formGroup",n.verifyOtpForm),a(),s("ngIf",n.email),a(),s("ngIf",n.phoneNumber),a(3),S(d(12,13,"profilePage.activationCode")),a(4),s("ngIf",!n.isShowResetBtn),a(),s("ngIf",n.isShowResetBtn),a(),s("ngIf",n.errorMessage),a(2),s("ngClass",P(19,mt,n.verifyOtpForm.valid))("disabled",!n.verifyOtpForm.valid),a(),y(" ",n.email?d(21,15,"fastLoginPage.verificationEmail"):d(22,17,"fastLoginPage.verificationOtp")," "))},dependencies:[F,B,K,Q,$,Ge,W,q,X,Y,z,G,w,N],encapsulation:2});let e=r;return e})();var _t=e=>({submit:e}),St=()=>({color:"red"});function Ct(e,r){if(e&1&&(l(0,"p",11),m(1),c()),e&2){let t=u();s("ngStyle",t.verifyEmailForm.controls.email.errors&&A(2,St)),a(),y(" ",t.verifyEmailForm.controls.email.errors.message," ")}}var it=(()=>
1{let r=class r{constructor(i,o,n,p){this.fb=i,this.formValidators=o,this.globalData=n,this.http=p,this.closeVerifyEmailPopupEvent=new D,this.openVerifyOtpPopupEvent=new D}ngOnInit(){this.createVerifyEmailForm(),this.initEmail()}createVerifyEmailForm(){this.verifyEmailForm=this.fb.group({email:["",[T.required,this.formValidators.createEmailValidator()]]})}initEmail(){let{memEmail:i}=this.memInfo;this.emailCtrl.setValue(i)}get emailCtrl(){return this.verifyEmailForm.controls.email}closeVerifyEmailPopup(){this.closeVerifyEmailPopupEvent.emit(!1)}modifyEamil(i){let o={MailTo:i};this.http.sendEmailToVerifyCode(o).subscribe(n=>{n.code===0?(this.openVerifyOtpPopupEvent.emit({email:i}),this.closeVerifyEmailPopupEvent.emit(!1)):n.code===1430074?this.globalData.showDirectAlert("accountDetailsPage.emailUnderVerify",0,()=>window.location.reload(),1430074):this.globalData.showAlert(n.code),this.globalData.loading=!1})}onSubmit(){let i=this.verifyEmailForm.get("email").value;this.globalData.loading=!0,this.modifyEamil(i)}};r.\u0275fac=function(o){return new(o||r)(v(J),v(L),v(M),v(O))},r.\u0275cmp=x({type:r,selectors:[["app-verify-email"]],inputs:{memInfo:"memInfo"},outputs:{closeVerifyEmailPopupEvent:"closeVerifyEmailPopupEvent",openVerifyOtpPopupEvent:"openVerifyOtpPopupEvent"},standalone:!0,features:[ee([L]),E],decls:20,vars:19,consts:[[1,"popup-box","small"],[3,"click","ngClass"],[1,"icon-Close"],[1,"popup-title","no-border"],[1,"popup-block",3,"ngSubmit","formGroup"],[1,"form"],["type","text","formControlName","email",3,"placeholder"],["class","popup-note",3,"ngStyle",4,"ngIf"],[1,"btn-group","full-width"],[1,"btn-default","submit",3,"ngClass","disabled"],[1,"mask","popup"],[1,"popup-note",3,"ngStyle"]],template:function(o,n){o&1&&(l(0,"div",0)(1,"button",1),_("click",function(){return n.closeVerifyEmailPopup()}),h(2,"i",2),c(),l(3,"div",3)(4,"strong"),m(5),f(6,"translate"),c()(),l(7,"form",4),_("ngSubmit",function(){return n.onSubmit()}),l(8,"div",5)(9,"label"),m(10),f(11,"translate"),c(),h(12,"input",6),f(13,"translate"),c(),b(14,Ct,2,3,"p",7),l(15,"div",8)(16,"button",9),m(17),f(18,"translate"),c()()()(),h(19,"div",10)),o&2&&(a(),s("ngClass",n.globalData.isMobileStyle?"select-close-btn":"popup-close-btn"),a(4),S(d(6,9,"fastLoginPage.verifyEamil")),a(2),s("formGroup",n.verifyEmailForm),a(3),S(d(11,11,"signUpPage.email")),a(2),s("placeholder",d(13,13,"fastLoginPage.enterEmail")),a(2),s("ngIf",n.verifyEmailForm.controls.email.errors&&(n.verifyEmailForm.controls.email.touched||n.verifyEmailForm.controls.email.dirty)),a(2),s("ngClass",P(17,_t,n.verifyEmailForm.valid))("disabled",!n.verifyEmailForm.valid),a(),y(" ",d(18,15,"fastLoginPage.send")," "))},dependencies:[F,K,Q,$,W,q,X,Y,z,B,G,w,N],encapsulation:2});let e=r;return e})();var It=e=>({submit:e}),Vt=()=>({cursor:"not-allowed"}),kt=()=>({color:"red"});function Pt(e,r){e&1&&(l(0,"label"),m(1),f(2,"translate"),U(3),m(4),f(5,"translate"),R(),c()),e&2&&(a(),y("",d(2,2,"signUpPage.mobileNoIDR")," "),a(3),y(" (",d(5,4,"signUpPage.phoneIDR"),")"))}function xt(e,r){e&1&&(l(0,"label"),m(1),f(2,"translate"),U(3),m(4),f(5,"translate"),R(),c()),e&2&&(a(),y("",d(2,2,"signUpPage.mobileNo")," "),a(3),y(" (",d(5,4,"signUpPage.phoneNotIDR"),")"))}function Et(e,r){e&1&&(U(0),l(1,"select",16)(2,"option",17),m(3,"+62"),c()(),R()),e&2&&(a(),s("ngStyle",A(1,Vt)))}function Nt(e,r){if(e&1&&(U(0),l(1,"option",21),m(2),c(),R()),e&2){let t=r.$implicit;a(),s("value",t.phoneCode),a(),y("+",t.phoneCode,"")}}function wt(e,r){if(e&1&&(l(0,"select",18)(1,"option",19),m(2),f(3,"translate"),c(),b(4,Nt,3,2,"ng-container",20),c()),e&2){let t=u();a(2),S(d(3,3,"depositPage.mobileNo")),a(2),s("ngForOf",t.countryCodeList)("ngForTrackBy",t.trackByPhoneCode)}}function Bt(e,r){if(e&1&&(l(0,"p",22),m(1),c()),e&2){let t=u();s("ngStyle",t.phoneNumberCtrl.errors&&A(2,kt)),a(),y(" ",t.phoneNumberCtrl.errors.message," ")}}var nt=(()=>{let r=class r{constructor(i,o,n,p,g){this.fb=i,this.formValidators=o,this.globalData=n,this.http=p,this.accountInfoService=g,this.closeVerifyPhonePopupEvent=new D,this.openVerifyOtpPopupEvent=new D,this.defaultCountryCode="",this.oriContactNumber="",this.countryCodeList=[]}ngOnInit(){var i;this.defaultCountryCode=Ye().get((i=this.globalData.acctInfo)==null?void 0:i.currency)||"60",this.createVerifyPhoneForm(),this.initPhoneNumber(),Se.addListener("phoneNumber"),this.accountInfoService.loadProfileData().then(()=>{this.countryCodeList=this.accountInfoService.contactCountryList})}trackByPhoneCode(i,o){return o.phoneCode}createVerifyPhoneForm(){this.verifyPhoneForm=this.fb.group({countryCode:[this.defaultCountryCode,[T.required]],phoneNumber:["",[T.required]]})}initPhoneNumber(){let{contactCountry:i,contactNumber:o}=this.memInfo;i&&o&&(this.countryCodeCtrl.setValue(i),this.phoneNumberCtrl.setValue(o),this.oriContactNumber=o),this.phoneNumberCtrl.setValidators(this.formValidators.createPhoneNumberValidator(this.oriContactNumber))}get countryCodeCtrl(){return this.verifyPhoneForm.controls.countryCode}get phoneNumberCtrl(){return this.verifyPhoneForm.controls.phoneNumber}closeVerifyPhonePopup(){this.closeVerifyPhonePopupEvent.emit(!1)}onSubmit(){let{countryCode:i,phoneNumber:o}=this.verifyPhoneForm.value,n=o;o===this.oriContactNumber&&(o="");let p={ContactCountry:String(i),ContactNumber:String(o)};this.globalData.loading=!0,this.http.sendTelMemEditPhone(p).subscribe(g=>{g.code===0?(this.openVerifyOtpPopupEvent.emit({phoneNumber:"".concat(i," ").concat(n)}),this.closeVerifyPhonePopupEvent.emit(!1),this.accountInfoService.loadProfileData()):g.code===1440433?this.globalData.showAlert(g.code,0,()=>window.location.reload()):this.globalData.showAlert(g.code),this.globalData.loading=!1})}ngOnDestroy(){Se.removeListener("phoneNumber")}};r.\u0275fac=function(o){return new(o||r)(v(J),v(L),v(M),v(O),v(H))},r.\u0275cmp=x({type:r,selectors:[["app-verify-phone"]],inputs:{memInfo:"memInfo"},outputs:{closeVerifyPhonePopupEvent:"closeVerifyPhonePopupEvent",openVerifyOtpPopupEvent:"openVerifyOtpPopupEvent"},standalone:!0,features:[ee([L]),E],decls:23,vars:17,consts:[["otherCode",""],[1,"popup-box","small"],[3,"click","ngClass"],[1,"icon-Close"],[1,"popup-title","no-border"],[1,"popup-block",3,"ngSubmit","formGroup"],[1,"form"],[4,"ngIf"],[1,"mobile-input-group"],[1,"select-box"],[4,"ngIf","ngIfElse"],["id","phoneNumber","type","text","inputmode","numeric","placeholder","e.g. +62 12345678","pattern","[0-9\\*]+","formControlName","phoneNumber"],["class","popup-note",3,"ngStyle",4,"ngIf"],[1,"btn-group","full-width"],["type","submit",1,"btn-default",3,"ngClass","disabled"],[1,"mask","popup"],["disabled","",3,"ngStyle"],["value","62","selected",""],["formControlName","countryCode"],["value","undefined","disabled",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],[1,"popup-note",3,"ngStyle"]],template:function(o,n){if(o&1){let p=k();l(0,"div",1)(1,"button",2),_("click",function(){return C(p),I(n.closeVerifyPhonePopup())}),h(2,"i",3),c(),l(3,"div",4)(4,"strong"),m(5),f(6,"translate"),c()(),l(7,"form",5),_("ngSubmit",function(){return C(p),I(n.onSubmit())}),l(8,"div",6),b(9,Pt,6,6,"label",7)(10,xt,6,6,"label",7),l(11,"div",8)(12,"div",9),b(13,Et,4,2,"ng-container",10)(14,wt,5,5,"ng-template",null,0,Le),c(),h(16,"input",11),c()(),b(17,Bt,2,3,"p",12),l(18,"div",13)(19,"button",14),m(20),f(21,"translate"),c()()()(),h(22,"div",15)}if(o&2){let p=Fe(15);a(),s("ngClass",n.globalData.isMobileStyle?"select-close-btn":"popup-close-btn"),a(4),S(d(6,11,"fastLoginPage.verifyPhoneNumber")),a(2),s("formGroup",n.verifyPhoneForm),a(2),s("ngIf",(n.globalData.acctInfo==null?null:n.globalData.acctInfo.currency)==="IDR"),a(),s("ngIf",(n.globalData.acctInfo==null?null:n.globalData.acctInfo.currency)!=="IDR"),a(3),s("ngIf",(n.globalData.acctInfo==null?null:n.globalData.acctInfo.currency)==="IDR")("ngIfElse",p),a(4),s("ngIf",n.phoneNumberCtrl.errors&&(n.phoneNumberCtrl.touched||n.phoneNumberCtrl.dirty)),a(2),s("ngClass",P(15,It,n.verifyPhoneForm.valid))("disabled",!(n.verifyPhoneForm.valid&&n.phoneNumberCtrl.value)),a(),y(" ",d(21,13,"fastLoginPage.send")," ")}},dependencies:[F,K,Q,ge,he,$,de,W,q,$e,X,Y,z,oe,B,G,w,N],encapsulation:2});let e=r;return e})();var Dt=e=>({submit:e}),ot=e=>({error:e});function At(e,r){e&1&&(l(0,"option",18),m(1),f(2,"translate"),c()),e&2&&(s("value",null),a(),S(d(2,2,"signUpPage.selectBank")))}function Ft(e,r){if(e&1&&(l(0,"option",18),m(1),c()),e&2){let t=r.$implicit;s("value",t.bankId),a(),y(" ",t.bankName," ")}}function Tt(e,r){if(e&1&&(l(0,"p",19),m(1),c()),e&2){let t=u(2);a(),y(" ",t.bankNameCtrl.errors.message," ")}}function Mt(e,r){if(e&1){let t=k();l(0,"input",20),_("keyup",function(o){C(t);let n=u(2);return I(n.filterSymbols(o))})("change",function(o){C(t);let n=u(2);return I(n.filterSymbols(o))}),c()}}function Lt(e,r){e&1&&h(0,"input",21)}function Ot(e,r){if(e&1&&(l(0,"p",19),m(1),c()),e&2){let t=u(2);a(),y(" ",t.bankAccountNameCtrl.errors.message," ")}}function jt(e,r){if(e&1&&(l(0,"option",18),m(1),c()),e&2){let t=r.$implicit;s("value",t.bankAcctNo),a(),y(" ",t.bankAcctNo," ")}}function Ut(e,r){if(e&1){let t=k();l(0,"div")(1,"div",22)(2,"select",23),_("change",function(){C(t);let o=u(3);return I(o.onAccountChange())}),b(3,jt,2,2,"option",13),c()(),l(4,"button",24),_("click",function(){C(t);let o=u(3);return I(o.onEditAccount())}),h(5,"i",25),c()()}if(e&2){let t=u(3);a(3),s("ngForOf",t.filteredAccounts)("ngForTrackBy",t.trackByAccountId),a(),Ne("mobile",t.globalData.isMobileStyle)}}function Rt(e,r){if(e&1){let t=k();l(0,"label",28),_("click",function(){C(t);let o=u(4);return I(o.onCancelEdit())}),h(1,"i",29),c()}if(e&2){let t=u(4);_e("right",t.globalData.isMobileStyle?5:10,"px")}}function Gt(e,r){if(e&1&&(l(0,"div"),h(1,"input",26),b(2,Rt,2,2,"label",27),c()),e&2){let t=u(3);a(),_e("width",(t.filteredAccounts==null?null:t.filteredAccounts.length)>
11?90:100,"%"),s("ngClass",P(4,ot,t.bankAccountNumberCtrl.invalid&&(t.bankAccountNumberCtrl.touched||t.bankAccountNumberCtrl.dirty))),a(),s("ngIf",t.isEditingAccount&&(t.filteredAccounts==null?null:t.filteredAccounts.length)>1)}}function Ht(e,r){if(e&1&&(l(0,"p",19),m(1),c()),e&2){let t=u(3);a(),y(" ",t.bankAccountNumberCtrl.errors.message," ")}}function $t(e,r){if(e&1&&(l(0,"div",9)(1,"label"),m(2),f(3,"translate"),c(),b(4,Ut,6,4,"div",5)(5,Gt,3,6,"div",5)(6,Ht,2,1,"p",14),c()),e&2){let t=u(2);a(2),S(d(3,4,"signUpPage.bankAccountNumber")),a(2),s("ngIf",!t.isEditingAccount&&(t.filteredAccounts==null?null:t.filteredAccounts.length)>1),a(),s("ngIf",t.isEditingAccount||(t.filteredAccounts==null?null:t.filteredAccounts.length)===1),a(),s("ngIf",t.bankAccountNumberCtrl.errors&&(t.bankAccountNumberCtrl.touched||t.bankAccountNumberCtrl.dirty))}}function Wt(e,r){if(e&1&&(l(0,"p",19),m(1),c()),e&2){let t=u(3);a(),y(" ",t.bankAccountNumberCtrl.errors.message," ")}}function qt(e,r){if(e&1&&(l(0,"div",9)(1,"label"),m(2),f(3,"translate"),c(),h(4,"input",26),b(5,Wt,2,1,"p",14),c()),e&2){let t=u(2);a(2),S(d(3,3,"signUpPage.bankAccountNumber")),a(2),s("ngClass",P(5,ot,t.bankAccountNumberCtrl.invalid&&(t.bankAccountNumberCtrl.touched||t.bankAccountNumberCtrl.dirty))),a(),s("ngIf",t.bankAccountNumberCtrl.errors&&(t.bankAccountNumberCtrl.touched||t.bankAccountNumberCtrl.dirty))}}function Qt(e,r){if(e&1){let t=k();U(0),l(1,"div",9)(2,"label"),m(3),f(4,"translate"),c(),l(5,"div",10)(6,"select",11),_("change",function(o){C(t);let n=u();return I(n.onBankNameChange(o.target.value))}),b(7,At,3,4,"option",12)(8,Ft,2,2,"option",13),c()(),b(9,Tt,2,1,"p",14),c(),l(10,"div",9)(11,"label"),m(12),f(13,"translate"),c(),b(14,Mt,1,0,"input",15)(15,Lt,1,0,"input",16)(16,Ot,2,1,"p",14),c(),b(17,$t,7,6,"div",17)(18,qt,6,7,"div",17),R()}if(e&2){let t=u();a(3),S(d(4,11,"bankName")),a(4),s("ngIf",!t.hasMemInfoBankList),a(),s("ngForOf",t.canVerifiedBankId)("ngForTrackBy",t.trackByBankId),a(),s("ngIf",t.bankNameCtrl.errors&&(t.bankNameCtrl.touched||t.bankNameCtrl.dirty)),a(3),S(d(13,13,"signUpPage.bankAccountName")),a(2),s("ngIf",!(t.memInfo!=null&&t.memInfo.memName)),a(),s("ngIf",t.memInfo==null?null:t.memInfo.memName),a(),s("ngIf",t.bankAccountNameCtrl.errors&&(t.bankAccountNameCtrl.touched||t.bankAccountNameCtrl.dirty)),a(),s("ngIf",t.hasMemInfoBankList),a(),s("ngIf",!t.hasMemInfoBankList)}}function Yt(e,r){if(e&1&&(l(0,"option",18),m(1),c()),e&2){let t=r.$implicit;s("value",t.code),a(),y(" ",t.label," ")}}function zt(e,r){if(e&1&&(l(0,"p",19),m(1),c()),e&2){let t=u(2);a(),y(" ",t.networkCtrl.errors.message," ")}}function Jt(e,r){if(e&1&&(l(0,"p",19),m(1),c()),e&2){let t=u(2);a(),y(" ",t.walletAddressCtrl.errors.message," ")}}function Kt(e,r){if(e&1&&(U(0),l(1,"div",9)(2,"label"),m(3),f(4,"translate"),c(),h(5,"input",30),c(),l(6,"div",9)(7,"label"),m(8),f(9,"translate"),c(),l(10,"div",10)(11,"select",31)(12,"option",18),m(13),f(14,"translate"),c(),b(15,Yt,2,2,"option",32),c()(),b(16,zt,2,1,"p",14),c(),l(17,"div",9)(18,"label"),m(19),f(20,"translate"),c(),h(21,"input",33),b(22,Jt,2,1,"p",14),c(),R()),e&2){let t=u();a(3),S(d(4,7,"paymentSetting.crypto")),a(5),S(d(9,9,"signUpPage.network")),a(5),S(d(14,11,"signUpPage.selectNetwork")),a(2),s("ngForOf",t.networkList),a(),s("ngIf",t.networkCtrl.errors&&(t.networkCtrl.touched||t.networkCtrl.dirty)),a(3),S(d(20,13,"depositPage.walletAddress")),a(3),s("ngIf",t.walletAddressCtrl.errors&&(t.walletAddressCtrl.touched||t.walletAddressCtrl.dirty))}}var at=(()=>{let r=class r{constructor(i,o,n,p,g){this.fb=i,this.globalData=o,this.formValidators=n,this.http=p,this.accountInfoService=g,this.closeVerifyBankingPopupEvent=new D,this.openVerifySuccessPopupEvent=new D,this.filterSymbols=Je,this.filterEventSymbols=Ce,this.isEditingAccount=!1,this.filteredAccounts=[],this.selectedBankDataId=null}ngOnInit(){this.globalData.isUSDT()?this.createVerifyWalletAddressForm():this.createVerifyBankingForm(),this.globalData.isUSDT()?this.initCrypto():this.initBanking()}trackByBankId(i,o){return o.bankId}createVerifyBankingForm(){this.verifyBankingForm=this.fb.group({bankName:["",[T.required,this.formValidators.createBankNameValidator()]],bankAccountNumber:["",[T.required,this.formValidators.createBankAccountNumberValidator()]],bankAccountName:["",[T.required,this.formValidators.createBankAccountNameValidator()]]})}createVerifyWalletAddressForm(){this.verifyBankingForm=this.fb.group({network:["",[T.required,this.formValidators.createNetwork()]],walletAddress:["",[T.required,this.formValidators.createWalletAddress()]]})}get hasMemInfoBankList(){var i,o,n;return((n=(o=(i=this.accountInfoService.accountData)==null?void 0:i.memInfoBankList)==null?void 0:o.length)!=null?n:0)>0}initBanking(){this.globalData.isUSDT()||(this.verifyBankingForm.reset(),this.hasMemInfoBankList?(this.canVerifiedBanking=this.bankNameList.filter(i=>i.verifiedDate===null&&i.isMemtranPending===!1),this.canVerifiedBankId=this.bankNameList.filter(i=>i.verifiedDate===null&&i.isMemtranPending===!1).filter((i,o,n)=>o===n.findIndex(p=>p.bankId===i.bankId)),this.bankNameCtrl.setValue(this.canVerifiedBanking[0].bankId),this.onBankNameChange(this.canVerifiedBanking[0].bankId)):(this.canVerifiedBanking=this.bankNameList,this.canVerifiedBankId=this.bankNameList,this.bankNameCtrl.setValue(null),this.bankAccountNumberCtrl.patchValue("")),this.memInfo.memName&&this.bankAccountNameCtrl.setValue(this.memInfo.memName))}onBankNameChange(i){var o,n;if(this.filteredAccounts=this.canVerifiedBanking.filter(p=>p.bankId===i),this.filteredAccounts.length===1){this.isEditingAccount=!0;let p=this.filteredAccounts[0];this.selectedBankDataId=p.id,this.hasMemInfoBankList&&this.bankAccountNumberCtrl.patchValue(p.bankAcctNo)}else this.isEditingAccount=!1,this.selectedBankDataId=(o=this.filteredAccounts[0])==null?void 0:o.id,this.bankAccountNumberCtrl.patchValue((n=this.filteredAccounts[0])==null?void 0:n.bankAcctNo)}onAccountChange(){let i=this.filteredAccounts.find(o=>o.bankAcctNo===this.bankAccountNumberCtrl.value);this.selectedBankDataId=i==null?void 0:i.id,this.updateEditButtonVisibility(i)}updateEditButtonVisibility(i){this.selectedBankDataId=i?i.id:null}onEditAccount(){this.isEditingAccount=!0}onCancelEdit(){this.isEditingAccount=!1;let i=this.bankAccountNumberCtrl.value;this.bankAccountNumberCtrl.setValue(i)}initCrypto(){this.memInfo.network?this.networkCtrl.setValue(this.memInfo.network):this.networkCtrl.setValue(this.globalData.translateString("signUpPage.selectNetwork")),this.memInfo.walletAddress&&this.walletAddressCtrl.setValue(this.memInfo.walletAddress)}get bankNameCtrl(){return this.verifyBankingForm.controls.bankName}get bankAccountNumberCtrl(){return this.verifyBankingForm.controls.bankAccountNumber}get bankAccountNameCtrl(){return this.verifyBankingForm.controls.bankAccountName}get networkCtrl(){return this.verifyBankingForm.controls.network}get walletAddressCtrl(){return this.verifyBankingForm.controls.walletAddress}trackByAccountId(i,o){return o.id}isBankValid(){return this.bankNameCtrl.valid&&this.bankAccountNumberCtrl.valid&&this.bankAccountNameCtrl.valid&&!this.bankAccountNumberCtrl.value.includes("*")}isCryptoValid(){return this.networkCtrl.valid&&this.walletAddressCtrl.valid}closeVerifyBankingPopup(){this.closeVerifyBankingPopupEvent.emit(!1)}isCryptoDataNoChanged(){let{network:i,walletAddress:o}=this.memInfo,n=this.networkList.find(p=>p.code==i);return this.networkCtrl.value==(n==null?void 0:n.code)&&this.walletAddressCtrl.value==o}editMemInfoBank(){return new Promise(i=>{let{bankAccountNumber:o,bankAccountName:n}=this.verifyBankingForm.value,p=this.bankNameList.find(V=>V.bankId==this.bankNameCtrl.value),g={id:this.selectedBankDataId,bankId:p.bankId,bankAcctName:n,bankAcctNo:o,isVerified:!0};this.http.editMemInfoBank(g).subscribe(V=>{V.code===0?(this.openVerifySuccessPopupEvent.emit({message:this.globalData.translateString("fastLoginPage.bankDetail
1sVerified")}),this.closeVerifyBankingPopup(),i(!0)):V.code===1430071?this.globalData.showDirectAlert(this.globalData.translateString("fastLoginPage.accounNumberMemExisted")+" ("+this.globalData.translateString("profilePage.bankName")+":"+p.bankName+", "+this.globalData.translateString("profilePage.bankAccountNumber")+":"+g.bankAcctNo+")",0):V.code===1440147?this.globalData.showAlert(V.code,0):(this.globalData.showAlert(V.code),i(!1))})})}addMemInfoBank(){return new Promise(i=>{var V;let{bankAccountNumber:o,bankAccountName:n}=this.verifyBankingForm.value,p=this.bankNameList.find(j=>j.bankId==this.bankNameCtrl.value),g={id:0,BankId:p.bankId,BankAcctNo:o,bankName:p.bankName,clientPage:2};(V=this.memInfo)!=null&&V.memName||(g.BankAcctName=Ce(n)),this.http.addMemInfoBank(g).subscribe(j=>{j.code===0?(this.openVerifySuccessPopupEvent.emit({message:this.globalData.translateString("fastLoginPage.bankDetailsVerified")}),this.closeVerifyBankingPopup(),i(!0)):j.code===1430071?this.globalData.showDirectAlert(this.globalData.translateString("fastLoginPage.accounNumberMemExisted")+" ("+this.globalData.translateString("profilePage.bankName")+":"+p.bankName+", "+this.globalData.translateString("profilePage.bankAccountNumber")+":"+g.BankAcctNo+")",3):this.globalData.showAlert(j.code)})})}editWalletAddress(){return new Promise(i=>{this.isCryptoDataNoChanged()&&(this.openVerifySuccessPopupEvent.emit({message:this.globalData.translateString("fastLoginPage.walletVerified")}),this.closeVerifyBankingPopup(),i(!0));let{network:o,walletAddress:n}=this.verifyBankingForm.value,p={network:o,MemWalletAddress:n,isVerified:!0};this.http.memEditWalletAddress(p).subscribe(g=>{g.code===0?(this.openVerifySuccessPopupEvent.emit({message:this.globalData.translateString("fastLoginPage.walletVerified")}),this.closeVerifyBankingPopupEvent.emit(!1),i(!0)):g.code===1440147?this.globalData.showDirectAlert("accountDetailsPage.walletAddressUnderVerify",0,()=>window.location.reload(),1440147):g.code===1430080?this.globalData.showDirectAlert(this.globalData.translateString("codeMessage.30080")+"("+this.globalData.translateString("signUpPage.network")+":"+p.network+", "+this.globalData.translateString("profilePage.walletAddress")+":"+p.MemWalletAddress+")",3):(this.globalData.showAlert(g.code),i(!1))})})}onSubmit(){return Z(this,null,function*(){this.globalData.loading=!0,this.globalData.isUSDT()?yield this.editWalletAddress().then(()=>{this.accountInfoService.loadProfileData()}):this.hasMemInfoBankList?yield this.editMemInfoBank().then(()=>{this.accountInfoService.loadProfileData()}):yield this.addMemInfoBank().then(()=>{this.accountInfoService.loadProfileData()}),this.globalData.loading=!1})}};r.\u0275fac=function(o){return new(o||r)(v(J),v(M),v(L),v(O),v(H))},r.\u0275cmp=x({type:r,selectors:[["app-verify-banking"]],inputs:{bankNameList:"bankNameList",networkList:"networkList",memInfo:"memInfo"},outputs:{closeVerifyBankingPopupEvent:"closeVerifyBankingPopupEvent",openVerifySuccessPopupEvent:"openVerifySuccessPopupEvent"},standalone:!0,features:[ee([L]),E],decls:15,vars:14,consts:[[1,"popup-box","small"],[3,"click","ngClass"],[1,"icon-Close"],[1,"popup-title","no-border"],[1,"popup-block",3,"ngSubmit","formGroup"],[4,"ngIf"],[1,"btn-group","full-width"],["type","submit",1,"btn-default",3,"ngClass","disabled"],[1,"mask","popup"],[1,"form"],[1,"select-box"],["formControlName","bankName",1,"bankname-fastdaftar",3,"change"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["class","error",4,"ngIf"],["type","text","placeholder","","formControlName","bankAccountName",3,"keyup","change",4,"ngIf"],["type","text","placeholder","","formControlName","bankAccountName","readonly","",4,"ngIf"],["class","form",4,"ngIf"],[3,"value"],[1,"error"],["type","text","placeholder","","formControlName","bankAccountName",3,"keyup","change"],["type","text","placeholder","","formControlName","bankAccountName","readonly",""],[1,"select-box",2,"width","90%"],["formControlName","bankAccountNumber",3,"change"],["type","button","aria-label","Edit Account",1,"edit-btn",2,"top","28px",3,"click"],[1,"icon-edit"],["type","text","formControlName","bankAccountNumber","maxlength","25",3,"ngClass"],["class","cancel-btn",3,"right","click",4,"ngIf"],[1,"cancel-btn",3,"click"],[1,"icon-x"],["type","text","readonly","","value","USDT"],["formControlName","network"],[3,"value",4,"ngFor","ngForOf"],["type","text","formControlName","walletAddress"]],template:function(o,n){o&1&&(l(0,"div",0)(1,"button",1),_("click",function(){return n.closeVerifyBankingPopup(),n.initBanking()}),h(2,"i",2),c(),l(3,"div",3)(4,"strong"),m(5),f(6,"translate"),c()(),l(7,"form",4),_("ngSubmit",function(){return n.onSubmit()}),b(8,Qt,19,15,"ng-container",5)(9,Kt,23,15,"ng-container",5),l(10,"div",6)(11,"button",7),m(12),f(13,"translate"),c()()()(),h(14,"div",8)),o&2&&(a(),s("ngClass",n.globalData.isMobileStyle?"select-close-btn":"popup-close-btn"),a(4),y(" ",d(6,8,n.globalData.isUSDT()?"fastLoginPage.verifyWalletAddress":"fastLoginPage.verifyBankDetail
1s")," "),a(2),s("formGroup",n.verifyBankingForm),a(),s("ngIf",!n.globalData.isUSDT()),a(),s("ngIf",n.globalData.isUSDT()&&!n.accountInfoService.notAllowEditWalletAddress),a(2),s("ngClass",P(12,Dt,n.globalData.isUSDT()?n.isCryptoValid():n.isBankValid()))("disabled",n.globalData.isUSDT()?!n.isCryptoValid():!n.isBankValid()),a(),y(" ",d(13,10,"fastLoginPage.send")," "))},dependencies:[F,K,Q,ge,he,$,de,W,q,He,X,Y,z,B,oe,w,N],styles:[".edit-btn.mobile[_ngcontent-%COMP%]{right:3px}.edit-btn.mobile[_ngcontent-%COMP%]:after{color:inherit}.cancel-btn[_ngcontent-%COMP%]{position:absolute;top:30px;font-size:large;cursor:pointer}"]});let e=r;return e})();var Zt=["BulmaCalendar"],ei=e=>({"popup-wrap":e}),ti=()=>({left:"0"}),ii=()=>({cursor:"not-allowed"});function ni(e,r){if(e&1&&(l(0,"p",16),m(1),c()),e&2){let t=u();a(),y(" ",t.birthdayForm.errors.message," ")}}var rt=(()=>{let r=class r{constructor(i,o,n,p,g,V,j){this.fb=i,this.formValidators=o,this.globalData=n,this.http=p,this.translate=g,this.langService=V,this.birthdayService=j,this.closeVerifyProfilePopupEvent=new D,this.openVerifySuccessPopupEvent=new D,this.isPopup=!0}ngOnInit(){this.createBirthdayForm(),this.birthdayForm.setValidators(this.formValidators.createBirthdayValidator(!0)),this.birthdayService.initBirthday(this.birthdayCtrl,this.memInfo)}ngAfterViewInit(){this.birthdayService.initBulmaCalendar(this.bCalendar,this.birthdayCtrl,!1,!1,this.memInfo)}createBirthdayForm(){this.birthdayForm=this.fb.group({birthday:["",[T.required]]})}get birthdayCtrl(){return this.birthdayForm.controls.birthday}reset(){this.memInfo.dateOfBirthModifyDate||this.birthdayService.clearbuttons[0].click()}closeVerifyProfilePopup(){this.closeVerifyProfilePopupEvent.emit(!1)}onSubmit(){let i=this.birthdayService.convertBirthdayValue(this.birthdayForm);this.globalData.loading=!0,this.http.editMemberBirthday({dateStr:i}).subscribe(o=>{o.code===0?(this.openVerifySuccessPopupEvent.emit({message:this.translate.instant("fastLoginPage.SuccessU
1pdatedBirthday")}),this.closeVerifyProfilePopupEvent.emit(!1)):o.code===1470012?this.globalData.showAlert(o.code,0,()=>window.location.reload()):this.globalData.showAlert(o.code),this.globalData.loading=!1})}};r.\u0275fac=function(o){return new(o||r)(v(J),v(L),v(M),v(O),v(ue),v(fe),v(Ke))},r.\u0275cmp=x({type:r,selectors:[["app-verify-profile"]],viewQuery:function(o,n){if(o&1&&Be(Zt,5),o&2){let p;De(p=Ae())&&(n.bCalendar=p.first)}},inputs:{memInfo:"memInfo"},outputs:{closeVerifyProfilePopupEvent:"closeVerifyProfilePopupEvent",openVerifySuccessPopupEvent:"openVerifySuccessPopupEvent"},standalone:!0,features:[ee([L]),E],decls:23,vars:22,consts:[["BulmaCalendar",""],[3,"ngClass","ngStyle"],[1,"popup-box","small"],[3,"click","ngClass"],[1,"icon-Close"],[1,"popup-title","no-border"],[1,"popup-block",3,"ngSubmit","formGroup"],[1,"form"],[1,"popup-label"],[1,"date-input-default","verify-profile-calendar"],[1,"icon-Calendar"],["type","text","formControlName","birthday","name","birthday","displayMode","dialog",3,"placeholder"],["class","popup-note","style","color: red",4,"ngIf"],[1,"btn-group","full-width"],[1,"btn-default",3,"ngClass","ngStyle","disabled"],[1,"mask","popup"],[1,"popup-note",2,"color","red"]],template:function(o,n){if(o&1){let p=k();l(0,"div",1)(1,"div",2)(2,"button",3),_("click",function(){return C(p),I(n.closeVerifyProfilePopup())}),h(3,"i",4),c(),l(4,"div",5)(5,"strong"),m(6),f(7,"translate"),c()(),l(8,"form",6),_("ngSubmit",function(){return C(p),I(n.onSubmit())}),l(9,"div",7)(10,"label",8),m(11),f(12,"translate"),c(),l(13,"div",9),h(14,"i",10)(15,"input",11,0),c()(),b(17,ni,2,1,"p",12),l(18,"div",13)(19,"button",14),m(20),f(21,"translate"),c()()()()(),h(22,"div",15)}o&2&&(s("ngClass",P(18,ei,n.globalData.isMobileStyle))("ngStyle",n.globalData.isMobileStyle&&A(20,ti)),a(2),s("ngClass",n.globalData.isMobileStyle?"select-close-btn":"popup-close-btn"),a(4),S(d(7,12,"fastLoginPage.verifyProfile")),a(2),s("formGroup",n.birthdayForm),a(3),S(d(12,14,"fastLoginPage.birthday")),a(4),s("placeholder",n.birthdayService.displayBirthday||"DD / MM / YYYY"),a(2),s("ngIf",n.birthdayForm.errors),a(2),s("ngClass",!n.birthdayService.isBirthdaySubmitBtnDisabled(n.birthdayForm,n.birthdayCtrl,n.memInfo)&&"submit")("ngStyle",n.birthdayService.isBirthdaySubmitBtnDisabled(n.birthdayForm,n.birthdayCtrl,n.memInfo)&&A(21,ii))("disabled",n.birthdayService.isBirthdaySubmitBtnDisabled(n.birthdayForm,n.birthdayCtrl,n.memInfo)),a(),y("",d(21,16,"fastLoginPage.send")," "))},dependencies:[F,K,Q,$,W,q,X,Y,z,B,G,w,N],encapsulation:2});let e=r;return e})();var oi=e=>({active:e}),ai=e=>({"width.%":e}),ye=()=>({cursor:"not-allowed"});function ri(e,r){if(e&1){let t=k();l(0,"button",11),_("click",function(){C(t);let o=u();return I(o.handleIsShowVerifyBanking())}),h(1,"i",21),c()}if(e&2){let t=u();s("disabled",t.isBankingDisabled())("ngStyle",t.isBankingDisabled()&&A(2,ye))}}function si(e,r){if(e&1){let t=k();l(0,"button",11),_("click",function(){C(t);let o=u();return I(o.handleIsShowVerifyPhone())}),h(1,"i",22),c()}if(e&2){let t=u();s("disabled",t.isPhoneDisabled())("ngStyle",t.isPhoneDisabled()&&A(2,ye))}}function li(e,r){if(e&1){let t=k();l(0,"app-verify-profile",23),_("closeVerifyProfilePopupEvent",function(o){C(t);let n=u();return I(n.closeVerifyProfilePopup(o))})("openVerifySuccessPopupEvent",function(o){C(t);let n=u();return I(n.showVerifyProfileSuccessPopup(o))}),c()}if(e&2){let t=u();s("memInfo",t.memInfo)}}function ci(e,r){if(e&1){let t=k();l(0,"app-verify-banking",24),_("closeVerifyBankingPopupEvent",function(o){C(t);let n=u();return I(n.closeVerifyBankingPopup(o))})("openVerifySuccessPopupEvent",function(o){C(t);let n=u();return I(n.showVerifyBankingSuccessPopup(o))}),c()}if(e&2){let t=u();s("bankNameList",t.bankNameList)("networkList",t.networkList)("memInfo",t.memInfo)}}function pi(e,r){if(e&1){let t=k();l(0,"app-verify-phone",25),_("closeVerifyPhonePopupEvent",function(o){C(t);let n=u();return I(n.closeVerifyPhonePopup(o))})("openVerifyOtpPopupEvent",function(o){C(t);let n=u();return I(n.openVerifyOtpPopup(o))}),c()}if(e&2){let t=u();s("memInfo",t.memInfo)}}function mi(e,r){if(e&1){let t=k();l(0,"app-verify-email",26),_("closeVerifyEmailPopupEvent",function(o){C(t);let n=u();return I(n.closeVerifyEmailPopup(o))})("openVerifyOtpPopupEvent",function(o){C(t);let n=u();return I(n.openVerifyOtpPopup(o))}),c()}if(e&2){let t=u();s("memInfo",t.memInfo)}}function ui(e,r){if(e&1){let t=k();l(0,"app-verify-otp",27),_("closeVerifyOtpPopupEvent",function(){C(t);let o=u();return I(o.closeVerifyOtpPopup())})("openVerifySuccessPopupEvent",function(o){C(t);let n=u();return I(n.showVerifySuccessPopup(o))}),c()}if(e&2){let t=u();s("email",t.otpEmail)("phoneNumber",t.otpPhoneNumber)}}function fi(e,r){if(e&1){let t=k();l(0,"app-verify-success",28),_("closeVerifySuccessPopupEvent",function(){C(t);let o=u();return I(o.closeVerifySuccessPopup())}),c()}if(e&2){let t=u();s("isVerifyProfileSuccess",t.isVerifyProfileSuccess)("sucessMessage",t.sucessMessage)}}var st=(()=>
1{let r=class r{constructor(i,o,n){this.httpService=i,this.globalData=o,this.accountInfoService=n,this.isShowVerifyProfile=!1,this.isShowVerifyBanking=!1,this.isShowVerifyPhone=!1,this.isShowVerifyEmail=!1,this.isShowVerifyOtp=!1,this.isShowVerifySccess=!1,this.isVerifyProfileSuccess=!1,this.otpEmail="",this.otpPhoneNumber="",this.sucessMessage="",this.fastLoginMemProgress=0,this.fastLoginMemProgressRecords={profile:0,banking:0,phoneNumber:0,email:0}}ngOnInit(){this.getBankList()}ngOnChanges(i){var o;(o=i.memInfo)!=null&&o.currentValue&&this.initProgress(this.memInfo)}initProgress(i){var p,g,V,j,re,se;let{dateOfBirthModifyDate:o,emailVerify:n}=i;o&&(this.fastLoginMemProgressRecords.profile=1),(this.globalData.isUSDT()?(g=(p=this.accountInfoService.accountData)==null?void 0:p.memInfoCrypto)!=null&&g.verifiedDate:(j=(V=this.accountInfoService.accountData)==null?void 0:V.memInfoBankList)!=null&&j.some(pe=>pe.verifiedDate!==null))&&(this.fastLoginMemProgressRecords.banking=1),(se=(re=this.accountInfoService.accountData)==null?void 0:re.memInfoPhone)!=null&&se.isVerified&&(this.fastLoginMemProgressRecords.phoneNumber=1),n&&(this.fastLoginMemProgressRecords.email=1),this.updateProgress()}getBankList(){var o;let i=(o=this.globalData.acctInfo)==null?void 0:o.currency;this.accountInfoService.loadProfileData().then(()=>{var n;this.bankNameList=(n=this.accountInfoService.accountData)==null?void 0:n.memInfoBankList,this.bankNameList.length===0&&this.httpService.getBankInfoList({currId:i}).subscribe(p=>{this.bankNameList=p.data}),this.memInfo&&this.initProgress(this.memInfo)}),this.httpService.getNetworkList({}).subscribe(n=>{n.code===0&&(this.networkList=n.data.networkList)})}changeState(i){this.fastLoginMemProgressRecords[i]=1,this.updateProgress()}updateProgress(){this.fastLoginMemProgress=25*Object.values(this.fastLoginMemProgressRecords).reduce((i,o)=>i+o,0)}updateMemInfo(){return Z(this,null,function*(){yield this.accountInfoService.loadAccountData(),this.memInfo=this.accountInfoService.memData,this.initProgress(this.memInfo)})}closeVerifyProfilePopup(i){this.isShowVerifyProfile=i}closeVerifyBankingPopup(i){this.isShowVerifyBanking=i}closeVerifyPhonePopup(i){this.isShowVerifyPhone=i}closeVerifyEmailPopup(i){this.isShowVerifyEmail=i}closeVerifySuccessPopup(){this.isShowVerifySccess=!1,this.isVerifyProfileSuccess=!1}closeVerifyOtpPopup(){this.isShowVerifyOtp=!1}showVerifyProfileSuccessPopup(i){this.isVerifyProfileSuccess=!0,this.isShowVerifySccess=!0,this.sucessMessage=i.message,this.changeState("profile"),this.updateMemInfo()}showVerifyBankingSuccessPopup(i){this.isVerifyProfileSuccess=!1,this.isShowVerifySccess=!0,this.sucessMessage=i.message,this.changeState("banking"),this.updateMemInfo()}showVerifySuccessPopup(i){this.isVerifyProfileSuccess=!1,this.isShowVerifySccess=!0,this.sucessMessage=i.message,this.changeState(i.type),this.updateMemInfo()}openVerifyOtpPopup(i){this.otpEmail="",this.otpPhoneNumber="",this.isShowVerifyOtp=!0,i.email&&(this.otpEmail=i.email),i.phoneNumber&&(this.otpPhoneNumber=i.phoneNumber)}isProfileDisabled(){var i;return!!((i=this.memInfo)!=null&&i.dateOfBirthModifyDate)}isBankingShow(){var n,p;let{accountData:i}=this.accountInfoService;if(!i)return!1;if(this.globalData.isUSDT()){let g=(n=i.memInfoCrypto)!=null?n:[];return g.length===0||g.isMemtranPending===!1}let o=(p=i.memInfoBankList)!=null?p:[];return o.length===0||o.some(g=>!g.isMemtranPending)}isBankingDisabled(){var p,g;let i=this.accountInfoService,o=i.accountData;return o?this.globalData.isUSDT()?((p=o.memInfoCrypto)!=null?p:[])&&i.notAllowEditWalletAddress:((g=o.memInfoBankList)!=null?g:[]).length>0&&o.memInfoBankList.some(V=>V.verifiedDate!==null):!1}isPhoneShow(){var i,o;return!((o=(i=this.accountInfoService.accountData)==null?void 0:i.memInfoPhone)!=null&&o.isMemtranPending)}isPhoneDisabled(){var i,o;return!!((o=(i=this.accountInfoService.accountData)==null?void 0:i.memInfoPhone)!=null&&o.isVerified)}isEmailDisabled(){var i;return!!((i=this.memInfo)!=null&&i.emailVerify)}handleIsShowVerifyProfile(){this.isProfileDisabled()||(this.isShowVerifyProfile=!0)}handleIsShowVerifyBanking(){this.isBankingDisabled()||(this.isShowVerifyBanking=!0)}handleIsShowVerifyPhone(){this.isPhoneDisabled()||(this.isShowVerifyPhone=!0)}handleIsShowVerifyEmail(){this.isEmailDisabled()||(this.isShowVerifyEmail=!0)}};r.\u0275fac=function(o){return new(o||r)(v(O),v(M),v(H))},r.\u0275cmp=x({type:r,selectors:[["app-account-safety"]],inputs:{memInfo:"memInfo"},standalone:!0,features:[Ee,E],decls:29,vars:29,consts:[[1,"safe-info-box"],[1,"col"],[1,"safe-head"],[1,"title"],[1,"title-value"],[1,"safe-progress-box"],[1,"icon-safety_on",3,"ngClass"],[1,"safe-progress"],[3,"ngStyle"],[1,"value"],[1,"safe-item-group"],[1,"safe-item",3,"click","disabled","ngStyle"],[1,"icon-safety_account"],["class","safe-item",3,"disabled","ngStyle","click",4,"ngIf"],[1,"icon-safety_email"],[3,"memInfo","closeVerifyProfilePopupEvent","openVerifySuccessPopupEvent",4,"ngIf"],[3,"bankNameList","networkList","memInfo","closeVerifyBankingPopupEvent","openVerifySuccessPopupEvent",4,"ngIf"],[3,"memInfo","closeVerifyPhonePopupEvent","openVerifyOtpPopupEvent",4,"ngIf"],[3,"memInfo","closeVerifyEmailPopupEvent","openVerifyOtpPopupEvent",4,"ngIf"],[3,"email","phoneNumber","closeVerifyOtpPopupEvent","openVerifySuccessPopupEvent",4,"ngIf"],[3,"isVerifyProfileSuccess","sucessMessage","closeVerifySuccessPopupEvent",4,"ngIf"],[1,"icon-safety_bankcard_plus"],[1,"icon-safety_mobile"],[3,"closeVerifyProfilePopupEvent","openVerifySuccessPopupEvent","memInfo"],[3,"closeVerifyBankingPopupEvent","openVerifySuccessPopupEvent","bankNameList","networkList","memInfo"],[3,"closeVerifyPhonePopupEvent","openVerifyOtpPopupEvent","memInfo"],[3,"closeVerifyEmailPopupEvent","openVerifyOtpPopupEvent","memInfo"],[3,"closeVerifyOtpPopupEvent","openVerifySuccessPopupEvent","email","phoneNumber"],[3,"closeVerifySuccessPopupEvent","isVerifyProfileSuccess","sucessMessage"]],template:function(o,n){o&1&&(l(0,"div",0)(1,"div",1)(2,"p",2)(3,"span",3),m(4),f(5,"translate"),c(),l(6,"strong",4),m(7),f(8,"translate"),f(9,"translate"),c()(),l(10,"div",5),h(11,"i",6),l(12,"div",7),h(13,"span",8),c(),l(14,"span",9),m(15),c()()(),l(16,"div",10)(17,"button",11),_("click",function(){return n.handleIsShowVerifyProfile()}),h(18,"i",12),c(),b(19,ri,2,3,"button",13)(20,si,2,3,"button",13),l(21,"button",11),_("click",function(){return n.handleIsShowVerifyEmail()}),h(22,"i",14),c()()(),b(23,li,1,1,"app-verify-profile",15)(24,ci,1,3,"app-verify-banking",16)(25,pi,1,1,"app-verify-phone",17)(26,mi,1,1,"app-verify-email",18)(27,ui,1,2,"app-verify-otp",19)(28,fi,1,2,"app-verify-success",20)),o&2&&(a(4),y("",d(5,17,"fastLoginPage.accountCompleteness"),"\xA0:\xA0"),a(3),y("",n.fastLoginMemProgress===100?d(8,19,"verified"):d(9,21,"unverified")," "),a(4),s("ngClass",P(23,oi,n.fastLoginMemProgress!==0)),a(2),s("ngStyle",P(25,ai,n.fastLoginMemProgress)),a(2),y("",n.fastLoginMemProgress,"%"),a(2),s("disabled",n.isProfileDisabled())("ngStyle",n.isProfileDisabled()&&A(27,ye)),a(2),s("ngIf",n.isBankingShow()),a(),s("ngIf",n.isPhoneShow()),a(),s("disabled",n.isEmailDisabled())("ngStyle",n.isEmailDisabled()&&A(28,ye)),a(2),s("ngIf",n.isShowVerifyProfile),a(),s("ngIf",n.isShowVerifyBanking),a(),s("ngIf",n.isShowVerifyPhone),a(),s("ngIf",n.isShowVerifyEmail),a(),s("ngIf",n.isShowVerifyOtp),a(),s("ngIf",n.isShowVerifySccess))},dependencies:[B,F,G,rt,at,nt,it,tt,et,w,N],encapsulation:2});let e=r;return e})();var di=e=>({"background-image":e}),gi=e=>({width:e});function hi(e,r){if(e&1&&h(0,"div",11),e&2){let t=u(3);s("ngStyle",P(1,gi,t.completionPercentage+"%"))}}function vi(e,r){if(e&1){let t=k();l(0,"button",12),_("click",function(){C(t);let o=u(3);return I(o.onClickUpgrade())}),l(1,"span"),m(2),f(3,"translate"),c()()}if(e&2){let t=u(3);s("ngClass","vip-btn-level"+t.level)("disabled",t.isUpgrading),a(2),S(d(3,3,"vipInfos.upgrade"))}}function yi(e,r){if(e&1&&(l(0,"span",13),m(1),c()),e&2){let t=u(3);a(),y("",t.completionPercentage,"%")}}function bi(e,r){if(e&1&&(l(0,"div")(1,"div",7),b(2,hi,1,3,"div",8)(3,vi,4,5,"button",9),c(),b(4,yi,2,1,"span",10),c()),e&2){let t=u(2);a(2),s("ngIf",t.completionPercentage<100),a(),s("ngIf",t.completionPercentage>=100&&t.isUpgradeByMember),a(),s("ngIf",t.completionPercentage<100||!t.isUpgradeByMember)}}function _i(e,r){if(e&1&&(l(0,"div",1)(1,"div",2)(2,"div",3)(3,"span",4),m(4),f(5,"translate"),c(),l(6,"span",5),m(7),c()(),b(8,bi,5,3,"div",6),c()()),e&2){let t=u();a(),s("ngClass","level"+t.level)("ngStyle",P(8,di,"url("+t.getVipBanner()+")")),a(),s("ngClass","vip-label-level"+t.level),a(2),S(d(5,6,"vipInfos.membership")),a(3),S(t.displayName),a(),s("ngIf",t.completionPercentage!==null)}}var lt=(()=>
1{let r=class r{constructor(i,o,n,p,g,V){this.httpService=i,this.globalData=o,this.accountInfoService=n,this.langService=p,this.appConfigService=g,this.swalDialog=V,this.showVipTooltip=!1,this.isUpgrading=!1}ngOnInit(){this.loadVipInfo(),this.sub=this.accountInfoService.vipInfo$.subscribe(i=>{i&&(this.vipInfo=i)})}loadVipInfo(){return Z(this,null,function*(){let i=yield this.accountInfoService.loadAccountData();this.memInfo=this.accountInfoService.memData,this.updateVipDisplayStatus(i.vipInfo)})}updateVipDisplayStatus(i){var p,g,V,j,re,se,pe,Ve,ke,Pe;if(!i)return;this.vipInfo=i,this.bannerFilePath=(p=i.bannerFilePath)!=null?p:null,this.level=(g=i.level)!=null?g:0,this.iconFilePath=(V=i.iconFilePath)!=null?V:null;let o=this.langService.language.toUpperCase();this.displayName=((re=(j=i.displayName)==null?void 0:j.find(ct=>ct.language===o))==null?void 0:re.displayName)||"";let n=i.bannerInfo;if(!n){this.bannerFilePath=null,this.completionPercentage=0,this.isUpgradeByMember=!1,this.nextLevel=0,this.nextValidStakeAmount;return}this.bannerFilePath=(se=n.bannerFilePath)!=null?se:null,this.completionPercentage=(pe=n.completionPercentage)!=null?pe
1:null,this.isUpgradeByMember=(Ve=n.isUpgradeByMember)!=null?Ve:!1,this.nextLevel=(ke=n.nextLevel)!=null?ke:0,this.nextValidStakeAmount=(Pe=n.nextValidStakeAmount)!=null?Pe:0}getDefaultBanner(i){let o=window.innerWidth<=768,p={0:"bg_reguler.jpg",1:"bg_bronze.jpg",2:"bg_silver.jpg",3:"bg_gold.jpg",4:"bg_platinum.jpg",5:"bg_diamond.jpg"}[i]||"bg_reguler.jpg",g=o?"mobile_bg":"web_bg";return"/assets/images/vip/VIP_object/".concat(g,"/").concat(p)}getVipBanner(){let i=this.appConfigService.getConfig("staticResourceUrl");return this.bannerFilePath?"".concat(i,"/static/vip_icon/").concat(this.bannerFilePath):this.getDefaultBanner(this.level)}onClickUpgrade(){return Z(this,null,function*(){if(this.isUpgrading)return;this.isUpgrading=!0;let i=yield xe(this.httpService.upgradeVipLevel());if(i.code===50020||i.code===1450020){this.swalDialog.popMessage(this.globalData.translateString("Not Allow Upgrade Vip")),this.isUpgrading=!1;return}yield this.loadVipInfo(),this.accountInfoService.vipInfo$.next(le({},this.vipInfo)),this.isUpgrading=!1})}ngOnDestroy(){var i;(i=this.sub)==null||i.unsubscribe()}};r.\u0275fac=function(o){return new(o||r)(v(O),v(M),v(H),v(fe),v(je),v(qe))},r.\u0275cmp=x({type:r,selectors:[["app-account-banner"]],inputs:{memInfo:"memInfo"},standalone:!0,features:[E],decls:1,vars:1,consts:[["class","vip-wrapper",4,"ngIf"],[1,"vip-wrapper"],[1,"vip-banner",3,"ngClass","ngStyle"],[1,"vip-label-group",3,"ngClass"],[1,"membership"],[1,"vip-name"],[4,"ngIf"],[1,"vip-bar"],["class","vip-bar-fill",3,"ngStyle",4,"ngIf"],["class","vip-upgrade-btn",3,"ngClass","disabled","click",4,"ngIf"],["class","vip-bar-percent",4,"ngIf"],[1,"vip-bar-fill",3,"ngStyle"],[1,"vip-upgrade-btn",3,"click","ngClass","disabled"],[1,"vip-bar-percent"]],template:function(o,n){o&1&&b(0,_i,9,10,"div",0),o&2&&s("ngIf",n.vipInfo==null?null:n.vipInfo.bannerInfo)},dependencies:[B,F,G,w,N],encapsulation:2});let e=r;return e})();var Si=e=>({"has-banner":e}),Ci=(e,r,t)=>({open:e,"money-info-box":r,"has-banner":t}),Ii=e=>({"no-money":e}),Vi=e=>[e],ki=()=>["/Account/Voucher"];function Pi(e,r){if(e&1&&h(0,"app-account-banner",10),e&2){let t=u(2);s("memInfo",t.memInfo)}}function xi(e,r){if(e&1&&(U(0),h(1,"app-account-wallet",11),R()),e&2){let t=u(2);a(),s("hidden",!t.globalData.isMobileStyle&&t.cmsService.cmsSetting.isAutoTransfer)("ngClass",Te(2,Ci,t.accountInfoService.isProviderListOpen,!t.globalData.isMobileStyle&&!t.cmsService.cmsSetting.isAutoTransfer,t.memInfo==null||t.memInfo.vipInfo==null?null:t.memInfo.vipInfo.bannerInfo))}}function Ei(e,r){if(e&1&&h(0,"app-account-banner",10),e&2){let t=u(2);s("memInfo",t.memInfo)}}function Ni(e,r){if(e&1){let t=k();l(0,"div",13),h(1,"i",14),l(2,"div",15)(3,"p",16),m(4),f(5,"translate"),c(),l(6,"p",17)(7,"span"),m(8),c(),l(9,"strong"),m(10),f(11,"number"),c()()(),l(12,"button",18),_("debounceClick",function(){C(t);let o=u(3);return I(o.accountInfoService.getCollectInstantRebate())}),m(13),f(14,"translate"),c()()}if(e&2){let t=u(3);s("ngClass",P(12,Ii,t.cmsService.cmsSetting.getInstantRebate?t.cmsService.cmsSetting.getInstantRebate.status!==1:!1)),a(4),S(d(5,5,"collectableInstantRebate")),a(4),S(t.globalData.acctInfo==null?null:t.globalData.acctInfo.currency),a(2),y(" ",t.cmsService.cmsSetting.getInstantRebate?Me(11,7,t.cmsService.cmsSetting.getInstantRebate.rebateAmt,"1.2-2"):0," "),a(3),S(d(14,10,"collect"))}}function wi(e,r){if(e&1&&(U(0),b(1,Ni,15,14,"div",12),R()),e&2){let t=u(2);a(),s("ngIf",t.cmsService.cmsSetting.isShowInstantRebate)}}function Bi(e,r){if(e&1&&(l(0,"div",19)(1,"a",20),h(2,"i"),l(3,"p"),m(4),f(5,"translate"),c()()()),e&2){let t=u().$implicit;a(),s("routerLink",P(7,Vi,t.link)),a(),we(t.icon),a(2),S(d(5,5,"accountPage."+t.name))}}function Di(e,r){if(e&1&&(U(0),b(1,Bi,6,9,"div",9),R()),e&2){let t=r.$implicit,i=u(2);a(),s("ngIf",i.globalData.isMobileStyle===t.mobile||t.mobile)}}function Ai(e,r){e&1&&(l(0,"div",19)(1,"a",20),h(2,"i",21),l(3,"p"),m(4),f(5,"translate"),c()()()),e&2&&(a(),s("routerLink",A(4,ki)),a(3),S(d(5,2,"accountPage.voucher")))}function Fi(e,r){if(e&1&&(l(0,"main"),h(1,"app-account-nav",2),l(2,"div",3),b(3,Pi,1,1,"app-account-banner",4)(4,xi,2,6,"ng-container",1),l(5,"div",5),b(6,Ei,1,1,"app-account-banner",4),h(7,"app-account-safety",6),b(8,wi,2,1,"ng-container",1),l(9,"div",7),b(10,Di,2,1,"ng-container",8)(11,Ai,6,5,"div",9),c()()()()),e&2){let t=u();a(),s("displayBalance",!t.globalData.isMobileStyle),a(2),s("ngIf",!!t.globalData.isMobileStyle),a(),s("ngIf",t.cmsService.cmsSetting),a(2),s("ngIf",!t.globalData.isMobileStyle),a(),s("ngClass",P(10,Si,t.memInfo==null||t.memInfo.vipInfo==null?null:t.memInfo.vipInfo.bannerInfo))("memInfo",t.memInfo),a(),s("ngIf",t.cmsService.cmsSetting),a(2),s("ngForOf",t.cmsService.accountMenu)("ngForTrackBy",t.trackByIcon),a(),s("ngIf",t.cmsService.cmsSetting.isVoucherListActive)}}var go=(()=>
1{let r=class r{constructor(i,o,n){this.globalData=i,this.cmsService=o,this.accountInfoService=n}ngOnInit(){this.cmsService.initCommonCMS().catch(i=>{console.log(i)}),this.accountInfoService.loadAccountData().then(()=>{this.memInfo=this.accountInfoService.memData})}trackByIcon(i,o){return o.icon}};r.\u0275fac=function(o){return new(o||r)(v(M),v(Qe),v(H))},r.\u0275cmp=x({type:r,selectors:[["app-account-home"]],standalone:!0,features:[E],decls:3,vars:4,consts:[[3,"title"],[4,"ngIf"],[3,"displayBalance"],[1,"acc-wrap"],[3,"memInfo",4,"ngIf"],[1,"big-col"],[3,"ngClass","memInfo"],[1,"acc-menu"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","item",4,"ngIf"],[3,"memInfo"],[3,"hidden","ngClass"],["class","balance-box",3,"ngClass",4,"ngIf"],[1,"balance-box",3,"ngClass"],[1,"icon-InstantRebate"],[1,"info"],[1,"title"],[1,"remain-money"],["app-debounce-click","",1,"btn-collect",3,"debounceClick"],[1,"item"],[3,"routerLink"],[1,"icon-voucher"]],template:function(o,n){o&1&&(h(0,"app-title-nav",0),f(1,"translate"),b(2,Fi,12,12,"main",1)),o&2&&(s("title",d(1,2,"bottomMenu.account")),a(2),s("ngIf",n.globalData.acctInfo))},dependencies:[ze,B,Ze,Xe,lt,F,st,We,oe,Re,Ue,w,N],encapsulation:2});let e=r;return e})();export{go as AccountHomeComponent};
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.