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/636.1aa5210b7043b6ea.js

1 line
587 KiB
JavaScript

"use strict";(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[636],{1636:(wg,ke,h)=>{h.r(ke),h.d(ke,{LNDModule:()=>Zg});var p=h(9808),T=h(1402),at=h(8878),e=h(5e3),d=h(7093),P=h(5899);function it(n,i){1&n&&e._UZ(0,"mat-progress-bar",3)}let Fe=(()=>{class n{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(a=>{switch(!0){case a instanceof T.OD:this.loading=!0;break;case a instanceof T.m2:case a instanceof T.gk:case a instanceof T.Q3:this.loading=!1}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(T.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["rtl-lnd-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&&(e.TgZ(0,"div",0),e.YNc(1,it,1,0,"mat-progress-bar",1),e._UZ(2,"router-outlet",null,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",a.loading))},directives:[d.xw,d.yH,d.Wh,p.O5,P.pW,T.lC],styles:[""],data:{animation:[at.g]}}),n})();var m=h(7579),_=h(2722),E=h(9300),Ne=h(534),y=h(801),l=h(7731),C=h(6529),N=h(5043),A=h(5620),G=h(6642),O=h(62),I=h(9444),ce=h(3954),b=h(9224),k=h(7423),he=h(2181),K=h(5245),S=h(3322);const qe=function(n){return{backgroundColor:n}};function ot(n,i){if(1&n&&e._UZ(0,"span",6),2&n){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,qe,null==t.information?null:t.information.color))}}function st(n,i){if(1&n&&(e.TgZ(0,"div")(1,"h4",1),e._uU(2,"Color"),e.qZA(),e.TgZ(3,"div",2),e._UZ(4,"span",7),e._uU(5),e.ALo(6,"uppercase"),e.qZA()()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngStyle",e.VKq(4,qe,null==t.information?null:t.information.color)),e.xp6(1),e.hij(" ",e.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function lt(n,i){if(1&n&&(e.TgZ(0,"span",2),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}let Ue=(()=>{class n{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 n.\u0275fac=function(t){return new(t||n)(e.Y36(O.v))},n.\u0275cmp=e.Xpm({type:n,selectors:[["rtl-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[e.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&&(e.TgZ(0,"div",0)(1,"div")(2,"h4",1),e._uU(3,"Alias"),e.qZA(),e.TgZ(4,"div",2),e._uU(5),e.YNc(6,ot,1,3,"span",3),e.qZA()(),e.YNc(7,st,7,6,"div",4),e.TgZ(8,"div")(9,"h4",1),e._uU(10,"Implementation"),e.qZA(),e.TgZ(11,"div",2),e._uU(12),e.qZA()(),e.TgZ(13,"div")(14,"h4",1),e._uU(15,"Chain"),e.qZA(),e.YNc(16,lt,2,1,"span",5),e.qZA()()),2&t&&(e.xp6(5),e.hij(" ",null==a.information?null:a.information.alias," "),e.xp6(1),e.Q6J("ngIf",!a.showColorFieldSeparately),e.xp6(1),e.Q6J("ngIf",a.showColorFieldSeparately),e.xp6(5),e.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):""),e.xp6(4),e.Q6J("ngForOf",a.chains))},directives:[d.xw,d.yH,d.Wh,p.O5,p.PC,S.Zl,p.sg],pipes:[p.gd],styles:[""]}),n})();function rt(n,i){if(1&n&&(e.TgZ(0,"div",2)(1,"div")(2,"h4",3),e._uU(3,"Lightning"),e.qZA(),e.TgZ(4,"div",4),e._uU(5),e.ALo(6,"number"),e.qZA(),e._UZ(7,"mat-progress-bar",5),e.qZA(),e.TgZ(8,"div")(9,"h4",3),e._uU(10,"On-chain"),e.qZA(),e.TgZ(11,"div",4),e._uU(12),e.ALo(13,"number"),e.qZA(),e._UZ(14,"mat-progress-bar",5),e.qZA(),e.TgZ(15,"div")(16,"h4",3),e._uU(17,"Total