You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/angular/432.635dd65c825f8e4ca25b.js

1 line
271 KiB
JavaScript

(self.webpackChunkrtl=self.webpackChunkrtl||[]).push([[432],{1432:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ECLModule:()=>Ir});var i=n(1511),a=n(6853),o=n(2865),s=n(1572),l=n(3722),r=n(5994);function c(t,e){1&t&&s._UZ(0,"mat-progress-bar",3)}let u=(()=>{class t{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(t=>{switch(!0){case t instanceof a.OD:this.loading=!0;break;case t instanceof a.m2:case t instanceof a.gk:case t instanceof a.Q3:this.loading=!1}})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.F0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["rtl-ecl-root"]],decls:4,vars:1,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["color","primary","mode","indeterminate",4,"ngIf"],["outlet","outlet"],["color","primary","mode","indeterminate"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,c,1,0,"mat-progress-bar",1),s._UZ(2,"router-outlet",null,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[l.xw,l.yH,l.Wh,i.O5,a.lC,r.pW],styles:[""],data:{animation:[o.g]}}),t})();var d=n(9666),m=n(9568),h=n(8868),p=n(7810),g=n(5291),f=n(9421),x=n(6124),Z=n(3869),y=n(964),A=n(5573),w=n(1084),T=n(7592),v=n(7271),q=n(7439),C=n(8055),b=n(5980),S=n(3691),L=n(377);const F=function(t){return{backgroundColor:t}};function _(t,e){if(1&t&&s._UZ(0,"span",6),2&t){const t=s.oxw();s.Q6J("ngStyle",s.VKq(1,F,t.information.color))}}function k(t,e){if(1&t&&(s.TgZ(0,"div"),s.TgZ(1,"h4",1),s._uU(2,"Color"),s.qZA(),s.TgZ(3,"div",2),s._UZ(4,"span",7),s._uU(5),s.ALo(6,"uppercase"),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(4),s.Q6J("ngStyle",s.VKq(4,F,t.information.color)),s.xp6(1),s.hij(" ",s.lcZ(6,2,t.information.color)," ")}}function N(t,e){if(1&t&&(s.TgZ(0,"span",2),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}let U=(()=>{class t{constructor(t){this.commonService=t,this.chains=[""]}ngOnChanges(){this.chains=[],this.chains.push("Bitcoin "+(this.information.network?this.commonService.titleCase(this.information.network):"Testnet"))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(w.v))},t.\u0275cmp=s.Xpm({type:t,selectors:[["rtl-ecl-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[s.TTD],decls:17,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[1,"dashboard-info-title"],[1,"overflow-wrap","dashboard-info-value"],["class","dashboard-node-dot dot",3,"ngStyle",4,"ngIf"],[4,"ngIf"],["class","overflow-wrap dashboard-info-value",4,"ngFor","ngForOf"],[1,"dashboard-node-dot","dot",3,"ngStyle"],[1,"dashboard-node-square",3,"ngStyle"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div"),s.TgZ(2,"h4",1),s._uU(3,"Alias"),s.qZA(),s.TgZ(4,"div",2),s._uU(5),s.YNc(6,_,1,3,"span",3),s.qZA(),s.qZA(),s.YNc(7,k,7,6,"div",4),s.TgZ(8,"div"),s.TgZ(9,"h4",1),s._uU(10,"Implementation"),s.qZA(),s.TgZ(11,"div",2),s._uU(12),s.qZA(),s.qZA(),s.TgZ(13,"div"),s.TgZ(14,"h4",1),s._uU(15,"Chain"),s.qZA(),s.YNc(16,N,2,1,"span",5),s.qZA(),s.qZA()),2&t&&(s.xp6(5),s.hij(" ",e.information.alias," "),s.xp6(1),s.Q6J("ngIf",!e.showColorFieldSeparately),s.xp6(1),s.Q6J("ngIf",e.showColorFieldSeparately),s.xp6(5),s.Oqu(e.information.lnImplementation||e.information.version?e.information.lnImplementation+" "+e.information.version:""),s.xp6(4),s.Q6J("ngForOf",e.chains))},directives:[l.xw,l.yH,l.Wh,i.O5,i.sg,i.PC,L.Zl],pipes:[i.gd],styles:[""]}),t})(),D=(()=>{class t{constructor(){this.balances={onchain:0,lightning:0,total:0}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["rtl-ecl-balances-info"]],inputs:{balances:"balances"},decls:21,vars:11,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayoutAlign","start",1,"dashboard-info-title"],[1,"overflow-wrap","dashboard-info-value"],["mode","determinate",1,"dashboard-progress-bar",3,"value"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div"),s.TgZ(2,"h4",1),s._uU(3,"Lightning"),s.qZA(),s.TgZ(4,"div",2),s._uU(5),s.ALo(6,"number"),s.qZA(