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/angular/main.b019d1ec04d0afd2b62d.js

1 line
1.7 MiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},"+zbs":function(t,e,n){"use strict";n.d(e,"a",(function(){return B}));var r=n("4lrr"),i=n("wHSu"),o=n("cpEJ"),a=n("7o2P"),s=n("7nzP"),c=n("CcnG"),u=n("KELG"),l=n("21Lb"),p=n("Ip0R"),h=n("hUWP"),d=n("bwdU"),f=n("qLAh"),m=n("Nv++"),b=n("M4kG"),g=n("g2ei"),y=n("FZ+F"),v=n("O4ig"),_=n("dEYt"),w=n("FqGj"),O=n("v/zR"),C=n("fPVg"),x=["scrollContainer"];function E(t,e){1&t&&(c.Ub(0),c.Hc(1," (zero amount) "),c.Tb())}var S=function(t){return{"mr-0":t}};function A(t,e){if(1&t&&c.Rb(0,"span",45),2&t){var n=c.ic(4);c.pc("ngClass",c.tc(1,S,n.screenSize===n.screenSizeEnum.XS))}}function k(t,e){if(1&t&&c.Rb(0,"span",46),2&t){var n=c.ic(4);c.pc("ngClass",c.tc(1,S,n.screenSize===n.screenSizeEnum.XS))}}function D(t,e){if(1&t&&c.Rb(0,"span",47),2&t){var n=c.ic(4);c.pc("ngClass",c.tc(1,S,n.screenSize===n.screenSizeEnum.XS))}}function j(t,e){if(1&t&&(c.Wb(0,"div",34),c.Wb(1,"div",39),c.Wb(2,"span",40),c.Fc(3,A,1,3,"span",41),c.Fc(4,k,1,3,"span",42),c.Fc(5,D,1,3,"span",43),c.Hc(6),c.Vb(),c.Wb(7,"span",44),c.Hc(8),c.jc(9,"number"),c.Vb(),c.Vb(),c.Rb(10,"mat-divider",19),c.Vb()),2&t){var n=e.$implicit;c.Db(3),c.pc("ngIf","SETTLED"===n.state),c.Db(1),c.pc("ngIf","ACCEPTED"===n.state),c.Db(1),c.pc("ngIf","CANCELED"===n.state),c.Db(1),c.Jc(" ",n.chan_id," "),c.Db(2),c.Ic(c.lc(9,6,n.amt_msat/1e3,(null==n?null:n.amt_msat)<1e3?"1.0-4":"1.0-0")),c.Db(2),c.pc("inset",!0)}}function I(t,e){if(1&t){var n=c.Xb();c.Wb(0,"div",14),c.Wb(1,"mat-expansion-panel",32),c.ec("opened",(function(){return c.yc(n),c.ic(2).flgOpened=!0}))("closed",(function(){return c.yc(n),c.ic(2).onExpansionClosed()})),c.Wb(2,"mat-expansion-panel-header"),c.Wb(3,"mat-panel-title"),c.Wb(4,"h4",33),c.Hc(5,"HTLCs"),c.Vb(),c.Vb(),c.Vb(),c.Wb(6,"div",34),c.Wb(7,"div",35),c.Wb(8,"span",36),c.Hc(9,"Channel ID"),c.Vb(),c.Wb(10,"span",37),c.Hc(11,"Amount (Sats)"),c.Vb(),c.Vb(),c.Rb(12,"mat-divider",19),c.Fc(13,j,11,9,"div",38),c.Vb(),c.Vb(),c.Vb()}if(2&t){var r=c.ic(2);c.Db(12),c.pc("inset",!0),c.Db(1),c.pc("ngForOf",r.invoice.htlcs)}}function T(t,e){1&t&&c.Rb(0,"mat-divider",19),2&t&&c.pc("inset",!0)}function R(t,e){if(1&t&&(c.Wb(0,"div"),c.Rb(1,"mat-divider",19),c.Wb(2,"div",14),c.Wb(3,"div",20),c.Wb(4,"h4",16),c.Hc(5,"R Preimage"),c.Vb(),c.Wb(6,"span",21),c.Hc(7),c.Vb(),c.Vb(),c.Vb(),c.Rb(8,"mat-divider",19),c.Wb(9,"div",14),c.Wb(10,"div",28),c.Wb(11,"h4",16),c.Hc(12,"State"),c.Vb(),c.Wb(13,"span",21),c.Hc(14),c.Vb(),c.Vb(),c.Wb(15,"div",29),c.Wb(16,"h4",16),c.Hc(17,"Expiry"),c.Vb(),c.Wb(18,"span",21),c.Hc(19),c.Vb(),c.Vb(),c.Wb(20,"div",29),c.Wb(21,"h4",16),c.Hc(22,"Private Routing Hints"),c.Vb(),c.Wb(23,"span",21),c.Hc(24),c.Vb(),c.Vb(),c.Vb(),c.Rb(25,"mat-divider",19),c.Fc(26,I,14,2,"div",30),c.Fc(27,T,1,1,"mat-divider",31),c.Vb()),2&t){var n=c.ic();c.Db(1),c.pc("inset",!0),c.Db(6),c.Ic(n.invoice.r_preimage||"-"),c.Db(1),c.pc("inset",!0),c.Db(6),c.Ic(n.invoice.state),c.Db(5),c.Ic(n.invoice.expiry),c.Db(5),c.Ic(n.invoice.private?"Yes":"No"),c.Db(1),c.pc("inset",!0),c.Db(1),c.pc("ngIf",n.invoice.htlcs&&n.invoice.htlcs.length>0),c.Db(1),c.pc("ngIf",n.invoice.htlcs&&n.invoice.htlcs.length>0)}}function P(t,e){if(1&t){var n=c.Xb();c.Wb(0,"div",48),c.Wb(1,"button",49),c.ec("click",(function(){return c.yc(n),c.ic().onScrollDown()})),c.Wb(2,"mat-icon",50),c.Hc(3,"arrow_downward"),c.Vb(),c.Vb(),c.Vb()}}function L(t,e){1&t&&(c.Wb(0,"p"),c.Hc(1,"Show Advanced"),c.Vb())}function F(t,e){1&t&&(c.Wb(0,"p"),c.Hc(1,"Hide Advanced"),c.Vb())}var N=function(t){return{"display-none":t}},M=function(t){return{"xs-scroll-y":t}},V=function(t){return{"h-46":t}},B=function(){function t(t,e,n,r,o){this.dialogRef=t,this.data=e,this.logger=n,this.commonService=r,this.snackBar=o,this.faReceipt=i.C,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.o,this.flgOpened=!1}return Object.defineProperty(t.prototype,"container",{set:function(t){t&&(t