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/frontend/564.0428ec771d033752.js

1 line
2.7 MiB
JavaScript

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[564],{9564:(oi,xr,Nt)=>{"use strict";Nt.r(xr),Nt.d(xr,{CLNModule:()=>rf});var Et=Nt(9808),_t=Nt(1402),Pn=Nt(8878),A=Nt(5e3),Ct=Nt(7093),Y=Nt(5899);function I(r,y){1&r&&A._UZ(0,"mat-progress-bar",3)}let n=(()=>{class r{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(s=>{switch(!0){case s instanceof _t.OD:this.loading=!0;break;case s instanceof _t.m2:case s instanceof _t.gk:case s instanceof _t.Q3:this.loading=!1}})}}return r.\u0275fac=function(t){return new(t||r)(A.Y36(_t.F0))},r.\u0275cmp=A.Xpm({type:r,selectors:[["rtl-cln-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,s){1&t&&(A.TgZ(0,"div",0),A.YNc(1,I,1,0,"mat-progress-bar",1),A._UZ(2,"router-outlet",null,2),A.qZA()),2&t&&(A.xp6(1),A.Q6J("ngIf",s.loading))},directives:[Ct.xw,Ct.yH,Ct.Wh,Et.O5,Y.pW,_t.lC],styles:[""],data:{animation:[Pn.g]}}),r})();var c=Nt(7579),i=Nt(2722),o=Nt(1365),l=Nt(534),h=Nt(801),a=Nt(7731),g=Nt(9828),E=Nt(5043),u=Nt(5620),C=Nt(6642),e=Nt(62),f=Nt(9444),B=Nt(3954),w=Nt(9224),Q=Nt(7423),p=Nt(2181),S=Nt(5245),m=Nt(3322);const d=function(r){return{backgroundColor:r}};function v(r,y){if(1&r&&A._UZ(0,"span",6),2&r){const t=A.oxw();A.Q6J("ngStyle",A.VKq(1,d,"#"+(null==t.information?null:t.information.color)))}}function D(r,y){if(1&r&&(A.TgZ(0,"div")(1,"h4",1),A._uU(2,"Color"),A.qZA(),A.TgZ(3,"div",2),A._UZ(4,"span",7),A._uU(5),A.ALo(6,"uppercase"),A.qZA()()),2&r){const t=A.oxw();A.xp6(4),A.Q6J("ngStyle",A.VKq(4,d,"#"+(null==t.information?null:t.information.color))),A.xp6(1),A.hij(" ",A.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function U(r,y){if(1&r&&(A.TgZ(0,"span",2),A._uU(1),A.qZA()),2&r){const t=y.$implicit;A.xp6(1),A.Oqu(t)}}let T=(()=>{class r{constructor(t){this.commonService=t,this.chains=[""]}ngOnChanges(){this.information&&this.information.chains&&this.information.chains.length>0&&(this.chains=[""],this.information.chains.forEach(t=>{this.chains.push(this.commonService.titleCase(t.chain)+" "+this.commonService.titleCase(t.network))}))}}return r.\u0275fac=function(t){return new(t||r)(A.Y36(e.v))},r.\u0275cmp=A.Xpm({type:r,selectors:[["rtl-cln-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[A.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,s){1&t&&(A.TgZ(0,"div",0)(1,"div")(2,"h4",1),A._uU(3,"Alias"),A.qZA(),A.TgZ(4,"div",2),A._uU(5),A.YNc(6,v,1,3,"span",3),A.qZA()(),A.YNc(7,D,7,6,"div",4),A.TgZ(8,"div")(9,"h4",1),A._uU(10,"Implementation"),A.qZA(),A.TgZ(11,"div",2),A._uU(12),A.qZA()(),A.TgZ(13,"div")(14,"h4",1),A._uU(15,"Chain"),A.qZA(),A.YNc(16,U,2,1,"span",5),A.qZA()()),2&t&&(A.xp6(5),A.hij(" ",null==s.information?null:s.information.alias," "),A.xp6(1),A.Q6J("ngIf",!s.showColorFieldSeparately),A.xp6(1),A.Q6J("ngIf",s.showColorFieldSeparately),A.xp6(5),A.Oqu(null!=s.information&&s.information.lnImplementation||null!=s.information&&s.information.version?(null==s.information?null:s.information.lnImplementation)+" "+(null==s.information?null:s.information.version):""),A.xp6(4),A.Q6J("ngForOf",s.chains))},directives:[Ct.xw,Ct.yH,Ct.Wh,Et.O5,Et.PC,m.Zl,Et.sg],pipes:[Et.gd],styles:[""]}),r})();function F(r,y){if(1&r&&(A.TgZ(0,"div",2)(1,"div")(2,"h4",3),A._uU(3,"Lightning"),A.qZA(),A.TgZ(4,"div",4),A._uU(5),A.ALo(6,"number"),A.qZA(),A._UZ(7,"mat-progress-bar",5),A.qZA(),A.TgZ(8,"div")(9,"h4",3),A._uU(10,"On-chain"),A.qZA(),A.TgZ(11,"div",4),A._uU(12),A.ALo(13,"number"),A.qZA(),A._UZ(14,"mat-progress-bar",5),A.qZ