mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
1 line
424 KiB
JavaScript
1 line
424 KiB
JavaScript
|
"use strict";(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[17],{9017:(vp,Et,_)=>{_.r(Et),_.d(Et,{ECLModule:()=>Sp});var p=_(177),b=_(1188),Ut=_(9881),t=_(4438),h=_(2920),V=_(7575);function zt(n,o){1&n&&t.nrm(0,"mat-progress-bar",3)}let xt=(()=>{class n{constructor(e){this.router=e,this.loading=!1,this.router.events.subscribe(i=>{switch(!0){case i instanceof b.Z:this.loading=!0;break;case i instanceof b.wF:case i instanceof b.j5:case i instanceof b.L6:this.loading=!1}})}static#t=this.\u0275fac=function(i){return new(i||n)(t.rXU(b.Ix))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["rtl-ecl-root"]],decls:4,vars:1,consts:[["outlet","outlet"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["color","primary","mode","indeterminate",4,"ngIf"],["color","primary","mode","indeterminate"]],template:function(i,a){1&i&&(t.j41(0,"div",1),t.DNE(1,zt,1,0,"mat-progress-bar",2),t.nrm(2,"router-outlet",null,0),t.k0s()),2&i&&(t.R7$(),t.Y8G("ngIf",a.loading))},dependencies:[p.bT,h.DJ,h.sA,h.UI,V.HM,b.n3],data:{animation:[Ut.E]}})}return n})();var u=_(1413),f=_(6977),rt=_(3993),Lt=_(614),F=_(5383),l=_(4416),U=_(9647),C=_(2730),G=_(8570),R=_(9640),M=_(2571),w=_(60),L=_(6038),j=_(8834),E=_(5596),St=_(6195),ct=_(9213),mt=_(9115),D=_(6850);const vt=n=>({backgroundColor:n});function Jt(n,o){if(1&n&&t.nrm(0,"span",6),2&n){const e=t.XpG();t.Y8G("ngStyle",t.eq3(1,vt,null==e.information?null:e.information.color))}}function qt(n,o){if(1&n&&(t.j41(0,"div")(1,"h4",1),t.EFF(2,"Color"),t.k0s(),t.j41(3,"div",2),t.nrm(4,"span",7),t.EFF(5),t.nI1(6,"uppercase"),t.k0s()()),2&n){const e=t.XpG();t.R7$(4),t.Y8G("ngStyle",t.eq3(4,vt,null==e.information?null:e.information.color)),t.R7$(),t.SpI(" ",t.bMT(6,2,null==e.information?null:e.information.color)," ")}}function Qt(n,o){if(1&n&&(t.j41(0,"span",2),t.EFF(1),t.k0s()),2&n){const e=o.$implicit;t.R7$(),t.JRh(e)}}let Zt=(()=>{class n{constructor(e){this.commonService=e,this.chains=[""]}ngOnChanges(){this.chains=[],this.chains.push("Bitcoin "+(this.information.network?this.commonService.titleCase(this.information.network):"Testnet"))}static#t=this.\u0275fac=function(i){return new(i||n)(t.rXU(M.h))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["rtl-ecl-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[t.OA$],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(i,a){1&i&&(t.j41(0,"div",0)(1,"div")(2,"h4",1),t.EFF(3,"Alias"),t.k0s(),t.j41(4,"div",2),t.EFF(5),t.DNE(6,Jt,1,3,"span",3),t.k0s()(),t.DNE(7,qt,7,6,"div",4),t.j41(8,"div")(9,"h4",1),t.EFF(10,"Implementation"),t.k0s(),t.j41(11,"div",2),t.EFF(12),t.k0s()(),t.j41(13,"div")(14,"h4",1),t.EFF(15,"Chain"),t.k0s(),t.DNE(16,Qt,2,1,"span",5),t.k0s()()),2&i&&(t.R7$(5),t.SpI(" ",null==a.information?null:a.information.alias," "),t.R7$(),t.Y8G("ngIf",!a.showColorFieldSeparately),t.R7$(),t.Y8G("ngIf",a.showColorFieldSeparately),t.R7$(5),t.JRh(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):""),t.R7$(4),t.Y8G("ngForOf",a.chains))},dependencies:[p.Sq,p.bT,p.B3,h.DJ,h.sA,h.UI,L.eI,p.Pc]})}return n})();function Wt(n,o){if(1&n&&(t.j41(0,"div",2)(1,"div")(2,"h4",3),t.EFF(3,"Lightning"),t.k0s(),t.j41(4,"div",4),t.EFF(5),t.nI1(6,"number"),t.k0s(),t.nrm(7,"mat-progress-bar",5),t.k0s(),t.j41(8,"div")(9,"h4",3),t.EFF(10,"On-chain"),t.k0s(),t.j41(11,"div",4),t.EFF(12),t.nI1(13,"number"),t.k0s(),t.nrm(14,"mat-progress-bar",5),t.k0s(),t.j41(15,"div")(16,"h4",3),t.EFF(17,"Total"),t.k0s(),t.j41(18,"div",4),t.EFF(19),t.nI1(20,"number"),t.k0s()()()),2&n){const e=
|