mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00:00
1 line
2.7 MiB
JavaScript
1 line
2.7 MiB
JavaScript
|
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[632],{7632:(ci,Fr,St)=>{"use strict";St.r(Fr),St.d(Fr,{CLModule:()=>mB});var ht=St(9808),Ae=St(9291),zn=St(8878),A=St(5e3),Qt=St(7093),Y=St(5899);function I(i,U){1&i&&A._UZ(0,"mat-progress-bar",3)}let n=(()=>{class i{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(B=>{switch(!0){case B instanceof Ae.OD:this.loading=!0;break;case B instanceof Ae.m2:case B instanceof Ae.gk:case B instanceof Ae.Q3:this.loading=!1}})}}return i.\u0275fac=function(t){return new(t||i)(A.Y36(Ae.F0))},i.\u0275cmp=A.Xpm({type:i,selectors:[["rtl-cl-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,B){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",B.loading))},directives:[Qt.xw,Qt.yH,Qt.Wh,ht.O5,Ae.lC,Y.pW],styles:[""],data:{animation:[zn.g]}}),i})();var c=St(7579),r=St(2722),a=St(1365),s=St(534),E=St(801),o=St(7731),l=St(7080),h=St(5043),u=St(5620),C=St(6642),e=St(62),f=St(9444),g=St(3954),w=St(9224),Q=St(2181),d=St(3322),F=St(7423),m=St(5245);const p=function(i){return{backgroundColor:i}};function D(i,U){if(1&i&&A._UZ(0,"span",6),2&i){const t=A.oxw();A.Q6J("ngStyle",A.VKq(1,p,"#"+(null==t.information?null:t.information.color)))}}function v(i,U){if(1&i&&(A.TgZ(0,"div"),A.TgZ(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(),A.qZA()),2&i){const t=A.oxw();A.xp6(4),A.Q6J("ngStyle",A.VKq(4,p,"#"+(null==t.information?null:t.information.color))),A.xp6(1),A.hij(" ",A.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function P(i,U){if(1&i&&(A.TgZ(0,"span",2),A._uU(1),A.qZA()),2&i){const t=U.$implicit;A.xp6(1),A.Oqu(t)}}let T=(()=>{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(e.v))},i.\u0275cmp=A.Xpm({type:i,selectors:[["rtl-cl-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,B){1&t&&(A.TgZ(0,"div",0),A.TgZ(1,"div"),A.TgZ(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.qZA(),A.YNc(7,v,7,6,"div",4),A.TgZ(8,"div"),A.TgZ(9,"h4",1),A._uU(10,"Implementation"),A.qZA(),A.TgZ(11,"div",2),A._uU(12),A.qZA(),A.qZA(),A.TgZ(13,"div"),A.TgZ(14,"h4",1),A._uU(15,"Chain"),A.qZA(),A.YNc(16,P,2,1,"span",5),A.qZA(),A.qZA()),2&t&&(A.xp6(5),A.hij(" ",null==B.information?null:B.information.alias," "),A.xp6(1),A.Q6J("ngIf",!B.showColorFieldSeparately),A.xp6(1),A.Q6J("ngIf",B.showColorFieldSeparately),A.xp6(5),A.Oqu(null!=B.information&&B.information.lnImplementation||null!=B.information&&B.information.version?(null==B.information?null:B.information.lnImplementation)+" "+(null==B.information?null:B.information.version):""),A.xp6(4),A.Q6J("ngForOf",B.chains))},directives:[Qt.xw,Qt.yH,Qt.Wh,ht.O5,ht.sg,ht.PC,d.Zl],pipes:[ht.gd],styles:[""]}),i})();function x(i,U){if(1&i&&(A.TgZ(0,"div",2),A.TgZ(1,"div"),A.TgZ(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"),A.TgZ(9,"h4",3),A._uU(10,"On-chain"),A.qZA(),A.TgZ(11,"div",4),A._
|