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.6791afade72241e7.js

1 line
666 KiB
JavaScript

"use strict";(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[636],{1636:(dC,Qe,x)=>{x.r(Qe),x.d(Qe,{LNDModule:()=>mC});var m=x(9808),v=x(1402),mt=x(8878),e=x(5e3),d=x(7093),D=x(5899);function dt(n,a){1&n&&e._UZ(0,"mat-progress-bar",3)}let Ee=(()=>{class n{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(i=>{switch(!0){case i instanceof v.OD:this.loading=!0;break;case i instanceof v.m2:case i instanceof v.gk:case i instanceof v.Q3:this.loading=!1}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(v.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,i){1&t&&(e.TgZ(0,"div",0),e.YNc(1,dt,1,0,"mat-progress-bar",1),e._UZ(2,"router-outlet",null,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",i.loading))},directives:[d.xw,d.yH,d.Wh,m.O5,D.pW,v.lC],styles:[""],data:{animation:[mt.g]}}),n})();var p=x(7579),h=x(2722),Y=x(9300),Ye=x(3396),b=x(2687),l=x(7731),y=x(6529),U=x(5043),F=x(5620),X=x(6642),I=x(62),M=x(9546),he=x(3954),Z=x(9224),k=x(7423),ve=x(2181),ae=x(5245),q=x(3322),K=x(7238);const Be=function(n){return{backgroundColor:n}};function _t(n,a){if(1&n&&e._UZ(0,"span",6),2&n){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,Be,null==t.information?null:t.information.color))}}function ht(n,a){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,Be,null==t.information?null:t.information.color)),e.xp6(1),e.hij(" ",e.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function gt(n,a){1&n&&e._UZ(0,"span",10)}function ft(n,a){1&n&&e._UZ(0,"span",11)}function Ct(n,a){if(1&n&&(e.TgZ(0,"span",2),e.YNc(1,gt,1,0,"span",8),e.YNc(2,ft,1,0,"span",9),e._uU(3),e.qZA()),2&n){const t=a.$implicit,i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.information.synced_to_chain),e.xp6(1),e.Q6J("ngIf",!i.information.synced_to_chain),e.xp6(1),e.hij(" ",t," ")}}let He=(()=>{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(I.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"],["class","dot green mr-1","matTooltip","Synced to Chain","matTooltipPosition","right",4,"ngIf"],["class","dot red mr-1","matTooltip","Not Synced to Chain","matTooltipPosition","right",4,"ngIf"],["matTooltip","Synced to Chain","matTooltipPosition","right",1,"dot","green","mr-1"],["matTooltip","Not Synced to Chain","matTooltipPosition","right",1,"dot","red","mr-1"]],template:function(t,i){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,_t,1,3,"span",3),e.qZA()(),e.YNc(7,ht,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,Ct,4,3,"span",5),e.qZA()()),2&t&&(e.xp6(5),e.hij(" ",null==i.information?null:i.information.alias," "),e.xp6(1),e.Q6J("ngIf",!i.showColorFieldSeparately),e.xp6(1),e.Q6J("ngIf",i.showColorFieldSeparately),e.xp6(5),e.Oqu(null!=i.information&&i.information.lnImplementation||null!=i.inf