2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-10-31 09:20:27 +00:00
RTL/frontend/564.f639cfe4254bb226.js

1 line
2.7 MiB
JavaScript
Raw Normal View History

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[564],{9564:(Bi,Sr,Ut)=>{"use strict";Ut.r(Sr),Ut.d(Sr,{CLNModule:()=>gf});var ft=Ut(9808),$t=Ut(1402),zn=Ut(8878),A=Ut(5e3),Ct=Ut(7093),T=Ut(5899);function I(r,D){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,ft.O5,T.pW,$t.lC],styles:[""],data:{animation:[zn.g]}}),r})();var c=Ut(7579),i=Ut(2722),o=Ut(1365),l=Ut(534),h=Ut(801),a=Ut(7731),B=Ut(9828),E=Ut(5043),u=Ut(5620),C=Ut(62),e=Ut(9444),f=Ut(3954),g=Ut(9224),w=Ut(7423),Q=Ut(2181),p=Ut(5245),Y=Ut(3322);const y=function(r){return{backgroundColor:r}};function d(r,D){if(1&r&&A._UZ(0,"span",6),2&r){const t=A.oxw();A.Q6J("ngStyle",A.VKq(1,y,"#"+(null==t.information?null:t.information.color)))}}function v(r,D){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,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 m(r,D){if(1&r&&(A.TgZ(0,"span",2),A._uU(1),A.qZA()),2&r){const t=D.$implicit;A.xp6(1),A.Oqu(t)}}let P=(()=>{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(C.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,d,1,3,"span",3),A.qZA()(),A.YNc(7,v,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,m,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,ft.O5,ft.PC,Y.Zl,ft.sg],pipes:[ft.gd],styles:[""]}),r})();function N(r,D){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.qZA()