PageSourceSearch

https://qqole888.com/chunk-MVAR54FN.js

js qqole888.com collected 2026-10-10 00:10:15 UTC 25,892 bytes, 1 lines download raw bytes

1import{a as K}from"./chunk-E6EX7YGY.js";import{a as J}from"./chunk-XDKBG2CE.js";import{a as z}from"./chunk-GNSVSSEC.js";import{a as et}from"./chunk-RBT7V6O6.js";import"./chunk-FFTXNXI6.js";import{b as U}from"./chunk-5LWFT2LT.js";import{a as q}from"./chunk-O5RKV2DG.js";import{j as W}from"./chunk-LBFZVMBI.js";import"./chunk-SQXH55RY.js";import"./chunk-FZLMV5FP.js";import{x as Y}from"./chunk-2RZNBXEW.js";import"./chunk-WUS6VI32.js";import{B as E,i as A,j as $,k as V,p as R,q as L,r as j,sa as Q}from"./chunk-LKIBVTZY.js";import"./chunk-IXSVJUWF.js";import"./chunk-VXMZGT4Q.js";import{$a as N,A as C,B as I,Da as p,Ia as r,Ja as o,Ka as y,La as D,Ma as b,Oa as S,Ra as w,Sa as m,Za as M,_a as k,bb as s,cb as g,da as O,db as f,eb as F,ga as i,ha as T,nb as G,p as B,pb as P,sb as d,tb as h,ub as H,xa as u}from"./chunk-LZGEQQYD.js";import"./chunk-BW2TMJN6.js";import{g as tt}from"./chunk-RNQ7BUHW.js";var X=tt(et());var it=["BulmaCalendar"],nt=["main"],at=e=>({active:e}),Z=e=>({"transfer-mode":e}),rt=e=>({cryptocurrency:e});function ot(e,c){if(e&1&&(r(0,"div",18),y(1,"i",19),r(2,"p"),y(3,"app-vip-level"),r(4,"strong"),s(5),o()()()),e&2){let t=m();i(5),g(t.globalData.acctInfo==null?null:t.globalData.acctInfo.loginId)}}function st(e,c){if(e&1){let t=S();D(0),r(1,"li",20)(2,"a",21),w("click",function(){let n=C(t).$implicit,l=m();return I(l.toggleHistoryList(n))}),s(3),d(4,"translate"),o()(),b()}if(e&2){let t=c.$implicit,a=m();i(),p("ngClass",P(4,at,a.nowTab===t)),i(2),g(h(4,2,"bottomMenu."+t))}}function lt(e,c){if(e&1){let t=S();r(0,"li")(1,"a",21),w("click",function(){let n=C(t).$implicit,l=m(3);return I(l.initCalendar(n))}),s(2),d(3,"translate"),o()()}if(e&2){let t=c.$implicit;i(2),g(h(3,1,"reportDateRange."+t))}}function ct(e,c){if(e&1&&(r(0,"ul"),u(1,lt,4,3,"li",5),o()),e&2){let t=m(2);i(),p("ngForOf",t.dateRangeList)}}function pt(e,c){if(e&1&&(r(0,"div",22),u(1,ct,2,1,"ul",16),o()),e&2){let t=m();i(),p("ngIf",t.dateRangeList)}}function dt(e,c){e&1&&(r(0,"div",25),s(1),d(2,"translate"),o()),e&2&&(i(),f("",h(2,1,"transferPage.transfer")," ID"))}function mt(e,c){e&1&&(r(0,"div",25),s(1),o()),e&2&&(i(),g("Doc.#"))}function ht(e,c){e&1&&(r(0,"div",25),s(1),d(2,"translate"),y(3,"br"),s(4),d(5,"translate"),o()),e&2&&(i(),g(h(2,2,"profilePage.bankName")),i(3),g(h(5,4,"profilePage.bankAccountNumber")))}function _t(e,c){e&1&&(r(0,"div",25),s(1),d(2,"translate"),o()),e&2&&(i(),g(h(2,1,"profilePage.phoneNumber")))}function gt(e,c){e&1&&(r(0,"div",25),s(1),d(2,"translate"),y(3,"br"),s(4),d(5,"translate"),y(6,"br"),s(7),d(8,"translate"),o()),e&2&&(i(),g(h(2,3,"profilePage.cryptocurrency")),i(3),g(h(5,5,"profilePage.network")),i(3),g(h(8,7,"profilePage.walletAddress")))}function ft(e,c){e&1&&(r(0,"div",29),s(1),d(2,"translate"),d(3,"translate"),o()),e&2&&(i(),F("",h(2,2,"transferPage.transferFrom")," / ",h(3,4,"To"),""))}function ut(e,c){if(e&1&&(r(0,"div",45),s(1),d(2,"translate"),o()),e&2){let t=m(4);i(),f(" ",h(2,1,t.nowTab==="transfer"?"copiedId.transferID":"copiedId.ticketID")," ")}}function yt(e,c){if(e&1&&(r(0,"div",46),s(1),y(2,"br"),s(3),o()),e&2){let t=m().$implicit;i(),f(" ",t.bankName,""),i(2),f("",t.bankAcctNo," ")}}function vt(e,c){if(e&1&&(r(0,"div",46),s(1),o()),e&2){let t=m().$implicit;i(),f(" ",t.phoneNumber!=null&&t.phoneNumber.trim()?"+"+t.phoneNumber.trim():""," ")}}function xt(e,c){if(e&1&&(r(0,"div",46),s(1),y(2,"br"),s(3),y(4,"br"),s(5),o()),e&2){let t=m().$implicit;i(),f(" ",t.cryptocurrency,""),i(2),g(t.network),i(2),f("",t.walletAddress," ")}}function Dt(e,c){if(e&1&&(r(0,"div",47)(1,"div",48)(2,"p",49),s(3),o(),r(4,"p",50),s(5),d(6,"translate"),o()(),y(7,"i",51),r(8,"div",48)(9,"p",49),s(10),o(),r(11,"p",50),s(12),d(13,"translate"),o()()()),e&2){let t=m().$implicit;i(3),g(t.fromProvider),i(2),g(h(6,4,"From")),i(5),g(t.toProvider),i(2),g(h(13,6,"To"))}}function bt(e,c){if(e&1){let t=S();D(0),r(1,"div",31)(2,"div",32)(3,"span",33),s(4),o(),r(5,"div",34)(6,"span",35),s(7),d(8,"customDate"),d(9,"date"),o(),r(10,"span",36),s(11),d(12,"date"),o()(),r(13,"div",37),s(14),r(15,"button",38),w("click",function(){let n=C(t).$implicit,l=m(3);return I(l.copyFromId(l.nowTab=="transfer"?n.id:n.tranNo))}),y(16,"i",39),r(17,"span",40),s(18),d(19,"translate"),o()(),u(20,ut,3,3,"div",41),o(),u(21,yt,4,2,"div",42)(22,vt,2,1,"div",42)(23,xt,6,3,"div",42)(24,Dt,14,8,"div",43),r(25,"div",44),s(26),o(),r(27,"div",37),y(28,"
1span",44),o()()(),b()}if(e&2){let t=c.$implicit,a=c.index,n=m(3);i(),p("ngClass",P(24,Z,n.nowTab=="transfer")),i(3),g(a+1),i(3),g(H(9,16,h(8,14,t.createDate),"yyyy-MM-dd")),i(4),g(H(12,19,t.createDate,"HH:mm:ss")),i(3),f(" ",n.nowTab=="transfer"?t.id:t.tranNo," "),i(4),g(h(19,22,"copy")),i(2),p("ngIf",n.isCopy),i(),p("ngIf",n.nowTab!="transfer"),i(),p("ngIf",n.nowTab!="transfer"),i(),p("ngIf",n.nowTab!="transfer"),i(),p("ngIf",n.nowTab=="transfer"),i(),p("className","num "+n.transferStatus(t.status)),i(),f(" ",n.nowTab=="transfer"?n.formatThousands(t.transferAmt,2):n.formatThousands(t.amt,2)," "),i(2),p("className","status-mark "+n.transferStatus(t.status))}}function wt(e,c){if(e&1&&(r(0,"div",30),u(1,bt,29,26,"ng-container",5),o()),e&2){let t=m(2);i(),p("ngForOf",t.historyData.list)}}function Ct(e,c){if(e&1&&(D(0),r(1,"div",23)(2,"div",24)(3,"div",25),s(4,"#"),o(),r(5,"div",25),s(6),d(7,"translate"),o(),u(8,dt,3,3,"div",26)(9,mt,2,1,"div",26)(10,ht,6,6,"div",26)(11,_t,3,3,"div",26)(12,gt,9,9,"div",26)(13,ft,4,6,"div",27),r(14,"div",25),s(15),d(16,"translate"),o(),r(17,"div",25),s(18),d(19,"translate"),o()(),u(20,wt,2,1,"div",28),o(),b()),e&2){let t=m();i(),p("ngClass",P(17,Z,t.nowTab=="transfer")),i(5),g(h(7,11,"reportPage.date")),i(2),p("ngIf",t.nowTab=="transfer"),i(),p("ngIf",t.nowTab!="transfer"),i(),p("ngIf",t.nowTab!="transfer"),i(),p("ngIf",t.nowTab!="transfer"),i(),p("ngIf",t.nowTab!="transfer"),i(),p("ngIf",t.nowTab=="transfer"),i(2),g(h(16,13,"depositPage.amount")),i(3),g(h(19,15,"reportPage.status")),i(2),p("ngIf",t.historyData&&t.historyData.list&&t.historyData.list.length>0)}}function It(e,c){if(e&1&&(r(0,"div",45),s(1),d(2,"translate"),o()),e&2){let t=m(4);i(),f(" ",h(2,1,t.nowTab==="transfer"?"copiedId.transferID":"copiedId.ticketID")," ")}}function St(e,c){if(e&1&&(r(0,"div",61)(1,"p",49),s(2),o(),r(3,"p",50),s(4),d(5,"translate"),o()()),e&2){let t=m(2).$implicit;i(2),f("",t.bankAcctNo," "),i(2),f("",h(5,2,"profilePage.bankAccountNumber")," ")}}function Tt(e,c){if(e&1&&(r(0,"div",61)(1,"p",49),s(2),o(),r(3,"p",50),s(4),d(5,"translate"),o()()),e&2){let t=m(2).$implicit;i(2),f("",t.phoneNumber," "),i(2),f("",h(5,2,"profilePage.phoneNumber")," ")}}function Pt(e,c){if(e&1&&(r(0,"div",48)(1,"p",49),s(2),o(),r(3,"p",50),s(4),d(5,"translate"),o()()),e&2){let t=m(2).$implicit;i(2),f("",t.cryptocurrency," "),i(2),f("",h(5,2,"profilePage.cryptocurrency")," ")}}function Ht(e,c){if(e&1&&(r(0,"div",48)(1,"p",49),s(2),o(),r(3,"p",50),s(4),d(5,"translate"),o()()),e&2){let t=m(2).$implicit;i(2),f("",t.network," "),i(2),f("",h(5,2,"profilePage.network")," ")}}function Et(e,c){e&1&&(r(0,"div",48),y(1,"p",49)(2,"p",50),o())}function Mt(e,c){if(e&1&&(D(0),u(1,St,6,4,"div",59)(2,Tt,6,4,"div",59)(3,Pt,6,4,"div",60)(4,Ht,6,4,"div",60)(5,Et,3,0,"div",60),b()),e&2){let t=m().$implicit;i(),p("ngIf",(t.bankAcctNo==null?null:t.bankAcctNo.trim().length)>0),i(),p("ngIf",(t.phoneNumber==null?null:t.phoneNumber.trim().length)>0),i(),p("ngIf",(t.cryptocurrency==null?null:t.cryptocurrency.trim().length)>0),i(),p("ngIf",(t.network==null?null:t.network.trim().length)>0),i(),p("ngIf",(t.bankAcctNo==null?null:t.bankAcctNo.trim().length)==0&&(t.phoneNumber==null?null:t.phoneNumber.trim().length)==0&&(t.cryptocurrency==null?null:t.cryptocurrency.trim().length)==0)}}function kt(e,c){if(e&1&&(r(0,"div",47)(1,"div",48)(2,"p",62),s(3),o(),r(4,"p",50),s(5,"From"),o()(),y(6,"i",51),r(7,"div",48)(8,"p",62),s(9),o(),r(10,"p",50),s(11,"To"),o()()()),e&2){let t=m().$implicit;i(3),g(t.fromProvider),i(6),g(t.toProvider)}}function Nt(e,c){if(e&1&&(r(0,"div",48)(1,"p",64),s(2),o(),r(3,"p",50),s(4),d(5,"translate"),o()()),e&2){let t=m(2).$implicit;i(2),f("",(t.bankName==null?null:t.bankName.trim().length)>0?t.bankName:""," "),i(2),f("",h(5,2,"profilePage.bankName")," ")}}function Bt(e,c){if(e&1&&(r(0,"div",48)(1,"p",64),s(2),o(),r(3,"p",50),s(4),d(5,"translate"),o()()),e&2){let t=m(2).$implicit;i(2),f("",(t.walletAddress==null?null:t.walletAddress.trim().length)>0?t.walletAddress:""," "),i(2),f("",h(5,2,"profilePage.walletAddress")," ")}}function Ot(e,c){if(e&1&&(r(0,"div",63),u(1,Nt,6,4,"div",60)(2,Bt,6,4,"div",60),o()),e&2){let t=m().$implicit;i(),p("ngIf",(t.bankName==null?null:t.bankName.trim().length)>0),i(),p("ngIf",(t.walletAddress==null?null:t.walletAddress.trim().length)>0)}}function Ft(e,c){if(e&1){let t=S();D(0),r(1,"div",54)(2,"div",25)(3,"p",34)(4,"span",35),s(5),d(6,"customDate"),d(7,"date"),o(),r(8,"span",36),s(9),d(10,"date"),o()(),r(11,"p",44),s(12),o()(),r(13,"div",55)(14,"div",48)(15,"p",56),s(16),r(17,"button",38),w("click",function(){let n=C(t).$implicit,l=m(3);return I(l.copyFromId(l.nowTab=="transfer"?n.id:n.tranNo))}),y(18,"i",39),r(19,"span",40),s(20),d(21,"translate"),o()()(),u(22,It,3,3,"div",41),r(23,"p",50),s(24),o()(),u(25,Mt,6,5,"ng-container",16)(26,kt,12,2,"div",43),r(27,"div",57)(28,"span",44),s(29),o()()(),u(30,Ot,3,2,"div",58),o(),b()}if(e&2){let t=c.$implicit,a=m(3);i(5),g(H(7,16,h(6,14,t.createDate),"yyyy-MM-dd")),i(4),g(H(10,19,t.createDate,"HH:mm:ss")),i(2),p("className","num "+a.transferStatus(t.status)),i(),f(" ",a.nowTab=="transfer"?a.formatThousands(t.transferAmt,2):a.formatThousands(t.amt,2)," "),i(),p("ngClass",P(24,rt,(t.cryptocurrency==null?null:t.cryptocurrency.trim().length)>0)),i(3),f("",a.nowTab=="transfer"?t.id:t.tranNo," "),i(4),g(h(21,22,"copy")),i(2),p("ngIf",a.isCopy),i(2),f("",a.nowTab=="transfer"?"Transfer ID":"Doc.#"," "),i(),p("ngIf",a.nowTab!=="transfer"),i(),p("ngIf",a.nowTab=="transfer"),i(2),p("className","info "+a.transferStatus(t.status)),i(),f(" ",a.transferStatusMsg(t.status)," "),i(),p("ngIf",a.nowTab!="transfer"&&((t.bankName==null?null:t.bankName.trim().length)>0||(t.walletAddress==null?null:t.walletAddress.trim().length)>0))}}function Gt(e,c){if(e&1&&(r(0,"div",53),u(1,Ft,31,26,"ng-container",5),o()),e&2){let t=m(2);i(),p("ngForOf",t.historyData.list)}}function At(e,c){if(e&1&&(D(0),u(1,Gt,2,1,"div",52),b()),e&2){let t=m();i(),p("ngIf",t.historyData&&t.historyData.list&&t.historyData.list.length>0)}}function $t(e,c){e&1&&(r(0,"p",66),s(1),d(2,"translate"),o()),e&2&&(i(),f(" ",h(2,1,"noResultsFound")," "))}function Vt(e,c){if(e&1&&(D(0),u(1,$t,3,3,"p",65),b()),e&2){let t=m();i(),p("ngIf",!t.historyData.list||t.historyData.list.length===0)}}function Rt(e,c){e&1&&(r(0,"p",66),s(1),d(2,"translate"),o()),e&2&&(i(),f(" ",h(2,1,"noMoreResult")," "))}function Lt(e,c){if(e&1&&(D(0),u(1,Rt,3,3,"p",65),b()),e&2){let t=m();i(),p("ngIf",t.nowTab==="deposit"&&t.depositNoMoreData||t.nowTab==="withdraw"&&t.withdrawalNoMoreData||t.nowTab==="transfer"&&t.transferNoMoreData)}}function jt(e,c){if(e&1){let t=S();r(0,"app-pagination",67),w("newItemEvent",function(n){C(t);let l=m();return I(l.getNewData(n))}),o()}if(e&2){let t=m();p("pageInfo",t.historyData.pageInfo)}}var ae=(()=>{let c=class c{constructor(a,n,l,_,v){this.globalData=a,this.httpService=n,this.datePipe=l,this.langService=_,this.clipboard=v,this.menu=["deposit","withdraw","transfer"],this.dateRangeList=["today","yesterday","7Days","30Days"],this.depositPage=1,this.withdrawalPage=1,this.transferPage=1,this.depositContinueGetData=!1,this.withdrawalContinueGetData=!1,this.transferContinueGetData=!1,this.depositNoMoreData=!1,this.withdrawalNoMoreData=!1,this.transferNoMoreData=!1,this.displayFormat="yyyy/MM/dd",this.range=null,this.isCalendarCanceled=!1,this.isCopy=!1}
1ngOnInit(){this.nowTab=this.menu[0],this.initCalendar(),this.globalData.loading=!1}ngAfterViewInit(){this.initBulmaCalendar(),this.searchHistoryData()}onWindowScroll(){let a=!1,n=!1;switch(this.nowTab){case"deposit":a=this.depositContinueGetData,n=this.depositNoMoreData;break;case"withdraw":a=this.withdrawalContinueGetData,n=this.withdrawalNoMoreData;break;case"transfer":a=this.transferContinueGetData,n=this.transferNoMoreData;break}if(a&&!n&&this.globalData.isMobileStyle){let l=document.documentElement,v=l.scrollHeight-l.clientHeight*1.3;if(l.scrollTop>v){switch(this.nowTab){case"deposit":this.depositPage+=1,this.depositContinueGetData=!1;break;case"withdraw":this.withdrawalPage+=1,this.withdrawalContinueGetData=!1;break;case"transfer":this.transferPage+=1,this.transferContinueGetData=!1;break}this.getHistoryData()}}}initBulmaCalendar(){let a={lang:this.langService.language.substring(0,2),isRange:!0,startDate:this.searchDate.startDate,endDate:this.searchDate.endDate,closeOnSelect:!1,showTodayButton:!1,showClearButton:!1,validateLabel:this.globalData.translateString("confirm"),cancelLabel:this.globalData.translateString("cancel"),clearLabel:this.globalData.translateString("reset"),dateFormat:this.displayFormat,useThYear:this.langService.language==="th-TH"};this.calendar=new X.default(this.bCalendar.nativeElement,a),this.clearbuttons=document.getElementsByClassName("datetimepicker-clear-button"),this.clearbuttons[0].style.visibility="hidden",this.todaybuttons=document.getElementsByClassName("datetimepicker-footer-today"),this.todaybuttons[0].style.visibility="hidden";let n=document.getElementsByClassName("datetimepicker-footer-validate");this.cancelbuttons=document.getElementsByClassName("datetimepicker-footer-cancel"),["mousedown","touchstart"].forEach(l=>{this.cancelbuttons[0].addEventListener(l,()=>{this.isCalendarCanceled=!0})}),this.calendar&&(this.calendar.on("select:start",()=>{n[0].style.visibility="hidden",this.searchDate.endDate=null}),this.calendar.on("select",()=>{n[0].style.visibility="visible"}),this.calendar.on("show",()=>{this.isCalendarCanceled=!1,this.calendar.startDate&&this.calendar.endDate&&(n[0].style.visibility="visible")}),this.calendar.on("hide",()=>{if(this.isCalendarCanceled){this.initCalendar(this.range);return}if(!this.calendar.endDate){this.initCalendar(this.range),this.cancelbuttons[0].click();return}this.calendar.save()}))}searchHistoryData(){switch(this.nowTab){case"deposit":this.depositPage=1,this.depositNoMoreData=!1,this.depositContinueGetData=!1;break;case"withdraw":this.withdrawalPage=1,this.withdrawalNoMoreData=!1,this.withdrawalContinueGetData=!1;break;case"transfer":this.transferPage=1,this.transferNoMoreData=!1,this.transferContinueGetData=!1;break}this.getHistoryData()}getHistoryData(){switch(this.nowTab){case"deposit":this.getHistory("In");break;case"withdraw":this.getHistory("Out");break;case"transfer":this.getTransferHistory("Trans");break}}getHistory(a){let n;a==="In"?(this.depositSearchDate.startDate=this.calendar.startDate,this.depositSearchDate.endDate=this.calendar.endDate,n=this.depositPage):a==="Out"&&(this.withdrawalSearchDate.startDate=this.calendar.startDate,this.withdrawalSearchDate.endDate=this.calendar.endDate,n=this.withdrawalPage),this.globalData.loading=!0;let l={tranType:a,beginDate:this.datePipe.transform(this.calendar.startDate,"yyyy-MM-dd"),endDate:this.datePipe.transform(this.calendar.endDate,"yyyy-MM-dd"),pageNo:n};this.httpService.getTransactionHistory(l).subscribe(_=>{if(_.code===0){let v=_.data.list;n===1?(this.historyData=_.data,a==="In"?(this.depositHistoryData=_.data,v.length>0&&(this.depositContinueGetData=!0)):a==="Out"&&(this.withdrawalHistoryData=_.data,v.length>0&&(this.withdrawalContinueGetData=!0))):this.globalData.isMobileStyle?v.length>0?a==="In"?(v.forEach(x=>{this.depositHistoryData.list.push(x)}),this.depositContinueGetData=!0):a==="Out"&&(v.forEach(x=>{this.withdrawalHistoryData.list.push(x)}),this.withdrawalContinueGetData=!0):a==="In"?this.depositNoMoreData=!0:a==="Out"&&(this.withdrawalNoMoreData=!0):this.historyData=_.data,this.globalData.isMobileStyle&&setTimeout(()=>{this.main.nativeElement.offsetHeight<window.outerHeight&&(this.depositContinueGetData?(this.depositPage+=1,this.depositContinueGetData=!1,this.getHistory(a)):this.withdrawalContinueGetData?(this.withdrawalPage+=1,this.withdrawalContinueGetData=!1,this.getHistory(a)):this.globalData.loading=!1)}
1,1),this.globalData.loading=!1}else this.globalData.loading=!1})}getTransferHistory(a){this.transferSearchDate.startDate=this.calendar.startDate,this.transferSearchDate.endDate=this.calendar.endDate;let n=this.transferPage;this.globalData.loading=!0;let l={tranType:a,begin:this.datePipe.transform(this.calendar.startDate,"yyyy-MM-dd"),end:this.datePipe.transform(this.calendar.endDate,"yyyy-MM-dd"),position:n};this.httpService.getTransferHistory(l).subscribe(_=>{if(_.code===0){_.data.list.map(x=>{x.status=x.isSuccess==1?"A":x.isSuccess==-1?"R":x.isSuccess==0?"P":x.isSuccess});let v=_.data.list;n===1?(this.historyData=_.data,this.transferHistoryData=_.data,v.length>0&&(this.transferContinueGetData=!0)):this.globalData.isMobileStyle?v.length>0?(v.forEach(x=>{this.transferHistoryData.list.push(x)}),this.transferContinueGetData=!0):this.transferNoMoreData=!0:(this.historyData=_.data,this.transferHistoryData=_.data),this.globalData.isMobileStyle&&setTimeout(()=>{this.main.nativeElement.offsetHeight<window.outerHeight&&this.transferContinueGetData&&(this.transferPage+=1,this.transferContinueGetData=!1,this.getTransferHistory(a))},1),this.globalData.loading=!1}else this.globalData.loading=!1})}initCalendar(a){this.range=a;let n=0;if(a){let l=0,_=0;switch(a){case"today":l=0,_=1;break;case"yesterday":l=1,_=0;break;case"7Days":l=7,_=0;break;case"30Days":l=30,_=0;break}this.searchDate={startDate:this.changeDate(n,-l),endDate:this.changeDate(n,_),maxDate:this.changeDate(n,1)}}else this.searchDate={startDate:this.changeDate(n),endDate:this.changeDate(n,1),maxDate:this.changeDate(n,1)},this.depositSearchDate={startDate:this.changeDate(n),endDate:this.changeDate(n,1)},this.withdrawalSearchDate={startDate:this.changeDate(n),endDate:this.changeDate(n,1)},this.transferSearchDate={startDate:this.changeDate(n),endDate:this.changeDate(n,1)};this.calendar&&(this.todaybuttons[0].click(),this.calendar.startDate=this.searchDate.startDate,this.calendar.endDate=this.searchDate.endDate,this.calendar.dateFormat=this.displayFormat,this.calendar.save(),this.cancelbuttons[0].click())}changeDate(a,n){let l=new Date;return a&&l.setFullYear(l.getFullYear()+a),n&&l.setDate(l.getDate()+n),this.datePipe.transform(l,"yyyy-MM-dd")}toggleHistoryList(a){if(this.nowTab!==a){switch(this.nowTab=a,this.nowTab){case"deposit":this.searchDate.startDate=this.depositSearchDate.startDate,this.searchDate.endDate=this.depositSearchDate.endDate,this.historyData=this.depositHistoryData,this.depositHistoryData=null,this.withdrawalHistoryData=null,this.transferHistoryData=null;break;case"withdraw":this.searchDate.startDate=this.withdrawalSearchDate.startDate,this.searchDate.endDate=this.withdrawalSearchDate.endDate,this.historyData=this.withdrawalHistoryData,this.depositHistoryData=null,this.withdrawalHistoryData=null,this.transferHistoryData=null;break;case"transfer":this.searchDate.startDate=this.transferSearchDate.startDate,this.searchDate.endDate=this.transferSearchDate.endDate,this.historyData=this.transferHistoryData,this.depositHistoryData=null,this.withdrawalHistoryData=null,this.transferHistoryData=null;break}this.initCalendar("today"),this.todaybuttons[0].click(),this.cancelbuttons[0].click(),this.calendar.save(),this.searchHistoryData()}}setFocus(a){a.open()}transferStatus(a){switch(a){case"A":return"success";case"R":return"reject";case"P":return"pending";case"S":return"progress";default:return"progress"}}transferStatusMsg(a){switch(a){case"A":return this.globalData.translateString("reportPage.success");case"R":return this.nowTab=="Transfer"?this.globalData.translateString("reportPage.failed"):this.globalData.translateString("reportPage.reject");case"P":return this.globalData.translateString("reportPage.pending");case"S":return this.globalData.translateString("reportPage.inProcess");default:return this.globalData.translateString("reportPage.inProcess")}}formatThousands(a,n){return Number(a).toFixed(n).replace(/(\d{1,3})(?=(\d{3})+\.)/g,"$1,")}getNewData(a){switch(a){case"next":switch(this.nowTab){case"deposit":this.depositPage+=1;break;case"withdraw":this.withdrawalPage+=1;break;case"transfer":this.transferPage+=1;break}break;case"pre":switch(this.nowTab){case"deposit":this.depositPage-=1;break;case"withdraw":this.withdrawalPage-=1;break;case"transfer":this.transferPage-=1;break}break;default:let n=parseInt(a);switch(this.nowTab){case"deposit":this.depositPage=n;break;case"withdraw":this.withdrawalPage=n;break;case"transfer":this.transferPage=n;break}break}this.getHistoryData()}copyFromId(a){this.isCopy=!1,window.clearTimeout(this.timer),a&&(this.clipboard.copy(a),this.isCopy=!0),this.timer=setTimeout(()=>{this.isCopy=!1},5e3)}};c.\u0275fac=function(n){return new(n||c)(T(Q),T(Y),T(E),T(V),T(q))},c.\u0275cmp=B({type:c,selectors:[["app-history"]],viewQuery:function(n,l){if(n&1&&(M(it,5),M(nt,5)),n&2){let _;k(_=N())&&(l.bCalendar=_.first),k(_=N())&&(l.main=_.first)}},hostBindings:function(n,l){n&1&&w("scroll",function(){return l.onWindowScroll()},!1,O)},standalone:!0,features:[G],decls:27,vars:14,consts:[["main",""],["BulmaCalendar",""],[3,"title"],["data-show","web-window","class","user-info-box",4,"ngIf"],[1,"sub-nav"],[4,"ngFor","ngForOf"],[1,"big-block"],[1,"form"],[1,"form-group"],[1,"col"],[1,"date-inpute"],[1,"icon-Calendar"],["type","date","readonly","",1,"date"],[1,"input-btn",3,"click"],[1,"icon-Search"],["class","choice-list history-type",4,"ngIf"],[4,"ngIf"],[3,"pageInfo","newItemEvent",4,"ngIf"],["data-show","web-window",1,"user-info-box"],[1,"icon-Avatar"],[3,"ngClass"],[3,"click"],[1,"choice-list","history-type"],[1,"report-list","history-report",3,"ngClass"],[1,"report-head"],[1,"title"],["class","title",4,"ngIf"],["class","title history-detail-title",4,"ngIf"],["class","wrap",4,"ngIf"],[1,"title","history-detail-title"],[1,"wrap"],[1,"report-item",3,"ngClass"],[1,"content"],[1,"id"],[1,"time"],[1,"date"],[1,"clock"],[1,"text-center"],[1,"copy-btn",3,"click"],[1,"icon-Copy","copy-color"],[1,"tooltip"],["class","success-msg fade-out",4,"ngIf"],["class","text-center align-center",4,"ngIf"],["class","history-detail",4,"ngIf"],[3,"className"],[1,"success-msg","fade-out"],[1,"text-center","align-center"],[1,"history-detail"],[1,"text-box"],[1,"acc-name"],[1,"sub-info"],[1,"icon-history_transfer_arrow"],["class","history-list",4,"ngIf"],[1,"history-list"],[1,"item"],[1,"history-report-mobile","content",3,"ngClass"],[1,"acc"],[1,"align-right"],["class","history-report-mobile content second-line",4,"ngIf"],["class","text-box align-right",4,"ngIf"],["class","text-box",4,"ngIf"],[1,"text-box","align-right"],[1,"acc-name","acc-width"],[1,"history-report-mobile","content","second-line"],[1,"acc-name","acc-bank-width"],["class","alert-note",4,"ngIf"],[1,"alert-note"],[3,"newItemEvent","pageInfo"]],template:function(n,l){if(n&1){let _=S();y(0,"app-title-nav",2),d(1,"translate"),r(2,"main",null,0),u(4,ot,6,1,"div",3),r(5,"div",4)(6,"ul"),u(7,st,5,6,"ng-container",5),o()(),r(8,"div",6)(9,"div",7)(10,"div",8)(11,"div",9)(12,"label"),s(13),d(14,"translate"),o(),r(15,"div",10),y(16,"i",11)(17,"input",12,1),o()(),r(19,"button",13),w("click",function(){return C(_),I(l.searchHistoryData())}),y(20,"i",14),o()(),u(21,pt,2,1,"div",15),o(),u(22,Ct,21,19,"ng-container",16)(23,At,2,1,"ng-container",16)(24,Vt,2,1,"ng-container",16)(25,Lt,2,1,"ng-container",16)(26,jt,1,1,"app-pagination",17),o()()}n&2&&(p("title",h(1,10,"accountPage.history")),i(4),p("ngIf",!l.globalData.isMobileStyle),i(3),p("ngForOf",l.menu),i(6),g(h(14,12,"dateRange")),i(8),p("ngIf",l.globalData.isMobileStyle),i(),p("ngIf",!l.globalData.isMobileStyle),i(),p("ngIf",l.globalData.isMobileStyle),i(),p("ngIf",l.historyData),i(),p("ngIf",l.globalData.isMobileStyle),i(),p("ngIf",!l.globalData.isMobileStyle&&l.historyData))},dependencies:[z,j,U,L,R,K,E,J,$,A],styles:['@charset "UTF-8";.date[_ngcontent-%COMP%]{line-height:36px}.history-report[_ngcontent-%COMP%]   .report-head[_ngcontent-%COMP%], .history-report[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{height:50px;display:grid;justify-items:center;grid-template-columns:1fr 3fr 2fr 3fr 3fr 3fr 1.5fr 2fr}.history-report[_ngcontent-%COMP%]   .report-head[_ngcontent-%COMP%]   .num[_ngcontent-%COMP%], .history-report[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .num[_ngcontent-%COMP%]{margin-right:37%}.history-report[_ngcontent-%COMP%]   .report-head[_ngcontent-%COMP%]   .align-center[_ngcontent-%COMP%], .history-report[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .align-center[_ngcontent-%COMP%]{text-align:center}.transfer-mode[_ngcontent-%COMP%]   .report-head[_ngcontent-%COMP%], .transfer-mode[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:grid;justify-items:center;
1grid-template-columns:1fr 3fr 2fr 4fr 1.5fr 2fr}.transfer-mode[_ngcontent-%COMP%]   .report-head[_ngcontent-%COMP%]   .num[_ngcontent-%COMP%], .transfer-mode[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .num[_ngcontent-%COMP%]{margin-right:30%}.history-report-mobile.content[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr .5fr;align-items:center;column-gap:8px}.history-report-mobile.content.cryptocurrency[_ngcontent-%COMP%]{grid-template-columns:1.5fr 1fr .5fr .5fr}.history-report-mobile.content.second-line[_ngcontent-%COMP%]{grid-template-columns:2.5fr}.history-report-mobile.content[_ngcontent-%COMP%]   .text-box[_ngcontent-%COMP%]{min-width:0}.history-report-mobile.content[_ngcontent-%COMP%]   .acc-bank-width[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-report-mobile.content[_ngcontent-%COMP%]   .align-right[_ngcontent-%COMP%]{text-align:right}'],data:{animation:[W]}});let e=c;return e})();export{ae as HistoryComponent};

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.