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.60b2e807d9c1f809.js

1 line
2.8 MiB
JavaScript

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[564],{9564:(X0,Gr,Pt)=>{"use strict";Pt.r(Gr),Pt.d(Gr,{CLNModule:()=>xE});var gt=Pt(9808),ie=Pt(1402),T=Pt(8878),A=Pt(5e3),n=Pt(7093),u=Pt(5899);function o(i,d){1&i&&A._UZ(0,"mat-progress-bar",3)}let s=(()=>{class i{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(a=>{switch(!0){case a instanceof ie.OD:this.loading=!0;break;case a instanceof ie.m2:case a instanceof ie.gk:case a instanceof ie.Q3:this.loading=!1}})}}return i.\u0275fac=function(t){return new(t||i)(A.Y36(ie.F0))},i.\u0275cmp=A.Xpm({type:i,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,a){1&t&&(A.TgZ(0,"div",0),A.YNc(1,o,1,0,"mat-progress-bar",1),A._UZ(2,"router-outlet",null,2),A.qZA()),2&t&&(A.xp6(1),A.Q6J("ngIf",a.loading))},directives:[n.xw,n.yH,n.Wh,gt.O5,u.pW,ie.lC],styles:[""],data:{animation:[T.g]}}),i})();var l=Pt(7579),g=Pt(2722),f=Pt(1365),E=Pt(3396),h=Pt(2687),r=Pt(7731),w=Pt(9828),e=Pt(5043),B=Pt(5620),c=Pt(62),C=Pt(9546),Q=Pt(3954),M=Pt(9224),Y=Pt(7423),v=Pt(2181),p=Pt(5245),I=Pt(3322);const y=function(i){return{backgroundColor:i}};function U(i,d){if(1&i&&A._UZ(0,"span",6),2&i){const t=A.oxw();A.Q6J("ngStyle",A.VKq(1,y,"#"+(null==t.information?null:t.information.color)))}}function S(i,d){if(1&i&&(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&i){const t=A.oxw();A.xp6(4),A.Q6J("ngStyle",A.VKq(4,y,"#"+(null==t.information?null:t.information.color))),A.xp6(1),A.hij(" ",A.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function b(i,d){if(1&i&&(A.TgZ(0,"span",2),A._uU(1),A.qZA()),2&i){const t=d.$implicit;A.xp6(1),A.Oqu(t)}}let O=(()=>{class i{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 i.\u0275fac=function(t){return new(t||i)(A.Y36(c.v))},i.\u0275cmp=A.Xpm({type:i,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,a){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,U,1,3,"span",3),A.qZA()(),A.YNc(7,S,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,b,2,1,"span",5),A.qZA()()),2&t&&(A.xp6(5),A.hij(" ",null==a.information?null:a.information.alias," "),A.xp6(1),A.Q6J("ngIf",!a.showColorFieldSeparately),A.xp6(1),A.Q6J("ngIf",a.showColorFieldSeparately),A.xp6(5),A.Oqu(null!=a.information&&a.information.lnImplementation||null!=a.information&&a.information.version?(null==a.information?null:a.information.lnImplementation)+" "+(null==a.information?null:a.information.version):""),A.xp6(4),A.Q6J("ngForOf",a.chains))},directives:[n.xw,n.yH,n.Wh,gt.O5,gt.PC,I.Zl,gt.sg],pipes:[gt.gd],styles:[""]}),i})();function J(i,d){if(1&i&&(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.qZA(),A.TgZ(