1"use strict";(self.webpackChunkb2core=self.webpackChunkb2core||[]).push([[1178],{51178(C,g,n){n.d(g,{WalletComponent:()=>T});var u=n(86970),s=n(65145),h=n(29397),p=n(47421),i=n(35996),P=n(39565),r=n(58419),l=n(9921),c=n(15980),O=n(33929),f=n(8081),t=n(88463);const E=a=>[a];function W(a,_){if(1&a&&t.nrm(0,"ds-currency-icon",2),2&a){const e=t.XpG();t.Y8G("currency",e.currency)}}function m(a,_){if(1&a){const e=t.RV6();t.j41(0,"ds-button",9),t.bIt("click",function(){s.eBV(e);const M=t.XpG(),d=t.XpG();return s.Njj(d.goToWithdrawal(M.accountId))}),t.k0s()}}function x(a,_){if(1&a&&t.nrm(0,"ds-plain-button",8),2&a){const e=t.XpG(2);t.Y8G("routerPath",t.eq3(1,E,"/ib-room/reports/"+e.currentPartnerId+"/transactions"))}}function I(a,_){if(1&a&&(t.j41(0,"div",0)(1,"div",1),t.nVh(2,W,1,1,"ds-currency-icon",2),t.j41(3,"dl")(4,"dt"),t.EFF(5),t.k0s(),t.j41(6,"dd"),t.EFF(7),t.nI1(8,"translate"),t.k0s()()(),t.j41(9,"div",3)(10,"span",4),t.EFF(11),t.nI1(12,"thousandSeparator"),t.k0s(),t.j41(13,"span",5),t.EFF(14),t.nI1(15,"translate"),t.nI1(16,"thousandSeparator"),t.k0s()()(),t.j41(17,"div",6),t.nVh(18,m,1,0,"ds-button",7),t.nI1(19,"async"),t.nVh(20,x,1,3,"ds-plain-button",8),t.nI1(21,"async"),t.k0s()),2&a){const e=_,o=t.XpG();t.R7$(2),t.vxM(e.currency?2:-1),t.R7$(3),t.SpI(" ",e.currency," "),t.R7$(2),t.Lme(" ",t.bMT(8,10,"%%B2Core.Shared.FeatureWidgets.Boards.IbRoom.Widgets.Wallet.ID%%")," ",e.accountNumber," "),t.R7$(4),t.SpI(" ",t.bMT(12,12,e.balance)," "),t.R7$(3),t.E5c(" ",t.bMT(15,14,"%%B2Core.Shared.FeatureWidgets.Boards.IbRoom.Widgets.Wallet.TotalRewards%%")," ",t.bMT(16,16,e.total)," ",e.currency," "),t.R7$(4),t.vxM(t.bMT(19,18,o.hasAliasWithdrawal)?18:-1),t.R7$(2),t.vxM(t.bMT(21,20,o.hasAliasTransactions)?20:-1)}}let T=(()=>{class a extends f.S{get currentPartnerId(){return this.config.getCurrentPartnerId()}constructor(){super(),this.router=(0,s.WQX)(h.Ix),this.config=(0,s.WQX)(O.O),this.wallet$=this.config.getWalletList().pipe((0,c.T)(([e])=>e))}goToWithdrawal(e){this.router.navigate(["/funds/withdrawal"],{queryParams:{currencyId:e}})}get hasAliasWithdrawal(){return this.config.hasAliasWithdrawal()}get hasAliasTransactions(){return this.config.hasAliasTransactions()}makeDefaultSettings(){return null}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["feature-widgets-wallet"]],features:[t.Vt3],decls:2,vars:3,consts:[[1,"info"],[1,"currency"],[3,"currency"],[1,"total"],[1,"balance"],[1,"rewards"],[1,"actions"],["appearance","secondary","data-testId","go-to-withdrawal","labelTranslateKey","%%B2Core.Shared.FeatureWidgets.Boards.IbRoom.Widgets.Wallet.Withdraw%%","size","S",1,"to-withdraw-button"],["appearance","primary","data-testId","transactions-link","iconName","chevron-right-16","iconSide","right","labelTranslateKey","%%B2Core.Shared.FeatureWidgets.Boards.IbRoom.Widgets.Wallet.Transactions%%","size","M",1,"to-transactions-button",3,"routerPath"],["appearance","secondary","data-testId","go-to-withdrawal","labelTranslateKey","%%B2Core.Shared.FeatureWidgets.Boards.IbRoom.Widgets.Wallet.Withdraw%%","size","S",1,"to-withdraw-button",3,"click"]],template:function(o,M){if(1&o&&(t.nVh(0,I,22,22),t.nI1(1,"async")),2&o){let d;t.vxM((d=t.bMT(1,1,M.wallet$))?0:-1,d)}},dependencies:[i.z,p.D,r.J,u.Jj,P.w,l.D],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;padding:0 24px 24px;box-sizing:border-box;gap:24px}[_nghost-%COMP%] .info[_ngcontent-%COMP%], [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{flex:1;min-width:240px}.info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.info[_ngcontent-%COMP%] .currency[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.info[_ngcontent-%COMP%] .currency[_ngcontent-%COMP%] ds-currency-icon[_ngcontent-%COMP%]{width:40px;height:40px}.info[_ngcontent-%COMP%] .currency[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{font-size:12px;line-height:16px;color:var(--text-secondary);white-space:nowrap}.info[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{display:flex;flex-direction:column}.info[_ngcontent-%COMP%] .total[_ngcontent-%COMP%] .balance[_ngcontent-%COMP%]{font-size:32px;line-height:40px}.info[_ngcontent-%COMP%] .total[_ngcontent-%COMP%] .rewards[_ngcontent-%COMP%]{font-size:12px;line-height:20px;color:var(--text-secondary);white-space:nowrap}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.actions[_ngcontent-%COMP%] .to-withdraw-button[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%] .to-transactions-button[_ngcontent-%COMP%]{margin:0 auto;color:var(--accent)}"],changeDetection:0})}}return a})()},8081(C,g,n){n.d(g,{S:()=>p});var u=n(38390),s=n(2841),h=n(88463);let p=(()=>{class i{constructor(){this.skeletonHidden=new s.m(1),this.settings$=new u.t(this.makeDefaultSettings())}selectInstrument(r){}hideSkeleton(){this.skeletonHidden.next()}overrideDefaultSettings(r){const l=this.settings$.value;for(const c in r)l[c]=r[c];this.settings$.next(l)}static{this.\u0275fac=function(l){return new(l||i)}}static{this.\u0275dir=h.FsC({type:i,outputs:{skeletonHidden:"skeletonHidden"}})}}return i})()}}]);
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.