2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-10-31 09:20:27 +00:00
RTL/angular/main.bf1f3d303d9abc6dfc78.js
ShahanaFarooqui f817ae39bc
Release 0.10.1 (#605)
Dahboard layout fix #576
Boltz integration (#590)
Merged verify token and password authentication
Channel mobile view update
ECL Adding inactive channels force close
Flag Dust UTXOs
Bug fix for forwarding history browser crash #596
Label and Lease UTXOs
UI Table Fixes
App settings (#604)
Settings updates
UTXO lease confirmation box
Login and Settings page  without add new node
2021-02-21 14:02:31 -05:00

1 line
2.4 MiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+DxB":function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},"+qE3":function(t,e,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,s=r&&"function"==typeof r.apply?r.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(t,e){return new Promise(function(n,i){function r(){void 0!==s&&t.removeListener("error",s),n([].slice.call(arguments))}var s;"error"!==e&&(s=function(n){t.removeListener(e,r),i(n)},t.once("error",s)),t.once(e,r)})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var c=10;function l(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function u(t,e,n,i){var r,s,o;if(l(n),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),o=s[e]),void 0===o)o=s[e]=n,++t._eventsCount;else if("function"==typeof o?o=s[e]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),(r=h(t))>0&&o.length>r&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,console&&console.warn&&console.warn(a)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,n){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=d.bind(i);return r.listener=n,i.wrapFn=r,r}function p(t,e,n){var i=t._events;if(void 0===i)return[];var r=i[e];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(r):m(r,r.length)}function b(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(t,e){for(var n=new Array(e),i=0;i<e;++i)n[i]=t[i];return n}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return h(this)},a.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i="error"===t,r=this._events;if(void 0!==r)i=i&&void 0===r.error;else if(!i)return!1;if(i){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=r[t];if(void 0===c)return!1;if("function"==typeof c)s(c,this,e);else{var l=c.length,h=m(c,l);for(n=0;n<l;++n)s(h[n],this,e)}return!0},a.prototype.on=a.prototype.addListener=function(t,e){return u(this,t,e,!1)},a.prototype.prependListener=function(t,e){return u(this,t,e,!0)},a.prototype.once=function(t,e){return l(e),this.on(t,f(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){return l(e),this.prependListener(t,f(this,t,e)),this},a.prototype.off=a.prototype.removeListener=function(t,e){var n,i,r,s,o;if(l(e),void 0===(i=this._events))return this;if(void 0===(n=i[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(r=-1,s=n.length-1;s>=0;s--)if(n[s]===e||n[s].listener===e){o=n[s].listener,r=s;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,r),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,o||e)}return this},a.prototype.removeAllListeners=function(t){var e,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var r,s=Object.keys(n);for(i=0;i<s.length;++i)"removeListener"!==(r=s[i])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;i>=0;i--)this.removeListener(t,e[i]);return this},a.prototype.listeners=function(t){return p(this,t,!0)},a.prototype.rawListeners=function(t){return p(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):b.call(t,e)},a.prototype.listenerCount=b,a.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+zbs":function(t,e,n){"use strict";n.d(e,"a",function(){return V});var i=n("iELJ"),r=n("wHSu"),s=n("7nzP"),o=n("8Y7J"),a=n("cpEJ"),c=n("7o2P"),l=n("zHaW"),h=n("VDRc"),u=n("SVse"),d=n("ura0"),f=n("bwdU"),p=n("PDjf"),b=n("Nv++"),m=n("Dxy4"),g=n("aLe/"),y=n("BSbQ"),v=n("O4ig"),_=n("dEYt"),w=n("o4Yh"),C=n("ZFy/"),x=n("Tj54");const S=["scrollContainer"];function O(t,e){1&t&&(o.Tb(0),o.Kc(1," (zero amount) "),o.Sb())}const A=function(t){return{"mr-0":t}};function k(t,e){if(1&t&&o.Qb(0,"span",45),2&t){const t=o.hc(4);o.oc("ngClass",o.sc(1,A,t.screenSize===t.screenSizeEnum.XS))}}function E(t,e){if(1&t&&o.Qb(0,"span",46),2&t){const t=o.hc(4);o.oc("ngClass",o.sc(1,A,t.screenSize===t.screenSizeEnum.XS))}}function L(t,e){if(1&t&&o.Qb(0,"span",47),2&t){const t=o.hc(4);o.oc("ngClass",o.sc(1,A,t.screenSize===t.screenSizeEnum.XS))}}function D(t,e){if(1&t&&(o.Vb(0,"div",34),o.Vb(1,"div",39),o.Vb(2,"span",40),o.Ic(3,k,1,3,"span",41),o.Ic(4,E,1,3,"span",42),o.Ic(5,L,1,3,"span",43),o.Kc(6),o.Ub(),o.Vb(7,"span",44),o.Kc(8),o.ic(9,"number"),o.Ub(),o.Ub(),o.Qb(10,"mat-divider",19),o.Ub()),2&t){const t=e.$implicit,n=o.hc(3);o.Db(3),o.oc("ngIf","SETTLED"===t.state),o.Db(1),o.oc("ngIf","ACCEPTED"===t.state),o.Db(1),o.oc("ngIf","CANCELED"===t.state),o.Db(1),o.Mc(" ",t.chan_id," "),o.Db(2),o.Lc(o.kc(9,6,+t.amt_msat/1e3||0,n.getDecimalFormat(t))),o.Db(2),o.oc("inset",!0)}}function I(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",14),o.Vb(1,"mat-expansion-panel",32),o.dc("opened",function(){return o.zc(t),o.hc(2).flgOpened=!0})("closed",function(){return o.zc(t),o.hc(2).onExpansionClosed()}),o.Vb(2,"mat-expansion-panel-header"),o.Vb(3,"mat-panel-title"),o.Vb(4,"h4",33),o.Kc(5,"HTLCs"),o.Ub(),o.Ub(),o.Ub(),o.Vb(6,"div",34),o.Vb(7,"div",35),o.Vb(8,"span",36),o.Kc(9,"Channel ID"),o.Ub(),o.Vb(10,"span",37),o.Kc(11,"Amount (Sats)"),o.Ub(),o.Ub(),o.Qb(12,"mat-divider",19),o.Ic(13,D,11,9,"div",38),o.Ub(),o.Ub(),o.Ub()}if(2&t){const t=o.hc(2);o.Db(12),o.oc("inset",!0),o.Db(1),o.oc("ngForOf",t.invoice.htlcs)}}function P(t,e){1&t&&o.Qb(0,"mat-divider",19),2&t&&o.oc("inset",!0)}function T(t,e){if(1&t&&(o.Vb(0,"div"),o.Qb(1,"mat-divider",19),o.Vb(2,"div",14),o.Vb(3,"div",20),o.Vb(4,"h4",16),o.Kc(5,"R Preimage"),o.Ub(),o.Vb(6,"span",21),o.Kc(7),o.Ub(),o.Ub(),o.Ub(),o.Qb(8,"mat-divider",19),o.Vb(9,"div",14),o.Vb(10,"div",28),o.Vb(11,"h4",16),o.Kc(12,"State"),o.Ub(),o.Vb(13,"span",21),o.Kc(14),o.Ub(),o.Ub(),o.Vb(15,"div",29),o.Vb(16,"h4",16),o.Kc(17,"Expiry"),o.Ub(),o.Vb(18,"span",21),o.Kc(19),o.Ub(),o.Ub(),o.Vb(20,"div",29),o.Vb(21,"h4",16),o.Kc(22,"Private Routing Hints"),o.Ub(),o.Vb(23,"span",21),o.Kc(24),o.Ub(),o.Ub(),o.Ub(),o.Qb(25,"mat-divider",19),o.Ic(26,I,14,2,"div",30),o.Ic(27,P,1,1,"mat-divider",31),o.Ub()),2&t){const t=o.hc();o.Db(1),o.oc("inset",!0),o.Db(6),o.Lc(t.invoice.r_preimage||"-"),o.Db(1),o.oc("inset",!0),o.Db(6),o.Lc(t.invoice.state),o.Db(5),o.Lc(t.invoice.expiry),o.Db(5),o.Lc(t.invoice.private?"Yes":"No"),o.Db(1),o.oc("inset",!0),o.Db(1),o.oc("ngIf",t.invoice.htlcs&&t.invoice.htlcs.length>0),o.Db(1),o.oc("ngIf",t.invoice.htlcs&&t.invoice.htlcs.length>0)}}function R(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",48),o.Vb(1,"button",49),o.dc("click",function(){return o.zc(t),o.hc().onScrollDown()}),o.Vb(2,"mat-icon",50),o.Kc(3,"arrow_downward"),o.Ub(),o.Ub(),o.Ub()}}function M(t,e){1&t&&(o.Vb(0,"p"),o.Kc(1,"Show Advanced"),o.Ub())}function j(t,e){1&t&&(o.Vb(0,"p"),o.Kc(1,"Hide Advanced"),o.Ub())}const F=function(t){return{"display-none":t}},N=function(t){return{"xs-scroll-y":t}},U=function(t){return{"h-46":t}};let V=(()=>{class t{constructor(t,e,n,i,o){this.dialogRef=t,this.data=e,this.logger=n,this.commonService=i,this.snackBar=o,this.faReceipt=r.H,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.s,this.flgOpened=!1}set container(t){t&&(this.scrollContainer=t)}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===s.s.XS&&(this.qrWidth=220)}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(t){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+t)}getDecimalFormat(t){return t.amt_msat<1e3?"1.0-4":"1.0-0"}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(i.f),o.Pb(i.a),o.Pb(a.b),o.Pb(c.a),o.Pb(l.b))},t.\u0275cmp=o.Jb({type:t,selectors:[["rtl-invoice-information"]],viewQuery:function(t,e){if(1&t&&o.Pc(S,!0),2&t){let t;o.vc(t=o.ec())&&(e.container=t.first)}},decls:58,vars:41,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxLayout","column","fxFlex","65",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-2"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[3,"ngClass"],["fxLayout","column"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap",3,"ngClass"],[3,"perfectScrollbar","ngClass"],["scrollContainer",""],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"my-1",3,"inset"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100"],["mat-stroked-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxFlex","34"],["fxFlex","33"],["fxLayout","row",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container"],["mat-mini-fab","","aria-label","Scroll Down","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center"]],template:function(t,e){if(1&t&&(o.Vb(0,"div",0),o.Vb(1,"div",1),o.Qb(2,"qrcode",2),o.Ub(),o.Vb(3,"div",3),o.Vb(4,"mat-card-header",4),o.Vb(5,"div",5),o.Qb(6,"fa-icon",6),o.Vb(7,"span",7),o.Kc(8),o.Ub(),o.Ub(),o.Vb(9,"button",8),o.dc("click",function(){return e.onClose()}),o.Kc(10,"X"),o.Ub(),o.Ub(),o.Vb(11,"mat-card-content",9),o.Vb(12,"div",10),o.Vb(13,"div",11),o.Qb(14,"qrcode",2),o.Ub(),o.Vb(15,"div",12,13),o.Vb(17,"div",14),o.Vb(18,"div",15),o.Vb(19,"h4",16),o.Kc(20),o.Ub(),o.Vb(21,"span",17),o.Kc(22),o.ic(23,"number"),o.Ic(24,O,2,0,"ng-container",18),o.Ub(),o.Ub(),o.Vb(25,"div",15),o.Vb(26,"h4",16),o.Kc(27,"Memo"),o.Ub(),o.Vb(28,"span",17),o.Kc(29),o.Ub(),o.Ub(),o.Ub(),o.Qb(30,"mat-divider",19),o.Vb(31,"div",14),o.Vb(32,"div",15),o.Vb(33,"h4",16),o.Kc(34,"Date Created"),o.Ub(),o.Vb(35,"span",17),o.Kc(36),o.Ub(),o.Ub(),o.Vb(37,"div",15),o.Vb(38,"h4",16),o.Kc(39,"Date Settled"),o.Ub(),o.Vb(40,"span",17),o.Kc(41),o.Ub(),o.Ub(),o.Ub(),o.Qb(42,"mat-divider",19),o.Vb(43,"div",14),o.Vb(44,"div",20),o.Vb(45,"h4",16),o.Kc(46,"Payment Request"),o.Ub(),o.Vb(47,"span",21),o.Kc(48),o.Ub(),o.Ub(),o.Ub(),o.Ic(49,T,28,9,"div",18),o.Ub(),o.Ub(),o.Ub(),o.Ic(50,R,4,0,"div",22),o.Vb(51,"div",23),o.Vb(52,"button",24),o.dc("click",function(){return e.onShowAdvanced()}),o.Ic(53,M,2,0,"p",25),o.Ic(54,j,2,0,"ng-template",null,26,o.Jc),o.Ub(),o.Vb(56,"button",27),o.dc("copied",function(t){return e.onCopyPayment(t)}),o.Kc(57),o.Ub(),o.Ub(),o.Ub(),o.Ub()),2&t){const t=o.wc(55);o.Db(1),o.oc("ngClass",o.sc(33,F,e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM)),o.Db(1),o.oc("qrdata",e.invoice.payment_request)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),o.Db(4),o.oc("icon",e.faReceipt),o.Db(2),o.Lc(e.screenSize===e.screenSizeEnum.XS?e.newlyAdded?"Created":"Invoice":e.newlyAdded?"Invoice Created":"Invoice Information"),o.Db(3),o.oc("ngClass",o.sc(35,N,e.screenSize===e.screenSizeEnum.XS)),o.Db(2),o.oc("ngClass",o.sc(37,F,e.screenSize!==e.screenSizeEnum.XS&&e.screenSize!==e.screenSizeEnum.SM)),o.Db(1),o.oc("qrdata",e.invoice.payment_request)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),o.Db(1),o.oc("ngClass",o.sc(39,U,e.invoice.htlcs&&e.invoice.htlcs.length>0&&e.showAdvanced)),o.Db(5),o.Lc(e.screenSize===e.screenSizeEnum.XS?"Amount":"Amount Requested"),o.Db(2),o.Mc("",o.jc(23,31,e.invoice.value||0)," Sats"),o.Db(2),o.oc("ngIf",!e.invoice.value),o.Db(5),o.Lc(e.invoice.memo),o.Db(1),o.oc("inset",!0),o.Db(6),o.Lc(e.invoice.creation_date_str),o.Db(5),o.Lc(e.invoice.settle_date_str||"-"),o.Db(1),o.oc("inset",!0),o.Db(6),o.Lc(e.invoice.payment_request),o.Db(1),o.oc("ngIf",e.showAdvanced),o.Db(1),o.oc("ngIf",e.invoice.htlcs&&e.invoice.htlcs.length>0&&e.showAdvanced&&e.flgOpened),o.Db(3),o.oc("ngIf",!e.showAdvanced)("ngIfElse",t),o.Db(3),o.oc("payload",e.invoice.payment_request),o.Db(1),o.Lc(e.screenSize===e.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}},directives:[h.c,h.b,h.a,u.m,d.a,f.a,p.c,b.a,m.a,p.b,g.b,u.o,y.a,v.a,_.a,w.c,w.e,w.f,u.n,C.a,x.a],pipes:[u.f],styles:[""]}),t})()},"/ab2":function(t,e,n){var i=n("iUdu"),r=n("QihY"),s=n("6F8h");e.createCipher=e.Cipher=i.createCipher,e.createCipheriv=e.Cipheriv=i.createCipheriv,e.createDecipher=e.Decipher=r.createDecipher,e.createDecipheriv=e.Decipheriv=r.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(s)}},"/ayr":function(t,e,n){var i;function r(t){this.rand=t}if(t.exports=function(t){return i||(i=new r(null)),i.generate(t)},t.exports.Rand=r,r.prototype.generate=function(t){return this._rand(t)},r.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(r.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var s=n(6);if("function"!=typeof s.randomBytes)throw new Error("Not supported");r.prototype._rand=function(t){return s.randomBytes(t)}}catch(o){}},"/q54":function(t,e,n){"use strict";n.d(e,"c",function(){return f}),n.d(e,"d",function(){return m}),n.d(e,"e",function(){return g}),n.d(e,"g",function(){return y}),n.d(e,"a",function(){return v}),n.d(e,"b",function(){return S}),n.d(e,"i",function(){return q}),n.d(e,"h",function(){return Y}),n.d(e,"j",function(){return G}),n.d(e,"f",function(){return X});var i=n("8Y7J"),r=n("SVse"),s=n("XNiG"),o=n("2Vo4"),a=n("HDdC"),c=n("VRyK"),l=(n("7Hc7"),n("LRne"),n("xgIS"),n("pLZG")),h=(n("lJxs"),n("Kj3r"),n("eIep"),n("1G5W"),n("IzEk"),n("vkgz"));const u={provide:i.b,useFactory:function(t,e){return()=>{if(Object(r.A)(e)){const e=Array.from(t.querySelectorAll(`[class*=${d}]`)),n=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(d+"ssr")&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,"")})}}},deps:[r.d,i.D],multi:!0},d="flex-layout-";let f=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[u]}),t})();class p{constructor(t=!1,e="all",n="",i="",r=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=i,this.priority=r,this.property=""}clone(){return new p(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let b=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const i=this.stylesheet.get(t);i?i.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let i="";if(n){const t=n.get(e);"number"!=typeof t&&"string"!=typeof t||(i=t+"")}return i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const m={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},g=new i.s("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>m}),y=new i.s("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),v=new i.s("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function _(t,e){return t=t?t.clone():new p,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const w="inline",C=["row","column","row-reverse","column-reverse"];function x(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let S=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new s.a,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,i=n.shouldCache;let r=this.styleCache.get(t);r&&i||(r=n.buildStyles(t,e),i&&this.styleCache.set(t,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(t,r,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,i]=this.styler.getFlowDirection(t);if(!i&&e){const e=function(t){let[e,n,i]=function(t){t=t?t.toLowerCase():"";let[e,n,i]=t.split(" ");return C.find(t=>t===e)||(e=C[0]),n===w&&(n=i!==w?i:"",i=w),[e,x(n),!!i]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,i)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){i.cc()},t.\u0275dir=i.Kb({type:t,features:[i.Bb]}),t})();const O=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],A="(orientation: portrait) and (max-width: 599.98px)",k="(orientation: landscape) and (max-width: 959.98px)",E="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",L="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",D="(orientation: portrait) and (min-width: 840px)",I="(orientation: landscape) and (min-width: 1280px)",P={HANDSET:`${A}, ${k}`,TABLET:`${E} , ${L}`,WEB:`${D}, ${I} `,HANDSET_PORTRAIT:""+A,TABLET_PORTRAIT:E+" ",WEB_PORTRAIT:""+D,HANDSET_LANDSCAPE:""+k,TABLET_LANDSCAPE:""+L,WEB_LANDSCAPE:""+I},T=[{alias:"handset",priority:2e3,mediaQuery:P.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:P.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:P.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:P.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:P.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:P.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:P.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:P.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:P.WEB_PORTRAIT,overlapping:!0}],R=/(\.|-|_)/g;function M(t){let e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}const j=new i.s("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Object(i.Y)(v),e=Object(i.Y)(g),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(i=Object.keys(n).map(t=>n[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(R,"|").split("|").map(M).join(""),t.overlapping=!!t.overlapping)}),i;var i}((e.disableDefaultBps?[]:O).concat(e.addOrientationBps?T:[]),n)}});function F(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function N(t,e){return(t.priority||0)-(e.priority||0)}let U=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(N)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(j))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(j))},token:t,providedIn:"root"}),t})(),V=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new o.a(new p(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(Object(l.a)(n=>!e||t.indexOf(n.mediaQuery)>-1)),i=new a.a(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()});return Object(c.a)(i,n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!B[t]);if(n.length>0){const t=n.join(", ");try{const i=e.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(e.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),e.head.appendChild(i),n.forEach(t=>B[t]=i)}catch(i){console.error(i)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new p(e.matches,t)))};let i=this.registry.get(t);i||(i=this.buildMQL(t),i.addListener(e),this.pendingRemoveListenerFns.push(()=>i.removeListener(e)),this.registry.set(t,i)),i.matches&&n.push(new p(!0,t))}),n}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,Object(r.A)(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.B),i.Zb(i.D),i.Zb(r.d))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(i.B),Object(i.Zb)(i.D),Object(i.Zb)(r.d))},token:t,providedIn:"root"}),t})();const B={},z="print",H={alias:z,mediaQuery:z,priority:1e3};let W=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new Q,this.deactivations=[]}withPrintQuery(t){return[...t,z]}isPrintEvent(t){return t.mediaQuery.startsWith(z)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(F)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),_(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new p(!0,z))),t.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(n)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(F))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t))}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(U),i.Zb(g),i.Zb(r.d))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(U),Object(i.Zb)(g),Object(i.Zb)(r.d))},token:t,providedIn:"root"}),t})();class Q{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(H),t.sort(F),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith(z)}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function K(t){for(let e in t){let n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":n=n||"row",t["-webkit-flex-direction"]=n,t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}let q=(()=>{class t{constructor(t,e,n,i){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=i}applyStyleToElement(t,e,n=null){let i={};"string"==typeof e&&(i[e]=n,e=i),i=this.layoutConfig.disableVendorPrefixes?e:K(e),this._applyMultiValueStyleToElement(i,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:K(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){const e="flex-direction";let n=this.lookupStyle(t,e);return[n||"row",this.lookupInlineStyle(t,e)||Object(r.B)(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return Object(r.A)(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let i="";return t&&((i=this.lookupInlineStyle(t,e))||(Object(r.A)(this._platformId)?n||(i=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(t,e)))),i?i.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const i=t[n],s=Array.isArray(i)?i:[i];s.sort();for(let t of s)t=t?t+"":"",Object(r.A)(this._platformId)||!this._serverModuleLoaded?Object(r.A)(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=this._readStyleAttribute(t);i[e]=n||"",this._writeStyleAttribute(t,i)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},n=t.getAttribute("style");if(n){const t=n.split(/;+/g);for(let n=0;n<t.length;n++){const i=t[n].trim();if(i.length>0){const t=i.indexOf(":");if(-1===t)throw new Error("Invalid CSS style: "+i);e[i.substr(0,t).trim()]=i.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n="";for(const i in e)e[i]&&(n+=i+":"+e[i]+";");t.setAttribute("style",n)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(b),i.Zb(y),i.Zb(i.D),i.Zb(g))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(b),Object(i.Zb)(y),Object(i.Zb)(i.D),Object(i.Zb)(g))},token:t,providedIn:"root"}),t})();class Y{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}function G(t,e="1",n="1"){let i=[e,n,t],r=t.indexOf("calc");if(r>0){i[2]=Z(t.substring(r).trim());let e=t.substr(0,r).trim().split(" ");2==e.length&&(i[0]=e[0],i[1]=e[1])}else if(0==r)i[2]=Z(t.trim());else{let r=t.split(" ");i=3===r.length?r:[e,n,t]}return i}function Z(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let X=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new s.a,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=_(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(F),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(F),this.updateStyles()))}init(t,e,n,i,r=[]){J(this.updateMap,t,e,n),J(this.clearMap,t,e,i),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,r)}getValue(t,e,n){const i=this.elementMap.get(t);if(i){const t=void 0!==n?i.get(n):this.getActivatedValues(i,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,i){let r=this.elementMap.get(t);if(r){const s=(r.get(i)||new Map).set(e,n);r.set(i,s),this.elementMap.set(t,r)}else r=(new Map).set(i,(new Map).set(e,n)),this.elementMap.set(t,r);const s=this.getValue(t,e);void 0!==s&&this.updateElement(t,e,s)}trackValue(t,e){return this.subject.asObservable().pipe(Object(l.a)(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let i=this.getActivatedValues(t);i&&i.forEach((t,i)=>{this.updateElement(e,i,t),n.delete(i)}),n.forEach(n=>{if(i=this.getActivatedValues(t,n),i){const t=i.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const i=n.get(e);i&&(i(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,n){const i=this.updateMap.get(t);if(i){const r=i.get(e);r&&(r(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const i=this.getActivatedValues(n,e);i&&(e?this.updateElement(t,e,i.get(e)):i.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let i=this.watcherMap.get(t);if(i||(i=new Map,this.watcherMap.set(t,i)),!i.get(e)){const r=Object(c.a)(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});i.set(e,r)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let i=0;i<this.activatedBreakpoints.length;i++){const n=t.get(this.activatedBreakpoints[i].alias);if(n&&(void 0===e||n.has(e)&&null!=n.get(e)))return n}const n=t.get("");return void 0===e||n&&n.has(e)?n:void 0}observeActivations(){const t=this.breakpoints.items.map(t=>t.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(Object(h.a)(this.hook.interceptEvents(this)),Object(l.a)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(V),i.Zb(U),i.Zb(W))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(V),Object(i.Zb)(U),Object(i.Zb)(W))},token:t,providedIn:"root"}),t})();function J(t,e,n,i){if(void 0!==i){let r=t.get(e);r||(r=new Map,t.set(e,r)),r.set(n,i)}}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},"/uX3":function(t,e,n){"use strict";n.d(e,"fb",function(){return i}),n.d(e,"ab",function(){return r}),n.d(e,"J",function(){return s}),n.d(e,"a",function(){return o}),n.d(e,"k",function(){return a}),n.d(e,"c",function(){return c}),n.d(e,"B",function(){return l}),n.d(e,"C",function(){return h}),n.d(e,"e",function(){return u}),n.d(e,"z",function(){return d}),n.d(e,"b",function(){return f}),n.d(e,"A",function(){return p}),n.d(e,"d",function(){return b}),n.d(e,"T",function(){return m}),n.d(e,"m",function(){return g}),n.d(e,"R",function(){return y}),n.d(e,"o",function(){return v}),n.d(e,"P",function(){return _}),n.d(e,"N",function(){return w}),n.d(e,"M",function(){return C}),n.d(e,"Y",function(){return x}),n.d(e,"Q",function(){return S}),n.d(e,"bb",function(){return O}),n.d(e,"O",function(){return A}),n.d(e,"s",function(){return k}),n.d(e,"t",function(){return E}),n.d(e,"v",function(){return L}),n.d(e,"eb",function(){return D}),n.d(e,"w",function(){return I}),n.d(e,"H",function(){return P}),n.d(e,"I",function(){return T}),n.d(e,"n",function(){return R}),n.d(e,"S",function(){return M}),n.d(e,"f",function(){return j}),n.d(e,"l",function(){return F}),n.d(e,"h",function(){return N}),n.d(e,"F",function(){return U}),n.d(e,"G",function(){return V}),n.d(e,"j",function(){return B}),n.d(e,"D",function(){return z}),n.d(e,"g",function(){return H}),n.d(e,"E",function(){return W}),n.d(e,"i",function(){return Q}),n.d(e,"X",function(){return K}),n.d(e,"p",function(){return q}),n.d(e,"cb",function(){return Y}),n.d(e,"L",function(){return G}),n.d(e,"r",function(){return Z}),n.d(e,"U",function(){return X}),n.d(e,"Z",function(){return J}),n.d(e,"W",function(){return $}),n.d(e,"db",function(){return tt}),n.d(e,"V",function(){return et}),n.d(e,"y",function(){return nt}),n.d(e,"K",function(){return it}),n.d(e,"u",function(){return rt}),n.d(e,"x",function(){return st}),n.d(e,"q",function(){return ot});const i="VOID",r="UPDATE_SELECTED_NODE_OPTIONS",s="RESET_ROOT_STORE",o="CLEAR_EFFECT_ERROR_ROOT",a="EFFECT_ERROR_ROOT",c="CLOSE_ALL_DIALOGS",l="OPEN_SNACKBAR",h="OPEN_SPINNER",u="CLOSE_SPINNER",d="OPEN_ALERT",f="CLOSE_ALERT",p="OPEN_CONFIRMATION",b="CLOSE_CONFIRMATION",m="SHOW_PUBKEY",g="FETCH_CONFIG",y="SHOW_CONFIG",v="FETCH_RTL_CONFIG",_="SET_RTL_CONFIG",w="SAVE_SSO",C="SAVE_SETTINGS",x="TWO_FA_SAVE_SETTINGS",S="SET_SELECTED_NODE",O="UPDATE_SERVICE_SETTINGS",A="SET_NODE_DATA",k="IS_AUTHORIZED",E="IS_AUTHORIZED_RES",L="LOGIN",D="VERIFY_TWO_FA",I="LOGOUT",P="RESET_PASSWORD",T="RESET_PASSWORD_RES",R="FETCH_FILE",M="SHOW_FILE";class j{constructor(t){this.payload=t,this.type=o}}class F{constructor(t){this.payload=t,this.type=a}}class N{constructor(){this.type=c}}class U{constructor(t){this.payload=t,this.type=l}}class V{constructor(t){this.payload=t,this.type=h}}class B{constructor(){this.type=u}}class z{constructor(t){this.payload=t,this.type=d}}class H{constructor(t){this.payload=t,this.type=f}}class W{constructor(t){this.payload=t,this.type=p}}class Q{constructor(t){this.payload=t,this.type=b}}class K{constructor(){this.type=m}}class q{constructor(t){this.payload=t,this.type=g}}class Y{constructor(){this.type=r}}class G{constructor(t){this.payload=t,this.type=s}}class Z{constructor(){this.type=v}}class X{constructor(t){this.payload=t,this.type=C}}class J{constructor(t){this.payload=t,this.type=x}}class ${constructor(t){this.payload=t,this.type=S}}class tt{constructor(t){this.payload=t,this.type=O}}class et{constructor(t){this.payload=t,this.type=A}}class nt{constructor(){this.type=I}}class it{constructor(t){this.payload=t,this.type=P}}class rt{constructor(t){this.payload=t,this.type=k}}class st{constructor(t){this.payload=t,this.type=L}}class ot{constructor(t){this.payload=t,this.type=R}}},0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("bHdf");function r(){return Object(i.a)(1)}},"0FX9":function(t,e,n){var i=n("Z92M"),r=n("qmMu"),s=n("QUaw"),o=n("QAZZ");function a(t,e,n,s,o){var a=[].slice.call(arguments,1),c=a.length,l="function"==typeof a[c-1];if(!l&&!i())throw new Error("Callback required as last argument");if(!l){if(c<1)throw new Error("Too few arguments provided");return 1===c?(n=e,e=s=void 0):2!==c||e.getContext||(s=n,n=e,e=void 0),new Promise(function(i,o){try{var a=r.create(n,s);i(t(a,e,s))}catch(c){o(c)}})}if(c<2)throw new Error("Too few arguments provided");2===c?(o=n,n=e,e=s=void 0):3===c&&(e.getContext&&void 0===o?(o=s,s=void 0):(o=s,s=n,n=e,e=void 0));try{var h=r.create(n,s);o(null,t(h,e,s))}catch(u){o(u)}}e.create=r.create,e.toCanvas=a.bind(null,s.render),e.toDataURL=a.bind(null,s.renderToDataURL),e.toString=a.bind(null,function(t,e,n){return o.render(t,n)})},"0ROu":function(t,e,n){"use strict";var i={};function r(t,e,n){n||(n=Error);var r=function(t){var n,i;function r(n,i,r){return t.call(this,function(t,n,i){return"string"==typeof e?e:e(t,n,i)}(n,i,r))||this}return i=t,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,r}(n);r.prototype.name=n.name,r.prototype.code=t,i[t]=r}function s(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(t){return String(t)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}r("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(t,e,n){var i,r,o,a;if("string"==typeof e&&"not "===e.substr(0,"not ".length)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))r="The ".concat(t," ").concat(i," ").concat(s(e,"type"));else{var c=("number"!=typeof a&&(a=0),a+".".length>(o=t).length||-1===o.indexOf(".",a)?"argument":"property");r='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(s(e,"type"))}return r+". Received type ".concat(typeof n)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=i},"0XuU":function(t,e,n){t.exports=n("43KI").Transform},"0cit":function(t,e,n){"use strict";const i=n("P7XM");function r(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function s(t,e){this.path=t,this.rethrow(e)}e.Reporter=r,r.prototype.isError=function(t){return t instanceof s},r.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},r.prototype.restore=function(t){const e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},r.prototype.enterKey=function(t){return this._reporterState.path.push(t)},r.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},r.prototype.leaveKey=function(t,e,n){const i=this._reporterState;this.exitKey(t),null!==i.obj&&(i.obj[e]=n)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},r.prototype.leaveObject=function(t){const e=this._reporterState,n=e.obj;return e.obj=t,n},r.prototype.error=function(t){let e;const n=this._reporterState,i=t instanceof s;if(e=i?t:new s(n.path.map(function(t){return"["+JSON.stringify(t)+"]"}).join(""),t.message||t,t.stack),!n.options.partial)throw e;return i||n.errors.push(e),e},r.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},i(s,Error),s.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,s),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},"0dfH":function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i=n("wHSu"),r=n("8Y7J"),s=n("iInd"),o=n("VDRc"),a=n("Nv++"),c=n("PDjf"),l=n("Dxy4");let h=(()=>{class t{constructor(t){this.router=t,this.faTimes=i.M}goToHelp(){this.router.navigate(["/help"])}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(s.g))},t.\u0275cmp=r.Jb({type:t,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(t,e){1&t&&(r.Vb(0,"div",0),r.Qb(1,"fa-icon",1),r.Vb(2,"span",2),r.Kc(3,"Page Not Found"),r.Ub(),r.Ub(),r.Vb(4,"div",3),r.Vb(5,"mat-card"),r.Vb(6,"mat-card-content",4),r.Vb(7,"div",5),r.Vb(8,"div",6),r.Kc(9,"This page does not exist!"),r.Ub(),r.Vb(10,"span",7),r.Vb(11,"button",8),r.dc("click",function(){return e.goToHelp()}),r.Kc(12,"Go To Help"),r.Ub(),r.Ub(),r.Ub(),r.Ub(),r.Ub(),r.Ub()),2&t&&(r.Db(1),r.oc("icon",e.faTimes))},directives:[o.c,o.b,a.a,c.a,c.b,o.a,l.a],encapsulation:2}),t})()},1:function(t,e){},"1CSz":function(t,e,n){"use strict";var i=n("P7XM"),r=n("hwdV").Buffer,s=n("ZDAU"),o=r.alloc(128),a=64;function c(t,e){s.call(this,"digest"),"string"==typeof e&&(e=r.from(e)),this._alg=t,this._key=e,e.length>a?e=t(e):e.length<a&&(e=r.concat([e,o],a));for(var n=this._ipad=r.allocUnsafe(a),i=this._opad=r.allocUnsafe(a),c=0;c<a;c++)n[c]=54^e[c],i[c]=92^e[c];this._hash=[n]}i(c,s),c.prototype._update=function(t){this._hash.push(t)},c.prototype._final=function(){var t=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,t]))},t.exports=c},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.notifier=t}call(t,e){const n=new o(t),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class o extends i.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1IWx":function(t,e,n){t.exports=r;var i=n("+qE3").EventEmitter;function r(){i.call(this)}n("P7XM")(r,i),r.Readable=n("43KI"),r.Writable=n("LGOv"),r.Duplex=n("CWBI"),r.Transform=n("0XuU"),r.PassThrough=n("wq4j"),r.Stream=r,r.prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function s(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",s),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",c));var o=!1;function a(){o||(o=!0,t.end())}function c(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function l(t){if(h(),0===i.listenerCount(this,"error"))throw t}function h(){n.removeListener("data",r),t.removeListener("drain",s),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",l),t.removeListener("error",l),n.removeListener("end",h),n.removeListener("close",h),t.removeListener("close",h)}return n.on("error",l),t.on("error",l),n.on("end",h),n.on("close",h),t.on("close",h),t.emit("pipe",n),t}},"1O3W":function(t,e,n){"use strict";n.d(e,"a",function(){return G}),n.d(e,"b",function(){return Y}),n.d(e,"c",function(){return Q}),n.d(e,"d",function(){return A}),n.d(e,"e",function(){return T}),n.d(e,"f",function(){return X});var i=n("7KAL"),r=n("8Y7J"),s=n("SCoL"),o=n("9gLZ"),a=n("SVse"),c=n("8LU1"),l=n("1z/I"),h=n("XNiG"),u=n("quSY"),d=n("VRyK"),f=n("IzEk"),p=n("1G5W"),b=n("7o/Q");class m{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new g(t,this.predicate,this.inclusive))}}class g extends b.a{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var y=n("Ht+U");class v{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(c.d)(-this._previousScrollPosition.left),t.style.top=Object(c.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class _{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class w{enable(){}disable(){}attach(){}}function C(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function x(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class S{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();C(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let O=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new w,this.close=t=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.c),r.Zb(i.e),r.Zb(r.B),r.Zb(a.d))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(i.c),Object(r.Zb)(i.e),Object(r.Zb)(r.B),Object(r.Zb)(a.d))},token:t,providedIn:"root"}),t})();class A{constructor(t){if(this.scrollStrategy=new w,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class k{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class E{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let L=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(a.d))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(a.d))},token:t,providedIn:"root"}),t})(),D=(()=>{class t extends L{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(a.d))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(a.d))},token:t,providedIn:"root"}),t})(),I=(()=>{class t extends L{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e))break;r._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(a.d),r.Zb(s.a))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(a.d),Object(r.Zb)(s.a))},token:t,providedIn:"root"}),t})();const P=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let T=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||P){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const e=this._document.createElement("div");e.classList.add(t),P?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(a.d),r.Zb(s.a))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(a.d),Object(r.Zb)(s.a))},token:t,providedIn:"root"}),t})();class R{constructor(t,e,n,i,r,s,o,a,c){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=s,this._document=o,this._location=a,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new h.a,this._attachments=new h.a,this._detachments=new h.a,this._locationChanges=u.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new h.a,this._outsidePointerEvents=new h.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(f.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(c.d)(this._config.width),t.height=Object(c.d)(this._config.height),t.minWidth=Object(c.d)(this._config.minWidth),t.minHeight=Object(c.d)(this._config.minHeight),t.maxWidth=Object(c.d)(this._config.maxWidth),t.maxHeight=Object(c.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(c.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Object(p.a)(Object(d.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const M="cdk-overlay-connected-position-bounding-box",j=/([A-Za-z%]+)$/;class F{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new h.a,this._resizeSubscription=u.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(M),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let o=this._getOriginPoint(t,s),a=this._getOverlayPoint(o,e,s),c=this._getOverlayFit(a,e,n,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(c,a,n)?i.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!r||r.overlayFit.visibleArea<c.visibleArea)&&(r={overlayFit:c,overlayPoint:a,originPoint:o,position:s,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&N(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(M),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){let{x:r,y:s}=t,o=this._getOffset(i,"x"),a=this._getOffset(i,"y");o&&(r+=o),a&&(s+=a);let c=0-s,l=s+e.height-n.height,h=this._subtractOverflows(e.width,0-r,r+e.width-n.width),u=this._subtractOverflows(e.height,c,l),d=h*u;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:u===e.height,fitsInViewportHorizontally:h==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=U(this._overlayRef.getConfig().minHeight),o=U(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,r=Math.max(t.x+e.width-i.width,0),s=Math.max(t.y+e.height-i.height,0),o=Math.max(i.top-n.top-t.y,0),a=Math.max(i.left-n.left-t.x,0);let c=0,l=0;return c=e.width<=i.width?a||-r:t.x<this._viewportMargin?i.left-n.left-t.x:0,l=e.height<=i.height?o||-s:t.y<this._viewportMargin?i.top-n.top-t.y:0,this._previousPushAmount={x:c,y:l},{x:t.x+c,y:t.y+l}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new E(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let r,s,o,a,c,l;if("top"===e.overlayY)s=t.y,r=n.height-s+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,r=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;r=2*e,s=t.y-e,r>i&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)l=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)c=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,c=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(c=t.x-i/2)}return{top:s,left:c,bottom:o,right:l,width:a,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(c.d)(n.height),i.top=Object(c.d)(n.top),i.bottom=Object(c.d)(n.bottom),i.width=Object(c.d)(n.width),i.left=Object(c.d)(n.left),i.right=Object(c.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(c.d)(t)),r&&(i.maxWidth=Object(c.d)(r))}this._lastBoundingBoxSize=n,N(this._boundingBox.style,i)}_resetBoundingBoxStyles(){N(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){N(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();N(n,this._getExactOverlayY(e,t,i)),N(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),s.maxHeight&&(i?n.maxHeight=Object(c.d)(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=Object(c.d)(s.maxWidth):r&&(n.maxWidth="")),N(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(c.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=Object(c.d)(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:x(t,n),isOriginOutsideView:C(t,n),isOverlayClipped:x(e,n),isOverlayOutsideView:C(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Object(c.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function N(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function U(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(j);return n&&"px"!==n?null:parseFloat(e)}return t||null}class V{constructor(t,e,n,i,r,s,o){this._preferredPositions=[],this._positionStrategy=new F(n,i,r,s,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new k(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const B="cdk-global-overlay-wrapper";class z{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(B),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(B),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let H=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new z}connectedTo(t,e,n){return new V(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new F(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.e),r.Zb(a.d),r.Zb(s.a),r.Zb(T))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(i.e),Object(r.Zb)(a.d),Object(r.Zb)(s.a),Object(r.Zb)(T))},token:t,providedIn:"root"}),t})(),W=0,Q=(()=>{class t{constructor(t,e,n,i,r,s,o,a,c,l,h){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=a,this._directionality=c,this._location=l,this._outsideClickDispatcher=h}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new A(t);return r.direction=r.direction||this._directionality.value,new R(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+W++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new l.f(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(O),r.Zb(T),r.Zb(r.j),r.Zb(H),r.Zb(D),r.Zb(r.t),r.Zb(r.B),r.Zb(a.d),r.Zb(o.b),r.Zb(a.j),r.Zb(I))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();const K=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],q=new r.s("cdk-connected-overlay-scroll-strategy");let Y=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l))},t.\u0275dir=r.Kb({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),G=(()=>{class t{constructor(t,e,n,i,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.a.EMPTY,this._attachSubscription=u.a.EMPTY,this._detachSubscription=u.a.EMPTY,this._positionSubscription=u.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.o,this.positionChange=new r.o,this.attach=new r.o,this.detach=new r.o,this.overlayKeydown=new r.o,this.overlayOutsideClick=new r.o,this._templatePortal=new l.i(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(c.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(c.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(c.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(c.c)(t)}get push(){return this._push}set push(t){this._push=Object(c.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=K);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==y.f||this.disableClose||Object(y.r)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new A({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new m(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(Q),r.Pb(r.O),r.Pb(r.S),r.Pb(q),r.Pb(o.b,8))},t.\u0275dir=r.Kb({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.Bb]}),t})();const Z={provide:q,deps:[Q],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let X=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},providers:[Q,Z],imports:[[o.a,l.h,i.d],i.d]}),t})()},"1sBl":function(t,e,n){var i=n("e/Dd").getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,n=i(t),r=145===n?26:2*Math.ceil((n-13)/(2*e-2)),s=[n-7],o=1;o<e-1;o++)s[o]=s[o-1]-r;return s.push(6),s.reverse()},e.getPositions=function(t){for(var n=[],i=e.getRowColCoords(t),r=i.length,s=0;s<r;s++)for(var o=0;o<r;o++)0===s&&0===o||0===s&&o===r-1||s===r-1&&0===o||n.push([i[s],i[o]]);return n}},"1w4i":function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},"1z/I":function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return d}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return h}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return m}),n.d(e,"i",function(){return a});var i=n("8Y7J"),r=n("SVse");class s{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends s{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends s{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class c extends s{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof c?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class h extends l{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class u extends h{}let d=(()=>{class t extends a{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.O),i.Pb(i.S))},t.\u0275dir=i.Kb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.Ab]}),t})(),f=(()=>{class t extends l{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.j),i.Pb(i.S),i.Pb(r.d))},t.\u0275dir=i.Kb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.Ab]}),t})(),p=(()=>{class t extends f{}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Cb([{provide:f,useExisting:t}]),i.Ab]}),t})();const b=i.Xb(p);let m=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})()},2:function(t,e){},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("XNiG"),r=n("9ppp");class s extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2h+y":function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return c});var i=n("8Y7J"),r=n("mZtN");let s=(()=>{class t{constructor(t){this.sessionService=t}canActivate(){return!!this.sessionService.getItem("token")}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(r.a))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),o=(()=>{class t{constructor(t){this.sessionService=t}canActivate(){return!!this.sessionService.getItem("lndUnlocked")}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(r.a))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),a=(()=>{class t{constructor(t){this.sessionService=t}canActivate(){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(r.a))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),c=(()=>{class t{constructor(t){this.sessionService=t}canActivate(){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(r.a))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})()},"2j6C":function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},"2q5Q":function(t,e){t.exports="function"==typeof Object.create?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},"2yzq":function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s});var i=n("GS7A");const r=[Object(i.n)("opacityAnimation",[Object(i.m)(":enter",[Object(i.l)({opacity:0}),Object(i.e)("1000ms ease-in",Object(i.l)({opacity:1}))]),Object(i.m)(":leave",[Object(i.e)("0ms",Object(i.l)({opacity:0}))])])],s=[Object(i.n)("fadeIn",[Object(i.m)("void => *",[]),Object(i.m)("* => void",[]),Object(i.m)("* => *",[Object(i.e)(800,Object(i.h)([Object(i.l)({opacity:0,transform:"translateY(100%)"}),Object(i.l)({opacity:1,transform:"translateY(0%)"})]))])])]},3:function(t,e){},"3BRs":function(t,e,n){"use strict";var i=n("lm0R");function r(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var i=t.entry;for(t.entry=null;i;){var r=i.callback;e.pendingcb--,r(void 0),i=i.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=m;var s,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:i.nextTick;m.WritableState=b;var a=Object.create(n("Onz0"));a.inherits=n("P7XM");var c,l={deprecate:n("t9FE")},h=n("QpuX"),u=n("hwdV").Buffer,d=global.Uint8Array||function(){},f=n("RoFp");function p(){}function b(t,e){s=s||n("sZro");var a=e instanceof s;this.objectMode=!!(t=t||{}).objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var c=t.highWaterMark,l=t.writableHighWaterMark;this.highWaterMark=c||0===c?c:a&&(l||0===l)?l:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,s=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,s){--e.pendingcb,n?(i.nextTick(s,r),i.nextTick(C,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(s(r),t._writableState.errorEmitted=!0,t.emit("error",r),C(t,e))}(t,n,r,e,s);else{var a=_(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||v(t,n),r?o(y,t,n,a,s):y(t,n,a,s)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function m(t){if(s=s||n("sZro"),!(c.call(m,this)||this instanceof s))return new m(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),h.call(this)}function g(t,e,n,i,r,s,o){e.writelen=i,e.writecb=o,e.writing=!0,e.sync=!0,n?t._writev(r,e.onwrite):t._write(r,s,e.onwrite),e.sync=!1}function y(t,e,n,i){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,i(),C(t,e)}function v(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=new Array(e.bufferedRequestCount),s=e.corkedRequestsFree;s.entry=n;for(var o=0,a=!0;n;)i[o]=n,n.isBuf||(a=!1),n=n.next,o+=1;i.allBuffers=a,g(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new r(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk;if(g(t,e,!1,e.objectMode?1:c.length,c,n.encoding,n.callback),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function _(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function w(t,e){t._final(function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),C(t,e)})}function C(t,e){var n=_(e);return n&&(function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,i.nextTick(w,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}a.inherits(m,h),b.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(b.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(t){return!!c.call(this,t)||this===m&&t&&t._writableState instanceof b}})):c=function(t){return t instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(t,e,n){var r,s=this._writableState,o=!1,a=!s.objectMode&&(u.isBuffer(r=t)||r instanceof d);return a&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=s.defaultEncoding),"function"!=typeof n&&(n=p),s.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),i.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var s=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),i.nextTick(r,o),s=!1),s}(this,s,t,n))&&(s.pendingcb++,o=function(t,e,n,i,r,s){if(!n){var o=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,n)),e}(e,i,r);i!==o&&(n=!0,r="buffer",i=o)}var a=e.objectMode?1:i.length;e.length+=a;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:s,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else g(t,e,!1,a,i,r,s);return c}(this,s,a,t,e,n)),o},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||v(this,t))},m.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,C(t,e),n&&(e.finished?i.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),m.prototype.destroy=f.destroy,m.prototype._undestroy=f.undestroy,m.prototype._destroy=function(t,e){this.end(),e(t)}},"3E0/":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("D0XW"),r=n("mlxB"),s=n("7o/Q"),o=n("WMd4");function a(t,e=i.a){const n=Object(r.a)(t)?+t-e.now():Math.abs(t);return t=>t.lift(new c(n,e))}class c{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends s.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new h(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.a.createComplete()),this.unsubscribe()}}class h{constructor(t,e){this.time=t,this.notification=e}}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("quSY");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class s extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UWI":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("D0XW"),r=n("zx2A");class s{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends r.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(r.c)(n,new r.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function c(t,e=i.a){return n=()=>Object(a.a)(t,e),function(t){return t.lift(new s(n))};var n}},"3X7Y":function(t,e,n){var i=n("u/Db");function r(t){this.mode=i.NUMERIC,this.data=t.toString()}r.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var e,n,i;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),i=parseInt(n,10),t.put(i,10);var r=this.data.length-e;r>0&&(n=this.data.substr(e),i=parseInt(n,10),t.put(i,3*r+1))},t.exports=r},4:function(t,e){},"40+f":function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return w}),n.d(e,"c",function(){return h});var i=n("8Y7J"),r=n("UhP/"),s=n("8LU1"),o=n("9gLZ");const a=["*"],c=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\n",l=new i.s("MAT_GRID_LIST");let h=(()=>{class t{constructor(t,e){this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(Object(s.f)(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(Object(s.f)(t))}_setStyle(t,e){this._element.nativeElement.style[t]=e}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(l,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,e){2&t&&i.Eb("rowspan",e.rowspan)("colspan",e.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:a,decls:2,vars:0,consts:[[1,"mat-figure"]],template:function(t,e){1&t&&(i.nc(),i.Vb(0,"figure",0),i.mc(1),i.Ub())},styles:[c],encapsulation:2,changeDetection:0}),t})();class u{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new d(this.rowIndex,e)}_findMatchingGap(t){let e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)))}while(n-e<t||0==n);return Math.max(e,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)}_findGapEndIndex(t){for(let e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length}_markTilePosition(t,e){for(let n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan}}class d{constructor(t,e){this.row=t,this.col=e}}const f=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class p{constructor(){this._rows=0,this._rowspan=0}init(t,e,n,i){this._gutterSize=v(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=i}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?"0":y(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,n){let i=100/this._cols,r=(this._cols-1)/this._cols;this.setColStyles(t,n,i,r),this.setRowStyles(t,e,i,r)}setColStyles(t,e,n,i){let r=this.getBaseTileSize(n,i);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(r,e)),t._setStyle("width",y(this.getTileSize(r,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class b extends p{constructor(t){super(),this.fixedRowHeight=t}init(t,e,n,i){super.init(t,e,n,i),this.fixedRowHeight=v(this.fixedRowHeight),f.test(this.fixedRowHeight)}setRowStyles(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",y(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return["height",y(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}class m extends p{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",y(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return["paddingBottom",y(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(t=>{t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})}_parseRatio(t){const e=t.split(":");this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class g extends p{setRowStyles(t,e){let n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(n,e)),t._setStyle("height",y(this.getTileSize(n,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}function y(t){return`calc(${t})`}function v(t){return t.match(/([A-Za-z%]+)$/)?t:t+"px"}let _=(()=>{class t{constructor(t,e){this._element=t,this._dir=e,this._gutter="1px"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(Object(s.f)(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=""+(null==t?"":t)}get rowHeight(){return this._rowHeight}set rowHeight(t){const e=""+(null==t?"":t);e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new g:t&&t.indexOf(":")>-1?new m(t):new b(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new u);const t=this._tileCoordinator,e=this._tiles.filter(t=>!t._gridList||t._gridList===this),n=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,e),this._tileStyler.init(this.gutterSize,t,this.cols,n),e.forEach((e,n)=>{const i=t.positions[n];this._tileStyler.setStyle(e,i.row,i.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(o.b,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-grid-list"]],contentQueries:function(t,e,n){if(1&t&&i.Ib(n,h,!0),2&t){let t;i.vc(t=i.ec())&&(e._tiles=t)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb("cols",e.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[i.Cb([{provide:l,useExisting:t}])],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(i.nc(),i.Vb(0,"div"),i.mc(1),i.Ub())},styles:[c],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.k,r.i],r.k,r.i]}),t})()},"43KI":function(t,e,n){(e=t.exports=n("rXFu")).Stream=e,e.Readable=e,e.Writable=n("3BRs"),e.Duplex=n("sZro"),e.Transform=n("J78i"),e.PassThrough=n("eA/Y")},"49sm":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"4Hv8":function(t,e,n){var i=n("WnY+"),r=n("tcrS"),s=n("afKu"),o=n("hwdV").Buffer,a=n("fSpj"),c=n("n53Y"),l=n("i+bA"),h=o.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(t,e,n){var a=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new r).update(t).digest()}:"md5"===t?i:function(e){return s(t).update(e).digest()}}(t),c="sha512"===t||"sha384"===t?128:64;e.length>c?e=a(e):e.length<c&&(e=o.concat([e,h],c));for(var l=o.allocUnsafe(c+u[t]),d=o.allocUnsafe(c+u[t]),f=0;f<c;f++)l[f]=54^e[f],d[f]=92^e[f];var p=o.allocUnsafe(c+n+4);l.copy(p,0,0,c),this.ipad1=p,this.ipad2=l,this.opad=d,this.alg=t,this.blocksize=c,this.hash=a,this.size=u[t]}d.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,n,i,r){a(n,i);var s=new d(r=r||"sha1",t=l(t,c,"Password"),(e=l(e,c,"Salt")).length),h=o.allocUnsafe(i),f=o.allocUnsafe(e.length+4);e.copy(f,0,0,e.length);for(var p=0,b=u[r],m=Math.ceil(i/b),g=1;g<=m;g++){f.writeUInt32BE(g,e.length);for(var y=s.run(f,s.ipad1),v=y,_=1;_<n;_++){v=s.run(v,s.ipad2);for(var w=0;w<b;w++)y[w]^=v[w]}y.copy(h,p),p+=b}return h}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4dMO":function(t,e,n){var i=n("MzeL"),r=n("N+aw");t.exports=function(t){return new o(t)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(t){this.curveType=s[t],this.curveType||(this.curveType={name:t}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function a(t,e,n){Array.isArray(t)||(t=t.toArray());var i=new Buffer(t);if(n&&i.length<n){var r=new Buffer(n-i.length);r.fill(0),i=Buffer.concat([r,i])}return e?i.toString(e):i}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,o.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},o.prototype.computeSecret=function(t,e,n){return e=e||"utf8",Buffer.isBuffer(t)||(t=new Buffer(t,e)),a(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},o.prototype.getPublicKey=function(t,e){var n=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(n[0]=n[n.length-1]%2?7:6),a(n,t)},o.prototype.getPrivateKey=function(t){return a(this.keys.getPrivate(),t)},o.prototype.setPublicKey=function(t,e){return e=e||"utf8",Buffer.isBuffer(t)||(t=new Buffer(t,e)),this.keys._importPublic(t),this},o.prototype.setPrivateKey=function(t,e){e=e||"utf8",Buffer.isBuffer(t)||(t=new Buffer(t,e));var n=new r(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}},"4r19":function(t,e,n){"use strict";n.d(e,"a",function(){return E});var i=n("iELJ"),r=n("wHSu"),s=n("7nzP"),o=n("8Y7J"),a=n("cpEJ"),c=n("7o2P"),l=n("zHaW"),h=n("VDRc"),u=n("SVse"),d=n("ura0"),f=n("bwdU"),p=n("PDjf"),b=n("Nv++"),m=n("Dxy4"),g=n("BSbQ"),y=n("O4ig"),v=n("dEYt");function _(t,e){if(1&t&&(o.Vb(0,"div",13),o.Vb(1,"div",26),o.Qb(2,"fa-icon",27),o.Vb(3,"span"),o.Kc(4),o.Ub(),o.Ub(),o.Ub()),2&t){const t=o.hc();o.Db(2),o.oc("icon",t.faExclamationTriangle),o.Db(2),o.Lc(t.invoice.warning_capacity)}}function w(t,e){1&t&&(o.Tb(0),o.Kc(1," (zero amount) "),o.Sb())}function C(t,e){if(1&t&&(o.Vb(0,"div"),o.Qb(1,"mat-divider",18),o.Vb(2,"div",13),o.Vb(3,"div",19),o.Vb(4,"h4",15),o.Kc(5,"Payment Hash"),o.Ub(),o.Vb(6,"span",20),o.Kc(7),o.Ub(),o.Ub(),o.Ub(),o.Qb(8,"mat-divider",18),o.Vb(9,"div",13),o.Vb(10,"div",14),o.Vb(11,"h4",15),o.Kc(12,"Status"),o.Ub(),o.Vb(13,"span",20),o.Kc(14),o.ic(15,"titlecase"),o.Ub(),o.Ub(),o.Vb(16,"div",14),o.Vb(17,"h4",15),o.Kc(18,"Label"),o.Ub(),o.Vb(19,"span",20),o.Kc(20),o.Ub(),o.Ub(),o.Ub(),o.Qb(21,"mat-divider",18),o.Vb(22,"div",13),o.Vb(23,"div",14),o.Vb(24,"h4",15),o.Kc(25,"Amount Received"),o.Ub(),o.Vb(26,"span",20),o.Kc(27),o.ic(28,"number"),o.Ub(),o.Ub(),o.Vb(29,"div",14),o.Vb(30,"h4",15),o.Kc(31,"Date Settled"),o.Ub(),o.Vb(32,"span",16),o.Kc(33),o.Ub(),o.Ub(),o.Ub(),o.Qb(34,"mat-divider",18),o.Ub()),2&t){const t=o.hc();o.Db(7),o.Lc(t.invoice.payment_hash),o.Db(7),o.Lc(o.jc(15,6,t.invoice.status)),o.Db(6),o.Lc(t.invoice.label),o.Db(7),o.Nc("",o.jc(28,8,t.invoice.msatoshi_received/1e3)," ",t.invoice.msatoshi_received?"Sats":"",""),o.Db(6),o.Lc(t.invoice.paid_at_str||"-")}}function x(t,e){1&t&&(o.Vb(0,"p"),o.Kc(1,"Show Advanced"),o.Ub())}function S(t,e){1&t&&(o.Vb(0,"p"),o.Kc(1,"Hide Advanced"),o.Ub())}const O=function(t){return{"display-none":t}},A=function(t){return{"xs-scroll-y":t}},k=function(t,e){return{"mt-2":t,"mt-1":e}};let E=(()=>{class t{constructor(t,e,n,i,o){this.dialogRef=t,this.data=e,this.logger=n,this.commonService=i,this.snackBar=o,this.faReceipt=r.H,this.faExclamationTriangle=r.o,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.s}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===s.s.XS&&(this.qrWidth=220)}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(t){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+t)}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(i.f),o.Pb(i.a),o.Pb(a.b),o.Pb(c.a),o.Pb(l.b))},t.\u0275cmp=o.Jb({type:t,selectors:[["rtl-cl-invoice-information"]],decls:51,vars:38,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxFlex","65",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-1"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[3,"ngClass"],["fxLayout","column"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-stroked-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"]],template:function(t,e){if(1&t&&(o.Vb(0,"div",0),o.Vb(1,"div",1),o.Qb(2,"qrcode",2),o.Ub(),o.Vb(3,"div",3),o.Vb(4,"mat-card-header",4),o.Vb(5,"div",5),o.Qb(6,"fa-icon",6),o.Vb(7,"span",7),o.Kc(8),o.Ub(),o.Ub(),o.Vb(9,"button",8),o.dc("click",function(){return e.onClose()}),o.Kc(10,"X"),o.Ub(),o.Ub(),o.Vb(11,"mat-card-content",9),o.Vb(12,"div",10),o.Vb(13,"div",11),o.Qb(14,"qrcode",2),o.Ub(),o.Ic(15,_,5,2,"div",12),o.Vb(16,"div",13),o.Vb(17,"div",14),o.Vb(18,"h4",15),o.Kc(19),o.Ub(),o.Vb(20,"span",16),o.Kc(21),o.ic(22,"number"),o.Ic(23,w,2,0,"ng-container",17),o.Ub(),o.Ub(),o.Vb(24,"div",14),o.Vb(25,"h4",15),o.Kc(26,"Date Expiry"),o.Ub(),o.Vb(27,"span",16),o.Kc(28),o.Ub(),o.Ub(),o.Ub(),o.Qb(29,"mat-divider",18),o.Vb(30,"div",13),o.Vb(31,"div",19),o.Vb(32,"h4",15),o.Kc(33,"Description"),o.Ub(),o.Vb(34,"span",16),o.Kc(35),o.Ub(),o.Ub(),o.Ub(),o.Qb(36,"mat-divider",18),o.Vb(37,"div",13),o.Vb(38,"div",19),o.Vb(39,"h4",15),o.Kc(40,"Invoice"),o.Ub(),o.Vb(41,"span",20),o.Kc(42),o.Ub(),o.Ub(),o.Ub(),o.Ic(43,C,35,10,"div",17),o.Vb(44,"div",21),o.Vb(45,"button",22),o.dc("click",function(){return e.onShowAdvanced()}),o.Ic(46,x,2,0,"p",23),o.Ic(47,S,2,0,"ng-template",null,24,o.Jc),o.Ub(),o.Vb(49,"button",25),o.dc("copied",function(t){return e.onCopyPayment(t)}),o.Kc(50,"Copy Invoice"),o.Ub(),o.Ub(),o.Ub(),o.Ub(),o.Ub(),o.Ub()),2&t){const t=o.wc(48);o.Db(1),o.oc("ngClass",o.sc(29,O,e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM)),o.Db(1),o.oc("qrdata",e.invoice.bolt11)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),o.Db(4),o.oc("icon",e.faReceipt),o.Db(2),o.Lc(e.screenSize===e.screenSizeEnum.XS?e.newlyAdded?"Created":"Invoice":e.newlyAdded?"Invoice Created":"Invoice Information"),o.Db(3),o.oc("ngClass",o.sc(31,A,e.screenSize===e.screenSizeEnum.XS)),o.Db(2),o.oc("ngClass",o.sc(33,O,e.screenSize!==e.screenSizeEnum.XS&&e.screenSize!==e.screenSizeEnum.SM)),o.Db(1),o.oc("qrdata",e.invoice.bolt11)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),o.Db(1),o.oc("ngIf",e.invoice.warning_capacity),o.Db(4),o.Lc(e.screenSize===e.screenSizeEnum.XS?"Amount":"Amount Requested"),o.Db(2),o.Mc("",o.jc(22,27,e.invoice.msatoshi/1e3||0)," Sats"),o.Db(2),o.oc("ngIf",!e.invoice.msatoshi),o.Db(5),o.Lc(e.invoice.expires_at_str),o.Db(7),o.Lc(e.invoice.description||"-"),o.Db(7),o.Lc(e.invoice.bolt11),o.Db(1),o.oc("ngIf",e.showAdvanced),o.Db(1),o.oc("ngClass",o.tc(35,k,!e.showAdvanced,e.showAdvanced)),o.Db(2),o.oc("ngIf",!e.showAdvanced)("ngIfElse",t),o.Db(3),o.oc("payload",e.invoice.bolt11)}},directives:[h.c,h.b,h.a,u.m,d.a,f.a,p.c,b.a,m.a,p.b,u.o,g.a,y.a,v.a],pipes:[u.f,u.x],styles:[""]}),t})()},5:function(t,e){},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),s=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(o((n,s)=>Object(r.a)(t(n,s)).pipe(Object(i.a)((t,i)=>e(n,t,s,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}class c extends s.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new s.a(this),n=this.destination;n.add(e);const i=Object(s.c)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5QHs":function(t,e,n){"use strict";n.d(e,"a",function(){return S}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return O});var i=n("SVse"),r=n("8Y7J"),s=n("UhP/"),o=n("Dxy4"),a=n("ZTz/"),c=n("ZFy/"),l=n("8LU1"),h=n("XNiG"),u=n("Q2Ze");function d(t,e){if(1&t&&(r.Vb(0,"mat-option",19),r.Kc(1),r.Ub()),2&t){const t=e.$implicit;r.oc("value",t),r.Db(1),r.Mc(" ",t," ")}}function f(t,e){if(1&t){const t=r.Wb();r.Vb(0,"mat-form-field",16),r.Vb(1,"mat-select",17),r.dc("selectionChange",function(e){return r.zc(t),r.hc(2)._changePageSize(e.value)}),r.Ic(2,d,2,2,"mat-option",18),r.Ub(),r.Ub()}if(2&t){const t=r.hc(2);r.oc("appearance",t._formFieldAppearance)("color",t.color),r.Db(1),r.oc("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),r.Db(1),r.oc("ngForOf",t._displayedPageSizeOptions)}}function p(t,e){if(1&t&&(r.Vb(0,"div",20),r.Kc(1),r.Ub()),2&t){const t=r.hc(2);r.Db(1),r.Lc(t.pageSize)}}function b(t,e){if(1&t&&(r.Vb(0,"div",12),r.Vb(1,"div",13),r.Kc(2),r.Ub(),r.Ic(3,f,3,6,"mat-form-field",14),r.Ic(4,p,2,1,"div",15),r.Ub()),2&t){const t=r.hc();r.Db(2),r.Mc(" ",t._intl.itemsPerPageLabel," "),r.Db(1),r.oc("ngIf",t._displayedPageSizeOptions.length>1),r.Db(1),r.oc("ngIf",t._displayedPageSizeOptions.length<=1)}}function m(t,e){if(1&t){const t=r.Wb();r.Vb(0,"button",21),r.dc("click",function(){return r.zc(t),r.hc().firstPage()}),r.gc(),r.Vb(1,"svg",7),r.Qb(2,"path",22),r.Ub(),r.Ub()}if(2&t){const t=r.hc();r.oc("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),r.Eb("aria-label",t._intl.firstPageLabel)}}function g(t,e){if(1&t){const t=r.Wb();r.gc(),r.fc(),r.Vb(0,"button",23),r.dc("click",function(){return r.zc(t),r.hc().lastPage()}),r.gc(),r.Vb(1,"svg",7),r.Qb(2,"path",24),r.Ub(),r.Ub()}if(2&t){const t=r.hc();r.oc("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),r.Eb("aria-label",t._intl.lastPageLabel)}}let y=(()=>{class t{constructor(){this.changes=new h.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return"0 of "+n;const i=t*e;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const v={provide:y,deps:[[new r.C,new r.M,y]],useFactory:function(t){return t||new y}},_=new r.s("MAT_PAGINATOR_DEFAULT_OPTIONS");class w{}const C=Object(s.z)(Object(s.B)(w));let x=(()=>{class t extends C{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new r.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:r}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(l.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(l.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(l.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(l.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(l.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(l.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(y),r.Pb(r.h),r.Pb(void 0))},t.\u0275dir=r.Kb({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[r.Ab]}),t})(),S=(()=>{class t extends x{constructor(t,e,n){super(t,e,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(y),r.Pb(r.h),r.Pb(_,8))},t.\u0275cmp=r.Jb({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[r.Ab],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(r.Vb(0,"div",0),r.Vb(1,"div",1),r.Ic(2,b,5,3,"div",2),r.Vb(3,"div",3),r.Vb(4,"div",4),r.Kc(5),r.Ub(),r.Ic(6,m,3,5,"button",5),r.Vb(7,"button",6),r.dc("click",function(){return e.previousPage()}),r.gc(),r.Vb(8,"svg",7),r.Qb(9,"path",8),r.Ub(),r.Ub(),r.fc(),r.Vb(10,"button",9),r.dc("click",function(){return e.nextPage()}),r.gc(),r.Vb(11,"svg",7),r.Qb(12,"path",10),r.Ub(),r.Ub(),r.Ic(13,g,3,5,"button",11),r.Ub(),r.Ub(),r.Ub()),2&t&&(r.Db(2),r.oc("ngIf",!e.hidePageSize),r.Db(3),r.Mc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),r.Db(1),r.oc("ngIf",e.showFirstLastButtons),r.Db(1),r.oc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),r.Eb("aria-label",e._intl.previousPageLabel),r.Db(3),r.oc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),r.Eb("aria-label",e._intl.nextPageLabel),r.Db(3),r.oc("ngIf",e.showFirstLastButtons))},directives:[i.o,o.a,c.a,u.c,a.a,i.n,s.m],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},providers:[v],imports:[[i.c,o.b,a.b,c.b,s.i]]}),t})()},6:function(t,e){},"6F8h":function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},"6lN/":function(t,e,n){"use strict";var i=n("N+aw"),r=n("86MQ"),s=r.getNAF,o=r.getJSF,a=r.assert;function c(t,e){this.type=t,this.p=new i(e.p,16),this.red=e.prime?i.red(e.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=e.n&&new i(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){a(t.precomputed);var n=t._getDoubles(),i=s(e,1,this._bitLength),r=(1<<n.step+1)-(n.step%2==0?2:1);r/=3;for(var o=[],c=0;c<i.length;c+=n.step){var l=0;for(e=c+n.step-1;e>=c;e--)l=(l<<1)+i[e];o.push(l)}for(var h=this.jpoint(null,null,null),u=this.jpoint(null,null,null),d=r;d>0;d--){for(c=0;c<o.length;c++)(l=o[c])===d?u=u.mixedAdd(n.points[c]):l===-d&&(u=u.mixedAdd(n.points[c].neg()));h=h.add(u)}return h.toP()},c.prototype._wnafMul=function(t,e){for(var n=4,i=t._getNAFPoints(n),r=i.points,o=s(e,n=i.wnd,this._bitLength),c=this.jpoint(null,null,null),l=o.length-1;l>=0;l--){for(e=0;l>=0&&0===o[l];l--)e++;if(l>=0&&e++,c=c.dblp(e),l<0)break;var h=o[l];a(0!==h),c="affine"===t.type?c.mixedAdd(h>0?r[h-1>>1]:r[-h-1>>1].neg()):c.add(h>0?r[h-1>>1]:r[-h-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,n,i,r){for(var a=this._wnafT1,c=this._wnafT2,l=this._wnafT3,h=0,u=0;u<i;u++){var d=(x=e[u])._getNAFPoints(t);a[u]=d.wnd,c[u]=d.points}for(u=i-1;u>=1;u-=2){var f=u-1,p=u;if(1===a[f]&&1===a[p]){var b=[e[f],null,null,e[p]];0===e[f].y.cmp(e[p].y)?(b[1]=e[f].add(e[p]),b[2]=e[f].toJ().mixedAdd(e[p].neg())):0===e[f].y.cmp(e[p].y.redNeg())?(b[1]=e[f].toJ().mixedAdd(e[p]),b[2]=e[f].add(e[p].neg())):(b[1]=e[f].toJ().mixedAdd(e[p]),b[2]=e[f].toJ().mixedAdd(e[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],g=o(n[f],n[p]);h=Math.max(g[0].length,h),l[f]=new Array(h),l[p]=new Array(h);for(var y=0;y<h;y++)l[f][y]=m[3*(1+(0|g[0][y]))+(1+(0|g[1][y]))],l[p][y]=0,c[f]=b}else l[f]=s(n[f],a[f],this._bitLength),l[p]=s(n[p],a[p],this._bitLength),h=Math.max(l[f].length,h),h=Math.max(l[p].length,h)}var v=this.jpoint(null,null,null),_=this._wnafT4;for(u=h;u>=0;u--){for(var w=0;u>=0;){var C=!0;for(y=0;y<i;y++)_[y]=0|l[y][u],0!==_[y]&&(C=!1);if(!C)break;w++,u--}if(u>=0&&w++,v=v.dblp(w),u<0)break;for(y=0;y<i;y++){var x,S=_[y];0!==S&&(S>0?x=c[y][S-1>>1]:S<0&&(x=c[y][-S-1>>1].neg()),v="affine"===x.type?v.mixedAdd(x):v.add(x))}}for(u=0;u<i;u++)c[u]=null;return r?v:v.toP()},c.BasePoint=l,l.prototype.eq=function(){throw new Error("Not implemented")},l.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,e){t=r.toArray(t,e);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?a(t[t.length-1]%2==0):7===t[0]&&a(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw new Error("Unknown point format")},l.prototype.encodeCompressed=function(t){return this.encode(t,!0)},l.prototype._encode=function(t){var e=this.curve.p.byteLength(),n=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",e))},l.prototype.encode=function(t,e){return r.encode(this._encode(e),t)},l.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},l.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},l.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,r=0;r<e;r+=t){for(var s=0;s<t;s++)i=i.dbl();n.push(i)}return{step:t,points:n}},l.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],n=(1<<t)-1,i=1===n?null:this.dbl(),r=1;r<n;r++)e[r]=e[r-1].add(i);return{wnd:t,points:e}},l.prototype._getBeta=function(){return null},l.prototype.dblp=function(t){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}},7:function(t,e){},"7+OI":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"7Hc7":function(t,e,n){"use strict";n.d(e,"a",function(){return d});let i=1;const r=(()=>Promise.resolve())(),s={};function o(t){return t in s&&(delete s[t],!0)}const a={setImmediate(t){const e=i++;return s[e]=!0,r.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var c=n("3N8a");class l extends c.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var h=n("IjjT");class u extends h.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<r&&(t=e.shift()));if(this.active=!1,n){for(;++i<r&&(t=e.shift());)t.unsubscribe();throw n}}}const d=new u(l)},"7KAL":function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return g}),n.d(e,"c",function(){return p}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return m}),n("8LU1");var i=n("8Y7J"),r=n("XNiG"),s=n("LRne"),o=n("HDdC"),a=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var c=(n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),l=n("pLZG"),h=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("jtHE");var u=n("SCoL"),d=n("SVse"),f=n("9gLZ");n("CtHx");let p=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(l.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(a.a)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.B),i.Zb(u.a),i.Zb(d.d,8))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(i.B),Object(i.Zb)(u.a),Object(i.Zb)(d.d,8))},token:t,providedIn:"root"}),t})(),b=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.a,this._elementScrolled=new o.a(t=>this.ngZone.runOutsideAngular(()=>Object(a.a)(this.elementRef.nativeElement,"scroll").pipe(Object(h.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(u.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(u.d)()?t.left=t.right:1==Object(u.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(u.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",n="right",i=this.elementRef.nativeElement;if("top"==t)return i.scrollTop;if("bottom"==t)return i.scrollHeight-i.clientHeight-i.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==t?t=r?n:e:"end"==t&&(t=r?e:n),r&&2==Object(u.d)()?t==e?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&1==Object(u.d)()?t==e?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==e?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(p),i.Pb(i.B),i.Pb(f.b,8))},t.\u0275dir=i.Kb({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),m=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new r.a,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(u.a),i.Zb(i.B),i.Zb(d.d,8))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(u.a),Object(i.Zb)(i.B),Object(i.Zb)(d.d,8))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})(),y=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[f.a,u.b,g],f.a,g]}),t})()},"7bNT":function(t,e,n){"use strict";n.d(e,"a",function(){return H}),n.d(e,"b",function(){return N}),n.d(e,"c",function(){return ot}),n.d(e,"d",function(){return W});var i=n("tqRt"),r=n("VRyK"),s=n("HDdC"),o=n("XNiG"),a=(n("NXyV"),n("WMd4")),c=n("7o/Q");class l{call(t,e){return e.subscribe(new h(t))}}class h extends c.a{_next(t){}}class u{call(t,e){return e.subscribe(new d(t))}}class d extends c.a{constructor(t){super(t)}_next(t){this.destination.next(a.a.createNext(t))}_error(t){const e=this.destination;e.next(a.a.createError(t)),e.complete()}_complete(){const t=this.destination;t.next(a.a.createComplete()),t.complete()}}var f=n("lJxs"),p=n("JIr8"),b=n("pLZG"),m=n("quSY");function g(t,e,n,i){return r=>r.lift(new y(t,e,n,i))}class y{constructor(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}call(t,e){return e.subscribe(new v(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class v extends c.a{constructor(t,e,n,i,r){super(t),this.keySelector=e,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(t){let e;try{e=this.keySelector(t)}catch(n){return void this.error(n)}this._group(t,e)}_group(t,e){let n=this.groups;n||(n=this.groups=new Map);let i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(s){this.error(s)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new o.a,n.set(e,r);const t=new w(e,r,this);if(this.destination.next(t),this.durationSelector){let t;try{t=this.durationSelector(new w(e,r))}catch(s){return void this.error(s)}this.add(t.subscribe(new _(e,r,this)))}}r.closed||r.next(i)}_error(t){const e=this.groups;e&&(e.forEach((e,n)=>{e.error(t)}),e.clear()),this.destination.error(t)}_complete(){const t=this.groups;t&&(t.forEach((t,e)=>{t.complete()}),t.clear()),this.destination.complete()}removeGroup(t){this.groups.delete(t)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class _ extends c.a{constructor(t,e,n){super(e),this.key=t,this.group=e,this.parent=n}_next(t){this.complete()}_unsubscribe(){const{parent:t,key:e}=this;this.key=this.parent=null,t&&t.removeGroup(e)}}class w extends s.a{constructor(t,e,n){super(),this.key=t,this.groupSubject=e,this.refCountSubscription=n}_subscribe(t){const e=new m.a,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&e.add(new C(n)),e.add(i.subscribe(t)),e}}class C extends m.a{constructor(t){super(),this.parent=t,t.count++}unsubscribe(){const t=this.parent;t.closed||this.closed||(super.unsubscribe(),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())}}var x=n("5+tZ"),S=n("Cfvw"),O=n("zx2A");function A(t,e){return e?n=>n.pipe(A((n,i)=>Object(S.a)(t(n,i)).pipe(Object(f.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new k(t))}class k{constructor(t){this.project=t}call(t,e){return e.subscribe(new E(t,this.project))}}class E extends O.b{constructor(t,e){super(t),this.project=e,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(t){this.hasSubscription||this.tryNext(t)}tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(e)}_innerSub(t){const e=new O.a(this),n=this.destination;n.add(e);const i=Object(O.c)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class L{call(t,e){return e.subscribe(new D(t))}}class D extends c.a{constructor(t){super(t)}_next(t){t.observe(this.destination)}}var I=n("IzEk"),P=(n("bOdf"),n("nYR2"),n("8Y7J"));const T={dispatch:!0,useEffectsErrorHandler:!0},R="__@ngrx/effects_create__";function M(t){return Object.getOwnPropertyNames(t).filter(e=>t[e]&&t[e].hasOwnProperty(R)).map(e=>Object.assign({propertyName:e},t[e][R]))}function j(t){return Object.getPrototypeOf(t)}const F="__@ngrx/effects__";function N(t={}){return function(e,n){var i,r;i=e,r=Object.assign(Object.assign(Object.assign({},T),t),{propertyName:n}),V(i)?i.constructor[F].push(r):Object.defineProperty(i.constructor,F,{value:[r]})}}function U(t){return Object(i.m)(B,j)(t)}function V(t){return t.constructor.hasOwnProperty(F)}function B(t){return V(t)?t.constructor[F]:[]}function z(t,e,n=10){return t.pipe(Object(p.a)(i=>(e&&e.handleError(i),n<=1?t:z(t,e,n-1))))}let H=(()=>{class t extends s.a{constructor(t){super(),t&&(this.source=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}}return t.\u0275fac=function(e){return new(e||t)(P.Zb(i.f))},t.\u0275prov=P.Lb({token:t,factory:t.\u0275fac}),t})();function W(...t){return Object(b.a)(e=>t.some(t=>"string"==typeof t?t===e.type:t.type===e.type))}function Q(t){return K(t,"ngrxOnInitEffects")}function K(t,e){return t&&e in t&&"function"==typeof t[e]}const q=new P.s("@ngrx/effects Internal Root Guard"),Y=(new P.s("ngrx/effects: Immediate Effects"),new P.s("ngrx/effects: User Provided Effects")),G=new P.s("ngrx/effects: Internal Root Effects"),Z=new P.s("ngrx/effects: Root Effects"),X=new P.s("ngrx/effects: Internal Feature Effects"),J=new P.s("ngrx/effects: Feature Effects"),$=new P.s("ngrx/effects: Effects Error Handler");let tt=(()=>{class t extends o.a{constructor(t,e){super(),this.errorHandler=t,this.effectsErrorHandler=e}addEffects(t){this.next(t)}toActions(){return this.pipe(g(j),Object(x.a)(t=>t.pipe(g(et))),Object(x.a)(t=>{const e=t.pipe(A(t=>{return(e=this.errorHandler,n=this.effectsErrorHandler,t=>{const i=function(t,e,n){const i=j(t).constructor.name,s=(o=t,[U,M].reduce((t,e)=>t.concat(e(o)),[])).map(({propertyName:r,dispatch:s,useEffectsErrorHandler:o})=>{const a="function"==typeof t[r]?t[r]():t[r],c=o?n(a,e):a;return!1===s?c.pipe(function(t){return t.lift(new l)}):c.pipe(function(t){return t.lift(new u)}).pipe(Object(f.a)(e=>({effect:t[r],notification:e,propertyName:r,sourceName:i,sourceInstance:t})))});var o;return Object(r.a)(...s)}(t,e,n);return K(t,"ngrxOnRunEffects")?t.ngrxOnRunEffects(i):i})(t);var e,n}),Object(f.a)(t=>(function(t,e){if("N"===t.notification.kind){const n=t.notification.value;!function(t){return"function"!=typeof t&&t&&t.type&&"string"==typeof t.type}(n)&&e.handleError(new Error(`Effect ${function({propertyName:t,sourceInstance:e,sourceName:n}){const i="function"==typeof e[t];return`"${n}.${String(t)}${i?"()":""}"`}(t)} dispatched an invalid action: ${function(t){try{return JSON.stringify(t)}catch(e){return t}}(n)}`))}}(t,this.errorHandler),t.notification)),Object(b.a)(t=>"N"===t.kind),function(t){return t.lift(new L)}),n=t.pipe(Object(I.a)(1),Object(b.a)(Q),Object(f.a)(t=>t.ngrxOnInitEffects()));return Object(r.a)(e,n)}))}}return t.\u0275fac=function(e){return new(e||t)(P.Zb(P.n),P.Zb($))},t.\u0275prov=P.Lb({token:t,factory:t.\u0275fac}),t})();function et(t){return K(t,"ngrxOnIdentifyEffects")?t.ngrxOnIdentifyEffects():""}let nt=(()=>{class t{constructor(t,e){this.effectSources=t,this.store=e,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(P.Zb(tt),P.Zb(i.h))},t.\u0275prov=P.Lb({token:t,factory:t.\u0275fac}),t})();const it="@ngrx/effects/init";Object(i.n)(it);let rt=(()=>{class t{constructor(t,e,n,i,r,s,o){this.sources=t,e.start(),i.forEach(e=>t.addEffects(e)),n.dispatch({type:it})}addEffects(t){this.sources.addEffects(t)}}return t.\u0275mod=P.Nb({type:t}),t.\u0275inj=P.Mb({factory:function(e){return new(e||t)(P.Zb(tt),P.Zb(nt),P.Zb(i.h),P.Zb(Z),P.Zb(i.k,8),P.Zb(i.i,8),P.Zb(q,8))}}),t})(),st=(()=>{class t{constructor(t,e,n,i){e.forEach(e=>e.forEach(e=>t.addEffects(e)))}}return t.\u0275mod=P.Nb({type:t}),t.\u0275inj=P.Mb({factory:function(e){return new(e||t)(P.Zb(rt),P.Zb(J),P.Zb(i.k,8),P.Zb(i.i,8))}}),t})(),ot=(()=>{class t{static forFeature(t=[]){return{ngModule:st,providers:[t,{provide:X,multi:!0,useValue:t},{provide:Y,multi:!0,useValue:[]},{provide:J,multi:!0,useFactory:at,deps:[P.t,X,Y]}]}}static forRoot(t=[]){return{ngModule:rt,providers:[{provide:$,useValue:z},nt,tt,H,t,{provide:G,useValue:[t]},{provide:q,useFactory:ct,deps:[[nt,new P.C,new P.M],[G,new P.L]]},{provide:Y,multi:!0,useValue:[]},{provide:Z,useFactory:at,deps:[P.t,G,Y]}]}}}return t.\u0275mod=P.Nb({type:t}),t.\u0275inj=P.Mb({factory:function(e){return new(e||t)}}),t})();function at(t,e,n){const i=[];for(let r of e)i.push(...r);for(let r of n)i.push(...r);return function(t,e){return e.map(e=>t.get(e))}(t,i)}function ct(t,e){if((1!==e.length||0!==e[0].length)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},"7ckf":function(t,e,n){"use strict";var i=n("w8CP"),r=n("2j6C");function s(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=s,s.prototype.update=function(t,e){if(t=i.toArray(t,e),this.pending=this.pending?this.pending.concat(t):t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=i.join32(t,0,t.length-n,this.endian);for(var r=0;r<t.length;r+=this._delta32)this._update(t,r,r+this._delta32)}return this},s.prototype.digest=function(t){return this.update(this._pad()),r(null===this.pending),this._digest(t)},s.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,i=new Array(n+this.padLength);i[0]=128;for(var r=1;r<n;r++)i[r]=0;if(t<<=3,"big"===this.endian){for(var s=8;s<this.padLength;s++)i[r++]=0;i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=t>>>24&255,i[r++]=t>>>16&255,i[r++]=t>>>8&255,i[r++]=255&t}else for(i[r++]=255&t,i[r++]=t>>>8&255,i[r++]=t>>>16&255,i[r++]=t>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,s=8;s<this.padLength;s++)i[r++]=0;return i}},"7nzP":function(t,e,n){"use strict";n.d(e,"B",function(){return r}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return o}),n.d(e,"k",function(){return a}),n.d(e,"w",function(){return c}),n.d(e,"p",function(){return l}),n.d(e,"q",function(){return h}),n.d(e,"a",function(){return u}),n.d(e,"x",function(){return d}),n.d(e,"i",function(){return f}),n.d(e,"j",function(){return p}),n.d(e,"o",function(){return b}),n.d(e,"z",function(){return m}),n.d(e,"b",function(){return g}),n.d(e,"c",function(){return y}),n.d(e,"y",function(){return v}),n.d(e,"g",function(){return _}),n.d(e,"h",function(){return w}),n.d(e,"s",function(){return C}),n.d(e,"d",function(){return x}),n.d(e,"A",function(){return S}),n.d(e,"l",function(){return O}),n.d(e,"m",function(){return A}),n.d(e,"v",function(){return k}),n.d(e,"u",function(){return E}),n.d(e,"n",function(){return L}),n.d(e,"r",function(){return D}),n.d(e,"t",function(){return I});var i=n("5QHs");function r(t){const e=new i.b;return e.itemsPerPageLabel=t+" per page:",e}const s=["Sats","BTC"],o={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},a=[{id:"USD",name:"USD"},{id:"AUD",name:"AUD"},{id:"BRL",name:"BRL"},{id:"CAD",name:"CAD"},{id:"CHF",name:"CHF"},{id:"CLP",name:"CLP"},{id:"CNY",name:"CNY"},{id:"DKK",name:"DKK"},{id:"EUR",name:"EUR"},{id:"GBP",name:"GBP"},{id:"HKD",name:"HKD"},{id:"INR",name:"INR"},{id:"ISK",name:"ISK"},{id:"JPY",name:"JPY"},{id:"KRW",name:"KRW"},{id:"NZD",name:"NZD"},{id:"PLN",name:"PLN"},{id:"RUB",name:"RUB"},{id:"SEK",name:"SEK"},{id:"SGD",name:"SGD"},{id:"THB",name:"THB"},{id:"TWD",name:"TWD"}],c=["SECS","MINS","HOURS","DAYS"],l=10,h=[5,10,25,100],u=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"}],d=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],f=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Payment Amount",placeholder:"Percentage Limit"}],p=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"}],b={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var m=function(t){return t.OPERATOR="OPERATOR",t.MERCHANT="MERCHANT",t.ALL="ALL",t}({}),g=function(t){return t.INFORMATION="Information",t.WARNING="Warning",t.ERROR="Error",t.SUCCESS="Success",t.CONFIRM="Confirm",t}({}),y=function(t){return t.JWT="JWT",t.PASSWORD="PASSWORD",t}({}),v=function(t){return t.SECS="SECS",t.MINS="MINS",t.HOURS="HOURS",t.DAYS="DAYS",t}({}),_=function(t){return t.SATS="Sats",t.BTC="BTC",t.LITOSHIS="LITOSHIS",t.LTC="LTC",t.OTHER="OTHER",t}({}),w=function(t){return t.ARRAY="ARRAY",t.NUMBER="NUMBER",t.STRING="STRING",t.BOOLEAN="BOOLEAN",t.PASSWORD="PASSWORD",t.DATE="DATE",t.DATE_TIME="DATE_TIME",t}({}),C=function(t){return t.XS="XS",t.SM="SM",t.MD="MD",t.LG="LG",t.XL="XL",t}({});const x={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},S={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""}};var O=function(t){return t.INITIATED="Initiated",t.PREIMAGE_REVEALED="Preimage Revealed",t.HTLC_PUBLISHED="HTLC Published",t.SUCCESS="Successful",t.FAILED="Failed",t.INVOICE_SETTLED="Invoice Settled",t}({}),A=function(t){return t.LOOP_OUT="LOOP_OUT",t.LOOP_IN="LOOP_IN",t}({}),k=function(t){return t.SWAP_OUT="SWAP_OUT",t.SWAP_IN="SWAP_IN",t}({}),E=function(t){return t["swap.created"]="Swap Created",t["swap.expired"]="Swap Expired",t["invoice.set"]="Invoice Set",t["invoice.paid"]="Invoice Paid",t["invoice.pending"]="Invoice Pending",t["invoice.settled"]="Invoice Settled",t["invoice.failedToPay"]="Invoice Failed To Pay",t["channel.created"]="Channel Created",t["transaction.failed"]="Transaction Failed",t["transaction.mempool"]="Transaction Mempool",t["transaction.claimed"]="Transaction Claimed",t["transaction.refunded"]="Transaction Refunded",t["transaction.confirmed"]="Transaction Confirmed",t["swap.refunded"]="Swap Refunded",t["swap.abandoned"]="Swap Abandoned",t}({});const L=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],D=["MONTHLY","YEARLY"];var I=function(t){return t.LOOP="LOOP",t.BOLTZ="BOLTZ",t}({})},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("n6bG"),r=n("gRHU"),s=n("quSY"),o=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class l extends s.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!t){this.destination=r.a;break}if("object"==typeof t){t instanceof l?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new h(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new h(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const i=new l(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class h extends l{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let a=this;Object(i.a)(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==r.a&&(a=Object.create(e),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(c.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"7o2P":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("LRne"),r=n("IzEk"),s=n("lJxs"),o=n("7nzP"),a=n("8Y7J"),c=n("iiaH");let l=(()=>{class t{constructor(t){this.dataService=t,this.currencyUnits=[],this.CurrencyUnitEnum=o.g,this.conversionData={data:null,last_fetched:null},this.screenSize=o.s.MD,this.containerSize={width:1200,height:800}}ngOnInit(){}getScreenSize(){return this.screenSize}setScreenSize(t){this.screenSize=t}getContainerSize(){return this.containerSize}setContainerSize(t,e){this.containerSize={width:t,height:e}}sortByKey(t,e,n,i="asc"){return t.sort("number"===n?"desc"===i?(t,n)=>+t[e]>+n[e]?-1:1:(t,n)=>+t[e]>+n[e]?1:-1:"desc"===i?(t,n)=>t[e]>n[e]?-1:1:(t,n)=>t[e]>n[e]?1:-1)}sortDescByKey(t,e){return t.sort(function(t,n){const i=+t[e],r=+n[e];return i>r?-1:i<r?1:0})}sortAscByKey(t,e){return t.sort(function(t,n){const i=+t[e],r=+n[e];return i<r?-1:i>r?1:0})}camelCase(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(t,e)=>0==e?t.toLowerCase():t.toUpperCase()).replace(/\s+/g,"")}titleCase(t){return t.charAt(0).toUpperCase()+t.substring(1).toLowerCase()}convertCurrency(t,e,n,o){let a=(new Date).valueOf();return o&&n?this.conversionData.data&&this.conversionData.last_fetched&&a<this.conversionData.last_fetched.valueOf()+3e5?Object(i.a)(this.convertWithFiat(t,e,n)):this.dataService.getFiatRates().pipe(Object(r.a)(1),Object(s.a)(i=>(this.conversionData.data=i?JSON.parse(i):{},this.conversionData.last_fetched=a,this.convertWithFiat(t,e,n)))):Object(i.a)(this.convertWithoutFiat(t,e))}convertWithoutFiat(t,e){let n={};switch(n[o.g.SATS]=0,n[o.g.BTC]=0,e){case o.g.SATS:n[o.g.SATS]=t,n[o.g.BTC]=1e-8*t;break;case o.g.BTC:n[o.g.SATS]=1e8*t,n[o.g.BTC]=t}return n}convertWithFiat(t,e,n){let i={unit:n,symbol:this.conversionData.data[n].symbol};switch(i[o.g.SATS]=0,i[o.g.BTC]=0,i[o.g.OTHER]=0,e){case o.g.SATS:i[o.g.SATS]=t,i[o.g.BTC]=1e-8*t,i[o.g.OTHER]=1e-8*t*this.conversionData.data[n].last;break;case o.g.BTC:i[o.g.SATS]=1e8*t,i[o.g.BTC]=t,i[o.g.OTHER]=t*this.conversionData.data[n].last;break;case o.g.OTHER:i[o.g.SATS]=t/this.conversionData.data[n].last*1e8,i[o.g.BTC]=t/this.conversionData.data[n].last,i[o.g.OTHER]=t}return i}convertTime(t,e,n){switch(e){case o.y.SECS:switch(n){case o.y.MINS:t/=60;break;case o.y.HOURS:t/=3600;break;case o.y.DAYS:t/=86400}break;case o.y.MINS:switch(n){case o.y.SECS:t*=60;break;case o.y.HOURS:t/=60;break;case o.y.DAYS:t/=1440}break;case o.y.HOURS:switch(n){case o.y.SECS:t*=3600;break;case o.y.MINS:t*=60;break;case o.y.DAYS:t/=24}break;case o.y.DAYS:switch(n){case o.y.SECS:t=3600*t*24;break;case o.y.MINS:t=60*t*24;break;case o.y.HOURS:t*=24}}return t}convertTimestampToDate(t){return new Date(1e3*t).toUTCString().substring(5,22).replace(" ","/").replace(" ","/").toUpperCase()}downloadFile(t,e,n=".json",i=".csv"){let r=new Blob;r=".json"===n?new Blob(["\ufeff"+this.convertToCSV(t)],{type:"text/csv;charset=utf-8;"}):new Blob(["\ufeff"+t],{type:"text;charset=utf-8;"});let s=document.createElement("a"),o=URL.createObjectURL(r);-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&s.setAttribute("target","_blank"),s.setAttribute("href",o),s.setAttribute("download",e+i),s.style.visibility="hidden",document.body.appendChild(s),s.click(),document.body.removeChild(s)}convertToCSV(t){let e=[],n="",i="",r="";"object"!=typeof t&&(t=JSON.parse(t)),t.forEach((t,n)=>{for(var i in t)e.findIndex(t=>t===i)<0&&e.push(i)});let s=e.join(",");return r=s+"\r\n",t.forEach(t=>{n="",e.forEach(e=>{t.hasOwnProperty(e)?Array.isArray(t[e])?(i="",t[e].forEach((t,e)=>{i+="object"==typeof t?"("+JSON.stringify(t).replace(/\,/g,";")+")":"("+t+")"}),n+=i+","):n+="object"==typeof t[e]?JSON.stringify(t[e]).replace(/\,/g,";")+",":t[e]+",":n+=","}),r+=n.slice(0,-1)+"\r\n"}),r}isVersionCompatible(t,e){let n=t.trim().replace("v","").split("-")[0].split("."),i=e.split(".");return+n[0]>+i[0]||+n[0]==+i[0]&&+n[1]>+i[1]||+n[0]==+i[0]&&+n[1]==+i[1]&&+n[2]>=+i[2]}}return t.\u0275fac=function(e){return new(e||t)(a.Zb(c.a))},t.\u0275prov=a.Lb({token:t,factory:t.\u0275fac}),t})()},"7zrB":function(t,e,n){"use strict";const i=n("ND7S"),r=n("IPZY"),s=n("P7XM");function o(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new o(t,e)},o.prototype._createNamed=function(t){const e=this.name;function n(t){this._initNamed(t,e)}return s(n,t),n.prototype._initNamed=function(e,n){t.call(this,e,n)},new n(this)},o.prototype._getDecoder=function(t){return this.decoders.hasOwnProperty(t=t||"der")||(this.decoders[t]=this._createNamed(r[t])),this.decoders[t]},o.prototype.decode=function(t,e,n){return this._getDecoder(e).decode(t,n)},o.prototype._getEncoder=function(t){return this.encoders.hasOwnProperty(t=t||"der")||(this.encoders[t]=this._createNamed(i[t])),this.encoders[t]},o.prototype.encode=function(t,e,n){return this._getEncoder(e).encode(t,n)}},"86MQ":function(t,e,n){"use strict";var i=e,r=n("N+aw"),s=n("2j6C"),o=n("dlgc");i.assert=s,i.toArray=o.toArray,i.zero2=o.zero2,i.toHex=o.toHex,i.encode=o.encode,i.getNAF=function(t,e,n){var i=new Array(Math.max(t.bitLength(),n)+1);i.fill(0);for(var r=1<<e+1,s=t.clone(),o=0;o<i.length;o++){var a,c=s.andln(r-1);s.isOdd()?s.isubn(a=c>(r>>1)-1?(r>>1)-c:c):a=0,i[o]=a,s.iushrn(1)}return i},i.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var i=0,r=0;t.cmpn(-i)>0||e.cmpn(-r)>0;){var s,o,a,c=t.andln(3)+i&3,l=e.andln(3)+r&3;3===c&&(c=-1),3===l&&(l=-1),s=0==(1&c)?0:3!=(a=t.andln(7)+i&7)&&5!==a||2!==l?c:-c,n[0].push(s),o=0==(1&l)?0:3!=(a=e.andln(7)+r&7)&&5!==a||2!==c?l:-l,n[1].push(o),2*i===s+1&&(i=1-i),2*r===o+1&&(r=1-r),t.iushrn(1),e.iushrn(1)}return n},i.cachedProperty=function(t,e,n){var i="_"+e;t.prototype[e]=function(){return void 0!==this[i]?this[i]:this[i]=n.call(this)}},i.parseBytes=function(t){return"string"==typeof t?i.toArray(t,"hex"):t},i.intFromLE=function(t){return new r(t,"hex","le")}},"8LU1":function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return c}),n.d(e,"e",function(){return l}),n.d(e,"f",function(){return s}),n.d(e,"g",function(){return h});var i=n("8Y7J");function r(t){return null!=t&&""+t!="false"}function s(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function c(t){return null==t?"":"string"==typeof t?t:t+"px"}function l(t){return t instanceof i.l?t.nativeElement:t}function h(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:(""+t).split(e);for(const t of i){const e=(""+t).trim();e&&n.push(e)}}return n}},"8Qe2":function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return d});var i=n("UhP/"),r=n("YEUz"),s=n("8LU1"),o=n("omvX"),a=n("8Y7J");let c=0;class l{}const h=Object(i.z)(l);let u=(()=>{class t extends h{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=n,this._renderer=i,this._animationMode=r,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=c++}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=Object(s.c)(t)}get description(){return this._description}set description(t){if(t!==this._description){const e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}get hidden(){return this._hidden}set hidden(t){this._hidden=Object(s.c)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}ngOnChanges(t){const e=t.content;if(e){const t=e.currentValue;this._hasContent=null!=t&&(""+t).trim().length>0,this._updateTextContent()}}ngOnDestroy(){const t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}getBadgeElement(){return this._badgeElement}_updateTextContent(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}_createBadgeElement(){const t=this._renderer.createElement("span"),e="mat-badge-active",n="mat-badge-content";return this._clearExistingBadges(n),t.setAttribute("id","mat-badge-content-"+this._id),t.classList.add(n),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add(e)})}):t.classList.add(e),t}_updateHostAriaDescription(t,e){const n=this._updateTextContent();e&&this._ariaDescriber.removeDescription(n,e),t&&this._ariaDescriber.describe(n,t)}_setColor(t){if(t!==this._color){const e=this._elementRef.nativeElement.classList;this._color&&e.remove("mat-badge-"+this._color),t&&e.add("mat-badge-"+t)}}_clearExistingBadges(t){const e=this._elementRef.nativeElement;let n=e.children.length;for(;n--;){const i=e.children[n];i.classList.contains(t)&&e.removeChild(i)}}_stringifyContent(){const t=this.content;return null==t?"":""+t}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.B),a.Pb(a.l),a.Pb(r.c),a.Pb(a.G),a.Pb(o.a,8))},t.\u0275dir=a.Kb({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&a.Hb("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[a.Ab,a.Bb]}),t})(),d=(()=>{class t{}return t.\u0275mod=a.Nb({type:t}),t.\u0275inj=a.Mb({factory:function(e){return new(e||t)},imports:[[r.a,i.i],i.i]}),t})()},"8Spv":function(t,e,n){t.exports=n("+qE3").EventEmitter},"8Y7J":function(t,e,n){"use strict";n.d(e,"a",function(){return hn}),n.d(e,"b",function(){return ul}),n.d(e,"c",function(){return ol}),n.d(e,"d",function(){return rl}),n.d(e,"e",function(){return sl}),n.d(e,"f",function(){return oh}),n.d(e,"g",function(){return Yl}),n.d(e,"h",function(){return Qa}),n.d(e,"i",function(){return Cl}),n.d(e,"j",function(){return ya}),n.d(e,"k",function(){return pl}),n.d(e,"l",function(){return Ca}),n.d(e,"m",function(){return nh}),n.d(e,"n",function(){return Ai}),n.d(e,"o",function(){return Tc}),n.d(e,"p",function(){return bs}),n.d(e,"q",function(){return _n}),n.d(e,"r",function(){return A}),n.d(e,"s",function(){return ln}),n.d(e,"t",function(){return Is}),n.d(e,"u",function(){return Ua}),n.d(e,"v",function(){return Va}),n.d(e,"w",function(){return fl}),n.d(e,"x",function(){return nc}),n.d(e,"y",function(){return Zl}),n.d(e,"z",function(){return ec}),n.d(e,"A",function(){return Hl}),n.d(e,"B",function(){return Ol}),n.d(e,"C",function(){return wn}),n.d(e,"D",function(){return hl}),n.d(e,"E",function(){return ll}),n.d(e,"F",function(){return Mc}),n.d(e,"G",function(){return Sa}),n.d(e,"H",function(){return xa}),n.d(e,"I",function(){return Pi}),n.d(e,"J",function(){return Aa}),n.d(e,"K",function(){return vi}),n.d(e,"L",function(){return Cn}),n.d(e,"M",function(){return xn}),n.d(e,"N",function(){return $l}),n.d(e,"O",function(){return Xa}),n.d(e,"P",function(){return Pl}),n.d(e,"Q",function(){return un}),n.d(e,"R",function(){return ka}),n.d(e,"S",function(){return rc}),n.d(e,"T",function(){return P}),n.d(e,"U",function(){return Wl}),n.d(e,"V",function(){return g}),n.d(e,"W",function(){return Bl}),n.d(e,"X",function(){return f}),n.d(e,"Y",function(){return Pn}),n.d(e,"Z",function(){return Vl}),n.d(e,"ab",function(){return rh}),n.d(e,"bb",function(){return Ml}),n.d(e,"cb",function(){return dl}),n.d(e,"db",function(){return gs}),n.d(e,"eb",function(){return ra}),n.d(e,"fb",function(){return gi}),n.d(e,"gb",function(){return ti}),n.d(e,"hb",function(){return Hn}),n.d(e,"ib",function(){return Qn}),n.d(e,"jb",function(){return Gn}),n.d(e,"kb",function(){return qn}),n.d(e,"lb",function(){return Kn}),n.d(e,"mb",function(){return Yn}),n.d(e,"nb",function(){return ta}),n.d(e,"ob",function(){return ih}),n.d(e,"pb",function(){return ea}),n.d(e,"qb",function(){return na}),n.d(e,"rb",function(){return Wn}),n.d(e,"sb",function(){return F}),n.d(e,"tb",function(){return Bs}),n.d(e,"ub",function(){return co}),n.d(e,"vb",function(){return ao}),n.d(e,"wb",function(){return $o}),n.d(e,"xb",function(){return At}),n.d(e,"yb",function(){return h}),n.d(e,"zb",function(){return zn}),n.d(e,"Ab",function(){return Ts}),n.d(e,"Bb",function(){return vt}),n.d(e,"Cb",function(){return ba}),n.d(e,"Db",function(){return yr}),n.d(e,"Eb",function(){return Ks}),n.d(e,"Fb",function(){return Do}),n.d(e,"Gb",function(){return qo}),n.d(e,"Hb",function(){return Lo}),n.d(e,"Ib",function(){return Gc}),n.d(e,"Jb",function(){return Y}),n.d(e,"Kb",function(){return et}),n.d(e,"Lb",function(){return m}),n.d(e,"Mb",function(){return y}),n.d(e,"Nb",function(){return J}),n.d(e,"Ob",function(){return nt}),n.d(e,"Pb",function(){return Zs}),n.d(e,"Qb",function(){return no}),n.d(e,"Rb",function(){return so}),n.d(e,"Sb",function(){return ro}),n.d(e,"Tb",function(){return io}),n.d(e,"Ub",function(){return eo}),n.d(e,"Vb",function(){return to}),n.d(e,"Wb",function(){return oo}),n.d(e,"Xb",function(){return sn}),n.d(e,"Yb",function(){return Yo}),n.d(e,"Zb",function(){return In}),n.d(e,"ac",function(){return on}),n.d(e,"bc",function(){return il}),n.d(e,"cc",function(){return Xs}),n.d(e,"dc",function(){return lo}),n.d(e,"ec",function(){return Jc}),n.d(e,"fc",function(){return we}),n.d(e,"gc",function(){return _e}),n.d(e,"hc",function(){return bo}),n.d(e,"ic",function(){return kc}),n.d(e,"jc",function(){return Ec}),n.d(e,"kc",function(){return Lc}),n.d(e,"lc",function(){return Dc}),n.d(e,"mc",function(){return yo}),n.d(e,"nc",function(){return go}),n.d(e,"oc",function(){return Js}),n.d(e,"pc",function(){return vo}),n.d(e,"qc",function(){return _o}),n.d(e,"rc",function(){return vc}),n.d(e,"sc",function(){return _c}),n.d(e,"tc",function(){return wc}),n.d(e,"uc",function(){return Cc}),n.d(e,"vc",function(){return Qc}),n.d(e,"wc",function(){return Gs}),n.d(e,"xc",function(){return Di}),n.d(e,"yc",function(){return Li}),n.d(e,"zc",function(){return Kt}),n.d(e,"Ac",function(){return _i}),n.d(e,"Bc",function(){return wi}),n.d(e,"Cc",function(){return $}),n.d(e,"Dc",function(){return Zc}),n.d(e,"Ec",function(){return Kc}),n.d(e,"Fc",function(){return Eo}),n.d(e,"Gc",function(){return ho}),n.d(e,"Hc",function(){return Go}),n.d(e,"Ic",function(){return Ys}),n.d(e,"Jc",function(){return nl}),n.d(e,"Kc",function(){return zo}),n.d(e,"Lc",function(){return Ho}),n.d(e,"Mc",function(){return Wo}),n.d(e,"Nc",function(){return Qo}),n.d(e,"Oc",function(){return Ko}),n.d(e,"Pc",function(){return qc});var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),o=n("VRyK"),a=n("w1tV");function c(t){for(let e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function l(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function h(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(h).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function u(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=c({__forward_ref__:c});function f(t){return t.__forward_ref__=f,t.toString=function(){return h(this())},t}function p(t){return b(t)?t():t}function b(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===f}function m(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const g=m;function y(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function v(t){return _(t,C)||_(t,S)}function _(t,e){return t.hasOwnProperty(e)?t[e]:null}function w(t){return t&&(t.hasOwnProperty(x)||t.hasOwnProperty(O))?t[x]:null}const C=c({"\u0275prov":c}),x=c({"\u0275inj":c}),S=c({ngInjectableDef:c}),O=c({ngInjectorDef:c});var A=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let k;function E(t){const e=k;return k=t,e}function L(t,e,n){const i=v(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&A.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${h(t)}]`)}function D(t){return{toString:t}.toString()}var I=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),P=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const T="undefined"!=typeof globalThis&&globalThis,R="undefined"!=typeof window&&window,M="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,j="undefined"!=typeof global&&global,F=T||j||R||M,N={},U=[],V=c({"\u0275cmp":c}),B=c({"\u0275dir":c}),z=c({"\u0275pipe":c}),H=c({"\u0275mod":c}),W=c({"\u0275loc":c}),Q=c({"\u0275fac":c}),K=c({__NG_ELEMENT_ID__:c});let q=0;function Y(t){return D(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===I.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||U,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||P.Emulated,id:"c",styles:t.styles||U,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,s=t.pipes;return n.id+=q++,n.inputs=tt(t.inputs,e),n.outputs=tt(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(G):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(Z):null,n})}function G(t){return it(t)||function(t){return t[B]||null}(t)}function Z(t){return function(t){return t[z]||null}(t)}const X={};function J(t){const e={type:t.type,bootstrap:t.bootstrap||U,declarations:t.declarations||U,imports:t.imports||U,exports:t.exports||U,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&D(()=>{X[t.id]=t.type}),e}function $(t,e){return D(()=>{const n=rt(t,!0);n.declarations=e.declarations||U,n.imports=e.imports||U,n.exports=e.exports||U})}function tt(t,e){if(null==t)return N;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const et=Y;function nt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function it(t){return t[V]||null}function rt(t,e){const n=t[H]||null;if(!n&&!0===e)throw new Error(`Type ${h(t)} does not have '\u0275mod' property.`);return n}const st=20,ot=10;function at(t){return Array.isArray(t)&&"object"==typeof t[1]}function ct(t){return Array.isArray(t)&&!0===t[1]}function lt(t){return 0!=(8&t.flags)}function ht(t){return 2==(2&t.flags)}function ut(t){return 1==(1&t.flags)}function dt(t){return null!==t.template}function ft(t,e){return t.hasOwnProperty(Q)?t[Q]:null}class pt extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function bt(t){return"string"==typeof t?t:null==t?"":String(t)}function mt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():bt(t)}function gt(t,e){const n=e?" in "+e:"";throw new pt("201",`No provider for ${mt(t)} found${n}`)}class yt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function vt(){return _t}function _t(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ct),wt}function wt(){const t=xt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===N)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Ct(t,e,n,i){const r=xt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:N,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],c=o[a];s[a]=new yt(c&&c.currentValue,e,o===N),t[i]=e}function xt(t){return t.__ngSimpleChanges__||null}vt.ngInherit=!0;const St="http://www.w3.org/2000/svg";let Ot=void 0;function At(t){Ot=t}function kt(){return void 0!==Ot?Ot:"undefined"!=typeof document?document:void 0}function Et(t){return!!t.listen}const Lt={createRenderer:(t,e)=>kt()};function Dt(t){for(;Array.isArray(t);)t=t[0];return t}function It(t,e){return Dt(e[t])}function Pt(t,e){return Dt(e[t.index])}function Tt(t,e){return t.data[e]}function Rt(t,e){return t[e]}function Mt(t,e){const n=e[t];return at(n)?n:n[0]}function jt(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ft(t){return 4==(4&t[2])}function Nt(t){return 128==(128&t[2])}function Ut(t,e){return null==e?null:t[e]}function Vt(t){t[18]=0}function Bt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const zt={lFrame:fe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ht(){return zt.bindingsEnabled}function Wt(){return zt.lFrame.lView}function Qt(){return zt.lFrame.tView}function Kt(t){zt.lFrame.contextLView=t}function qt(){let t=Yt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Yt(){return zt.lFrame.currentTNode}function Gt(t,e){const n=zt.lFrame;n.currentTNode=t,n.isParent=e}function Zt(){return zt.lFrame.isParent}function Xt(){zt.lFrame.isParent=!1}function Jt(){return zt.isInCheckNoChangesMode}function $t(t){zt.isInCheckNoChangesMode=t}function te(){const t=zt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ee(){return zt.lFrame.bindingIndex}function ne(){return zt.lFrame.bindingIndex++}function ie(t){const e=zt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function re(t,e){const n=zt.lFrame;n.bindingIndex=n.bindingRootIndex=t,se(e)}function se(t){zt.lFrame.currentDirectiveIndex=t}function oe(t){const e=zt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ae(){return zt.lFrame.currentQueryIndex}function ce(t){zt.lFrame.currentQueryIndex=t}function le(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function he(t,e,n){if(n&A.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&A.Host||(i=le(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=zt.lFrame=de();return i.currentTNode=e,i.lView=t,!0}function ue(t){const e=de(),n=t[1];zt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function de(){const t=zt.lFrame,e=null===t?null:t.child;return null===e?fe(t):e}function fe(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function pe(){const t=zt.lFrame;return zt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const be=pe;function me(){const t=pe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ge(){return zt.lFrame.selectedIndex}function ye(t){zt.lFrame.selectedIndex=t}function ve(){const t=zt.lFrame;return Tt(t.tView,t.selectedIndex)}function _e(){zt.lFrame.currentNamespace=St}function we(){zt.lFrame.currentNamespace=null}function Ce(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:r,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),r&&((t.contentHooks||(t.contentHooks=[])).push(n,r),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,r)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function xe(t,e,n){Ae(t,e,3,n)}function Se(t,e,n,i){(3&t[2])===n&&Ae(t,e,n,i)}function Oe(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ae(t,e,n,i){const r=null!=i?i:-1;let s=0;for(let o=void 0!==i?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(s=e[o],null!=i&&s>=i)break}else e[o]<0&&(t[18]+=65536),(s<r||-1==r)&&(ke(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function ke(t,e,n,i){const r=n[i]<0,s=n[i+1],o=t[r?-n[i]:n[i]];r?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}const Ee=-1;class Le{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function De(t,e,n){const i=Et(t);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],c=n[r++];i?t.setAttribute(e,a,c,o):e.setAttributeNS(o,a,c)}else{const o=s,a=n[++r];Pe(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function Ie(t){return 3===t||4===t||6===t}function Pe(t){return 64===t.charCodeAt(0)}function Te(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?n=r:0===n||Re(t,n,r,null,-1===n||2===n?e[++i]:null)}}return t}function Re(t,e,n,i,r){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===i)return void(null!==r&&(t[s+1]=r));if(i===t[s+1])return void(t[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==i&&t.splice(s++,0,i),null!==r&&t.splice(s++,0,r)}function Me(t){return t!==Ee}function je(t){return 32767&t}function Fe(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}let Ne=!0;function Ue(t){const e=Ne;return Ne=t,e}let Ve=0;function Be(t,e){const n=He(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,ze(i.data,t),ze(e,null),ze(i.blueprint,null));const r=We(t,e),s=t.injectorIndex;if(Me(r)){const t=je(r),n=Fe(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function ze(t,e){t.push(0,0,0,0,0,0,0,0,e)}function He(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function We(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return Ee;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Ee}function Qe(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(K)&&(i=n[K]),null==i&&(i=n[K]=Ve++);const r=255&i,s=1<<r,o=64&r,a=32&r,c=e.data;128&r?o?a?c[t+7]|=s:c[t+6]|=s:a?c[t+5]|=s:c[t+4]|=s:o?a?c[t+3]|=s:c[t+2]|=s:a?c[t+1]|=s:c[t]|=s}(t,e,n)}function Ke(t,e,n){if(n&A.Optional)return t;gt(e,"NodeInjector")}function qe(t,e,n,i){if(n&A.Optional&&void 0===i&&(i=null),0==(n&(A.Self|A.Host))){const r=t[9],s=E(void 0);try{return r?r.get(e,i,n&A.Optional):L(e,i,n&A.Optional)}finally{E(s)}}return Ke(i,e,n)}function Ye(t,e,n,i=A.Default,r){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(K)?t[K]:void 0;return"number"==typeof e?e>=0?255&e:Ze:e}(n);if("function"==typeof s){if(!he(e,t,i))return i&A.Host?Ke(r,n,i):qe(e,n,i,r);try{const t=s();if(null!=t||i&A.Optional)return t;gt(n)}finally{be()}}else if("number"==typeof s){let r=null,o=He(t,e),a=Ee,c=i&A.Host?e[16][6]:null;for((-1===o||i&A.SkipSelf)&&(a=-1===o?We(t,e):e[o+8],a!==Ee&&en(i,!1)?(r=e[1],o=je(a),e=Fe(a,e)):o=-1);-1!==o;){const t=e[1];if(tn(s,o,t.data)){const t=Xe(o,e,n,r,i,c);if(t!==Ge)return t}a=e[o+8],a!==Ee&&en(i,e[1].data[o+8]===c)&&tn(s,o,e)?(r=t,o=je(a),e=Fe(a,e)):o=-1}}}return qe(e,n,i,r)}const Ge={};function Ze(){return new nn(qt(),Wt())}function Xe(t,e,n,i,r,s){const o=e[1],a=o.data[t+8],c=Je(a,o,n,null==i?ht(a)&&Ne:i!=o&&0!=(3&a.type),r&A.Host&&s===a);return null!==c?$e(e,o,c,a):Ge}function Je(t,e,n,i,r){const s=t.providerIndexes,o=e.data,a=1048575&s,c=t.directiveStart,l=s>>20,h=r?a+l:t.directiveEnd;for(let u=i?a:a+l;u<h;u++){const t=o[u];if(u<c&&n===t||u>=c&&t.type===n)return u}if(r){const t=o[c];if(t&&dt(t)&&t.type===n)return c}return null}function $e(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof Le){const o=r;o.resolving&&function(t,e){throw new pt("200","Circular dependency in DI detected for "+t)}(mt(s[n]));const a=Ue(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?E(o.injectImpl):null;he(t,i,A.Default);try{r=t[n]=o.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const i=_t(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==c&&E(c),Ue(a),o.resolving=!1,be()}}return r}function tn(t,e,n){const i=64&t,r=32&t;let s;return s=128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e],!!(s&1<<t)}function en(t,e){return!(t&A.Self||t&A.Host&&e)}class nn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Ye(this._tNode,this._lView,t,void 0,e)}}function rn(t){const e=t;if(b(t))return()=>{const t=rn(p(e));return t?t():null};let n=ft(e);if(null===n){const t=w(e);n=t&&t.factory}return n||null}function sn(t){return D(()=>{const e=t.prototype.constructor,n=e[Q]||rn(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[Q]||rn(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function on(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const r=n[i];if(Ie(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(r===e)return n[i+1];i+=2}}}return null}(qt(),t)}const an="__parameters__";function cn(t,e,n){return D(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(an)?t[an]:Object.defineProperty(t,an,{value:[]})[an];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class ln{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=m({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const hn=new ln("AnalyzeForEntryComponents"),un=Function;function dn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),dn(i,e)):e!==t&&e.push(i)}return e}function fn(t,e){t.forEach(t=>Array.isArray(t)?fn(t,e):e(t))}function pn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function bn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function mn(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function gn(t,e,n){let i=vn(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function yn(t,e){const n=vn(t,e);if(n>=0)return t[1|n]}function vn(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const _n=cn("Inject",t=>({token:t})),wn=cn("Optional"),Cn=cn("Self"),xn=cn("SkipSelf"),Sn={},On=/\n/gm,An="__source",kn=c({provide:String,useValue:c});let En=void 0;function Ln(t){const e=En;return En=t,e}function Dn(t,e=A.Default){if(void 0===En)throw new Error("inject() must be called from an injection context");return null===En?L(t,void 0,e):En.get(t,e&A.Optional?null:void 0,e)}function In(t,e=A.Default){return(k||Dn)(p(t),e)}const Pn=In;function Tn(t){const e=[];for(let n=0;n<t.length;n++){const i=p(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=A.Default;for(let e=0;e<i.length;e++){const r=i[e];r instanceof wn||"Optional"===r.ngMetadataName||r===wn?n|=A.Optional:r instanceof xn||"SkipSelf"===r.ngMetadataName||r===xn?n|=A.SkipSelf:r instanceof Cn||"Self"===r.ngMetadataName||r===Cn?n|=A.Self:t=r instanceof _n||r===_n?r.token:r}e.push(In(t,n))}else e.push(In(i))}return e}let Rn;function Mn(t){var e;return(null===(e=function(){if(void 0===Rn&&(Rn=null,F.trustedTypes))try{Rn=F.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Rn}())||void 0===e?void 0:e.createHTML(t))||t}class jn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class Fn extends jn{getTypeName(){return"HTML"}}class Nn extends jn{getTypeName(){return"Style"}}class Un extends jn{getTypeName(){return"Script"}}class Vn extends jn{getTypeName(){return"URL"}}class Bn extends jn{getTypeName(){return"ResourceURL"}}function zn(t){return t instanceof jn?t.changingThisBreaksApplicationSecurity:t}function Hn(t,e){const n=Wn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Wn(t){return t instanceof jn&&t.getTypeName()||null}function Qn(t){return new Fn(t)}function Kn(t){return new Nn(t)}function qn(t){return new Un(t)}function Yn(t){return new Vn(t)}function Gn(t){return new Bn(t)}class Zn{getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Mn(t),"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Xn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Mn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Mn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Jn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,$n=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ti(t){return(t=String(t)).match(Jn)||t.match($n)?t:"unsafe:"+t}function ei(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ni(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ii=ei("area,br,col,hr,img,wbr"),ri=ei("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),si=ei("rp,rt"),oi=ni(si,ri),ai=ni(ii,ni(ri,ei("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ni(si,ei("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),oi),ci=ei("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),li=ei("srcset"),hi=ni(ci,li,ei("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ei("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ui=ei("script,style,template");class di{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!ai.hasOwnProperty(e))return this.sanitizedSomething=!0,!ui.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const t=n.item(r),e=t.name,s=e.toLowerCase();if(!hi.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=t.value;ci[s]&&(o=ti(o)),li[s]&&(i=o,o=(i=String(i)).split(",").map(t=>ti(t.trim())).join(", ")),this.buf.push(" ",e,'="',bi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ai.hasOwnProperty(e)&&!ii.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(bi(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const fi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pi=/([^\#-~ |!])/g;function bi(t){return t.replace(/&/g,"&amp;").replace(fi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(pi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let mi;function gi(t,e){let n=null;try{mi=mi||function(t){return function(){try{return!!(new window.DOMParser).parseFromString(Mn(""),"text/html")}catch(t){return!1}}()?new Zn:new Xn(t)}(t);let i=e?String(e):"";n=mi.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=mi.getInertBodyElement(i)}while(i!==s);return(new di).sanitizeChildren(yi(n)||n)}finally{if(n){const t=yi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function yi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var vi=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function _i(t){const e=Ci();return e?e.sanitize(vi.HTML,t)||"":Hn(t,"HTML")?zn(t):gi(kt(),bt(t))}function wi(t){const e=Ci();return e?e.sanitize(vi.URL,t)||"":Hn(t,"URL")?zn(t):ti(bt(t))}function Ci(){const t=Wt();return t&&t[12]}function xi(t){return t.ngDebugContext}function Si(t){return t.ngOriginalError}function Oi(t,...e){t.error(...e)}class Ai{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Oi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?xi(t)?xi(t):this._findContext(Si(t)):null}_findOriginalError(t){let e=Si(t);for(;e&&Si(e);)e=Si(e);return e}}function ki(t,e){t.__ngContext__=e}const Ei=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(F))();function Li(t){return{name:"window",target:t.ownerDocument.defaultView}}function Di(t){return{name:"body",target:t.ownerDocument.body}}function Ii(t){return t instanceof Function?t():t}var Pi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Ti(t,e){return(void 0)(t,e)}function Ri(t){const e=t[3];return ct(e)?e[3]:e}function Mi(t){return Fi(t[13])}function ji(t){return Fi(t[4])}function Fi(t){for(;null!==t&&!ct(t);)t=t[4];return t}function Ni(t,e,n,i,r){if(null!=i){let s,o=!1;ct(i)?s=i:at(i)&&(o=!0,i=i[0]);const a=Dt(i);0===t&&null!==n?null==r?Ki(e,n,a):Qi(e,n,a,r||null,!0):1===t&&null!==n?Qi(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Yi(t,e);i&&function(t,e,n,i){Et(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,i,r){const s=n[7];s!==Dt(n)&&Ni(e,t,i,s,r);for(let o=ot;o<n.length;o++){const r=n[o];er(r[1],r,t,e,i,s)}}(e,t,s,n,r)}}function Ui(t,e,n){return Et(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Vi(t,e){const n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,Bt(r,-1)),n.splice(i,1)}function Bi(t,e){if(t.length<=ot)return;const n=ot+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&Vi(s,i),e>0&&(t[n-1][4]=i[4]);const o=bn(t,ot+e);er(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function zi(t,e){if(!(256&e[2])){const n=e[11];Et(n)&&n.destroyNode&&er(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Hi(t[1],t);for(;e;){let n=null;if(at(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)at(e)&&Hi(e[1],e),e=e[3];null===e&&(e=t),at(e)&&Hi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Hi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof Le)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let r=-1;if(null!==n){for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const s=n[t+1],o="function"==typeof s?s(e):Dt(e[s]),a=i[r=n[t+2]],c=n[t+3];"boolean"==typeof c?o.removeEventListener(n[t],a,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),t+=2}else{const e=i[r=n[t+1]];n[t].call(e)}if(null!==i)for(let t=r+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&Et(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&ct(e[3])){n!==e[3]&&Vi(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function Wi(t,e,n){return function(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===P.None||e===P.Emulated)return null}return Pt(i,n)}(t,e.parent,n)}function Qi(t,e,n,i,r){Et(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function Ki(t,e,n){Et(t)?t.appendChild(e,n):e.appendChild(n)}function qi(t,e,n,i,r){null!==i?Qi(t,e,n,i,r):Ki(t,e,n)}function Yi(t,e){return Et(t)?t.parentNode(e):e.parentNode}function Gi(t,e,n){return Zi(t,e,n)}let Zi=function(t,e,n){return 40&t.type?Pt(t,n):null};function Xi(t,e,n,i){const r=Wi(t,i,e),s=e[11],o=Gi(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(let a=0;a<n.length;a++)qi(s,r,n[a],o,!1);else qi(s,r,n,o,!1)}function Ji(t,e){if(null!==e){const n=e.type;if(3&n)return Pt(e,t);if(4&n)return $i(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Ji(t,n);{const n=t[e.index];return ct(n)?$i(-1,n):Dt(n)}}if(32&n)return Ti(e,t)()||Dt(t[e.index]);{const n=t[16],i=n[6],r=Ri(n),s=i.projection[e.projection];return null!=s?Ji(r,s):Ji(t,e.next)}}return null}function $i(t,e){const n=ot+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return Ji(t,i)}return e[7]}function tr(t,e,n,i,r,s,o){for(;null!=n;){const a=i[n.index],c=n.type;if(o&&0===e&&(a&&ki(Dt(a),i),n.flags|=4),64!=(64&n.flags))if(8&c)tr(t,e,n.child,i,r,s,!1),Ni(e,t,r,a,s);else if(32&c){const o=Ti(n,i);let c;for(;c=o();)Ni(e,t,r,c,s);Ni(e,t,r,a,s)}else 16&c?nr(t,e,i,n,r,s):Ni(e,t,r,a,s);n=o?n.projectionNext:n.next}}function er(t,e,n,i,r,s){tr(n,i,t.firstChild,e,r,s,!1)}function nr(t,e,n,i,r,s){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)Ni(e,t,r,a[c],s);else tr(t,e,a,o[3],r,s,!0)}function ir(t,e,n){Et(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function rr(t,e,n){Et(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function sr(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}const or="ng-template";function ar(t,e,n){let i=0;for(;i<t.length;){let r=t[i++];if(n&&"class"===r){if(r=t[i],-1!==sr(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function cr(t){return 4===t.type&&t.value!==or}function lr(t,e,n){return e===(4!==t.type||n?t.value:or)}function hr(t,e,n){let i=4;const r=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(Ie(t[e]))return e;return t.length}(r);let o=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!o)if(4&i){if(i=2|1&i,""!==c&&!lr(t,c,n)||""===c&&1===e.length){if(ur(i))return!1;o=!0}}else{const l=8&i?c:e[++a];if(8&i&&null!==t.attrs){if(!ar(t.attrs,l,n)){if(ur(i))return!1;o=!0}continue}const h=dr(8&i?"class":c,r,cr(t),n);if(-1===h){if(ur(i))return!1;o=!0;continue}if(""!==l){let t;t=h>s?"":r[h+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==sr(e,l,0)||2&i&&l!==t){if(ur(i))return!1;o=!0}}}}else{if(!o&&!ur(i)&&!ur(c))return!1;if(o&&ur(c))continue;o=!1,i=c|1&i}}return ur(i)||o}function ur(t){return 0==(1&t)}function dr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r<e.length;){const i=e[r];if(i===t)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++r];for(;"string"==typeof t;)t=e[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function fr(t,e,n=!1){for(let i=0;i<e.length;i++)if(hr(t,e[i],n))return!0;return!1}function pr(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function br(t,e){return t?":not("+e.trim()+")":e}function mr(t){let e=t[0],n=1,i=2,r="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];r+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||ur(o)||(e+=br(s,r),r=""),i=o,s=s||!ur(i);n++}return""!==r&&(e+=br(s,r)),e}const gr={};function yr(t){vr(Qt(),Wt(),ge()+t,Jt())}function vr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&xe(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Se(e,i,0,n)}ye(n)}function _r(t,e){return t<<17|e<<2}function wr(t){return t>>17&32767}function Cr(t){return 2|t}function xr(t){return(131068&t)>>2}function Sr(t,e){return-131069&t|e<<2}function Or(t){return 1|t}function Ar(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=t.data[s];ce(r),n.contentQueries(2,e[s],s)}}}function kr(t,e,n,i,r,s,o,a,c,l){const h=e.blueprint.slice();return h[0]=r,h[2]=140|i,Vt(h),h[3]=h[15]=t,h[8]=n,h[10]=o||t&&t[10],h[11]=a||t&&t[11],h[12]=c||t&&t[12]||null,h[9]=l||t&&t[9]||null,h[6]=s,h[16]=2==e.type?t[16]:h,h}function Er(t,e,n,i,r){let s=t.data[e];if(null===s)s=function(t,e,n,i,r){const s=Yt(),o=Zt(),a=t.data[e]=function(t,e,n,i,r,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,i,r);return null===t.firstChild&&(t.firstChild=a),null!==s&&(o?null==s.child&&null!==a.parent&&(s.child=a):null===s.next&&(s.next=a)),a}(t,e,n,i,r),zt.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const t=function(){const t=zt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===t?-1:t.injectorIndex}return Gt(s,!0),s}function Lr(t,e,n,i){if(0===n)return-1;const r=e.length;for(let s=0;s<n;s++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function Dr(t,e,n){ue(e);try{const i=t.viewQuery;null!==i&&os(1,i,n);const r=t.template;null!==r&&Tr(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Ar(t,e),t.staticViewQueries&&os(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)es(t,e[n])}(e,s)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,me()}}function Ir(t,e,n,i){const r=e[2];if(256==(256&r))return;ue(e);const s=Jt();try{Vt(e),zt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Tr(t,e,n,2,i);const o=3==(3&r);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&xe(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Se(e,n,0,null),Oe(e,0)}if(function(t){for(let e=Mi(t);null!==e;e=ji(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Bt(i,1),n[2]|=1024}}}(e),function(t){for(let e=Mi(t);null!==e;e=ji(e))for(let t=ot;t<e.length;t++){const n=e[t],i=n[1];Nt(n)&&Ir(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&Ar(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&xe(e,n)}else{const n=t.contentHooks;null!==n&&Se(e,n,1),Oe(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)ye(~i);else{const r=i,s=n[++t],o=n[++t];re(s,r),o(2,e[r])}}}finally{ye(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)$r(t,e[n])}(e,a);const c=t.viewQuery;if(null!==c&&os(2,c,i),!s)if(o){const n=t.viewCheckHooks;null!==n&&xe(e,n)}else{const n=t.viewHooks;null!==n&&Se(e,n,2),Oe(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Bt(e[3],-1))}finally{me()}}function Pr(t,e,n,i){const r=e[10],s=!Jt(),o=Ft(e);try{s&&!o&&r.begin&&r.begin(),o&&Dr(t,e,i),Ir(t,e,n,i)}finally{s&&!o&&r.end&&r.end()}}function Tr(t,e,n,i,r){const s=ge();try{ye(-1),2&i&&e.length>st&&vr(t,e,st,Jt()),n(i,r)}finally{ye(s)}}function Rr(t,e,n){if(lt(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r<i;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}function Mr(t,e,n){Ht()&&(function(t,e,n,i){const r=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Be(n,e),ki(i,e);const o=n.initialInputs;for(let a=r;a<s;a++){const i=t.data[a],s=dt(i);s&&Gr(e,n,i);const c=$e(e,t,a,n);ki(c,e),null!==o&&Zr(0,a-r,c,i,0,o),s&&(Mt(n.index,e)[8]=c)}}(t,e,n,Pt(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=zt.lFrame.currentDirectiveIndex;try{ye(s);for(let n=i;n<r;n++){const i=t.data[n],r=e[n];se(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Wr(i,r)}}finally{ye(-1),se(o)}}(t,e,n))}function jr(t,e,n=Pt){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(e,t):t[o];t[r++]=a}}}function Fr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Nr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Nr(t,e,n,i,r,s,o,a,c,l){const h=st+i,u=h+r,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:gr);return n}(h,u),f="function"==typeof l?l():l;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:f,incompleteFirstPass:!1}}function Ur(t,e,n,i){const r=cs(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&ls(t).push(i,r.length-1))}function Vr(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function Br(t,e,n,i,r,s,o,a){const c=Pt(e,n);let l,h=e.inputs;var u;!a&&null!=h&&(l=h[i])?(ds(t,n,l,i,r),ht(e)&&function(t,e){const n=Mt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,r=null!=o?o(r,e.value||"",i):r,Et(s)?s.setProperty(c,i,r):Pe(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function zr(t,e,n,i){let r=!1;if(Ht()){const s=function(t,e,n){const i=t.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];fr(n,o.selectors,!1)&&(r||(r=[]),Qe(Be(n,e),t,o.type),dt(o)?(Qr(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===i?null:{"":-1};if(null!==s){r=!0,qr(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,c=Lr(t,e,s.length,null);for(let r=0;r<s.length;r++){const l=s[r];n.mergedAttrs=Te(n.mergedAttrs,l.hostAttrs),Yr(t,n,e,c,l),Kr(c,l,o),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128);const h=l.type.prototype;!i&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),a||!h.ngOnChanges&&!h.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),c++}!function(t,e){const n=e.directiveEnd,i=t.data,r=e.attrs,s=[];let o=null,a=null;for(let c=e.directiveStart;c<n;c++){const t=i[c],n=t.inputs,l=null===r||cr(e)?null:Xr(n,r);s.push(l),o=Vr(n,c,o),a=Vr(t.outputs,c,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new pt("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],r)}}}(n,i,o)}return n.mergedAttrs=Te(n.mergedAttrs,n.attrs),r}function Hr(t,e,n,i,r,s){const o=s.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,o)}}function Wr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Qr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Kr(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;dt(e)&&(n[""]=t)}}function qr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Yr(t,e,n,i,r){t.data[i]=r;const s=r.factory||(r.factory=ft(r.type)),o=new Le(s,dt(r),null);t.blueprint[i]=o,n[i]=o,Hr(t,e,0,i,Lr(t,n,r.hostVars,gr),r)}function Gr(t,e,n){const i=Pt(e,t),r=Fr(n),s=t[10],o=ns(t,kr(t,r,null,n.onPush?64:16,i,e,s,s.createRenderer(i,n),null,null));t[e.index]=o}function Zr(t,e,n,i,r,s){const o=s[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const r=o[e++],s=o[e++],a=o[e++];null!==t?i.setInput(n,a,r,s):n[s]=a}}}function Xr(t,e){let n=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Jr(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function $r(t,e){const n=Mt(e,t);if(Nt(n)){const t=n[1];80&n[2]?Ir(t,n,t.template,n[8]):n[5]>0&&ts(n)}}function ts(t){for(let n=Mi(t);null!==n;n=ji(n))for(let t=ot;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Ir(t,e,t.template,e[8])}else e[5]>0&&ts(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Mt(e[n],t);Nt(i)&&i[5]>0&&ts(i)}}function es(t,e){const n=Mt(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Dr(i,n,n[8])}function ns(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function is(t){for(;t;){t[2]|=64;const e=Ri(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function rs(t,e,n){const i=e[10];i.begin&&i.begin();try{Ir(t,e,t.template,n)}catch(r){throw us(e,r),r}finally{i.end&&i.end()}}function ss(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=jt(n),r=i[1];Pr(r,i,r.template,n)}}(t[8])}function os(t,e,n){ce(0),e(t,n)}const as=(()=>Promise.resolve(null))();function cs(t){return t[7]||(t[7]=[])}function ls(t){return t.cleanup||(t.cleanup=[])}function hs(t,e,n){return(null===t||dt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function us(t,e){const n=t[9],i=n?n.get(Ai,null):null;i&&i.handleError(e)}function ds(t,e,n,i,r){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],c=e[o],l=t.data[o];null!==l.setInput?l.setInput(c,r,i,a):c[a]=r}}function fs(t,e,n){const i=It(e,t);!function(t,e,n){Et(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}function ps(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?r=u(r,t):2==s&&(i=u(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}const bs=new ln("INJECTOR",-1);class ms{get(t,e=Sn){if(e===Sn){const e=new Error(`NullInjectorError: No provider for ${h(t)}!`);throw e.name="NullInjectorError",e}return e}}const gs=new ln("Set Injector scope."),ys={},vs={},_s=[];let ws=void 0;function Cs(){return void 0===ws&&(ws=new ms),ws}function xs(t,e=null,n=null,i){return new Ss(t,n,e||Cs(),i)}class Ss{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&fn(e,n=>this.processProvider(n,t,e)),fn([t],t=>this.processInjectorType(t,[],r)),this.records.set(bs,ks(void 0,this));const s=this.records.get(gs);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:h(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Sn,n=A.Default){this.assertNotDestroyed();const i=Ln(this);try{if(!(n&A.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof ln)&&v(t);e=n&&this.injectableDefInScope(n)?ks(Os(t),ys):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&A.Self?Cs():this.parent).get(t,e=n&A.Optional&&e===Sn?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(h(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e[An]&&r.unshift(e[An]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=h(e);if(Array.isArray(e))r=e.map(h).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):h(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(On,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Ln(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(h(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=p(t)))return!1;let i=w(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=w(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(s);try{fn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];fn(i,t=>this.processProvider(t,n,i||_s))}}this.injectorDefTypes.add(s),this.records.set(s,ks(i.factory,ys));const a=i.providers;if(null!=a&&!o){const e=t;fn(a,t=>this.processProvider(t,e,a))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=Ls(t=p(t))?t:p(t&&t.provide);const r=function(t,e,n){return Es(t)?ks(void 0,t.useValue):ks(As(t),ys)}(t);if(Ls(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=ks(void 0,ys,!0),e.factory=()=>Tn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===ys&&(e.value=vs,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Os(t){const e=v(t),n=null!==e?e.factory:ft(t);if(null!==n)return n;const i=w(t);if(null!==i)return i.factory;if(t instanceof ln)throw new Error(`Token ${h(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=mn(e,"?");throw new Error(`Can't resolve all parameters for ${h(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[C]||t[S]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function As(t,e,n){let i=void 0;if(Ls(t)){const e=p(t);return ft(e)||Os(e)}if(Es(t))i=()=>p(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...Tn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>In(p(t.useExisting));else{const e=p(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ft(e)||Os(e);i=()=>new e(...Tn(t.deps))}var r;return i}function ks(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Es(t){return null!==t&&"object"==typeof t&&kn in t}function Ls(t){return"function"==typeof t}const Ds=function(t,e,n){return function(t,e=null,n=null,i){const r=xs(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let Is=(()=>{class t{static create(t,e){return Array.isArray(t)?Ds(t,e,""):Ds(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Sn,t.NULL=new ms,t.\u0275prov=m({token:t,providedIn:"any",factory:()=>In(bs)}),t.__NG_ELEMENT_ID__=-1,t})();function Ps(t,e){Ce(jt(t)[1],qt())}function Ts(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let r=void 0;if(dt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=Rs(t.inputs),e.declaredInputs=Rs(t.declaredInputs),e.outputs=Rs(t.outputs);const n=r.hostBindings;n&&Fs(t,n);const s=r.viewQuery,o=r.contentQueries;if(s&&Ms(t,s),o&&js(t,o),l(t.inputs,r.inputs),l(t.declaredInputs,r.declaredInputs),l(t.outputs,r.outputs),dt(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i<e.length;i++){const r=e[i];r&&r.ngInherit&&r(t),r===Ts&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Te(r.hostAttrs,n=Te(n,r.hostAttrs))}}(i)}function Rs(t){return t===N?{}:t===U?[]:t}function Ms(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function js(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Fs(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Ns=null;function Us(){if(!Ns){const t=F.Symbol;if(t&&t.iterator)Ns=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ns=n)}}}return Ns}class Vs{constructor(t){this.wrapped=t}static wrap(t){return new Vs(t)}static unwrap(t){return Vs.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Vs}}function Bs(t){return!!zs(t)&&(Array.isArray(t)||!(t instanceof Map)&&Us()in t)}function zs(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Hs(t,e,n){return t[e]=n}function Ws(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Qs(t,e,n,i){const r=Ws(t,e,n);return Ws(t,e+1,i)||r}function Ks(t,e,n,i){const r=Wt();return Ws(r,ne(),e)&&(Qt(),function(t,e,n,i,r,s){const o=Pt(t,e);!function(t,e,n,i,r,s,o){if(null==s)Et(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{const a=null==o?bt(s):o(s,i||"",r);Et(t)?t.setAttribute(e,r,a,n):n?e.setAttributeNS(n,r,a):e.setAttribute(r,a)}}(e[11],o,s,t.value,n,i,r)}(ve(),r,t,e,n,i)),Ks}function qs(t,e,n,i){return Ws(t,ne(),n)?e+bt(n)+i:gr}function Ys(t,e,n,i,r,s,o,a){const c=Wt(),l=Qt(),h=t+st,u=l.firstCreatePass?function(t,e,n,i,r,s,o,a,c){const l=e.consts,h=Er(e,t,4,o||null,Ut(l,a));zr(e,n,h,Ut(l,c)),Ce(e,h);const u=h.tViews=Nr(2,h,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,h),u.queries=e.queries.embeddedTView(h)),h}(h,l,c,e,n,i,r,s,o):l.data[h];Gt(u,!1);const d=c[11].createComment("");Xi(l,c,d,u),ki(d,c),ns(c,c[h]=Jr(d,c,d,u)),ut(u)&&Mr(l,c,u),null!=o&&jr(c,u,a)}function Gs(t){return Rt(zt.lFrame.contextLView,st+t)}function Zs(t,e=A.Default){const n=Wt();return null===n?In(t,e):Ye(qt(),n,p(t),e)}function Xs(){throw new Error("invalid")}function Js(t,e,n){const i=Wt();return Ws(i,ne(),e)&&Br(Qt(),ve(),i,t,e,i[11],n,!1),Js}function $s(t,e,n,i,r){const s=r?"class":"style";ds(t,n,e.inputs[s],s,i)}function to(t,e,n,i){const r=Wt(),s=Qt(),o=st+t,a=r[11],c=r[o]=Ui(a,e,zt.lFrame.currentNamespace),l=s.firstCreatePass?function(t,e,n,i,r,s,o){const a=e.consts,c=Er(e,t,2,r,Ut(a,s));return zr(e,n,c,Ut(a,o)),null!==c.attrs&&ps(c,c.attrs,!1),null!==c.mergedAttrs&&ps(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,r,0,e,n,i):s.data[o];Gt(l,!0);const h=l.mergedAttrs;null!==h&&De(a,c,h);const u=l.classes;null!==u&&rr(a,c,u);const d=l.styles;null!==d&&ir(a,c,d),64!=(64&l.flags)&&Xi(s,r,c,l),0===zt.lFrame.elementDepthCount&&ki(c,r),zt.lFrame.elementDepthCount++,ut(l)&&(Mr(s,r,l),Rr(s,l,r)),null!==i&&jr(r,l)}function eo(){let t=qt();Zt()?Xt():(t=t.parent,Gt(t,!1));const e=t;zt.lFrame.elementDepthCount--;const n=Qt();n.firstCreatePass&&(Ce(n,t),lt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&$s(n,e,Wt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&$s(n,e,Wt(),e.stylesWithoutHost,!1)}function no(t,e,n,i){to(t,e,n,i),eo()}function io(t,e,n){const i=Wt(),r=Qt(),s=t+st,o=r.firstCreatePass?function(t,e,n,i,r){const s=e.consts,o=Ut(s,i),a=Er(e,t,8,"ng-container",o);return null!==o&&ps(a,o,!0),zr(e,n,a,Ut(s,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,r,i,e,n):r.data[s];Gt(o,!0);const a=i[s]=i[11].createComment("");Xi(r,i,a,o),ki(a,i),ut(o)&&(Mr(r,i,o),Rr(r,o,i)),null!=n&&jr(i,o)}function ro(){let t=qt();const e=Qt();Zt()?Xt():(t=t.parent,Gt(t,!1)),e.firstCreatePass&&(Ce(e,t),lt(t)&&e.queries.elementEnd(t))}function so(t,e,n){io(t,e,n),ro()}function oo(){return Wt()}function ao(t){return!!t&&"function"==typeof t.then}function co(t){return!!t&&"function"==typeof t.subscribe}function lo(t,e,n=!1,i){const r=Wt(),s=Qt(),o=qt();return uo(s,r,r[11],o,t,e,n,i),lo}function ho(t,e,n=!1,i){const r=qt(),s=Wt(),o=Qt();return uo(o,s,hs(oe(o.data),r,s),r,t,e,n,i),ho}function uo(t,e,n,i,r,s,o=!1,a){const c=ut(i),l=t.firstCreatePass&&ls(t),h=cs(e);let u=!0;if(3&i.type){const d=Pt(i,e),f=a?a(d):N,p=f.target||d,b=h.length,m=a?t=>a(Dt(t[i.index])).target:i.index;if(Et(n)){let o=null;if(!a&&c&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const t=r[s];if(t===n&&r[s+1]===i){const t=e[7],n=r[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,u=!1;else{s=po(i,e,s,!1);const t=n.listen(f.name||p,r,s);h.push(s,t),l&&l.push(r,m,b,b+1)}}else s=po(i,e,s,!0),p.addEventListener(r,s,o),h.push(s),l&&l.push(r,m,b,o)}else s=po(i,e,s,!1);const d=i.outputs;let f;if(u&&null!==d&&(f=d[r])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(s),o=h.length;h.push(s,t),l&&l.push(r,i.index,o,-(o+1))}}}function fo(t,e,n){try{return!1!==e(n)}catch(i){return us(t,i),!1}}function po(t,e,n,i){return function r(s){if(s===Function)return n;const o=2&t.flags?Mt(t.index,e):e;0==(32&e[2])&&is(o);let a=fo(e,n,s),c=r.__ngNextListenerFn__;for(;c;)a=fo(e,c,s)&&a,c=c.__ngNextListenerFn__;return i&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function bo(t=1){return function(t){return(zt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,zt.lFrame.contextLView))[8]}(t)}function mo(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r<e.length;r++){const s=e[r];if("*"!==s){if(null===i?fr(t,s,!0):pr(i,s))return r}else n=r}return n}function go(t){const e=Wt()[16][6];if(!e.projection){const n=e.projection=mn(t?t.length:1,null),i=n.slice();let r=e.child;for(;null!==r;){const e=t?mo(r,t):0;null!==e&&(i[e]?i[e].projectionNext=r:n[e]=r,i[e]=r),r=r.next}}}function yo(t,e=0,n){const i=Wt(),r=Qt(),s=Er(r,st+t,16,null,n||null);null===s.projection&&(s.projection=e),Xt(),64!=(64&s.flags)&&function(t,e,n){nr(e[11],0,e,n,Wi(t,n,e),Gi(n.parent||e[6],n,e))}(r,i,s)}function vo(t,e,n){return _o(t,"",e,"",n),vo}function _o(t,e,n,i,r){const s=Wt(),o=qs(s,e,n,i);return o!==gr&&Br(Qt(),ve(),s,t,o,s[11],r,!1),_o}const wo=[];function Co(t,e,n,i,r){const s=t[n+1],o=null===e;let a=i?wr(s):xr(s),c=!1;for(;0!==a&&(!1===c||o);){const n=t[a+1];xo(t[a],e)&&(c=!0,t[a+1]=i?Or(n):Cr(n)),a=i?wr(n):xr(n)}c&&(t[n+1]=i?Cr(s):Or(s))}function xo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&vn(t,e)>=0}const So={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Oo(t){return t.substring(So.key,So.keyEnd)}function Ao(t,e){const n=So.textEnd;return n===e?-1:(e=So.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,So.key=e,n),ko(t,e,n))}function ko(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Eo(t,e,n){return Po(t,e,n,!1),Eo}function Lo(t,e){return Po(t,e,null,!0),Lo}function Do(t){To(gn,Io,t,!0)}function Io(t,e){for(let n=function(t){return function(t){So.key=0,So.keyEnd=0,So.value=0,So.valueEnd=0,So.textEnd=t.length}(t),Ao(t,ko(t,0,So.textEnd))}(e);n>=0;n=Ao(e,n))gn(t,Oo(e),!0)}function Po(t,e,n,i){const r=Wt(),s=Qt(),o=ie(2);s.firstUpdatePass&&Mo(s,t,o,i),e!==gr&&Ws(r,o,e)&&No(s,s.data[ge()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=h(zn(t)))),t}(e,n),i,o)}function To(t,e,n,i){const r=Qt(),s=ie(2);r.firstUpdatePass&&Mo(r,null,s,i);const o=Wt();if(n!==gr&&Ws(o,s,n)){const a=r.data[ge()];if(Bo(a,i)&&!Ro(r,s)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=u(t,n||"")),$s(r,a,o,n,i)}else!function(t,e,n,i,r,s,o,a){r===gr&&(r=wo);let c=0,l=0,h=0<r.length?r[0]:null,u=0<s.length?s[0]:null;for(;null!==h||null!==u;){const d=c<r.length?r[c+1]:void 0,f=l<s.length?s[l+1]:void 0;let p=null,b=void 0;h===u?(c+=2,l+=2,d!==f&&(p=u,b=f)):null===u||null!==h&&h<u?(c+=2,p=h):(l+=2,p=u,b=f),null!==p&&No(t,e,n,i,p,b,o,a),h=c<r.length?r[c]:null,u=l<s.length?s[l]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return wo;const i=[],r=zn(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)t(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&t(i,s,r[s]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,s)}}function Ro(t,e){return e>=t.expandoStartIndex}function Mo(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[ge()],o=Ro(t,n);Bo(s,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const r=oe(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Fo(n=jo(null,t,e,n,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=jo(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==xr(i))return t[wr(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=jo(null,t,e,n[1],i),n=Fo(n,e.attrs,i),function(t,e,n,i){t[wr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i=void 0;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=Fo(i,t[s].hostAttrs,n);return Fo(i,e.attrs,n)}(t,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),n}(r,s,e,i),function(t,e,n,i,r,s){let o=s?e.classBindings:e.styleBindings,a=wr(o),c=xr(o);t[i]=n;let l,h=!1;if(Array.isArray(n)){const t=n;l=t[1],(null===l||vn(t,l)>0)&&(h=!0)}else l=n;if(r)if(0!==c){const e=wr(t[a+1]);t[i+1]=_r(e,a),0!==e&&(t[e+1]=Sr(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=_r(a,0),0!==a&&(t[a+1]=Sr(t[a+1],i)),a=i;else t[i+1]=_r(c,0),0===a?a=i:t[c+1]=Sr(t[c+1],i),c=i;h&&(t[i+1]=Cr(t[i+1])),Co(t,l,i,!0),Co(t,l,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&vn(s,e)>=0&&(n[i+1]=Or(n[i+1]))}(e,l,t,i,s),o=_r(a,c),s?e.classBindings=o:e.styleBindings=o}(r,s,e,n,o,i)}}function jo(t,e,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],i=Fo(i,s.hostAttrs,r),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function Fo(t,e,n){const i=n?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?r=o:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),gn(t,o,!!n||e[++s]))}return void 0===t?null:t}function No(t,e,n,i,r,s,o,a){if(!(3&e.type))return;const c=t.data,l=c[a+1];Vo(1==(1&l)?Uo(c,e,n,r,xr(l),o):void 0)||(Vo(s)||2==(2&l)&&(s=Uo(c,null,n,r,a,o)),function(t,e,n,i,r){const s=Et(t);if(e)r?s?t.addClass(n,i):n.classList.add(i):s?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:Pi.DashCase;if(null==r)s?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof r&&r.endsWith("!important");o&&(r=r.slice(0,-10),e|=Pi.Important),s?t.setStyle(n,i,r,e):n.style.setProperty(i,r,o?"important":"")}}}(i,o,It(ge(),n),r,s))}function Uo(t,e,n,i,r,s){const o=null===e;let a=void 0;for(;r>0;){const e=t[r],s=Array.isArray(e),c=s?e[1]:e,l=null===c;let h=n[r+1];h===gr&&(h=l?wo:void 0);let u=l?yn(h,i):c===i?h:void 0;if(s&&!Vo(u)&&(u=yn(e,i)),Vo(u)&&(a=u,o))return a;const d=t[r+1];r=o?wr(d):xr(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=yn(t,i))}return a}function Vo(t){return void 0!==t}function Bo(t,e){return 0!=(t.flags&(e?16:32))}function zo(t,e=""){const n=Wt(),i=Qt(),r=t+st,s=i.firstCreatePass?Er(i,r,1,e,null):i.data[r],o=n[r]=function(t,e){return Et(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Xi(i,n,o,s),Gt(s,!1)}function Ho(t){return Wo("",t,""),Ho}function Wo(t,e,n){const i=Wt(),r=qs(i,t,e,n);return r!==gr&&fs(i,ge(),r),Wo}function Qo(t,e,n,i,r){const s=Wt(),o=function(t,e,n,i,r,s){const o=Qs(t,ee(),n,r);return ie(2),o?e+bt(n)+i+bt(r)+s:gr}(s,t,e,n,i,r);return o!==gr&&fs(s,ge(),o),Qo}function Ko(t,e,n,i,r,s,o,a,c){const l=Wt(),h=function(t,e,n,i,r,s,o,a,c,l){const h=function(t,e,n,i,r,s){const o=Qs(t,e,n,i);return Qs(t,e+2,r,s)||o}(t,ee(),n,r,o,c);return ie(4),h?e+bt(n)+i+bt(r)+s+bt(o)+a+bt(c)+l:gr}(l,t,e,n,i,r,s,o,a,c);return h!==gr&&fs(l,ge(),h),Ko}function qo(t,e,n){To(gn,Io,qs(Wt(),t,e,n),!0)}function Yo(t,e,n){const i=Wt();return Ws(i,ne(),e)&&Br(Qt(),ve(),i,t,e,i[11],n,!0),Yo}function Go(t,e,n){const i=Wt();if(Ws(i,ne(),e)){const r=Qt(),s=ve();Br(r,s,i,t,e,hs(oe(r.data),s,i),n,!0)}return Go}const Zo=void 0;var Xo=["en",[["a","p"],["AM","PM"],Zo],[["AM","PM"],Zo,Zo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zo,"{1} 'at' {0}",Zo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Jo={};function $o(t,e,n){"string"!=typeof e&&(n=e,e=t[ra.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Jo[e]=t,n&&(Jo[e][ra.ExtraData]=n)}function ta(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=ia(e);if(n)return n;const i=e.split("-")[0];if(n=ia(i),n)return n;if("en"===i)return Xo;throw new Error(`Missing locale data for the locale "${t}".`)}function ea(t){return ta(t)[ra.CurrencyCode]||null}function na(t){return ta(t)[ra.PluralCase]}function ia(t){return t in Jo||(Jo[t]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[t]),Jo[t]}var ra=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const sa="en-US";let oa=sa;function aa(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(oa=t.toLowerCase().replace(/_/g,"-"))}function ca(t,e,n,i,r){if(t=p(t),Array.isArray(t))for(let s=0;s<t.length;s++)ca(t[s],e,n,i,r);else{const s=Qt(),o=Wt();let a=Ls(t)?t:p(t.provide),c=As(t);const l=qt(),h=1048575&l.providerIndexes,u=l.directiveStart,d=l.providerIndexes>>20;if(Ls(t)||!t.multi){const i=new Le(c,r,Zs),f=ua(a,e,r?h:h+d,u);-1===f?(Qe(Be(l,o),s,a),la(s,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(i),o.push(i)):(n[f]=i,o[f]=i)}else{const f=ua(a,e,h+d,u),p=ua(a,e,h,h+d),b=f>=0&&n[f],m=p>=0&&n[p];if(r&&!m||!r&&!b){Qe(Be(l,o),s,a);const h=function(t,e,n,i,r){const s=new Le(t,n,Zs);return s.multi=[],s.index=e,s.componentProviders=0,ha(s,r,i&&!n),s}(r?fa:da,n.length,r,i,c);!r&&m&&(n[p].providerFactory=h),la(s,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(h),o.push(h)}else la(s,t,f>-1?f:p,ha(n[r?p:f],c,!r&&i));!r&&i&&m&&n[p].componentProviders++}}}function la(t,e,n,i){const r=Ls(e);if(r||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function ha(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ua(t,e,n,i){for(let r=n;r<i;r++)if(e[r]===t)return r;return-1}function da(t,e,n,i){return pa(this.multi,[])}function fa(t,e,n,i){const r=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=$e(n,n[1],this.providerFactory.index,i);s=e.slice(0,t),pa(r,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],pa(r,s);return s}function pa(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function ba(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=Qt();if(i.firstCreatePass){const r=dt(t);ca(n,i.data,i.blueprint,r,!0),ca(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class ma{}class ga{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${h(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ya=(()=>{class t{}return t.NULL=new ga,t})();function va(...t){}function _a(t,e){return new Ca(Pt(t,e))}const wa=function(){return _a(qt(),Wt())};let Ca=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=wa,t})();class xa{}let Sa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Oa(),t})();const Oa=function(){const t=Wt(),e=Mt(qt().index,t);return function(t){return t[11]}(at(e)?e:t)};let Aa=(()=>{class t{}return t.\u0275prov=m({token:t,providedIn:"root",factory:()=>null}),t})();class ka{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ea=new ka("11.0.5");class La{constructor(){}supports(t){return Bs(t)}create(t){return new Ia(t)}}const Da=(t,e)=>e;class Ia{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Da}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex<Ma(n,i,r)?e:n,o=Ma(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{r||(r=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;e<=s&&s<t&&(r[n]=i+1)}r[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Bs(t))throw new Error(`Error trying to diff '${h(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,r=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,e)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,e),s=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Us()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Pa(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ra),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ra),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Pa{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ta{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ra{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ta,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ma(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+e+r}class ja{constructor(){}supports(t){return t instanceof Map||zs(t)}create(){return new Fa}}class Fa{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||zs(t)))throw new Error(`Error trying to diff '${h(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Na(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Na{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Ua=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new xn,new wn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=m({token:t,providedIn:"root",factory:()=>new t([new La])}),t})(),Va=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new xn,new wn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=m({token:t,providedIn:"root",factory:()=>new t([new ja])}),t})();function Ba(t,e,n,i,r=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&i.push(Dt(s)),ct(s))for(let t=ot;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&Ba(e[1],e,n,i)}const o=n.type;if(8&o)Ba(t,e,n.child,i);else if(32&o){const t=Ti(n,e);let r;for(;r=t();)i.push(r)}else if(16&o){const t=e[16],r=t[6].projection[n.projection];if(Array.isArray(r))i.push(...r);else{const e=Ri(t);Ba(e[1],e,r,i,!0)}}n=r?n.projectionNext:n.next}return i}class za{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[1];return Ba(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}zi(this._lView[1],this._lView)}onDestroy(t){Ur(this._lView[1],this._lView,null,t)}markForCheck(){is(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){rs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){$t(!0);try{rs(t,e,n)}finally{$t(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,er(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ha extends za{constructor(t){super(t),this._view=t}detectChanges(){ss(this._view)}checkNoChanges(){!function(t){$t(!0);try{ss(t)}finally{$t(!1)}}(this._view)}get context(){return null}}const Wa=Ka;let Qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Wa,t.__ChangeDetectorRef__=!0,t})();function Ka(t=!1){return function(t,e,n){if(!n&&ht(t)){const n=Mt(t.index,e);return new za(n,n)}return 47&t.type?new za(e[16],e):null}(qt(),Wt(),t)}const qa=[new ja],Ya=new Ua([new La]),Ga=new Va(qa),Za=function(){return tc(qt(),Wt())};let Xa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Za,t})();const Ja=Xa,$a=class extends Ja{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=kr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Dr(e,n,t),new za(n)}};function tc(t,e){return 4&t.type?new $a(e,t,_a(t,e)):null}class ec{}class nc{}const ic=function(){return lc(qt(),Wt())};let rc=(()=>{class t{}return t.__NG_ELEMENT_ID__=ic,t})();const sc=rc,oc=class extends sc{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return _a(this._hostTNode,this._hostLView)}get injector(){return new nn(this._hostTNode,this._hostLView)}get parentInjector(){const t=We(this._hostTNode,this._hostLView);if(Me(t)){const e=Fe(t,this._hostLView),n=je(t);return new nn(e[1].data[n+8],e)}return new nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ac(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-ot}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(ec,null);t&&(r=t)}const o=t.create(s,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ct(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new oc(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,i){const r=ot+i,s=n.length;i>0&&(n[r-1][4]=e),i<s-ot?(e[4]=n[r],pn(n,ot+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,s,r);const o=$i(r,s),a=n[11],c=Yi(a,s[7]);return null!==c&&function(t,e,n,i,r,s){i[0]=r,i[6]=e,er(t,i,n,1,r,s)}(i,s[6],a,n,c,o),t.attachToViewContainerRef(this),pn(cc(s),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=ac(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Bi(this._lContainer,e);n&&(bn(cc(this._lContainer),e),zi(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Bi(this._lContainer,e);return n&&null!=bn(cc(this._lContainer),e)?new za(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function ac(t){return t[8]}function cc(t){return t[8]||(t[8]=[])}function lc(t,e){let n;const i=e[t.index];if(ct(i))n=i;else{let r;if(8&t.type)r=Dt(i);else{const n=e[11];r=n.createComment("");const i=Pt(t,e);Qi(n,Yi(n,i),r,function(t,e){return Et(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=Jr(i,e,r,t),ns(e,n)}return new oc(n,t,e)}const hc={};class uc extends ya{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=it(t);return new pc(e,this.ngModule)}}function dc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const fc=new ln("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ei});class pc extends ma{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(mr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return dc(this.componentDef.inputs)}get outputs(){return dc(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,hc,r);return s!==hc||i===hc?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(xa,Lt),o=r.get(Aa,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(t,e,n){if(Et(t))return t.selectRootElement(e,n===P.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Ui(s.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?St:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,u={components:[],scheduler:Ei,clean:as,playerHandler:null,flags:0},d=Nr(0,null,null,1,0,null,null,null,null,null),f=kr(null,d,u,h,null,null,s,a,o,r);let p,b;ue(f);try{const t=function(t,e,n,i,r,s){const o=n[1];n[20]=t;const a=Er(o,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(ps(a,c,!0),null!==t&&(De(r,t,c),null!==a.classes&&rr(r,t,a.classes),null!==a.styles&&ir(r,t,a.styles)));const l=i.createRenderer(t,e),h=kr(n,Fr(e),null,e.onPush?64:16,n[20],a,i,l,null,null);return o.firstCreatePass&&(Qe(Be(a,n),o,e.type),Qr(o,a),qr(a,n.length,1)),ns(n,h),n[20]=h}(l,this.componentDef,f,s,a);if(l)if(n)De(a,l,["ng-version",Ea.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i<t.length;){let s=t[i];if("string"==typeof s)2===r?""!==s&&e.push(s,t[++i]):8===r&&n.push(s);else{if(!ur(r))break;r=s}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&De(a,l,t),e&&e.length>0&&rr(a,l,e.join(" "))}if(b=Tt(d,st),void 0!==e){const t=b.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}p=function(t,e,n,i,r){const s=n[1],o=function(t,e,n){const i=qt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yr(t,i,e,Lr(t,e,1,null),n));const r=$e(e,t,i.directiveStart,i);ki(r,e);const s=Pt(i,e);return s&&ki(s,e),r}(s,n,e);if(i.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries){const t=qt();e.contentQueries(1,o,t.directiveStart)}const a=qt();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ye(a.index),Hr(n[1],a,0,a.directiveStart,a.directiveEnd,e),Wr(e,o)),o}(t,this.componentDef,f,u,[Ps]),Dr(d,f,null)}finally{me()}return new bc(this.componentType,p,_a(b,f),f,b)}}class bc extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Ha(i),this.componentType=t}get injector(){return new nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const mc=new Map;class gc extends ec{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new uc(this);const n=rt(t),i=t[W]||null;i&&aa(i),this._bootstrapComponents=Ii(n.bootstrap),this._r3Injector=xs(t,e,[{provide:ec,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],h(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Is.THROW_IF_NOT_FOUND,n=A.Default){return t===Is||t===ec||t===bs?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class yc extends nc{constructor(t){super(),this.moduleType=t,null!==rt(t)&&function(t){const e=new Set;!function t(n){const i=rt(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${h(e)} vs ${h(e.name)}`)}(r,mc.get(r),n),mc.set(r,n));const s=Ii(i.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new gc(this.moduleType,t)}}function vc(t,e,n){const i=te()+t,r=Wt();return r[i]===gr?Hs(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function _c(t,e,n,i){return Sc(Wt(),te(),t,e,n,i)}function wc(t,e,n,i,r){return Oc(Wt(),te(),t,e,n,i,r)}function Cc(t,e,n,i,r,s){return Ac(Wt(),te(),t,e,n,i,r,s)}function xc(t,e){const n=t[e];return n===gr?void 0:n}function Sc(t,e,n,i,r,s){const o=e+n;return Ws(t,o,r)?Hs(t,o+1,s?i.call(s,r):i(r)):xc(t,o+1)}function Oc(t,e,n,i,r,s,o){const a=e+n;return Qs(t,a,r,s)?Hs(t,a+2,o?i.call(o,r,s):i(r,s)):xc(t,a+2)}function Ac(t,e,n,i,r,s,o,a){const c=e+n;return function(t,e,n,i,r){const s=Qs(t,e,n,i);return Ws(t,e+2,r)||s}(t,c,r,s,o)?Hs(t,c+3,a?i.call(a,r,s,o):i(r,s,o)):xc(t,c+3)}function kc(t,e){const n=Qt();let i;const r=t+st;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new pt("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=ft(i.type)),o=E(Zs);try{const t=Ue(!1),e=s();return Ue(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Wt(),r,e),e}finally{E(o)}}function Ec(t,e,n){const i=t+st,r=Wt(),s=Rt(r,i);return Pc(r,Ic(r,i)?Sc(r,te(),e,s.transform,n,s):s.transform(n))}function Lc(t,e,n,i){const r=t+st,s=Wt(),o=Rt(s,r);return Pc(s,Ic(s,r)?Oc(s,te(),e,o.transform,n,i,o):o.transform(n,i))}function Dc(t,e,n,i,r){const s=t+st,o=Wt(),a=Rt(o,s);return Pc(o,Ic(o,s)?Ac(o,te(),e,a.transform,n,i,r,a):a.transform(n,i,r))}function Ic(t,e){return t[1].data[e].pure}function Pc(t,e){return Vs.isWrapped(e)&&(e=Vs.unwrap(e),t[ee()]=gr),e}const Tc=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,s,o);return t instanceof r.a&&t.add(a),a}};function Rc(){return this._results[Us()]()}class Mc{constructor(){this.dirty=!0,this._results=[],this.changes=new Tc,this.length=0;const t=Us(),e=Mc.prototype;e[t]||(e[t]=Rc)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=dn(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class jc{constructor(t){this.queryList=t,this.matches=null}clone(){return new jc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new Fc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==el(t,e).matches&&this.queries[e].setDirty()}}class Nc{constructor(t,e,n,i=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=i}}class Uc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new Uc(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Vc{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Vc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(t,e,Bc(e,r)),this.matchTNodeWithReadOption(t,e,Je(e,t,r,!1,!1))}else n===Xa?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Je(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===Ca||i===rc||i===Xa&&4&e.type)this.addMatch(e.index,-2);else{const n=Je(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Bc(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function zc(t,e,n,i){return-1===n?function(t,e){return 11&t.type?_a(t,e):4&t.type?tc(t,e):null}(e,t):-2===n?function(t,e,n){return n===Ca?_a(e,t):n===Xa?tc(e,t):n===rc?lc(e,t):void 0}(t,e,i):$e(t,t[1],n,e)}function Hc(t,e,n,i){const r=e[19].queries[i];if(null===r.matches){const i=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const r=s[t];o.push(r<0?null:zc(e,i[r],s[t+1],n.metadata.read))}r.matches=o}return r.matches}function Wc(t,e,n,i){const r=t.queries.getByIndex(n),s=r.matches;if(null!==s){const o=Hc(t,e,r,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)i.push(o[t/2]);else{const r=s[t+1],o=e[-n];for(let t=ot;t<o.length;t++){const e=o[t];e[17]===e[3]&&Wc(e[1],e,r,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];Wc(n[1],n,r,i)}}}}}return i}function Qc(t){const e=Wt(),n=Qt(),i=ae();ce(i+1);const r=el(n,i);if(t.dirty&&Ft(e)===r.metadata.isStatic){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?Wc(n,e,i,[]):Hc(n,e,r,i);t.reset(s),t.notifyOnChanges()}return!0}return!1}function Kc(t,e,n){Yc(Qt(),Wt(),t,e,n,!0)}function qc(t,e,n){Yc(Qt(),Wt(),t,e,n,!1)}function Yc(t,e,n,i,r,s){t.firstCreatePass&&(tl(t,new Nc(n,i,s,r),-1),s&&(t.staticViewQueries=!0)),$c(t,e)}function Gc(t,e,n,i){Xc(Qt(),Wt(),e,n,i,!1,qt(),t)}function Zc(t,e,n,i){Xc(Qt(),Wt(),e,n,i,!0,qt(),t)}function Xc(t,e,n,i,r,s,o,a){t.firstCreatePass&&(tl(t,new Nc(n,i,s,r),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a),s&&(t.staticContentQueries=!0)),$c(t,e)}function Jc(){return t=Wt(),e=ae(),t[19].queries[e].queryList;var t,e}function $c(t,e){const n=new Mc;Ur(t,e,n,n.destroy),null===e[19]&&(e[19]=new Fc),e[19].queries.push(new jc(n))}function tl(t,e,n){null===t.queries&&(t.queries=new Uc),t.queries.track(new Vc(e,n))}function el(t,e){return t.queries.getByIndex(e)}function nl(t,e){return tc(t,e)}function il(t=A.Default){const e=Ka(!0);if(null!=e||t&A.Optional)return e;gt("ChangeDetectorRef")}const rl=new ln("Application Initializer");let sl=(()=>{class t{constructor(t){this.appInits=t,this.resolve=va,this.reject=va,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();ao(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(In(rl,8))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();const ol=new ln("AppId"),al={provide:ol,useFactory:function(){return`${cl()}${cl()}${cl()}`},deps:[]};function cl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ll=new ln("Platform Initializer"),hl=new ln("Platform ID"),ul=new ln("appBootstrapListener");let dl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();const fl=new ln("LocaleId"),pl=new ln("DefaultCurrencyCode");class bl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ml=function(t){return new yc(t)},gl=ml,yl=function(t){return Promise.resolve(ml(t))},vl=function(t){const e=ml(t),n=Ii(rt(t).declarations).reduce((t,e)=>{const n=it(e);return n&&t.push(new pc(n)),t},[]);return new bl(e,n)},_l=vl,wl=function(t){return Promise.resolve(vl(t))};let Cl=(()=>{class t{constructor(){this.compileModuleSync=gl,this.compileModuleAsync=yl,this.compileModuleAndAllComponentsSync=_l,this.compileModuleAndAllComponentsAsync=wl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();const xl=(()=>Promise.resolve(0))();function Sl(t){"undefined"==typeof Zone?xl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ol{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tc(!1),this.onMicrotaskEmpty=new Tc(!1),this.onStable=new Tc(!1),this.onError=new Tc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=F.requestAnimationFrame,e=F.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(F,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,El(t),kl(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),El(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,i,r,s,o,a)=>{try{return Ll(t),n.invokeTask(r,s,o,a)}finally{e&&"eventTask"===s.type&&e(),Dl(t)}},onInvoke:(e,n,i,r,s,o,a)=>{try{return Ll(t),e.invoke(i,r,s,o,a)}finally{Dl(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,El(t),kl(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ol.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ol.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,Al,va,va);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Al={};function kl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function El(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Ll(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Dl(t){t._nesting--,kl(t)}class Il{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tc,this.onMicrotaskEmpty=new Tc,this.onStable=new Tc,this.onError=new Tc}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let Pl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ol.assertNotInAngularZone(),Sl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Sl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(In(Ol))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),Tl=(()=>{class t{constructor(){this._applications=new Map,Fl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Fl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();class Rl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Ml(t){Fl=t}let jl,Fl=new Rl,Nl=!0,Ul=!1;function Vl(){return Ul=!0,Nl}function Bl(){if(Ul)throw new Error("Cannot enable prod mode after platform setup.");Nl=!1}const zl=new ln("AllowMultipleToken");class Hl{constructor(t,e){this.name=t,this.token=e}}function Wl(t,e,n=[]){const i="Platform: "+e,r=new ln(i);return(e=[])=>{let s=Ql();if(!s||s.injector.get(zl,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:gs,useValue:"platform"});!function(t){if(jl&&!jl.destroyed&&!jl.injector.get(zl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");jl=t.get(Kl);const e=t.get(ll,null);e&&e.forEach(t=>t())}(Is.create({providers:t,name:i}))}return function(t){const e=Ql();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Ql(){return jl&&!jl.destroyed?jl:null}let Kl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Il:("zone.js"===t?void 0:t)||new Ol({enableLongStackTrace:Vl(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),i=[{provide:Ol,useValue:n}];return n.run(()=>{const e=Is.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(Ai,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});r.onDestroy(()=>{Gl(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return ao(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(sl);return t.runInitializers(),t.donePromise.then(()=>(aa(r.injector.get(fl,sa)||sa),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=ql({},e);return function(t,e,n){const i=new yc(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Yl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${h(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(In(Is))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function ql(t,e){return Array.isArray(e)?e.reduce(ql,t):Object.assign(Object.assign({},t),e)}let Yl=(()=>{class t{constructor(t,e,n,i,r,c){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ol.assertNotInAngularZone(),Sl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ol.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,h.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof ma?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(ec),r=n.create(Is.NULL,[],e||n.selector,i),s=r.location.nativeElement,o=r.injector.get(Pl,null),a=o&&r.injector.get(Tl);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),Gl(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),Vl()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Gl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ul,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(In(Ol),In(dl),In(Is),In(Ai),In(ya),In(sl))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function Gl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Zl{}class Xl{}const Jl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let $l=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Jl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>th(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>th(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(In(Cl),In(Xl,8))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function th(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class eh extends Qa{}class nh extends eh{}const ih=function(t){return null},rh=Wl(null,"core",[{provide:hl,useValue:"unknown"},{provide:Kl,deps:[Is]},{provide:Tl,deps:[]},{provide:dl,deps:[]}]),sh=[{provide:Yl,useClass:Yl,deps:[Ol,dl,Is,Ai,ya,sl]},{provide:fc,deps:[Ol],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:sl,useClass:sl,deps:[[new wn,rl]]},{provide:Cl,useClass:Cl,deps:[]},al,{provide:Ua,useFactory:function(){return Ya},deps:[]},{provide:Va,useFactory:function(){return Ga},deps:[]},{provide:fl,useFactory:function(t){return aa(t=t||"undefined"!=typeof $localize&&$localize.locale||sa),t},deps:[[new _n(fl),new wn,new xn]]},{provide:pl,useValue:"USD"}];let oh=(()=>{class t{constructor(t){}}return t.\u0275mod=J({type:t}),t.\u0275inj=y({factory:function(e){return new(e||t)(In(Yl))},providers:sh}),t})()},"8cin":function(t,e,n){"use strict";t.exports=h;var i=n("0ROu").codes,r=i.ERR_METHOD_NOT_IMPLEMENTED,s=i.ERR_MULTIPLE_CALLBACK,o=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=i.ERR_TRANSFORM_WITH_LENGTH_0,c=n("Xn1i");function l(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new s);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),i(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function h(t){if(!(this instanceof h))return new h(t);c.call(this,t),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",u)}function u(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush(function(e,n){d(t,e,n)})}function d(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new a;if(t._transformState.transforming)throw new o;return t.push(null)}n("2q5Q")(h,c),h.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},h.prototype._transform=function(t,e,n){n(new r("_transform()"))},h.prototype._write=function(t,e,n){var i=this._transformState;if(i.writecb=n,i.writechunk=t,i.writeencoding=e,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},h.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},h.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,function(t){e(t)})}},"9GDS":function(t,e,n){var i=n("mObS"),r=n("hwdV").Buffer;function s(t){var e=r.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,o=r.alloc(0),a=0;o.length<e;)n=s(a++),o=r.concat([o,i("sha1").update(t).update(n).digest()]);return o.slice(0,e)}},"9XZ3":function(t,e,n){"use strict";var i=n("P7XM"),r=n("k+aG"),s=n("hwdV").Buffer,o=new Array(16);function a(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(t,e){return t<<e|t>>>32-e}function l(t,e,n,i,r,s,o){return c(t+(e&n|~e&i)+r+s|0,o)+e|0}function h(t,e,n,i,r,s,o){return c(t+(e&i|n&~i)+r+s|0,o)+e|0}function u(t,e,n,i,r,s,o){return c(t+(e^n^i)+r+s|0,o)+e|0}function d(t,e,n,i,r,s,o){return c(t+(n^(e|~i))+r+s|0,o)+e|0}i(a,r),a.prototype._update=function(){for(var t=o,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,i=this._b,r=this._c,s=this._d;n=l(n,i,r,s,t[0],3614090360,7),s=l(s,n,i,r,t[1],3905402710,12),r=l(r,s,n,i,t[2],606105819,17),i=l(i,r,s,n,t[3],3250441966,22),n=l(n,i,r,s,t[4],4118548399,7),s=l(s,n,i,r,t[5],1200080426,12),r=l(r,s,n,i,t[6],2821735955,17),i=l(i,r,s,n,t[7],4249261313,22),n=l(n,i,r,s,t[8],1770035416,7),s=l(s,n,i,r,t[9],2336552879,12),r=l(r,s,n,i,t[10],4294925233,17),i=l(i,r,s,n,t[11],2304563134,22),n=l(n,i,r,s,t[12],1804603682,7),s=l(s,n,i,r,t[13],4254626195,12),r=l(r,s,n,i,t[14],2792965006,17),n=h(n,i=l(i,r,s,n,t[15],1236535329,22),r,s,t[1],4129170786,5),s=h(s,n,i,r,t[6],3225465664,9),r=h(r,s,n,i,t[11],643717713,14),i=h(i,r,s,n,t[0],3921069994,20),n=h(n,i,r,s,t[5],3593408605,5),s=h(s,n,i,r,t[10],38016083,9),r=h(r,s,n,i,t[15],3634488961,14),i=h(i,r,s,n,t[4],3889429448,20),n=h(n,i,r,s,t[9],568446438,5),s=h(s,n,i,r,t[14],3275163606,9),r=h(r,s,n,i,t[3],4107603335,14),i=h(i,r,s,n,t[8],1163531501,20),n=h(n,i,r,s,t[13],2850285829,5),s=h(s,n,i,r,t[2],4243563512,9),r=h(r,s,n,i,t[7],1735328473,14),n=u(n,i=h(i,r,s,n,t[12],2368359562,20),r,s,t[5],4294588738,4),s=u(s,n,i,r,t[8],2272392833,11),r=u(r,s,n,i,t[11],1839030562,16),i=u(i,r,s,n,t[14],4259657740,23),n=u(n,i,r,s,t[1],2763975236,4),s=u(s,n,i,r,t[4],1272893353,11),r=u(r,s,n,i,t[7],4139469664,16),i=u(i,r,s,n,t[10],3200236656,23),n=u(n,i,r,s,t[13],681279174,4),s=u(s,n,i,r,t[0],3936430074,11),r=u(r,s,n,i,t[3],3572445317,16),i=u(i,r,s,n,t[6],76029189,23),n=u(n,i,r,s,t[9],3654602809,4),s=u(s,n,i,r,t[12],3873151461,11),r=u(r,s,n,i,t[15],530742520,16),n=d(n,i=u(i,r,s,n,t[2],3299628645,23),r,s,t[0],4096336452,6),s=d(s,n,i,r,t[7],1126891415,10),r=d(r,s,n,i,t[14],2878612391,15),i=d(i,r,s,n,t[5],4237533241,21),n=d(n,i,r,s,t[12],1700485571,6),s=d(s,n,i,r,t[3],2399980690,10),r=d(r,s,n,i,t[10],4293915773,15),i=d(i,r,s,n,t[1],2240044497,21),n=d(n,i,r,s,t[8],1873313359,6),s=d(s,n,i,r,t[15],4264355552,10),r=d(r,s,n,i,t[6],2734768916,15),i=d(i,r,s,n,t[13],1309151649,21),n=d(n,i,r,s,t[4],4149444226,6),s=d(s,n,i,r,t[11],3174756917,10),r=d(r,s,n,i,t[2],718787259,15),i=d(i,r,s,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+i|0,this._c=this._c+r|0,this._d=this._d+s|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=s.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=a},"9b/N":function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return u});var i=n("8LU1"),r=n("8Y7J"),s=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let c=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new s.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(c))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(c))},token:t,providedIn:"root"}),t})(),h=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(l),r.Pb(r.l),r.Pb(r.B))},t.\u0275dir=r.Kb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),u=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},providers:[c]}),t})()},"9gLZ":function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o});var i=n("8Y7J"),r=n("SVse");const s=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.Y)(r.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(s,8))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(s,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9wfV":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("GS7A");const r=[Object(i.n)("sliderAnimation",[Object(i.k)("*",Object(i.l)({transform:"translateX(0)"})),Object(i.m)("void => backward",[Object(i.l)({transform:"translateX(-100%"}),Object(i.e)("800ms")]),Object(i.m)("backward => void",[Object(i.e)("0ms",Object(i.l)({transform:"translateX(100%)"}))]),Object(i.m)("void => forward",[Object(i.l)({transform:"translateX(100%"}),Object(i.e)("800ms")]),Object(i.m)("forward => void",[Object(i.e)("0ms",Object(i.l)({transform:"translateX(-100%)"}))])])]},ANxK:function(t,e,n){var i=n("WKKt"),r=n("wk3p"),s=n("Vh22"),o={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(t){var e=new Buffer(r[t].prime,"hex"),n=new Buffer(r[t].gen,"hex");return new s(e,n)},e.createDiffieHellman=e.DiffieHellman=function t(e,n,r,a){return Buffer.isBuffer(n)||void 0===o[n]?t(e,"binary",n,r):(n=n||"binary",a=a||"binary",r=r||new Buffer([2]),Buffer.isBuffer(r)||(r=new Buffer(r,a)),"number"==typeof e?new s(i(e,r),r,!0):(Buffer.isBuffer(e)||(e=new Buffer(e,n)),new s(e,r,!0)))}},AUX7:function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},AYSA:function(t,e,n){"use strict";var i=n("2j6C");function r(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=r,r.prototype._init=function(){},r.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},r.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),i=0;i<n;i++)this.buffer[this.bufferOff+i]=t[e+i];return this.bufferOff+=n,n},r.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(t){var e=0,n=0,i=new Array(((this.bufferOff+t.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var r=t.length-(t.length-e)%this.blockSize;e<r;e+=this.blockSize)this._update(t,e,i,n),n+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},r.prototype._updateDecrypt=function(t){for(var e=0,n=0,i=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,r=new Array(i*this.blockSize);i>0;i--)e+=this._buffer(t,e),n+=this._flushBuffer(r,n);return e+=this._buffer(t,e),r},r.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},r.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},r.prototype._unpad=function(t){return t},r.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},AZa5:function(t,e,n){var i=n("Wogr"),r=n("u/Db");function s(t){this.mode=r.BYTE,this.data=new i(t)}s.getBitsLength=function(t){return 8*t},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(t){for(var e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},t.exports=s},AhHn:function(t,e,n){"use strict";const i=e;i._reverse=function(t){const e={};return Object.keys(t).forEach(function(n){(0|n)==n&&(n|=0),e[t[n]]=n}),e},i.der=n("i3FT")},AytR:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});const i="./api",r={production:!0,isDebugMode:!1,AUTHENTICATE_API:i+"/authenticate",CONF_API:i+"/conf",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYREQUEST_API:"/payreq",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",LOOP_API:"/loop",BOLTZ_API:"/boltz",VERSION:"0.10.1-beta"}},"B/J0":function(t,e,n){"use strict";var i=n("w8CP"),r=n("bu2F");function s(){if(!(this instanceof s))return new s;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(s,r),t.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},"B0X+":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("s7LF"),r=n("8Y7J");let s=(()=>{class t{validate(t){return this.min?i.t.min(+this.min)(t):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Kb({type:t,selectors:[["input","min",""]],inputs:{min:"min"},features:[r.Cb([{provide:i.j,useExisting:t,multi:!0}])]}),t})()},BCVQ:function(t,e){var n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",i="(?:(?![A-Z0-9 $%*+\\-./:]|"+(n=n.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(n,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(i,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var r=new RegExp("^"+n+"$"),s=new RegExp("^[0-9]+$"),o=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return r.test(t)},e.testNumeric=function(t){return s.test(t)},e.testAlphanumeric=function(t){return o.test(t)}},BSbQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var i=n("8LU1"),r=n("UhP/"),s=n("8Y7J");let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(s.Eb("aria-orientation",e.vertical?"vertical":"horizontal"),s.Hb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[r.i],r.i]}),t})()},BTe0:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return y});var i=n("8Y7J"),r=n("SVse"),s=n("UhP/"),o=n("8LU1"),a=n("omvX"),c=n("quSY"),l=n("xgIS"),h=n("pLZG");const u=["primaryValueBar"];class d{constructor(t){this._elementRef=t}}const f=Object(s.x)(d,"primary"),p=new i.s("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=Object(i.Y)(r.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let b=0,m=(()=>{class t extends f{constructor(t,e,n,r){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.o,this._animationEndSubscription=c.a.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+b++;const s=r?r.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${s}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=g(Object(o.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=g(t||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(l.a)(t,"transitionend").pipe(Object(h.a)(e=>e.target===t)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.B),i.Pb(a.a,8),i.Pb(p,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Pc(u,!0),2&t){let t;i.vc(t=i.ec())&&(e._primaryValueBar=t.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Eb("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.Hb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.Ab],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"svg",0),i.Vb(1,"defs"),i.Vb(2,"pattern",1),i.Qb(3,"circle",2),i.Ub(),i.Ub(),i.Qb(4,"rect",3),i.Ub(),i.fc(),i.Qb(5,"div",4),i.Qb(6,"div",5,6),i.Qb(8,"div",7)),2&t&&(i.Db(2),i.oc("id",e.progressbarId),i.Db(2),i.Eb("fill",e._rectangleFillValue),i.Db(1),i.oc("ngStyle",e._bufferTransform()),i.Db(1),i.oc("ngStyle",e._primaryTransform()))},directives:[r.p],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t})();function g(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let y=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.c,s.i],s.i]}),t})()},BfC4:function(t,e,n){"use strict";var i=n("0ROu").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,r){var s=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,r,n);if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new i(r?n:"highWaterMark",s);return Math.floor(s)}return t.objectMode?16:16384}}},"C+gy":function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},CH9F:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),s=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,r.call(this,64,56)}function l(t){return t<<30|t>>>2}function h(t,e,n,i){return 0===t?e&n|~e&i:2===t?e&n|e&i|n&i:e^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,n=this._w,i=0|this._a,r=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,u=0;u<16;++u)n[u]=t.readInt32BE(4*u);for(;u<80;++u)n[u]=n[u-3]^n[u-8]^n[u-14]^n[u-16];for(var d=0;d<80;++d){var f=~~(d/20),p=0|((e=i)<<5|e>>>27)+h(f,r,s,a)+c+n[d]+o[f];c=a,a=s,s=l(r),r=i,i=p}this._a=i+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=s.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},CWBI:function(t,e,n){t.exports=n("sZro")},CfXC:function(t,e,n){var i=n("OfWw"),r=n("hwdV").Buffer,s=n("ZDAU");function o(t,e,n,o){s.call(this),this._cipher=new i.AES(e),this._prev=r.from(n),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._mode=t}n("P7XM")(o,s),o.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},t.exports=o},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("HDdC"),r=n("SeVD"),s=n("quSY"),o=n("kJWO"),a=n("jZKg"),c=n("Lhse"),l=n("c2HN"),h=n("I55L");function u(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>{const r=t[o.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(l.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(h.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[c.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[c.a](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}},CqXF:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.value=t}call(t,e){return e.subscribe(new o(t,this.value))}}class o extends i.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},CtHx:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return f}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return c});var i=n("7+OI"),r=n("LRne"),s=n("XNiG"),o=n("8Y7J");class a{}function c(t){return t&&"function"==typeof t.connect}class l extends a{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}class h{applyChanges(t,e,n,i,r){t.forEachOperation((t,i,s)=>{let o,a;if(null==t.previousIndex){const r=n(t,i,s);o=e.createEmbeddedView(r.templateRef,r.context,r.index),a=1}else null==s?(e.remove(i),a=3):(o=e.get(i),e.move(o,s),a=2);r&&r({context:null==o?void 0:o.context,operation:a,record:t})})}detach(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,r){t.forEachOperation((t,s,o)=>{let a,c;null==t.previousIndex?(a=this._insertView(()=>n(t,s,o),o,e,i(t)),c=a?1:0):null==o?(this._detachAndCacheView(s,e),c=3):(a=this._moveView(s,o,e,i(t)),c=2),r&&r({context:null==a?void 0:a.context,operation:c,record:t})})}detach(){for(const t of this._viewCache)t.destroy()}_insertView(t,e,n,i){let r=this._insertViewFromCache(e,n);if(r)return void(r.context.$implicit=i);const s=t();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(t,e){const n=this._detachView(t,e);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}_detachView(t,e){return e.detach(t)}}class d{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let f=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const p=new o.s("_ViewRepeater")},CwT3:function(t,e,n){"use strict";n.d(e,"a",function(){return Zt});var i=n("s7LF"),r=n("XNiG"),s=n("1G5W"),o=n("iELJ"),a=n("wHSu"),c=n("2yzq"),l=n("7nzP"),h=n("/uX3"),u=n("8Y7J"),d=n("tqRt"),f=n("hBQm"),p=n("SVse"),b=n("cpEJ"),m=n("iInd"),g=n("7o2P"),y=n("VDRc"),v=n("PDjf"),_=n("Dxy4"),w=n("hzfI"),C=n("o4Yh"),x=n("ura0"),S=n("ZFy/"),O=n("BSbQ");function A(t,e){1&t&&u.Rb(0)}function k(t,e){1&t&&u.Rb(0)}const E=function(t){return{"h-5":t}};function L(t,e){if(1&t&&(u.Vb(0,"mat-expansion-panel",3),u.Vb(1,"mat-expansion-panel-header"),u.Vb(2,"mat-panel-title"),u.Vb(3,"span",4),u.Kc(4),u.ic(5,"number"),u.Ub(),u.Ub(),u.Ub(),u.Ic(6,k,1,0,"ng-container",0),u.Ub()),2&t){const t=u.hc(),e=u.wc(4);u.oc("expanded",t.panelExpanded)("ngClass",u.sc(7,E,!t.flgShowPanel)),u.Db(4),u.Nc("Quote for ",t.termCaption," amount (",u.jc(5,5,t.quote.amount)," Sats)"),u.Db(2),u.oc("ngTemplateOutlet",e)}}function D(t,e){if(1&t&&(u.Vb(0,"div",17),u.Vb(1,"h4",8),u.Kc(2,"Prepay Amount (Sats)"),u.Ub(),u.Vb(3,"span",9),u.Kc(4),u.ic(5,"number"),u.Ub(),u.Ub()),2&t){const t=u.hc(2);u.Db(4),u.Lc(u.jc(5,1,null==t.quote?null:t.quote.prepay_amt_sat))}}function I(t,e){1&t&&u.Qb(0,"mat-divider",12)}function P(t,e){if(1&t&&(u.Vb(0,"div",6),u.Vb(1,"div",18),u.Vb(2,"h4",8),u.Kc(3,"Swap Server Node Pubkey"),u.Ub(),u.Vb(4,"span",9),u.Kc(5),u.Ub(),u.Ub(),u.Ub()),2&t){const t=u.hc(2);u.Db(5),u.Lc(null==t.quote?null:t.quote.swap_payment_dest)}}function T(t,e){if(1&t&&(u.Vb(0,"div",5),u.Vb(1,"div",6),u.Vb(2,"div",7),u.Vb(3,"h4",8),u.Kc(4,"Swap Fee (Sats)"),u.Ub(),u.Vb(5,"span",9),u.Kc(6),u.ic(7,"number"),u.Ub(),u.Ub(),u.Vb(8,"div",10),u.Vb(9,"h4",8),u.Kc(10),u.Ub(),u.Vb(11,"span",9),u.Kc(12),u.ic(13,"number"),u.Ub(),u.Ub(),u.Ic(14,D,6,3,"div",11),u.Ub(),u.Qb(15,"mat-divider",12),u.Vb(16,"div",6),u.Vb(17,"div",13),u.Vb(18,"h4",8),u.Kc(19,"Max Off-chain Swap Routing Fee (Sats)"),u.Ub(),u.Vb(20,"span",9),u.Kc(21),u.ic(22,"number"),u.Ub(),u.Ub(),u.Vb(23,"div",14),u.Vb(24,"h4",8),u.Kc(25,"Max Off-chain Prepay Routing Fee (Sats)"),u.Ub(),u.Vb(26,"span",9),u.Kc(27,"36"),u.Ub(),u.Ub(),u.Ub(),u.Ic(28,I,1,0,"mat-divider",15),u.Ic(29,P,6,1,"div",16),u.Ub()),2&t){const t=u.hc();u.Db(2),u.oc("fxFlex",null!=t.quote&&t.quote.prepay_amt_sat?"30":"50"),u.Db(4),u.Lc(u.jc(7,9,null==t.quote?null:t.quote.swap_fee_sat)),u.Db(2),u.oc("fxFlex",null!=t.quote&&t.quote.prepay_amt_sat?"30":"50"),u.Db(2),u.Lc(null!=t.quote&&t.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=t.quote&&t.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""),u.Db(2),u.Lc(u.jc(13,11,null!=t.quote&&t.quote.htlc_sweep_fee_sat?t.quote.htlc_sweep_fee_sat:null!=t.quote&&t.quote.htlc_publish_fee_sat?t.quote.htlc_publish_fee_sat:0)),u.Db(2),u.oc("ngIf",null==t.quote?null:t.quote.prepay_amt_sat),u.Db(7),u.Lc(u.jc(22,13,(null==t.quote?null:t.quote.amount)*((null!=t.quote&&t.quote.off_chain_swap_routing_fee_percentage?null==t.quote?null:t.quote.off_chain_swap_routing_fee_percentage:2)/100))),u.Db(7),u.oc("ngIf",""!==(null==t.quote?null:t.quote.swap_payment_dest)),u.Db(1),u.oc("ngIf",""!==(null==t.quote?null:t.quote.swap_payment_dest))}}let R=(()=>{class t{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=u.Jb({type:t,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},decls:5,vars:1,consts:[[4,"ngTemplateOutlet"],["informationBlock",""],["quoteDetailsBlock",""],["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded","ngClass"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["matTooltip","Estimated fee charged by the loop server for the swap",3,"fxFlex"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],["matTooltip","An estimate of the on-chain fee that needs to be paid to sweep the HTLC",3,"fxFlex"],["fxFlex","40","matTooltip","The part of the swap fee that is requested as a prepayment",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","50","matTooltip","Maximum off-chain fee that may be paid for routing the payment amount to the server"],["fxFlex","50","matTooltip","Maximum off-chain fee that may be paid for routing the pre-payment amount to the server"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxFlex","40","matTooltip","The part of the swap fee that is requested as a prepayment"],["fxFlex","100","matTooltip","The node pubkey, where the swap payments will be sent"]],template:function(t,e){if(1&t&&(u.Ic(0,A,1,0,"ng-container",0),u.Ic(1,L,7,9,"ng-template",null,1,u.Jc),u.Ic(3,T,30,15,"ng-template",null,2,u.Jc)),2&t){const t=u.wc(2),n=u.wc(4);u.oc("ngTemplateOutlet",e.showPanel?t:n)}},directives:[p.t,C.c,y.a,p.m,x.a,C.e,C.f,y.b,y.c,S.a,p.o,O.a],pipes:[p.f],styles:[""]}),t})();var M=n("Q2Ze"),j=n("e6WT"),F=n("O4ig"),N=n("jMqV"),U=n("Tj54"),V=n("zQhy"),B=n("BTe0");function z(t,e){1&t&&u.Rb(0)}function H(t,e){if(1&t&&(u.Vb(0,"div",3),u.Vb(1,"span",4),u.Kc(2),u.Ub(),u.Ub()),2&t){const t=u.hc();u.Db(2),u.Lc("Error: "+(null!=t.loopStatus&&null!=t.loopStatus.error&&null!=t.loopStatus.error.error&&null!=t.loopStatus.error.error.error&&t.loopStatus.error.error.error.error?t.loopStatus.error.error.error.error:null!=t.loopStatus&&null!=t.loopStatus.error&&null!=t.loopStatus.error.error&&t.loopStatus.error.error.error?t.loopStatus.error.error.error:null!=t.loopStatus&&null!=t.loopStatus.error&&t.loopStatus.error.error?t.loopStatus.error.error:null!=t.loopStatus&&t.loopStatus.error?t.loopStatus.error:"Unknown"))}}function W(t,e){if(1&t&&(u.Vb(0,"div",3),u.Vb(1,"div",5),u.Vb(2,"div",6),u.Vb(3,"h4",7),u.Kc(4,"ID"),u.Ub(),u.Vb(5,"span",4),u.Kc(6),u.Ub(),u.Ub(),u.Ub(),u.Qb(7,"mat-divider",8),u.Vb(8,"div",5),u.Vb(9,"div",6),u.Vb(10,"h4",7),u.Kc(11,"HTLC Address"),u.Ub(),u.Vb(12,"span",4),u.Kc(13),u.Ub(),u.Ub(),u.Ub(),u.Ub()),2&t){const t=u.hc();u.Db(6),u.Lc(null==t.loopStatus?null:t.loopStatus.id_bytes),u.Db(7),u.Lc(null==t.loopStatus?null:t.loopStatus.htlc_address)}}let Q=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=u.Jb({type:t,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},decls:5,vars:1,consts:[[4,"ngTemplateOutlet"],["loopFailedBlock",""],["loopSuccessfulBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(t,e){if(1&t&&(u.Ic(0,z,1,0,"ng-container",0),u.Ic(1,H,3,1,"ng-template",null,1,u.Jc),u.Ic(3,W,14,2,"ng-template",null,2,u.Jc)),2&t){const t=u.wc(2),n=u.wc(4);u.oc("ngTemplateOutlet",null!=e.loopStatus&&e.loopStatus.error?t:n)}},directives:[p.t,y.c,y.a,y.b,O.a],styles:[""]}),t})();var K=n("9wfV");function q(t,e){1&t&&u.Rb(0)}const Y=function(t,e){return{"small-svg":t,"large-svg":e}};function G(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",7),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"g",8),u.Vb(5,"g",9),u.Vb(6,"g",10),u.Vb(7,"g",11),u.Qb(8,"circle",12),u.Qb(9,"path",13),u.Ub(),u.Vb(10,"g",14),u.Qb(11,"ellipse",15),u.Qb(12,"ellipse",16),u.Qb(13,"rect",17),u.Qb(14,"rect",18),u.Qb(15,"rect",19),u.Qb(16,"rect",20),u.Qb(17,"rect",21),u.Qb(18,"rect",22),u.Qb(19,"rect",23),u.Qb(20,"rect",24),u.Qb(21,"rect",25),u.Qb(22,"rect",26),u.Qb(23,"rect",27),u.Qb(24,"rect",28),u.Qb(25,"rect",29),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(26,"div",30),u.Vb(27,"mat-card-title"),u.Kc(28,"Loop Out explained."),u.Ub(),u.Ub(),u.Vb(29,"div",31),u.Vb(30,"mat-card-subtitle",32),u.Kc(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,Y,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function Z(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",33),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"defs"),u.Vb(5,"linearGradient",34),u.Qb(6,"stop",35),u.Qb(7,"stop",36),u.Qb(8,"stop",37),u.Ub(),u.Ub(),u.Vb(9,"g",8),u.Vb(10,"g",38),u.Vb(11,"g",39),u.Vb(12,"g",40),u.Vb(13,"g",41),u.Vb(14,"g",42),u.Qb(15,"rect",43),u.Qb(16,"rect",44),u.Qb(17,"rect",45),u.Qb(18,"circle",46),u.Qb(19,"rect",47),u.Qb(20,"rect",48),u.Qb(21,"circle",49),u.Qb(22,"rect",50),u.Qb(23,"rect",51),u.Qb(24,"rect",52),u.Qb(25,"rect",53),u.Qb(26,"circle",54),u.Qb(27,"circle",55),u.Ub(),u.Vb(28,"g",56),u.Qb(29,"path",57),u.Qb(30,"rect",58),u.Qb(31,"polygon",59),u.Qb(32,"circle",60),u.Qb(33,"path",61),u.Qb(34,"rect",62),u.Qb(35,"rect",63),u.Qb(36,"rect",64),u.Qb(37,"rect",65),u.Qb(38,"rect",66),u.Qb(39,"rect",67),u.Qb(40,"rect",68),u.Qb(41,"path",69),u.Qb(42,"path",70),u.Ub(),u.Qb(43,"path",71),u.Ub(),u.Ub(),u.Qb(44,"circle",72),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(45,"div",30),u.Vb(46,"mat-card-title"),u.Kc(47,"Step 1: Deciding to Loop Out"),u.Ub(),u.Ub(),u.Vb(48,"div",31),u.Vb(49,"mat-card-subtitle",32),u.Kc(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,Y,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function X(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",73),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"defs"),u.Vb(5,"linearGradient",74),u.Qb(6,"stop",35),u.Qb(7,"stop",36),u.Qb(8,"stop",37),u.Ub(),u.Ub(),u.Vb(9,"g",8),u.Vb(10,"g",75),u.Vb(11,"g",76),u.Qb(12,"circle",77),u.Qb(13,"path",78),u.Vb(14,"g",79),u.Qb(15,"polygon",80),u.Qb(16,"polygon",81),u.Qb(17,"path",82),u.Ub(),u.Vb(18,"g",83),u.Qb(19,"polygon",84),u.Qb(20,"path",85),u.Qb(21,"rect",86),u.Qb(22,"path",87),u.Qb(23,"rect",88),u.Qb(24,"rect",89),u.Qb(25,"rect",90),u.Qb(26,"rect",91),u.Qb(27,"circle",92),u.Qb(28,"path",93),u.Vb(29,"g",94),u.Vb(30,"g",95),u.Qb(31,"g",96),u.Ub(),u.Qb(32,"g",97),u.Ub(),u.Qb(33,"path",98),u.Ub(),u.Vb(34,"g",99),u.Vb(35,"g",41),u.Vb(36,"g",42),u.Qb(37,"rect",43),u.Qb(38,"rect",44),u.Qb(39,"rect",45),u.Qb(40,"circle",46),u.Qb(41,"rect",47),u.Qb(42,"rect",48),u.Qb(43,"circle",49),u.Qb(44,"rect",50),u.Qb(45,"rect",51),u.Qb(46,"rect",52),u.Qb(47,"rect",53),u.Qb(48,"circle",100),u.Qb(49,"circle",54),u.Qb(50,"circle",55),u.Qb(51,"circle",101),u.Ub(),u.Vb(52,"g",56),u.Qb(53,"path",57),u.Qb(54,"rect",102),u.Qb(55,"polygon",103),u.Qb(56,"circle",104),u.Qb(57,"path",61),u.Qb(58,"rect",105),u.Qb(59,"rect",106),u.Qb(60,"rect",107),u.Qb(61,"rect",108),u.Qb(62,"rect",109),u.Qb(63,"rect",110),u.Qb(64,"rect",68),u.Qb(65,"path",69),u.Qb(66,"path",70),u.Ub(),u.Qb(67,"path",111),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(68,"div",30),u.Vb(69,"mat-card-title"),u.Kc(70,"Step 2: Send lightning payment"),u.Ub(),u.Ub(),u.Vb(71,"div",31),u.Vb(72,"mat-card-subtitle",32),u.Kc(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,Y,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function J(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",112),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"g",8),u.Vb(5,"g",113),u.Vb(6,"g",114),u.Vb(7,"g",115),u.Vb(8,"g",116),u.Qb(9,"circle",12),u.Qb(10,"path",117),u.Ub(),u.Vb(11,"g",14),u.Qb(12,"ellipse",118),u.Qb(13,"ellipse",16),u.Qb(14,"rect",17),u.Qb(15,"rect",18),u.Qb(16,"rect",19),u.Qb(17,"rect",20),u.Qb(18,"rect",21),u.Qb(19,"rect",22),u.Qb(20,"rect",23),u.Qb(21,"rect",24),u.Qb(22,"rect",25),u.Qb(23,"rect",26),u.Qb(24,"rect",27),u.Qb(25,"rect",28),u.Qb(26,"rect",29),u.Ub(),u.Ub(),u.Vb(27,"g",119),u.Qb(28,"polygon",80),u.Qb(29,"polygon",120),u.Qb(30,"path",82),u.Ub(),u.Vb(31,"g",121),u.Qb(32,"polygon",84),u.Qb(33,"path",85),u.Qb(34,"rect",86),u.Qb(35,"path",87),u.Qb(36,"rect",88),u.Qb(37,"rect",89),u.Qb(38,"rect",90),u.Qb(39,"rect",91),u.Qb(40,"circle",122),u.Qb(41,"path",93),u.Vb(42,"g",94),u.Vb(43,"g",95),u.Qb(44,"g",96),u.Ub(),u.Qb(45,"g",97),u.Ub(),u.Qb(46,"path",123),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(47,"div",30),u.Vb(48,"mat-card-title"),u.Kc(49,"Step 3: Receive funds back"),u.Ub(),u.Ub(),u.Vb(50,"div",31),u.Vb(51,"mat-card-subtitle",32),u.Kc(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,Y,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function $(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",124),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"defs"),u.Vb(5,"linearGradient",34),u.Qb(6,"stop",35),u.Qb(7,"stop",36),u.Qb(8,"stop",37),u.Ub(),u.Ub(),u.Vb(9,"g",8),u.Vb(10,"g",125),u.Vb(11,"g",126),u.Vb(12,"g",42),u.Qb(13,"rect",127),u.Qb(14,"rect",128),u.Qb(15,"rect",129),u.Qb(16,"circle",130),u.Qb(17,"rect",131),u.Qb(18,"rect",132),u.Qb(19,"circle",133),u.Qb(20,"rect",134),u.Qb(21,"rect",135),u.Qb(22,"rect",136),u.Qb(23,"rect",137),u.Qb(24,"rect",138),u.Qb(25,"circle",139),u.Qb(26,"circle",140),u.Qb(27,"circle",141),u.Ub(),u.Vb(28,"g",142),u.Vb(29,"g",143),u.Vb(30,"g",144),u.Qb(31,"path",145),u.Qb(32,"rect",146),u.Qb(33,"polygon",147),u.Vb(34,"g",148),u.Qb(35,"path",149),u.Ub(),u.Qb(36,"rect",150),u.Qb(37,"rect",151),u.Qb(38,"rect",152),u.Qb(39,"rect",153),u.Qb(40,"rect",154),u.Qb(41,"rect",155),u.Qb(42,"rect",156),u.Qb(43,"path",157),u.Qb(44,"path",158),u.Ub(),u.Vb(45,"g",159),u.Qb(46,"path",160),u.Qb(47,"path",161),u.Qb(48,"path",162),u.Qb(49,"path",163),u.Qb(50,"path",164),u.Qb(51,"path",165),u.Qb(52,"path",166),u.Qb(53,"path",167),u.Qb(54,"path",168),u.Qb(55,"path",169),u.Qb(56,"path",170),u.Qb(57,"circle",171),u.Qb(58,"circle",172),u.Ub(),u.Qb(59,"path",173),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(60,"div",30),u.Vb(61,"mat-card-title"),u.Kc(62,"Done!"),u.Ub(),u.Ub(),u.Vb(63,"div",31),u.Vb(64,"mat-card-subtitle",32),u.Kc(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,Y,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}let tt=(()=>{class t{constructor(t){this.commonService=t,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.o,this.screenSize="",this.screenSizeEnum=l.s}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(t){2===t.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===t.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(g.a))},t.\u0275cmp=u.Jb({type:t,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopOut_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopOut_Step02","transform","translate(-540.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(540.000000, 210.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["fxFlex","30","viewBox","0 0 373 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","LoopOut_Step03","transform","translate(-460.000000, -210.000000)"],["id","Loop_Step03","transform","translate(460.000000, 210.000000)"],["id","Oval","fill-rule","nonzero","cx","330.487742","cy","57.4877419","r","42.4877419",1,"fill-color-2"],["d","M345.082742,43.5000036 C349.446821,43.5000036 352.999928,40.1343958 352.999928,36.0000215 C352.999928,31.8656472 349.446821,28.5000393 345.082742,28.5000393 C341.98433,28.5000393 339.560889,30.4359631 337.999964,32.1843872 C336.43904,30.4359631 334.015599,28.5000393 330.917187,28.5000393 C326.553107,28.5000393 323,31.8656472 323,36.0000215 C323,40.1343958 326.553107,43.5000036 330.917187,43.5000036 C334.015599,43.5000036 336.43904,41.5640798 337.999964,39.8156557 C339.560889,41.5640798 341.98433,43.5000036 345.082742,43.5000036 Z M330.917187,39.0000143 C329.032807,39.0000143 327.499989,37.6546959 327.499989,36.0000286 C327.499989,34.3453471 329.032807,33.0000286 330.917187,33.0000286 C332.707771,33.0000286 334.357776,34.6921938 335.323426,36.0000286 C334.36716,37.2937501 332.703102,39.0000143 330.917187,39.0000143 Z M345.082742,39.0000143 C343.292157,39.0000143 341.642152,37.3078492 340.676502,36.0000286 C341.632768,34.7062929 343.296827,33.0000286 345.082742,33.0000286 C346.967121,33.0000286 348.499939,34.3453471 348.499939,36.0000286 C348.499939,37.6546959 346.967121,39.0000143 345.082742,39.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(113.000000, 79.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-22"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(265.000000, 50.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-3"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["d","M46.60483,51.432122 C46.8713708,51.432122 47.1252368,51.2924832 47.2648756,51.0513229 L52.8499289,41.4044125 C53.145042,40.8998413 52.7801095,40.2620153 52.1930443,40.2620153 L48.5310139,40.2620153 L49.8828693,36.1430446 C50.0098023,35.6606929 49.6448699,35.184694 49.1466515,35.184694 L44.5770624,35.184694 C44.1962633,35.184694 43.8725779,35.4671324 43.8218171,35.8447396 L42.8063528,43.4607214 C42.7460473,43.9176927 43.1014659,44.3238722 43.5615982,44.3238722 L47.3283421,44.3238722 L45.8654203,50.4959909 C45.751193,50.9783426 46.1192864,51.432122 46.60483,51.432122 Z","id","b","fill-rule","nonzero","transform","translate(47.877046, 43.308408) rotate(14.000000) translate(-47.877046, -43.308408) ",1,"fill-color-12"],["id","Group-34","fill-rule","nonzero"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","17.5648113","r","8.78679245"],["id","Oval","cx","76.317438","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-8"],["id","Path","opacity","0.222721354","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-18"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-8"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-14"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step04","transform","translate(-503.000000, -212.000000)"],["id","Loop_Step04","transform","translate(503.000000, 212.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M46.519593,50.6740439 L46.519593,48.5460252 C46.9395628,48.5560039 47.349554,48.5560039 47.739557,48.5560039 L47.739557,50.6740439 L49.2794877,50.6740439 L49.2794877,48.5160274 C51.8593644,48.3760168 53.5840235,47.7260428 53.8140277,45.2961554 C53.9939838,43.3462645 53.0739982,42.476265 51.6140824,42.1263004 C52.4940295,41.6763328 53.054041,40.8763386 52.92404,39.5463928 C52.7540005,37.7264719 51.2593765,37.1164744 49.2794567,36.9465279 L49.2794567,34.4266159 L47.739526,34.4266159 L47.739526,36.8765226 C47.3395134,36.8765226 46.9295222,36.8865012 46.519562,36.8965108 L46.519562,34.4266159 L44.9796003,34.4266159 L44.9796003,36.9465279 C44.413422,36.9636341 43.7539962,36.9552669 41.8897293,36.9465279 L41.8897293,38.5864308 C43.1055717,38.564924 43.7434908,38.4867995 43.8896683,39.2663716 L43.8896683,46.1661239 C43.7968547,46.7846435 43.3018283,46.6955796 42.1997174,46.6760872 L41.8897293,48.5060178 C44.6975648,48.5060178 44.9796313,48.5160274 44.9796313,48.5160274 L44.9796313,50.6740439 L46.519593,50.6740439 Z M46.5495908,41.7662953 L46.5495908,38.6964125 C47.4195593,38.6964125 50.1394466,38.4264629 50.1394466,40.2363742 C50.1394466,41.9663016 47.4195903,41.7662953 46.5495908,41.7662953 Z M46.5495908,46.6860969 L46.5495908,43.306257 C47.5895368,43.306257 50.7741427,43.0162572 50.7741427,44.9962079 C50.7741427,46.9060914 47.5895368,46.6860969 46.5495908,46.6860969 Z","id","B","fill-rule","nonzero","transform","translate(47.863077, 42.550330) rotate(14.000000) translate(-47.863077, -42.550330) ",1,"fill-color-29"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step05","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step05","transform","translate(542.000000, 210.000000)"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"]],template:function(t,e){if(1&t&&(u.Ic(0,q,1,0,"ng-container",0),u.Ic(1,G,32,5,"ng-template",null,1,u.Jc),u.Ic(3,Z,51,5,"ng-template",null,2,u.Jc),u.Ic(5,X,74,5,"ng-template",null,3,u.Jc),u.Ic(7,J,53,5,"ng-template",null,4,u.Jc),u.Ic(9,$,66,5,"ng-template",null,5,u.Jc)),2&t){const t=u.wc(2),n=u.wc(4),i=u.wc(6),r=u.wc(8),s=u.wc(10);u.oc("ngTemplateOutlet",1===e.stepNumber?t:2===e.stepNumber?n:3===e.stepNumber?i:4===e.stepNumber?r:s)}},directives:[p.t,y.c,y.a,y.b,p.m,x.a,v.f,v.e],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[K.a]}}),t})();function et(t,e){1&t&&u.Rb(0)}const nt=function(t,e){return{"small-svg":t,"large-svg":e}};function it(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",7),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"g",8),u.Vb(5,"g",9),u.Vb(6,"g",10),u.Vb(7,"g",11),u.Qb(8,"circle",12),u.Qb(9,"path",13),u.Ub(),u.Vb(10,"g",14),u.Qb(11,"ellipse",15),u.Qb(12,"ellipse",16),u.Qb(13,"rect",17),u.Qb(14,"rect",18),u.Qb(15,"rect",19),u.Qb(16,"rect",20),u.Qb(17,"rect",21),u.Qb(18,"rect",22),u.Qb(19,"rect",23),u.Qb(20,"rect",24),u.Qb(21,"rect",25),u.Qb(22,"rect",26),u.Qb(23,"rect",27),u.Qb(24,"rect",28),u.Qb(25,"rect",29),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(26,"div",30),u.Vb(27,"mat-card-title"),u.Kc(28,"Loop In explained."),u.Ub(),u.Ub(),u.Vb(29,"div",31),u.Vb(30,"mat-card-subtitle",32),u.Kc(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,nt,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function rt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",33),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"defs"),u.Vb(5,"linearGradient",34),u.Qb(6,"stop",35),u.Qb(7,"stop",36),u.Qb(8,"stop",37),u.Ub(),u.Ub(),u.Vb(9,"g",8),u.Vb(10,"g",38),u.Vb(11,"g",39),u.Vb(12,"g",40),u.Qb(13,"rect",41),u.Qb(14,"rect",42),u.Qb(15,"rect",43),u.Qb(16,"circle",44),u.Qb(17,"rect",45),u.Qb(18,"rect",46),u.Qb(19,"circle",47),u.Qb(20,"rect",48),u.Qb(21,"rect",49),u.Qb(22,"rect",50),u.Qb(23,"rect",51),u.Qb(24,"rect",52),u.Qb(25,"circle",53),u.Qb(26,"circle",54),u.Qb(27,"circle",55),u.Ub(),u.Vb(28,"g",56),u.Vb(29,"g",57),u.Vb(30,"g",58),u.Qb(31,"path",59),u.Qb(32,"rect",60),u.Qb(33,"polygon",61),u.Vb(34,"g",62),u.Qb(35,"path",63),u.Ub(),u.Qb(36,"rect",64),u.Qb(37,"rect",65),u.Qb(38,"rect",66),u.Qb(39,"rect",67),u.Qb(40,"rect",68),u.Qb(41,"rect",69),u.Qb(42,"rect",70),u.Qb(43,"path",71),u.Qb(44,"path",72),u.Ub(),u.Vb(45,"g",73),u.Qb(46,"path",74),u.Qb(47,"path",75),u.Qb(48,"path",76),u.Qb(49,"path",77),u.Qb(50,"path",78),u.Qb(51,"path",79),u.Qb(52,"path",80),u.Qb(53,"path",81),u.Qb(54,"path",82),u.Qb(55,"path",83),u.Qb(56,"path",84),u.Qb(57,"circle",85),u.Qb(58,"circle",86),u.Ub(),u.Qb(59,"path",87),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(60,"div",30),u.Vb(61,"mat-card-title"),u.Kc(62,"Step 1: Deciding to Loop In"),u.Ub(),u.Ub(),u.Vb(63,"div",31),u.Vb(64,"mat-card-subtitle",32),u.Kc(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,nt,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function st(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",88),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"defs"),u.Vb(5,"linearGradient",89),u.Qb(6,"stop",35),u.Qb(7,"stop",36),u.Qb(8,"stop",37),u.Ub(),u.Ub(),u.Vb(9,"g",90),u.Vb(10,"g",91),u.Vb(11,"g",92),u.Vb(12,"g",93),u.Vb(13,"g",94),u.Qb(14,"circle",95),u.Qb(15,"path",96),u.Vb(16,"g",97),u.Qb(17,"polygon",98),u.Qb(18,"polygon",99),u.Qb(19,"path",100),u.Ub(),u.Vb(20,"g",101),u.Qb(21,"polygon",102),u.Qb(22,"path",103),u.Qb(23,"rect",104),u.Qb(24,"path",105),u.Qb(25,"rect",106),u.Qb(26,"rect",107),u.Qb(27,"rect",108),u.Qb(28,"rect",109),u.Qb(29,"circle",110),u.Qb(30,"path",111),u.Vb(31,"g",112),u.Vb(32,"g",113),u.Qb(33,"g",114),u.Ub(),u.Qb(34,"g",115),u.Ub(),u.Ub(),u.Ub(),u.Vb(35,"g",116),u.Vb(36,"g",40),u.Qb(37,"rect",117),u.Qb(38,"rect",42),u.Qb(39,"rect",43),u.Qb(40,"circle",118),u.Qb(41,"rect",45),u.Qb(42,"rect",46),u.Qb(43,"circle",119),u.Qb(44,"rect",48),u.Qb(45,"rect",49),u.Qb(46,"rect",50),u.Qb(47,"rect",51),u.Qb(48,"rect",52),u.Qb(49,"circle",120),u.Qb(50,"circle",54),u.Qb(51,"circle",55),u.Qb(52,"circle",121),u.Ub(),u.Vb(53,"g",56),u.Vb(54,"g",57),u.Vb(55,"g",58),u.Qb(56,"path",59),u.Qb(57,"rect",60),u.Qb(58,"polygon",61),u.Vb(59,"g",122),u.Qb(60,"path",63),u.Ub(),u.Qb(61,"rect",123),u.Qb(62,"rect",124),u.Qb(63,"rect",125),u.Qb(64,"rect",126),u.Qb(65,"rect",127),u.Qb(66,"rect",128),u.Qb(67,"rect",129),u.Qb(68,"path",130),u.Qb(69,"path",72),u.Ub(),u.Vb(70,"g",73),u.Qb(71,"path",131),u.Qb(72,"path",132),u.Qb(73,"path",133),u.Qb(74,"path",134),u.Qb(75,"path",135),u.Qb(76,"path",136),u.Qb(77,"path",80),u.Qb(78,"path",81),u.Qb(79,"path",137),u.Qb(80,"path",83),u.Qb(81,"path",138),u.Qb(82,"circle",85),u.Qb(83,"circle",86),u.Ub(),u.Qb(84,"path",139),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Qb(85,"path",140),u.Qb(86,"path",141),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(87,"div",30),u.Vb(88,"mat-card-title"),u.Kc(89,"Step 2: Send payment out"),u.Ub(),u.Ub(),u.Vb(90,"div",31),u.Vb(91,"mat-card-subtitle",32),u.Kc(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,nt,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function ot(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",142),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"g",90),u.Vb(5,"g",143),u.Vb(6,"g",144),u.Vb(7,"g"),u.Vb(8,"g",145),u.Vb(9,"g",146),u.Qb(10,"circle",12),u.Qb(11,"path",147),u.Ub(),u.Vb(12,"g",14),u.Qb(13,"ellipse",148),u.Qb(14,"ellipse",16),u.Qb(15,"rect",17),u.Qb(16,"rect",18),u.Qb(17,"rect",19),u.Qb(18,"rect",20),u.Qb(19,"rect",21),u.Qb(20,"rect",22),u.Qb(21,"rect",23),u.Qb(22,"rect",24),u.Qb(23,"rect",25),u.Qb(24,"rect",26),u.Qb(25,"rect",27),u.Qb(26,"rect",28),u.Qb(27,"rect",29),u.Ub(),u.Ub(),u.Vb(28,"g",149),u.Qb(29,"polygon",150),u.Qb(30,"polygon",99),u.Qb(31,"path",151),u.Ub(),u.Vb(32,"g",152),u.Qb(33,"polygon",102),u.Qb(34,"path",103),u.Qb(35,"rect",104),u.Qb(36,"path",105),u.Qb(37,"rect",106),u.Qb(38,"rect",107),u.Qb(39,"rect",108),u.Qb(40,"rect",109),u.Qb(41,"circle",110),u.Qb(42,"path",111),u.Vb(43,"g",112),u.Vb(44,"g",113),u.Qb(45,"g",114),u.Ub(),u.Qb(46,"g",115),u.Ub(),u.Ub(),u.Ub(),u.Qb(47,"path",153),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(48,"div",30),u.Vb(49,"mat-card-title"),u.Kc(50,"Step 3: Recieve Funds Off-chain"),u.Ub(),u.Ub(),u.Vb(51,"div",31),u.Vb(52,"mat-card-subtitle",32),u.Kc(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,nt,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function at(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",6),u.dc("swipe",function(e){return u.zc(t),u.hc().onSwipe(e)}),u.gc(),u.Vb(1,"svg",154),u.Vb(2,"desc"),u.Kc(3,"Created with Sketch."),u.Ub(),u.Vb(4,"defs"),u.Vb(5,"linearGradient",34),u.Qb(6,"stop",35),u.Qb(7,"stop",36),u.Qb(8,"stop",37),u.Ub(),u.Ub(),u.Vb(9,"g",90),u.Vb(10,"g",155),u.Vb(11,"g",156),u.Vb(12,"g",157),u.Vb(13,"g",158),u.Vb(14,"g",40),u.Qb(15,"rect",159),u.Qb(16,"rect",160),u.Qb(17,"rect",161),u.Qb(18,"circle",162),u.Qb(19,"rect",163),u.Qb(20,"rect",164),u.Qb(21,"circle",165),u.Qb(22,"rect",166),u.Qb(23,"rect",167),u.Qb(24,"rect",168),u.Qb(25,"rect",169),u.Qb(26,"circle",170),u.Qb(27,"circle",171),u.Ub(),u.Vb(28,"g",172),u.Qb(29,"path",173),u.Qb(30,"rect",174),u.Qb(31,"polygon",175),u.Qb(32,"circle",176),u.Qb(33,"path",177),u.Qb(34,"rect",178),u.Qb(35,"rect",179),u.Qb(36,"rect",180),u.Qb(37,"rect",181),u.Qb(38,"rect",182),u.Qb(39,"rect",183),u.Qb(40,"rect",184),u.Qb(41,"path",185),u.Qb(42,"path",186),u.Ub(),u.Qb(43,"path",187),u.Ub(),u.Ub(),u.Qb(44,"circle",188),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.fc(),u.Vb(45,"div",30),u.Vb(46,"mat-card-title"),u.Kc(47,"Done!"),u.Ub(),u.Ub(),u.Vb(48,"div",31),u.Vb(49,"mat-card-subtitle",32),u.Kc(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@sliderAnimation",t.animationDirection),u.Db(1),u.oc("ngClass",u.tc(2,nt,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}let ct=(()=>{class t{constructor(t){this.commonService=t,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new u.o,this.screenSize="",this.screenSizeEnum=l.s}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(t){2===t.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===t.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(g.a))},t.\u0275cmp=u.Jb({type:t,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopIn_Step02","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(542.000000, 210.000000)"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"],["fxFlex","30","viewBox","0 0 364 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","Loopv0.3","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step03","transform","translate(-1127.000000, -164.000000)"],["id","LoopIn_Step03","transform","translate(1127.000000, 164.000000)"],["id","Group-21"],["id","Group-35","transform","translate(107.000000, 10.000000)"],["id","Oval","fill-rule","nonzero","cx","214.487742","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M232.082742,28.5000036 C236.446821,28.5000036 239.999928,25.1343958 239.999928,21.0000215 C239.999928,16.8656472 236.446821,13.5000393 232.082742,13.5000393 C228.98433,13.5000393 226.560889,15.4359631 224.999964,17.1843872 C223.43904,15.4359631 221.015599,13.5000393 217.917187,13.5000393 C213.553107,13.5000393 210,16.8656472 210,21.0000215 C210,25.1343958 213.553107,28.5000036 217.917187,28.5000036 C221.015599,28.5000036 223.43904,26.5640798 224.999964,24.8156557 C226.560889,26.5640798 228.98433,28.5000036 232.082742,28.5000036 Z M217.917187,24.0000143 C216.032807,24.0000143 214.499989,22.6546959 214.499989,21.0000286 C214.499989,19.3453471 216.032807,18.0000286 217.917187,18.0000286 C219.707771,18.0000286 221.357776,19.6921938 222.323426,21.0000286 C221.36716,22.2937501 219.703102,24.0000143 217.917187,24.0000143 Z M232.082742,24.0000143 C230.292157,24.0000143 228.642152,22.3078492 227.676502,21.0000286 C228.632768,19.7062929 230.296827,18.0000286 232.082742,18.0000286 C233.967121,18.0000286 235.499939,19.3453471 235.499939,21.0000286 C235.499939,22.6546959 233.967121,24.0000143 232.082742,24.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(0.000000, 64.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-20"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-20"],["id","Group-43","transform","translate(152.000000, 35.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["id","LoopIn_Step03","fill-rule","nonzero"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-10"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","15.8607624","r","7.93434243"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.35996418",1,"fill-color-31"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-4"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-20"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-20"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-16"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-9"],["d","M93.2292414,91.9116485 L93.2292414,89.7922708 C93.647506,89.8022089 94.0558324,89.8022089 94.4442517,89.8022089 L94.4442517,91.9116485 L95.9779294,91.9116485 L95.9779294,89.7623948 C98.5473303,89.6229527 100.264986,88.975618 100.494057,86.5555973 C100.673282,84.6136241 99.757032,83.7471573 98.3030443,83.3986138 C99.1794183,82.9504733 99.7371558,82.1537275 99.6076827,80.8291821 C99.4383337,79.0166511 97.9497787,78.4091306 95.9778985,78.2398742 L95.9778985,75.7301945 L94.4442208,75.7301945 L94.4442208,78.1701531 C94.0458325,78.1701531 93.6375061,78.1800912 93.2292106,78.1900602 L93.2292106,75.7301945 L91.695502,75.7301945 L91.695502,78.2398742 C91.1316227,78.2569109 90.4748746,78.2485777 88.6181777,78.2398742 L88.6181777,79.8731181 C89.8290831,79.8516987 90.4644118,79.7738914 90.6099957,80.5502979 L90.6099957,87.4220333 C90.517559,88.0380413 90.0245427,87.9493391 88.926907,87.9299259 L88.6181777,89.7524258 L89.5798445,89.7528809 C91.4824304,89.7548325 91.6955329,89.7623948 91.6955329,89.7623948 L91.6955329,91.9116485 L93.2292414,91.9116485 Z M93.2591175,83.0400705 L93.2591175,79.9826533 C94.1255534,79.9826533 96.8343964,79.7137998 96.8343964,81.5163618 C96.8343964,83.2392647 94.1255843,83.0400705 93.2591175,83.0400705 Z M93.2591175,87.9398948 L93.2591175,84.5737791 C94.2948407,84.5737791 97.4665153,84.2849568 97.4665153,86.2568678 C97.4665153,88.1589961 94.2948407,87.9398948 93.2591175,87.9398948 Z","id","b","fill-rule","nonzero","transform","translate(94.567271, 83.820921) rotate(14.000000) translate(-94.567271, -83.820921) ",1,"fill-color-9"],["d","M305.611064,96.181454 L305.611064,94.0620763 C306.029328,94.0720144 306.437655,94.0720144 306.826074,94.0720144 L306.826074,96.181454 L308.359752,96.181454 L308.359752,94.0322003 C310.929153,93.8927582 312.646809,93.2454235 312.875879,90.8254028 C313.055104,88.8834296 312.138854,88.0169628 310.684867,87.6684193 C311.561241,87.2202788 312.118978,86.423533 311.989505,85.0989876 C311.820156,83.2864566 310.331601,82.678936 308.359721,82.5096797 L308.359721,80 L306.826043,80 L306.826043,82.4399586 C306.427655,82.4399586 306.019328,82.4498967 305.611033,82.4598657 L305.611033,80 L304.077324,80 L304.077324,82.5096797 C303.513445,82.5267164 302.856697,82.5183832 301,82.5096797 L301,84.1429236 C302.210905,84.1215042 302.846234,84.0436969 302.991818,84.8201034 L302.991818,91.6918387 C302.899381,92.3078468 302.406365,92.2191446 301.308729,92.1997314 L301,94.0222313 L301.961667,94.0226864 C303.864253,94.024638 304.077355,94.0322003 304.077355,94.0322003 L304.077355,96.181454 L305.611064,96.181454 Z M305.64094,87.309876 L305.64094,84.2524587 C306.507376,84.2524587 309.216219,83.9836053 309.216219,85.7861673 C309.216219,87.5090702 306.507407,87.309876 305.64094,87.309876 Z M305.64094,92.2097003 L305.64094,88.8435846 C306.676663,88.8435846 309.848338,88.5547623 309.848338,90.5266733 C309.848338,92.4288016 306.676663,92.2097003 305.64094,92.2097003 Z","id","b","fill-rule","nonzero","transform","translate(306.949093, 88.090727) rotate(14.000000) translate(-306.949093, -88.090727) ",1,"fill-color-26"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step04","transform","translate(-1799.000000, -756.000000)"],["id","LoopIn_Step04","transform","translate(1799.000000, 756.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["d","M225.805162,92.2474279 C226.071703,92.2474279 226.325569,92.1077892 226.465207,91.8666288 L232.050261,82.2197185 C232.345374,81.7151473 231.980441,81.0773212 231.393376,81.0773212 L227.731346,81.0773212 L229.083201,76.9583506 C229.210134,76.4759989 228.845202,76 228.346983,76 L223.777394,76 C223.396595,76 223.07291,76.2824384 223.022149,76.6600456 L222.006685,84.2760274 C221.946379,84.7329987 222.301798,85.1391782 222.76193,85.1391782 L226.528674,85.1391782 L225.065752,91.3112968 C224.951525,91.7936485 225.319618,92.2474279 225.805162,92.2474279 Z","id","b","fill-rule","nonzero","transform","translate(227.077378, 84.123714) rotate(14.000000) translate(-227.077378, -84.123714) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step05","transform","translate(-2386.000000, -764.000000)","fill-rule","nonzero"],["id","LoopIn_Step05","transform","translate(2386.000000, 764.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"]],template:function(t,e){if(1&t&&(u.Ic(0,et,1,0,"ng-container",0),u.Ic(1,it,32,5,"ng-template",null,1,u.Jc),u.Ic(3,rt,66,5,"ng-template",null,2,u.Jc),u.Ic(5,st,93,5,"ng-template",null,3,u.Jc),u.Ic(7,ot,54,5,"ng-template",null,4,u.Jc),u.Ic(9,at,51,5,"ng-template",null,5,u.Jc)),2&t){const t=u.wc(2),n=u.wc(4),i=u.wc(6),r=u.wc(8),s=u.wc(10);u.oc("ngTemplateOutlet",1===e.stepNumber?t:2===e.stepNumber?n:3===e.stepNumber?i:4===e.stepNumber?r:s)}},directives:[p.t,y.c,y.a,y.b,p.m,x.a,v.f,v.e],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[K.a]}}),t})();const lt=["stepper"];function ht(t,e){if(1&t&&(u.Vb(0,"div",48),u.Vb(1,"p",49),u.Vb(2,"strong"),u.Kc(3,"Channel Peer:\xa0"),u.Ub(),u.Kc(4),u.ic(5,"titlecase"),u.Ub(),u.Vb(6,"p",50),u.Vb(7,"strong"),u.Kc(8,"Channel ID:\xa0"),u.Ub(),u.Kc(9),u.Ub(),u.Qb(10,"p",50),u.Ub()),2&t){const t=u.hc(2);u.Db(4),u.Lc(u.jc(5,2,t.channel.remote_alias)),u.Db(5),u.Lc(t.channel.chan_id)}}function ut(t,e){if(1&t&&u.Kc(0),2&t){const t=u.hc(2);u.Lc(t.inputFormLabel)}}function dt(t,e){1&t&&(u.Vb(0,"mat-error"),u.Kc(1,"Amount is required."),u.Ub())}function ft(t,e){if(1&t&&(u.Vb(0,"mat-error"),u.Kc(1),u.ic(2,"number"),u.Ub()),2&t){const t=u.hc(2);u.Db(1),u.Mc("Amount must be greater than or equal to ",u.jc(2,1,t.minQuote.amount),".")}}function pt(t,e){if(1&t&&(u.Vb(0,"mat-error"),u.Kc(1),u.ic(2,"number"),u.Ub()),2&t){const t=u.hc(2);u.Db(1),u.Mc("Amount must be less than or equal to ",u.jc(2,1,t.maxQuote.amount),".")}}function bt(t,e){1&t&&(u.Vb(0,"mat-error"),u.Kc(1,"Confirmation target is required."),u.Ub())}function mt(t,e){1&t&&(u.Vb(0,"mat-error"),u.Kc(1,"Confirmation target must be a positive number."),u.Ub())}function gt(t,e){1&t&&(u.Vb(0,"mat-error"),u.Kc(1,"Percentage is required."),u.Ub())}function yt(t,e){1&t&&(u.Vb(0,"mat-error"),u.Kc(1,"Percentage must be a positive number."),u.Ub())}function vt(t,e){if(1&t&&(u.Vb(0,"mat-error"),u.Kc(1),u.Ub()),2&t){const t=u.hc(3);u.Db(1),u.Mc("Percentage must be less than or equal to ",t.maxRoutingFeePercentage,".")}}function _t(t,e){if(1&t&&(u.Vb(0,"mat-form-field",50),u.Qb(1,"input",51),u.Ic(2,gt,2,0,"mat-error",25),u.Ic(3,yt,2,0,"mat-error",25),u.Ic(4,vt,2,1,"mat-error",25),u.Ub()),2&t){const t=u.hc(2);u.Db(1),u.oc("step",1),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.routingFeePercent.errors?null:t.inputFormGroup.controls.routingFeePercent.errors.required),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.routingFeePercent.errors?null:t.inputFormGroup.controls.routingFeePercent.errors.min),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.routingFeePercent.errors?null:t.inputFormGroup.controls.routingFeePercent.errors.max)}}function wt(t,e){1&t&&(u.Vb(0,"mat-slide-toggle",52),u.Kc(1,"Fast"),u.Ub())}function Ct(t,e){if(1&t&&u.Kc(0),2&t){const t=u.hc(2);u.Lc(t.quoteFormLabel)}}function xt(t,e){1&t&&(u.Vb(0,"p",53),u.Vb(1,"mat-icon",54),u.Kc(2,"close"),u.Ub(),u.Kc(3,"Local balance amount is insufficient for swap."),u.Ub())}function St(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",55),u.dc("click",function(){return u.zc(t),u.hc(2).onValidateAmount()}),u.Kc(1,"Next"),u.Ub()}}function Ot(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",56),u.dc("click",function(){return u.zc(t),u.hc(2).onLoop()}),u.Kc(1),u.Ub()}if(2&t){const t=u.hc(2);u.Db(1),u.Mc("Initiate ",t.loopDirectionCaption,"")}}function At(t,e){if(1&t&&u.Kc(0),2&t){const t=u.hc(3);u.Lc(t.addressFormLabel)}}function kt(t,e){1&t&&(u.Vb(0,"mat-error"),u.Kc(1,"Address is required."),u.Ub())}function Et(t,e){if(1&t){const t=u.Wb();u.Vb(0,"mat-step",16),u.Vb(1,"form",17),u.Ic(2,At,1,1,"ng-template",18),u.Vb(3,"div",57),u.Vb(4,"mat-radio-group",58),u.dc("change",function(e){return u.zc(t),u.hc(2).onAddressTypeChange(e)}),u.Vb(5,"mat-radio-button",59),u.Kc(6,"Node Local Address"),u.Ub(),u.Vb(7,"mat-radio-button",60),u.Kc(8,"External Address"),u.Ub(),u.Ub(),u.Vb(9,"mat-form-field",61),u.Qb(10,"input",62),u.Ic(11,kt,2,0,"mat-error",25),u.Ub(),u.Ub(),u.Vb(12,"div",29),u.Vb(13,"button",63),u.dc("click",function(){return u.zc(t),u.hc(2).onLoop()}),u.Kc(14),u.Ub(),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc(2);u.oc("stepControl",t.addressFormGroup)("editable",t.flgEditable),u.Db(1),u.oc("formGroup",t.addressFormGroup),u.Db(9),u.oc("required","external"===t.addressFormGroup.controls.addressType.value),u.Db(1),u.oc("ngIf",null==t.addressFormGroup.controls.address.errors?null:t.addressFormGroup.controls.address.errors.required),u.Db(3),u.Mc("Initiate ",t.loopDirectionCaption,"")}}function Lt(t,e){if(1&t&&u.Kc(0),2&t){const t=u.hc(2);u.Mc("",t.loopDirectionCaption," Status")}}function Dt(t,e){if(1&t&&(u.Vb(0,"mat-icon",64),u.Kc(1),u.Ub()),2&t){const t=u.hc(2);u.Db(1),u.Lc(t.loopStatus&&null!=t.loopStatus&&t.loopStatus.id_bytes?"check":"close")}}function It(t,e){1&t&&u.Qb(0,"div")}function Pt(t,e){1&t&&u.Qb(0,"mat-progress-bar",65)}function Tt(t,e){if(1&t&&(u.Vb(0,"h4",66),u.Kc(1),u.Ub()),2&t){const t=u.hc(2);u.Db(1),u.Lc(t.loopStatus&&t.loopStatus.error?t.loopDirectionCaption+" failed.":t.loopStatus&&t.loopStatus.id_bytes&&t.channel?t.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":t.loopDirectionCaption+" request placed successfully.")}}function Rt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",67),u.dc("click",function(){return u.zc(t),u.hc(2).goToLoop()}),u.Kc(1,"Check Status"),u.Ub()}}function Mt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",68),u.dc("click",function(){return u.zc(t),u.hc(2).onRestart()}),u.Kc(1,"Start Again"),u.Ub()}}function jt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",3),u.Vb(1,"div",4),u.Vb(2,"mat-card-header",5),u.Vb(3,"div",6),u.Vb(4,"span",7),u.Kc(5),u.Ub(),u.Ub(),u.Vb(6,"div",8),u.Vb(7,"button",9),u.dc("click",function(){return u.zc(t),u.hc().showInfo()}),u.Kc(8,"?"),u.Ub(),u.Vb(9,"button",10),u.dc("click",function(){return u.zc(t),u.hc().onClose()}),u.Kc(10,"X"),u.Ub(),u.Ub(),u.Ub(),u.Vb(11,"mat-card-content",11),u.Vb(12,"div",12),u.Ic(13,ht,11,4,"div",13),u.Vb(14,"mat-vertical-stepper",14,15),u.dc("selectionChange",function(e){return u.zc(t),u.hc().stepSelectionChanged(e)}),u.Vb(16,"mat-step",16),u.Vb(17,"form",17),u.Ic(18,ut,1,1,"ng-template",18),u.Vb(19,"div",19),u.Qb(20,"rtl-loop-quote",20),u.Qb(21,"rtl-loop-quote",20),u.Ub(),u.Vb(22,"div",21),u.Vb(23,"mat-form-field",22),u.Qb(24,"input",23),u.Vb(25,"mat-hint"),u.Kc(26),u.ic(27,"number"),u.ic(28,"number"),u.Ub(),u.Vb(29,"span",24),u.Kc(30,"Sats"),u.Ub(),u.Ic(31,dt,2,0,"mat-error",25),u.Ic(32,ft,3,3,"mat-error",25),u.Ic(33,pt,3,3,"mat-error",25),u.Ub(),u.Vb(34,"mat-form-field",22),u.Qb(35,"input",26),u.Ic(36,bt,2,0,"mat-error",25),u.Ic(37,mt,2,0,"mat-error",25),u.Ub(),u.Ic(38,_t,5,4,"mat-form-field",27),u.Ic(39,wt,2,0,"mat-slide-toggle",28),u.Ub(),u.Vb(40,"div",29),u.Vb(41,"button",30),u.dc("click",function(){return u.zc(t),u.hc().onEstimateQuote()}),u.Kc(42,"Estimate Quote"),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Vb(43,"mat-step",16),u.Vb(44,"form",17),u.Ic(45,Ct,1,1,"ng-template",18),u.Qb(46,"rtl-loop-quote",31),u.Ic(47,xt,4,0,"p",32),u.Vb(48,"div",29),u.Ic(49,St,2,0,"button",33),u.Ic(50,Ot,2,1,"button",34),u.Ub(),u.Ub(),u.Ub(),u.Ic(51,Et,15,6,"mat-step",35),u.Vb(52,"mat-step",36),u.Vb(53,"form",17),u.Ic(54,Lt,1,1,"ng-template",18),u.Vb(55,"div",37),u.Vb(56,"mat-expansion-panel",38),u.Vb(57,"mat-expansion-panel-header"),u.Vb(58,"mat-panel-title"),u.Vb(59,"span",39),u.Kc(60),u.Ic(61,Dt,2,1,"mat-icon",40),u.Ub(),u.Ub(),u.Ub(),u.Ic(62,It,1,0,"div",41),u.Ub(),u.Ic(63,Pt,1,0,"mat-progress-bar",42),u.Ub(),u.Ic(64,Tt,2,1,"h4",43),u.Vb(65,"div",29),u.Ic(66,Rt,2,0,"button",44),u.Ic(67,Mt,2,0,"button",45),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Vb(68,"div",46),u.Vb(69,"button",47),u.Kc(70,"Close"),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc(),e=u.wc(2);u.oc("@opacityAnimation",void 0),u.Db(3),u.oc("fxFlex",t.screenSize===t.screenSizeEnum.XS||t.screenSize===t.screenSizeEnum.SM?"83":"91"),u.Db(2),u.Lc(t.channel?"Channel "+t.loopDirectionCaption:t.loopDirectionCaption),u.Db(1),u.oc("fxFlex",t.screenSize===t.screenSizeEnum.XS||t.screenSize===t.screenSizeEnum.SM?"17":"9"),u.Db(7),u.oc("ngIf",t.channel),u.Db(1),u.oc("linear",!0),u.Db(2),u.oc("stepControl",t.inputFormGroup)("editable",t.flgEditable),u.Db(1),u.oc("formGroup",t.inputFormGroup),u.Db(3),u.oc("quote",t.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),u.Db(1),u.oc("quote",t.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),u.Db(2),u.oc("fxFlex",t.direction===t.LoopTypeEnum.LOOP_OUT?"30":"48"),u.Db(1),u.oc("step",1e3),u.Db(2),u.Nc("Range: ",u.jc(27,51,t.minQuote.amount),"-",u.jc(28,53,t.maxQuote.amount),""),u.Db(5),u.oc("ngIf",null==t.inputFormGroup.controls.amount.errors?null:t.inputFormGroup.controls.amount.errors.required),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.amount.errors?null:t.inputFormGroup.controls.amount.errors.min),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.amount.errors?null:t.inputFormGroup.controls.amount.errors.max),u.Db(1),u.oc("fxFlex",t.direction===t.LoopTypeEnum.LOOP_OUT?"20":"48"),u.Db(1),u.oc("step",1),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.sweepConfTarget.errors?null:t.inputFormGroup.controls.sweepConfTarget.errors.required),u.Db(1),u.oc("ngIf",null==t.inputFormGroup.controls.sweepConfTarget.errors?null:t.inputFormGroup.controls.sweepConfTarget.errors.min),u.Db(1),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_OUT),u.Db(1),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_OUT),u.Db(4),u.oc("stepControl",t.quoteFormGroup)("editable",t.flgEditable),u.Db(1),u.oc("formGroup",t.quoteFormGroup),u.Db(2),u.oc("quote",t.quote)("showPanel",!1),u.Db(1),u.oc("ngIf",t.inputFormGroup.controls.amount.value>t.localBalanceToCompare),u.Db(2),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_OUT),u.Db(1),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_IN),u.Db(1),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_OUT),u.Db(1),u.oc("stepControl",t.statusFormGroup),u.Db(1),u.oc("formGroup",t.statusFormGroup),u.Db(3),u.oc("expanded",!!t.loopStatus),u.Db(4),u.Lc(t.loopStatus?t.loopStatus.id_bytes?t.loopDirectionCaption+" request details":t.loopDirectionCaption+" error details":"Waiting for "+t.loopDirectionCaption+" request..."),u.Db(1),u.oc("ngIf",t.loopStatus),u.Db(1),u.oc("ngIf",!t.loopStatus)("ngIfElse",e),u.Db(1),u.oc("ngIf",!t.loopStatus),u.Db(1),u.oc("ngIf",t.loopStatus),u.Db(2),u.oc("ngIf",t.loopStatus&&t.loopStatus.id_bytes&&t.channel),u.Db(1),u.oc("ngIf",t.loopStatus&&(t.loopStatus.error||!t.loopStatus.id_bytes)),u.Db(2),u.oc("mat-dialog-close",!1)}}function Ft(t,e){if(1&t&&u.Qb(0,"rtl-loop-status",69),2&t){const t=u.hc();u.oc("loopStatus",t.loopStatus)}}function Nt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"rtl-loop-out-info-graphics",87),u.dc("stepNumberChange",function(e){return u.zc(t),u.hc(2).stepNumber=e}),u.Ub()}if(2&t){const t=u.hc(2);u.oc("stepNumber",t.stepNumber)("animationDirection",t.animationDirection)}}function Ut(t,e){if(1&t){const t=u.Wb();u.Vb(0,"rtl-loop-in-info-graphics",87),u.dc("stepNumberChange",function(e){return u.zc(t),u.hc(2).stepNumber=e}),u.Ub()}if(2&t){const t=u.hc(2);u.oc("stepNumber",t.stepNumber)("animationDirection",t.animationDirection)}}const Vt=function(t,e){return{"dot-primary":t,"dot-primary-lighter":e}};function Bt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"span",88),u.dc("click",function(){u.zc(t);const n=e.$implicit;return u.hc(2).onStepChanged(n)}),u.Qb(1,"p",89),u.Ub()}if(2&t){const t=e.$implicit,n=u.hc(2);u.Db(1),u.oc("ngClass",u.tc(1,Vt,n.stepNumber===t,n.stepNumber!==t))}}function zt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",90),u.dc("click",function(){return u.zc(t),u.hc(2).onReadMore()}),u.Kc(1,"Read More"),u.Ub()}}function Ht(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",91),u.dc("click",function(){return u.zc(t),u.hc(2).onStepChanged(4)}),u.Kc(1,"Back"),u.Ub()}}function Wt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",92),u.dc("click",function(){u.zc(t);const e=u.hc(2);return e.flgShowInfo=!1,e.stepNumber=1}),u.Kc(1,"Close"),u.Ub()}}function Qt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",93),u.dc("click",function(){u.zc(t);const e=u.hc(2);return e.flgShowInfo=!1,e.stepNumber=1}),u.Kc(1,"Close"),u.Ub()}}function Kt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",94),u.dc("click",function(){u.zc(t);const e=u.hc(2);return e.onStepChanged(e.stepNumber-1)}),u.Kc(1,"Back"),u.Ub()}}function qt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"button",95),u.dc("click",function(){u.zc(t);const e=u.hc(2);return e.onStepChanged(e.stepNumber+1)}),u.Kc(1,"Next"),u.Ub()}}const Yt=function(){return[1,2,3,4,5]};function Gt(t,e){if(1&t){const t=u.Wb();u.Vb(0,"div",70),u.Vb(1,"div",71),u.Vb(2,"mat-card-header",72),u.Vb(3,"div",73),u.Qb(4,"span",7),u.Ub(),u.Vb(5,"div",74),u.Vb(6,"button",75),u.dc("click",function(){u.zc(t);const e=u.hc();return e.flgShowInfo=!1,e.stepNumber=1}),u.Kc(7,"X"),u.Ub(),u.Ub(),u.Ub(),u.Vb(8,"mat-card-content",76),u.Ic(9,Nt,1,2,"rtl-loop-out-info-graphics",77),u.Ic(10,Ut,1,2,"rtl-loop-in-info-graphics",77),u.Ub(),u.Vb(11,"div",78),u.Ic(12,Bt,2,4,"span",79),u.Ub(),u.Vb(13,"div",80),u.Ic(14,zt,2,0,"button",81),u.Ic(15,Ht,2,0,"button",82),u.Ic(16,Wt,2,0,"button",83),u.Ic(17,Qt,2,0,"button",84),u.Ic(18,Kt,2,0,"button",85),u.Ic(19,qt,2,0,"button",86),u.Ub(),u.Ub(),u.Ub()}if(2&t){const t=u.hc();u.oc("@opacityAnimation",void 0),u.Db(9),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_OUT),u.Db(1),u.oc("ngIf",t.direction===t.LoopTypeEnum.LOOP_IN),u.Db(2),u.oc("ngForOf",u.rc(10,Yt)),u.Db(2),u.oc("ngIf",5===t.stepNumber),u.Db(1),u.oc("ngIf",5===t.stepNumber),u.Db(1),u.oc("ngIf",5===t.stepNumber),u.Db(1),u.oc("ngIf",t.stepNumber<5),u.Db(1),u.oc("ngIf",t.stepNumber>1&&t.stepNumber<5),u.Db(1),u.oc("ngIf",t.stepNumber<5)}}let Zt=(()=>{class t{constructor(t,e,n,i,s,o,c,h,u){this.dialogRef=t,this.data=e,this.store=n,this.loopService=i,this.formBuilder=s,this.decimalPipe=o,this.logger=c,this.router=h,this.commonService=u,this.faInfoCircle=a.t,this.LoopTypeEnum=l.m,this.direction=l.m.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.maxRoutingFeePercentage=2,this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=l.s,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new r.a,new r.a,new r.a,new r.a,new r.a,new r.a,new r.a]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction,this.loopDirectionCaption=this.direction===l.m.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[i.t.required,i.t.min(this.minQuote.amount),i.t.max(this.maxQuote.amount)]],sweepConfTarget:[6,[i.t.required,i.t.min(1)]],routingFeePercent:[this.maxRoutingFeePercentage,[i.t.required,i.t.min(0),i.t.max(this.maxRoutingFeePercentage)]],fast:[!1,[i.t.required]]}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[i.t.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select("lnd").pipe(Object(s.a)(this.unSubs[6])).subscribe(t=>{this.localBalanceToCompare=this.channel?+this.channel.local_balance:+t.totalLocalBalance})}ngAfterViewInit(){this.inputFormGroup.setErrors({Invalid:!0}),this.direction===l.m.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe(Object(s.a)(this.unSubs[4])).subscribe(t=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===l.m.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe(Object(s.a)(this.unSubs[5])).subscribe(t=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(t){"external"===t.value?(this.addressFormGroup.controls.address.setValidators([i.t.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===l.m.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0||this.inputFormGroup.controls.routingFeePercent.value>this.maxRoutingFeePercentage)||this.direction===l.m.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected.stepControl.setErrors(null),this.stepper.next(),this.direction===l.m.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+this.quote.swap_fee_sat,+this.quote.htlc_publish_fee_sat,"",!0).pipe(Object(s.a)(this.unSubs[0])).subscribe(t=>{this.loopStatus=t,this.loopService.listSwaps(),this.flgEditable=!0},t=>{this.loopStatus={error:t.error.error?t.error.error:t.error?t.error:t},this.flgEditable=!0,this.logger.error(t)});else{let t=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),e="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",n=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,t,+this.quote.htlc_sweep_fee_sat,this.prepayRoutingFee,+this.quote.prepay_amt_sat,+this.quote.swap_fee_sat,n,e).pipe(Object(s.a)(this.unSubs[1])).subscribe(t=>{this.loopStatus=t,this.loopService.listSwaps(),this.flgEditable=!0},t=>{this.loopStatus={error:t.error.error?t.error.error:t.error?t.error:t},this.flgEditable=!0,this.logger.error(t)})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;this.store.dispatch(new h.G("Getting Quotes..."));let t=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===l.m.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,t).pipe(Object(s.a)(this.unSubs[2])).subscribe(t=>{this.store.dispatch(new h.j),this.quote=t,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,t).pipe(Object(s.a)(this.unSubs[3])).subscribe(t=>{this.store.dispatch(new h.j),this.quote=t,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(t){switch(t.selectedIndex){case 0:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===l.m.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===l.m.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address";break;default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address"}(this.direction===l.m.LOOP_OUT&&1!==t.selectedIndex&&t.selectedIndex<t.previouslySelectedIndex||this.direction===l.m.LOOP_IN&&t.selectedIndex<t.previouslySelectedIndex)&&t.selectedStep.stepControl.setErrors({Invalid:!0})}goToLoop(){this.dialogRef.close(!0),this.router.navigateByUrl("/services/loop")}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===l.m.LOOP_IN?window.open("https://blog.lightning.engineering/announcement/2019/06/25/loop-in.html","_blank"):window.open("https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html","_blank"),this.onClose()}onStepChanged(t){this.animationDirection=t<this.stepNumber?"backward":"forward",this.stepNumber=t}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.minQuote.amount,sweepConfTarget:6,routingFeePercent:this.maxRoutingFeePercentage,fast:!1}),this.quoteFormGroup.reset(),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(o.f),u.Pb(o.a),u.Pb(d.h),u.Pb(f.a),u.Pb(i.d),u.Pb(p.f),u.Pb(b.b),u.Pb(m.g),u.Pb(g.a))},t.\u0275cmp=u.Jb({type:t,selectors:[["rtl-loop-modal"]],viewQuery:function(t,e){if(1&t&&u.Pc(lt,!0),2&t){let t;u.vc(t=u.ec())&&(e.stepper=t.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["loopStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",1,"padding-gap-x-large",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"mt-5px"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"quote","termCaption","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"fxFlex"],["autoFocus","","matInput","","placeholder","Amount","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","placeholder","Sweep Confirmation Target","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","fxFlex","15","tabindex","4","color","primary","formControlName","fast",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-stroked-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-stroked-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","placeholder","Max Off-chain Routing Fee (%)","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","fxFlex","15","tabindex","4","color","primary","formControlName","fast"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-stroked-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-stroked-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxFlex","100",1,"mt-1"],["matInput","","placeholder","Address","tabindex","10","formControlName","address",3,"required"],["mat-stroked-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-flat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-flat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxLayout","row","fxFlex","5","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start",1,"padding-gap-x-large"],["fxFlex","8","fxLayoutAlign","end center"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"stepNumber","animationDirection","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large"],["fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large"],["mat-stroked-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumber","animationDirection","stepNumberChange"],["fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-stroked-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-stroked-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(t,e){1&t&&(u.Ic(0,jt,71,55,"div",0),u.Ic(1,Ft,1,1,"ng-template",null,1,u.Jc),u.Ic(3,Gt,20,11,"div",2)),2&t&&(u.oc("ngIf",!e.flgShowInfo),u.Db(3),u.oc("ngIf",e.flgShowInfo))},directives:[p.o,y.c,y.a,y.b,v.c,_.a,v.b,w.h,w.a,i.u,i.n,i.h,w.b,R,M.c,j.b,i.q,i.c,F.a,i.m,i.g,i.s,M.f,M.g,C.c,C.e,C.f,o.d,M.b,N.a,S.a,U.a,V.b,V.a,B.a,Q,p.n,tt,ct,p.m,x.a],pipes:[p.f,p.x],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[c.b]}}),t})()},Cyaj:function(t,e,n){!function(e){"use strict";var i={};t.exports?(i.bytesToHex=n("bCQu").bytesToHex,i.convertString=n("Qi+P"),t.exports=a):(i.bytesToHex=e.convertHex.bytesToHex,i.convertString=e.convertString,e.sha256=a);var r=[];!function(){function t(t){for(var e=Math.sqrt(t),n=2;n<=e;n++)if(!(t%n))return!1;return!0}function e(t){return 4294967296*(t-(0|t))|0}for(var n=2,i=0;i<64;)t(n)&&(r[i]=e(Math.pow(n,1/3)),i++),n++}();var s=[],o=function(t,e,n){for(var i=t[0],o=t[1],a=t[2],c=t[3],l=t[4],h=t[5],u=t[6],d=t[7],f=0;f<64;f++){if(f<16)s[f]=0|e[n+f];else{var p=s[f-15],b=s[f-2];s[f]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+s[f-7]+((b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10)+s[f-16]}var m=i&o^i&a^o&a,g=d+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&h^~l&u)+r[f]+s[f];d=u,u=h,h=l,l=c+g|0,c=a,a=o,o=i,i=g+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+m)|0}t[0]=t[0]+i|0,t[1]=t[1]+o|0,t[2]=t[2]+a|0,t[3]=t[3]+c|0,t[4]=t[4]+l|0,t[5]=t[5]+h|0,t[6]=t[6]+u|0,t[7]=t[7]+d|0};function a(t,e){t.constructor===String&&(t=i.convertString.UTF8.stringToBytes(t));var n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],r=function(t){for(var e=[],n=0,i=0;n<t.length;n++,i+=8)e[i>>>5]|=t[n]<<24-i%32;return e}(t),s=8*t.length;r[s>>5]|=128<<24-s%32,r[15+(s+64>>9<<4)]=s;for(var a=0;a<r.length;a+=16)o(n,r,a);var c=function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e}(n);return e&&e.asBytes?c:e&&e.asString?i.convertString.bytesToString(c):i.bytesToHex(c)}a.x2=function(t,e){return a(a(t,{asBytes:!0}),e)}}(this)},D0XW:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},D9sq:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("mrSG"),r=n("7bNT"),s=n("XNiG"),o=n("LRne"),a=n("zp1y"),c=n("5+tZ"),l=n("1G5W"),h=n("lJxs"),u=n("JIr8"),d=n("AytR"),f=n("V8Fa"),p=n("lF6s"),b=n("/uX3"),m=n("bdpe"),g=n("8Y7J"),y=n("IheW"),v=n("tqRt"),_=n("mZtN"),w=n("cpEJ"),C=n("7o2P"),x=n("iInd"),S=n("SVse");let O=(()=>{class t{constructor(t,e,n,i,f,g,y,v){this.actions$=t,this.httpClient=e,this.store=n,this.sessionService=i,this.logger=f,this.commonService=g,this.router=y,this.location=v,this.CHILD_API_URL=d.a+"/ecl",this.unSubs=[new s.a,new s.a],this.infoFetchECL=this.actions$.pipe(Object(r.d)(p.o),Object(a.a)(this.store.select("root")),Object(c.a)(([t,e])=>(this.store.dispatch(new p.e("FetchInfo")),this.httpClient.get(this.CHILD_API_URL+d.b.GETINFO_API).pipe(Object(l.a)(this.actions$.pipe(Object(r.d)(b.Q))),Object(h.a)(e=>(this.logger.info(e),this.initializeRemainingData(e,t.payload.loadPage),{type:p.Z,payload:e||{}})),Object(u.a)(t=>(this.router.navigate(["/error"],{state:{errorCode:t.error&&t.error.error&&t.error.error.message&&t.error.error.message.code?t.error.error.message.code:t.error&&t.error.error&&t.error.error.code?t.error.error.code:t.status?t.status:"",errorMessage:(t.error&&t.error.message?t.error.message+" ":"")+(t.error&&t.error.error&&t.error.error.error&&"string"==typeof t.error.error.error?t.error.error.error:t.error&&t.error.error&&t.error.error.errno&&"string"==typeof t.error.error.errno?t.error.error.errno:t.error&&t.error.error&&"string"==typeof t.error.error?t.error.error:t.error&&"string"==typeof t.error?t.error:"Unknown Error")}}),this.handleErrorWithoutAlert("FetchInfo","Fetching Node Info Failed.",t),Object(o.a)({type:b.fb}))))))),this.fetchFees=this.actions$.pipe(Object(r.d)(p.n),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchFees")),this.httpClient.get(this.CHILD_API_URL+d.b.FEES_API+"/fees").pipe(Object(h.a)(t=>(this.logger.info(t),{type:p.X,payload:t||{}}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchFees","Fetching Fees Failed.",t),Object(o.a)({type:b.fb})))))))),this.fetchPayments=this.actions$.pipe(Object(r.d)(p.r),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchPayments")),this.httpClient.get(this.CHILD_API_URL+d.b.FEES_API+"/payments").pipe(Object(h.a)(t=>(this.logger.info(t),{type:p.fb,payload:t||{}}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchPayments","Fetching Payments Failed.",t),Object(o.a)({type:b.fb})))))))),this.channelsFetch=this.actions$.pipe(Object(r.d)(p.l),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchChannels")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new p.pb(e&&e.activeChannels.length>0?e.activeChannels:[])),this.store.dispatch(new p.ub(e&&e.pendingChannels.length>0?e.pendingChannels:[])),this.store.dispatch(new p.rb(e&&e.inactiveChannels.length>0?e.inactiveChannels:[])),this.store.dispatch(new p.sb(e.lightningBalances)),t.payload.fetchPayments&&this.store.dispatch(new p.z),{type:p.U,payload:e.channelStatus}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchChannels","Fetching Channels Failed.",t),Object(o.a)({type:b.fb})))))))),this.channelStatsFetch=this.actions$.pipe(Object(r.d)(p.m),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchChannelStats")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API+"/stats").pipe(Object(h.a)(t=>(this.logger.info(t),{type:p.V,payload:t&&t.length>0?t:[]}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchChannelStats","Fetching Channel Stats Failed.",t),Object(o.a)({type:b.fb})))))))),this.fetchOnchainBalance=this.actions$.pipe(Object(r.d)(p.q),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchOnchainBalance")),this.httpClient.get(this.CHILD_API_URL+d.b.ON_CHAIN_API+"/balance"))),Object(h.a)(t=>(this.logger.info(t),{type:p.eb,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchOnchainBalance","Fetching Onchain Balances Failed.",t),Object(o.a)({type:b.fb})))),this.peersFetch=this.actions$.pipe(Object(r.d)(p.s),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchPeers")),this.httpClient.get(this.CHILD_API_URL+d.b.PEERS_API).pipe(Object(h.a)(t=>(this.logger.info(t),{type:p.gb,payload:t&&t.length?t:[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchPeers","Fetching Peers Failed.",t),Object(o.a)({type:b.fb}))))))),this.getNewAddress=this.actions$.pipe(Object(r.d)(p.C),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.ON_CHAIN_API).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:p.db,payload:t})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Generate New Address Failed",this.CHILD_API_URL+d.b.ON_CHAIN_API,t),Object(o.a)({type:b.fb})))))),this.setNewAddress=this.actions$.pipe(Object(r.d)(p.db),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.saveNewPeer=this.actions$.pipe(Object(r.d)(p.O),Object(a.a)(this.store.select("ecl")),Object(c.a)(([t,e])=>(this.store.dispatch(new p.e("SaveNewPeer")),this.httpClient.post(this.CHILD_API_URL+d.b.PEERS_API+(t.payload.id.includes("@")?"?uri=":"?nodeId=")+t.payload.id,{}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),this.store.dispatch(new p.tb(t&&t.length?t:[])),{type:p.G,payload:{peer:t[0]}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewPeer","Peer Connection Failed.",t),Object(o.a)({type:b.fb}))))))),this.detachPeer=this.actions$.pipe(Object(r.d)(p.h),Object(c.a)(t=>this.httpClient.delete(this.CHILD_API_URL+d.b.PEERS_API+"/"+t.payload.nodeId).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),this.store.dispatch(new b.F("Disconnecting Peer!")),{type:p.K,payload:{nodeId:t.payload.nodeId}})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.b.PEERS_API+"/"+t.payload.nodeId,e),Object(o.a)({type:b.fb})))))),this.openNewChannel=this.actions$.pipe(Object(r.d)(p.N),Object(c.a)(t=>(this.store.dispatch(new p.e("SaveNewChannel")),this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API,t.payload.feeRate&&t.payload.feeRate>0?{nodeId:t.payload.nodeId,fundingSatoshis:t.payload.amount,channelFlags:+!t.payload.private,fundingFeerateSatByte:t.payload.feeRate}:{nodeId:t.payload.nodeId,fundingSatoshis:t.payload.amount,channelFlags:+!t.payload.private}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new p.A),this.store.dispatch(new p.y),this.store.dispatch(new b.j),this.store.dispatch(new b.F("Channel Added Successfully!")),{type:p.l})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewChannel","Opening Channel Failed.",t),Object(o.a)({type:b.fb}))))))),this.updateChannel=this.actions$.pipe(Object(r.d)(p.wb),Object(c.a)(t=>{let e="?feeBaseMsat="+t.payload.baseFeeMsat+"&feeProportionalMillionths="+t.payload.feeRate;return e=t.payload.channelIds?e+"&channelIds="+t.payload.channelIds:e+"&channelId="+t.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API+"/updateRelayFee"+e,{}).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),this.store.dispatch(new b.F(t.payload.channelIds?"Channels Updated Successfully.":"Channel Updated Successfully!")),{type:p.l})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Update Channel Failed",this.CHILD_API_URL+d.b.CHANNELS_API,t),Object(o.a)({type:b.fb}))))})),this.closeChannel=this.actions$.pipe(Object(r.d)(p.c),Object(c.a)(t=>this.httpClient.delete(this.CHILD_API_URL+d.b.CHANNELS_API+"?channelId="+t.payload.channelId+"&force="+t.payload.force).pipe(Object(h.a)(e=>(this.logger.info(e),setTimeout(()=>{this.store.dispatch(new b.j),this.store.dispatch(new p.u({fetchPayments:!1})),this.store.dispatch(new b.F(t.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"))},2e3),{type:b.fb})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.b.CHANNELS_API,t),Object(o.a)({type:b.fb})))))),this.queryRoutesFetch=this.actions$.pipe(Object(r.d)(p.D),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.PAYMENTS_API+"/route?nodeId="+t.payload.nodeId+"&amountMsat="+t.payload.amount).pipe(Object(h.a)(t=>(this.logger.info(t),{type:p.ib,payload:t})),Object(u.a)(e=>(this.store.dispatch(new p.vb([])),this.handleErrorWithAlert("ERROR","Get Query Routes Failed",this.CHILD_API_URL+d.b.PAYMENTS_API+"/route?nodeId="+t.payload.nodeId+"&amountMsat="+t.payload.amount,e),Object(o.a)({type:b.fb})))))),this.setQueryRoutes=this.actions$.pipe(Object(r.d)(p.ib),Object(h.a)(t=>t.payload)),this.sendPayment=this.actions$.pipe(Object(r.d)(p.R),Object(a.a)(this.store.select("root")),Object(c.a)(([t,e])=>(this.store.dispatch(new p.e("SendPayment")),this.httpClient.post(this.CHILD_API_URL+d.b.PAYMENTS_API,t.payload).pipe(Object(h.a)(e=>{if(this.logger.info(e),e.error){this.store.dispatch(new b.j),this.logger.error("Error: "+e.payment_error);const n={status:e.payment_error.status,error:e.payment_error.error&&e.payment_error.error.error&&"object"==typeof e.payment_error.error.error?e.payment_error.error.error:{error:e.payment_error.error&&e.payment_error.error.error?e.payment_error.error.error:"Unknown Error"}};return t.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment","Send Payment Failed.",n):this.handleErrorWithAlert("ERROR","Send Payment Failed",this.CHILD_API_URL+d.b.PAYMENTS_API,n),Object(o.a)({type:b.fb})}return setTimeout(()=>{this.store.dispatch(new p.ob(e)),this.store.dispatch(new b.j),this.store.dispatch(new p.u({fetchPayments:!0})),this.store.dispatch(new p.z),this.store.dispatch(new b.F("Payment Submitted!"))},3e3),{type:b.fb}}),Object(u.a)(e=>{this.logger.error("Error: "+JSON.stringify(e));const n={status:e.status,error:e.error&&e.error.error&&"object"==typeof e.error.error?e.error.error:{error:e.error&&e.error.error?e.error.error:"Unknown Error"}};return t.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment","Send Payment Failed.",n):this.handleErrorWithAlert("ERROR","Send Payment Failed",this.CHILD_API_URL+d.b.PAYMENTS_API,n),Object(o.a)({type:b.fb})}))))),this.transactionsFetch=this.actions$.pipe(Object(r.d)(p.t),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchTransactions")),this.httpClient.get(this.CHILD_API_URL+d.b.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),Object(h.a)(t=>(this.logger.info(t),{type:p.jb,payload:t&&t.length>0?t:[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchTransactions","Fetching Transactions Failed.",t),Object(o.a)({type:b.fb})))),this.SendOnchainFunds=this.actions$.pipe(Object(r.d)(p.P),Object(c.a)(t=>(this.store.dispatch(new p.e("SendOnchainFunds")),this.httpClient.post(this.CHILD_API_URL+d.b.ON_CHAIN_API,t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),this.store.dispatch(new p.y),{type:p.Q,payload:t})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SendOnchainFunds","Sending Fund Failed.",t),Object(o.a)({type:b.fb}))))))),this.createInvoice=this.actions$.pipe(Object(r.d)(p.d),Object(c.a)(t=>(this.store.dispatch(new p.e("CreateInvoice")),this.httpClient.post(this.CHILD_API_URL+d.b.INVOICES_API,t.payload).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),e.amount=t.payload.amountMsat,e.timestamp=(new Date).getTime()/1e3,e.timestampStr=this.commonService.convertTimestampToDate(+e.timestamp),e.expiresAt=Math.round(e.timestamp+t.payload.expireIn),e.expiresAtStr=this.commonService.convertTimestampToDate(+e.expiresAt),e.description=t.payload.description,e.status="unpaid",this.store.dispatch(new b.D({data:{invoice:e,newlyAdded:!1,component:m.a}})),{type:p.p})),Object(u.a)(t=>(this.handleErrorWithoutAlert("CreateInvoice","Create Invoice Failed.",t),Object(o.a)({type:b.fb}))))))),this.invoicesFetch=this.actions$.pipe(Object(r.d)(p.p),Object(c.a)(t=>(this.store.dispatch(new p.e("FetchInvoices")),this.httpClient.get(this.CHILD_API_URL+d.b.INVOICES_API).pipe(Object(h.a)(t=>(this.logger.info(t),{type:p.ab,payload:t})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchInvoices","Fetching Invoices Failed.",t),Object(o.a)({type:b.fb}))))))),this.peerLookup=this.actions$.pipe(Object(r.d)(p.H),Object(c.a)(t=>(this.store.dispatch(new p.e("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/nodes/"+t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:p.cb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new p.k({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Peer Lookup Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/nodes/"+t.payload,e),Object(o.a)({type:b.fb}))))))),this.setLookup=this.actions$.pipe(Object(r.d)(p.cb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.store.select("ecl").pipe(Object(l.a)(this.unSubs[0])).subscribe(t=>{"INCOMPLETE"===t.initialAPIResponseStatus[0]&&t.initialAPIResponseStatus.length>5&&(t.initialAPIResponseStatus[0]="COMPLETE",this.store.dispatch(new b.j))})}initializeRemainingData(t,e){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:t.nodeId,alias:t.alias,testnet:"testnet"===t.network,chains:t.publicAddresses,uris:t.uris,version:t.version,currency_unit:"BTC",smaller_currency_unit:"Sats",numberOfPendingChannels:0};this.store.dispatch(new b.G("Initializing Node Data...")),this.store.dispatch(new b.V(n)),this.store.dispatch(new p.u({fetchPayments:!0})),this.store.dispatch(new p.v),this.store.dispatch(new p.y),this.store.dispatch(new p.A);let i=this.location.path();i.includes("/lnd/")?i=i.replace("/lnd/","/ecl/"):i.includes("/cl/")&&(i=i.replace("/cl/","/ecl/")),(i.includes("/login")||i.includes("/error")||""===i||"HOME"===e||i.includes("?access-key="))&&(i="/ecl/home"),this.router.navigate([i])}handleErrorWithoutAlert(t,e,n){this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new b.h),this.store.dispatch(new b.y),this.store.dispatch(new b.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new b.j),this.store.dispatch(new p.k({action:t,code:n.status.toString(),message:n.error&&n.error.error&&"string"==typeof n.error.error?n.error.error:e})))}handleErrorWithAlert(t,e,n,i){this.logger.error(i),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new b.h),this.store.dispatch(new b.y),this.store.dispatch(new b.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new b.j),this.store.dispatch(new b.D({data:{type:t,alertTitle:e,message:{code:i.status,message:i.error.error&&i.error.error.error&&i.error.error.error.error&&"string"==typeof i.error.error.error.error?i.error.error.error.error:i.error.error&&i.error.error.error&&"string"==typeof i.error.error.error?i.error.error.error:i.error&&i.error.error&&"string"==typeof i.error.error?i.error.error:"string"==typeof i.error?i.error:"Unknown Error",URL:n},component:f.a}})))}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(g.Zb(r.a),g.Zb(y.b),g.Zb(v.h),g.Zb(_.a),g.Zb(w.b),g.Zb(C.a),g.Zb(x.g),g.Zb(S.j))},t.\u0275prov=g.Lb({token:t,factory:t.\u0275fac}),Object(i.a)([Object(r.b)()],t.prototype,"infoFetchECL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchFees",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchPayments",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelsFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelStatsFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchOnchainBalance",void 0),Object(i.a)([Object(r.b)()],t.prototype,"peersFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"getNewAddress",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setNewAddress",void 0),Object(i.a)([Object(r.b)()],t.prototype,"saveNewPeer",void 0),Object(i.a)([Object(r.b)()],t.prototype,"detachPeer",void 0),Object(i.a)([Object(r.b)()],t.prototype,"openNewChannel",void 0),Object(i.a)([Object(r.b)()],t.prototype,"updateChannel",void 0),Object(i.a)([Object(r.b)()],t.prototype,"closeChannel",void 0),Object(i.a)([Object(r.b)()],t.prototype,"queryRoutesFetch",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setQueryRoutes",void 0),Object(i.a)([Object(r.b)()],t.prototype,"sendPayment",void 0),Object(i.a)([Object(r.b)()],t.prototype,"transactionsFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"SendOnchainFunds",void 0),Object(i.a)([Object(r.b)()],t.prototype,"createInvoice",void 0),Object(i.a)([Object(r.b)()],t.prototype,"invoicesFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"peerLookup",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setLookup",void 0),t})()},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},DLvh:function(t,e,n){"use strict";var i,r=e,s=n("fZJM"),o=n("QTa/"),a=n("86MQ").assert;function c(t){this.curve="short"===t.type?new o.short(t):"edwards"===t.type?new o.edwards(t):new o.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(t,e){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var n=new c(e);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=c,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=n("QJsb")}catch(h){i=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},DaRl:function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM"),s={};function o(t){i.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}r(e,t);for(var n=Object.keys(s),i=0;i<n.length;i++){var o=n[i];e.prototype[o]=s[o]}return e.create=function(t){return new e(t)},e},s._cbcInit=function(){var t=new o(this.options.iv);this._cbcState=t},s._update=function(t,e,n,i){var r=this.constructor.super_.prototype,s=this._cbcState.iv;if("encrypt"===this.type){for(var o=0;o<this.blockSize;o++)s[o]^=t[e+o];for(r._update.call(this,s,0,n,i),o=0;o<this.blockSize;o++)s[o]=n[i+o]}else{for(r._update.call(this,t,e,n,i),o=0;o<this.blockSize;o++)n[i+o]^=s[o];for(o=0;o<this.blockSize;o++)s[o]=t[e+o]}}},Dxy4:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return f});var i=n("UhP/"),r=n("omvX"),s=n("8Y7J"),o=n("YEUz");const a=["mat-button",""],c=["*"],l=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class h{constructor(t){this._elementRef=t}}const u=Object(i.x)(Object(i.z)(Object(i.y)(h)));let d=(()=>{class t extends u{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of l)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.l),s.Pb(o.h),s.Pb(r.a,8))},t.\u0275cmp=s.Jb({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&s.Pc(i.r,!0),2&t){let t;s.vc(t=s.ec())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(s.Eb("disabled",e.disabled||null),s.Hb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.Ab],attrs:a,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(s.nc(),s.Vb(0,"span",0),s.mc(1),s.Ub(),s.Qb(2,"span",1),s.Qb(3,"span",2)),2&t&&(s.Db(2),s.Hb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.oc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.r],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[i.s,i.i],i.i]}),t})()},DyzK:function(t,e,n){var i=n("Ku4m"),r=n("9GDS"),s=n("g9U9"),o=n("N+aw"),a=n("qVij"),c=n("mObS"),l=n("UpF+"),h=n("hwdV").Buffer;t.exports=function(t,e,n){var u;u=t.padding?t.padding:n?1:4;var d,f=i(t),p=f.modulus.byteLength();if(e.length>p||new o(e).cmp(f.modulus)>=0)throw new Error("decryption error");d=n?l(new o(e),f):a(e,f);var b=h.alloc(p-d.length);if(d=h.concat([b,d],p),4===u)return function(t,e){var n=t.modulus.byteLength(),i=c("sha1").update(h.alloc(0)).digest(),o=i.length;if(0!==e[0])throw new Error("decryption error");var a=e.slice(1,o+1),l=e.slice(o+1),u=s(a,r(l,o)),d=s(l,r(u,n-o-1));if(function(t,e){t=h.from(t),e=h.from(e);var n=0,i=t.length;t.length!==e.length&&(n++,i=Math.min(t.length,e.length));for(var r=-1;++r<i;)n+=t[r]^e[r];return n}(i,d.slice(0,o)))throw new Error("decryption error");for(var f=o;0===d[f];)f++;if(1!==d[f++])throw new Error("decryption error");return d.slice(f)}(f,d);if(1===u)return function(t,e,n){for(var i=e.slice(0,2),r=2,s=0;0!==e[r++];)if(r>=e.length){s++;break}var o=e.slice(2,r-1);if(("0002"!==i.toString("hex")&&!n||"0001"!==i.toString("hex")&&n)&&s++,o.length<8&&s++,s)throw new Error("decryption error");return e.slice(r)}(0,d,n);if(3===u)return d;throw new Error("unknown padding")}},"E+IA":function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),s=n("qlaj"),o=i.rotl32,a=i.sum32,c=i.sum32_5,l=s.ft_1,h=r.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(d,h),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,e){for(var n=this.W,i=0;i<16;i++)n[i]=t[e+i];for(;i<n.length;i++)n[i]=o(n[i-3]^n[i-8]^n[i-14]^n[i-16],1);var r=this.h[0],s=this.h[1],h=this.h[2],d=this.h[3],f=this.h[4];for(i=0;i<n.length;i++){var p=~~(i/20),b=c(o(r,5),l(p,s,h,d),f,n[i],u[p]);f=d,d=h,h=o(s,30),s=r,r=b}this.h[0]=a(this.h[0],r),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],h),this.h[3]=a(this.h[3],d),this.h[4]=a(this.h[4],f)},d.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},ELBg:function(t,e,n){"use strict";var i={single_source_shortest_paths:function(t,e,n){var r={},s={};s[e]=0;var o,a,c,l,h,u,d=i.PriorityQueue.make();for(d.push(e,0);!d.empty();)for(c in l=(o=d.pop()).cost,h=t[a=o.value]||{})h.hasOwnProperty(c)&&(u=l+h[c],(void 0===s[c]||s[c]>u)&&(s[c]=u,d.push(c,u),r[c]=a));if(void 0!==n&&void 0===s[n]){var f=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(f)}return r},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],i=e;i;)n.push(i),i=t[i];return n.reverse(),n},find_path:function(t,e,n){var r=i.single_source_shortest_paths(t,e,n);return i.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=i.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){this.queue.push({value:t,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=i},EW2V:function(t,e,n){t.exports=n("tOiH")},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s});var i=n("HDdC");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},Edxu:function(t,e,n){"use strict";var i=65536,r=n("hwdV").Buffer,s=global.crypto||global.msCrypto;t.exports=s&&s.getRandomValues?function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=r.allocUnsafe(t);if(t>0)if(t>i)for(var o=0;o<t;o+=i)s.getRandomValues(n.slice(o,o+i));else s.getRandomValues(n);return"function"==typeof e?process.nextTick(function(){e(null,n)}):n}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},F12H:function(t,e,n){"use strict";n.d(e,"a",function(){return k});var i=n("mrSG"),r=n("7bNT"),s=n("XNiG"),o=n("LRne"),a=n("zp1y"),c=n("5+tZ"),l=n("1G5W"),h=n("lJxs"),u=n("JIr8"),d=n("AytR"),f=n("+zbs"),p=n("V8Fa"),b=n("7nzP"),m=n("/uX3"),g=n("MCVq"),y=n("8Y7J"),v=n("IheW"),_=n("tqRt"),w=n("cpEJ"),C=n("7o2P"),x=n("mZtN"),S=n("iELJ"),O=n("iInd"),A=n("SVse");let k=(()=>{class t{constructor(t,e,n,i,p,y,v,_,w){this.actions$=t,this.httpClient=e,this.store=n,this.logger=i,this.commonService=p,this.sessionService=y,this.dialog=v,this.router=_,this.location=w,this.CHILD_API_URL=d.a+"/lnd",this.unSubs=[new s.a,new s.a],this.infoFetch=this.actions$.pipe(Object(r.d)(g.t),Object(a.a)(this.store.select("root")),Object(c.a)(([t,e])=>(this.store.dispatch(new g.i("FetchInfo")),this.httpClient.get(this.CHILD_API_URL+d.b.GETINFO_API).pipe(Object(l.a)(this.actions$.pipe(Object(r.d)(m.Q))),Object(h.a)(e=>(this.logger.info(e),e.identity_pubkey?(e.lnImplementation="LND",this.initializeRemainingData(e,t.payload.loadPage),{type:g.Cb,payload:e||{}}):(this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:g.Cb,payload:{}}))),Object(u.a)(t=>("string"==typeof t.error.error&&t.error.error.includes("Not Found")||502===t.status?(this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo","Fetching Node Info Failed.",t)):(this.router.navigate(["/error"],{state:{errorCode:t.error&&t.error.error&&t.error.error.message&&t.error.error.message.code?t.error.error.message.code:t.error&&t.error.error&&t.error.error.code?t.error.error.code:t.status?t.status:"",errorMessage:(t.error.message?t.error.message+" ":"")+(t.error.error&&t.error.error.error&&t.error.error.error.error&&t.error.error.error.error.error&&"string"==typeof t.error.error.error.error.error?t.error.error.error.error.error:t.error.error&&t.error.error.error&&t.error.error.error.error&&"string"==typeof t.error.error.error.error?t.error.error.error.error:t.error.error&&t.error.error.error&&"string"==typeof t.error.error.error?t.error.error.error:t.error.error&&"string"==typeof t.error.error?t.error.error:"string"==typeof t.error?t.error:"Unknown Error")}}),this.handleErrorWithoutAlert("FetchInfo","Fetching Node Info Failed.",t)),Object(o.a)({type:m.fb}))))))),this.peersFetch=this.actions$.pipe(Object(r.d)(g.x),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchPeers")),this.httpClient.get(this.CHILD_API_URL+d.b.PEERS_API).pipe(Object(h.a)(t=>(this.logger.info(t),{type:g.Ib,payload:t||[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchPeers","Fetching Peers Failed.",t),Object(o.a)({type:m.fb}))))))),this.saveNewPeer=this.actions$.pipe(Object(r.d)(g.qb),Object(a.a)(this.store.select("lnd")),Object(c.a)(([t,e])=>(this.store.dispatch(new g.i("SaveNewPeer")),this.httpClient.post(this.CHILD_API_URL+d.b.PEERS_API,{pubkey:t.payload.pubkey,host:t.payload.host,perm:t.payload.perm}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),this.store.dispatch(new g.Xb(t&&t.length>0?t:[])),{type:g.bb,payload:{peer:t[0]}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewPeer","Peer Connection Failed.",t),Object(o.a)({type:m.fb}))))))),this.detachPeer=this.actions$.pipe(Object(r.d)(g.k),Object(c.a)(t=>this.httpClient.delete(this.CHILD_API_URL+d.b.PEERS_API+"/"+t.payload.pubkey).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new m.j),this.store.dispatch(new m.F("Peer Disconnected Successfully.")),{type:g.gb,payload:{pubkey:t.payload.pubkey}})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.b.PEERS_API+"/"+t.payload.pubkey,e),Object(o.a)({type:m.fb})))))),this.saveNewInvoice=this.actions$.pipe(Object(r.d)(g.pb),Object(c.a)(t=>(this.store.dispatch(new g.i("SaveNewInvoice")),this.httpClient.post(this.CHILD_API_URL+d.b.INVOICES_API,{memo:t.payload.memo,amount:t.payload.invoiceValue,private:t.payload.private,expiry:t.payload.expiry}).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new g.H({num_max_invoices:t.payload.pageSize,reversed:!0})),t.payload.openModal?(e.memo=t.payload.memo,e.value=t.payload.invoiceValue,e.expiry=t.payload.expiry,e.cltv_expiry="144",e.private=t.payload.private,e.creation_date=Math.round((new Date).getTime()/1e3).toString(),e.creation_date_str=this.commonService.convertTimestampToDate(+e.creation_date),this.store.dispatch(new m.j),{type:m.z,payload:{data:{invoice:e,newlyAdded:!0,component:f.a}}}):{type:g.cb,payload:{paymentRequest:e.payment_request}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewInvoice","Add Invoice Failed.",t),Object(o.a)({type:m.fb}))))))),this.openNewChannel=this.actions$.pipe(Object(r.d)(g.ob),Object(c.a)(t=>(this.store.dispatch(new g.i("SaveNewChannel")),this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API,{node_pubkey:t.payload.selectedPeerPubkey,local_funding_amount:t.payload.fundingAmount,private:t.payload.private,trans_type:t.payload.transType,trans_type_value:t.payload.transTypeValue,spend_unconfirmed:t.payload.spendUnconfirmed}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),this.store.dispatch(new g.C("blockchain")),this.store.dispatch(new g.B),this.store.dispatch(new g.d({channelPoint:"ALL",showMessage:"Channel Added Successfully!"})),{type:g.y})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewChannel","Opening Channel Failed.",t),Object(o.a)({type:m.fb}))))))),this.updateChannel=this.actions$.pipe(Object(r.d)(g.cc),Object(c.a)(t=>this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API+"/chanPolicy",{baseFeeMsat:t.payload.baseFeeMsat,feeRate:t.payload.feeRate,timeLockDelta:t.payload.timeLockDelta,chanPoint:t.payload.chanPoint}).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new m.j),this.store.dispatch(new m.F("all"===t.payload.chanPoint?"All Channels Updated Successfully.":"Channel Updated Successfully!")),{type:g.o})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Update Channel Failed",this.CHILD_API_URL+d.b.CHANNELS_API+"/chanPolicy",t),Object(o.a)({type:m.fb})))))),this.closeChannel=this.actions$.pipe(Object(r.d)(g.g),Object(c.a)(t=>{let e=this.CHILD_API_URL+d.b.CHANNELS_API+"/"+t.payload.channelPoint+"?force="+t.payload.forcibly;return t.payload.targetConf&&(e=e+"&target_conf="+t.payload.targetConf),t.payload.satPerByte&&(e=e+"&sat_per_byte="+t.payload.satPerByte),this.httpClient.delete(e).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new m.j),this.store.dispatch(new g.C("channels")),this.store.dispatch(new g.C("blockchain")),this.store.dispatch(new g.B),this.store.dispatch(t.payload.forcibly?new g.L:new g.D),this.store.dispatch(new g.d({channelPoint:"ALL",showMessage:"Channel Closed Successfully!"})),{type:g.fb,payload:{channelPoint:t.payload.channelPoint}})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.b.CHANNELS_API+"/"+t.payload.channelPoint+"?force="+t.payload.forcibly,e),Object(o.a)({type:m.fb}))))})),this.backupChannels=this.actions$.pipe(Object(r.d)(g.b),Object(c.a)(t=>(this.store.dispatch(new g.i("BackupChannels")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/"+t.payload.channelPoint).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new m.j),this.store.dispatch(new m.F(t.payload.showMessage+" "+e.message)),{type:g.c,payload:e.message})),Object(u.a)(e=>(this.store.dispatch(new g.n({action:"BackupChannels",code:e.status,message:e.error.error})),this.handleErrorWithAlert("ERROR",t.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/"+t.payload.channelPoint,e),Object(o.a)({type:m.fb}))))))),this.verifyChannels=this.actions$.pipe(Object(r.d)(g.fc),Object(c.a)(t=>(this.store.dispatch(new g.i("VerifyChannels")),this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/verify/"+t.payload.channelPoint,{}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),this.store.dispatch(new m.F(t.message)),{type:g.gc,payload:t.message})),Object(u.a)(e=>(this.store.dispatch(new g.n({action:"VerifyChannels",code:e.status,message:e.error.error})),this.handleErrorWithAlert("ERROR","Unable to Verify Channel. Try again later.",this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/verify/"+t.payload.channelPoint,e),Object(o.a)({type:m.fb}))))))),this.restoreChannels=this.actions$.pipe(Object(r.d)(g.jb),Object(c.a)(t=>(this.store.dispatch(new g.i("RestoreChannels")),this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/restore/"+t.payload.channelPoint,{}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),this.store.dispatch(new m.F(t.message)),this.store.dispatch(new g.Zb(t.list)),{type:g.kb,payload:t.message})),Object(u.a)(e=>(this.store.dispatch(new g.n({action:"RestoreChannels",code:e.status,message:e.error.error})),this.handleErrorWithAlert("ERROR","Unable to Restore Channel. Try again later.",this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/restore/"+t.payload.channelPoint,e),Object(o.a)({type:m.fb}))))))),this.fetchFees=this.actions$.pipe(Object(r.d)(g.r),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchFees")),this.httpClient.get(this.CHILD_API_URL+d.b.FEES_API))),Object(h.a)(t=>(this.logger.info(t),t.forwarding_events_history&&(this.store.dispatch(new g.Vb(t.forwarding_events_history)),delete t.forwarding_events_history),{type:g.zb,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchFees","Fetching Fees Failed.",t),Object(o.a)({type:m.fb})))),this.balanceFetch=this.actions$.pipe(Object(r.d)(g.p),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchBalance/"+t.payload)),this.httpClient.get(this.CHILD_API_URL+d.b.BALANCE_API+"/"+t.payload).pipe(Object(h.a)(e=>("channels"===t.payload&&this.store.dispatch(new g.C("blockchain")),this.logger.info(e),{type:g.ub,payload:e?{target:t.payload,balance:e}:{target:t.payload,balance:"channels"===t.payload?{balance:"",btc_balance:""}:{total_balance:"",btc_total_balance:""}}})),Object(u.a)(e=>(this.handleErrorWithoutAlert("FetchBalance/"+t.payload,"Fetching"+this.commonService.titleCase(t.payload)+" Balance Failed.",e),Object(o.a)({type:m.fb}))))))),this.networkInfoFetch=this.actions$.pipe(Object(r.d)(g.v),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchNetwork")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/info"))),Object(h.a)(t=>(this.logger.info(t),{type:g.Fb,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchNetwork","Fetching Network Failed.",t),Object(o.a)({type:m.fb})))),this.channelsAllFetch=this.actions$.pipe(Object(r.d)(g.o),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchChannels/all")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API).pipe(Object(h.a)(t=>(this.logger.info(t),{type:g.tb,payload:t&&t.channels&&t.channels.length>0?t.channels:[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchChannels/all","Fetching All Channels Failed.",t),Object(o.a)({type:m.fb}))))))),this.channelsPendingFetch=this.actions$.pipe(Object(r.d)(g.y),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchChannels/pending")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API+"/pending").pipe(Object(h.a)(t=>{this.logger.info(t);let e={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return t&&(e.total_limbo_balance=t.total_limbo_balance,t.pending_closing_channels&&(e.closing.num_channels=t.pending_closing_channels.length,e.total_channels=e.total_channels+t.pending_closing_channels.length,t.pending_closing_channels.forEach(t=>{e.closing.limbo_balance=+e.closing.limbo_balance+(t.channel.local_balance?+t.channel.local_balance:0)})),t.pending_force_closing_channels&&(e.force_closing.num_channels=t.pending_force_closing_channels.length,e.total_channels=e.total_channels+t.pending_force_closing_channels.length,t.pending_force_closing_channels.forEach(t=>{e.force_closing.limbo_balance=+e.force_closing.limbo_balance+(t.channel.local_balance?+t.channel.local_balance:0)})),t.pending_open_channels&&(e.open.num_channels=t.pending_open_channels.length,e.total_channels=e.total_channels+t.pending_open_channels.length,t.pending_open_channels.forEach(t=>{e.open.limbo_balance=+e.open.limbo_balance+(t.channel.local_balance?+t.channel.local_balance:0)})),t.waiting_close_channels&&(e.waiting_close.num_channels=t.waiting_close_channels.length,e.total_channels=e.total_channels+t.waiting_close_channels.length,t.waiting_close_channels.forEach(t=>{e.waiting_close.limbo_balance=+e.waiting_close.limbo_balance+(t.channel.local_balance?+t.channel.local_balance:0)}))),{type:g.Jb,payload:t?{channels:t,pendingChannels:e}:{channels:{},pendingChannels:e}}}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchChannels/pending","Fetching Pending Channels Failed.",t),Object(o.a)({type:m.fb}))))))),this.channelsClosedFetch=this.actions$.pipe(Object(r.d)(g.q),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchChannels/closed")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API+"/closed").pipe(Object(h.a)(t=>(this.logger.info(t),{type:g.yb,payload:t&&t.channels&&t.channels.length>0?t.channels:[]}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchChannels/closed","Fetching Closed Channels Failed.",t),Object(o.a)({type:m.fb})))))))),this.invoicesFetch=this.actions$.pipe(Object(r.d)(g.u),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchInvoices")),this.httpClient.get(this.CHILD_API_URL+d.b.INVOICES_API+"?num_max_invoices="+(t.payload.num_max_invoices?t.payload.num_max_invoices:100)+"&index_offset="+(t.payload.index_offset?t.payload.index_offset:0)+"&reversed="+(!!t.payload.reversed&&t.payload.reversed)).pipe(Object(h.a)(e=>(this.logger.info(e),t.payload.reversed&&!t.payload.index_offset&&this.store.dispatch(new g.ac(+e.last_index_offset)),{type:g.Db,payload:e})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchInvoices","Fetching Invoices Failed.",t),Object(o.a)({type:m.fb}))))))),this.transactionsFetch=this.actions$.pipe(Object(r.d)(g.z),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchTransactions")),this.httpClient.get(this.CHILD_API_URL+d.b.TRANSACTIONS_API))),Object(h.a)(t=>(this.logger.info(t),{type:g.Nb,payload:t&&t.length>0?t:[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchTransactions","Fetching Transactions Failed.",t),Object(o.a)({type:m.fb})))),this.utxosFetch=this.actions$.pipe(Object(r.d)(g.A),Object(a.a)(this.store.select("lnd")),Object(c.a)(([t,e])=>(this.store.dispatch(new g.i("FetchUTXOs")),this.httpClient.get(this.CHILD_API_URL+d.b.WALLET_API+"/getUTXOs?max_confs="+(e.information&&e.information.block_height?e.information.block_height:1e9)))),Object(h.a)(t=>(this.logger.info(t),{type:g.Ob,payload:t&&t.length>0?t:[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchUTXOs","Fetching UTXOs Failed.",t),Object(o.a)({type:m.fb})))),this.paymentsFetch=this.actions$.pipe(Object(r.d)(g.w),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchPayments")),this.httpClient.get(this.CHILD_API_URL+d.b.PAYMENTS_API))),Object(h.a)(t=>(this.logger.info(t),{type:g.Hb,payload:t||[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchPayments","Fetching Payments Failed.",t),Object(o.a)({type:m.fb})))),this.sendPayment=this.actions$.pipe(Object(r.d)(g.rb),Object(a.a)(this.store.select("root")),Object(c.a)(([t,e])=>{this.store.dispatch(new g.i("SendPayment"));let n={};return t.payload.outgoingChannel&&(n.outgoingChannel=t.payload.outgoingChannel.chan_id),t.payload.allowSelfPayment&&(n.allowSelfPayment=t.payload.allowSelfPayment),t.payload.lastHopPubkey&&(n.lastHopPubkey=t.payload.lastHopPubkey),t.payload.feeLimitType&&t.payload.feeLimitType!==b.i[0]&&(n.feeLimit={},n.feeLimit[t.payload.feeLimitType.id]=t.payload.feeLimit),t.payload.zeroAmtInvoice?n.paymentDecoded=t.payload.paymentDecoded:n.paymentReq=t.payload.paymentReq,this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API+"/transactions",n).pipe(Object(h.a)(e=>{if(this.logger.info(e),e.payment_error){if(t.payload.allowSelfPayment)return this.store.dispatch(new g.H({num_max_invoices:b.p,reversed:!0})),{type:g.sb,payload:e};{this.logger.error("Error: "+e.payment_error);const n={status:e.payment_error.status,error:e.payment_error.error&&e.payment_error.error.error&&"object"==typeof e.payment_error.error.error?e.payment_error.error.error:{error:e.payment_error.error&&e.payment_error.error.error?e.payment_error.error.error:"Unknown Error"}};return t.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment","Send Payment Failed.",n):this.handleErrorWithAlert("ERROR","Send Payment Failed",this.CHILD_API_URL+d.b.CHANNELS_API+"/transactions",n),Object(o.a)({type:m.fb})}}if(this.store.dispatch(new g.B),this.store.dispatch(new g.C("channels")),this.store.dispatch(new g.J),t.payload.allowSelfPayment)this.store.dispatch(new g.H({num_max_invoices:b.p,reversed:!0}));else{this.store.dispatch(new m.j);let t="Payment Sent Successfully.";e.payment_route&&e.payment_route.total_fees_msat&&(t="Payment sent successfully with the total fee "+e.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch(new m.F(t))}return{type:g.sb,payload:e}}),Object(u.a)(e=>{if(t.payload.allowSelfPayment)return this.store.dispatch(new g.H({num_max_invoices:b.p,reversed:!0})),Object(o.a)({type:g.sb,payload:e});{this.logger.error("Error: "+JSON.stringify(e));const n={status:e.status,error:e.error&&e.error.error&&"object"==typeof e.error.error?e.error.error:{error:e.error&&e.error.error?e.error.error:"Unknown Error"}};return t.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment","Send Payment Failed.",n):this.handleErrorWithAlert("ERROR","Send Payment Failed",this.CHILD_API_URL+d.b.CHANNELS_API+"/transactions",n),Object(o.a)({type:m.fb})}}))})),this.graphNodeFetch=this.actions$.pipe(Object(r.d)(g.s),Object(c.a)(t=>(this.store.dispatch(new g.i("FetchGraphNode")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/node/"+t.payload.pubkey).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Bb,payload:t&&t.node?{node:t.node}:{node:null}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchGraphNode","Fetching Graph Node Failed.",t),Object(o.a)({type:m.fb}))))))),this.setGraphNode=this.actions$.pipe(Object(r.d)(g.Bb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.getNewAddress=this.actions$.pipe(Object(r.d)(g.R),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.NEW_ADDRESS_API+"?type="+t.payload.addressId).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Gb,payload:t&&t.address?t.address:{}})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Generate New Address Failed",this.CHILD_API_URL+d.b.NEW_ADDRESS_API+"?type="+t.payload.addressId,e),Object(o.a)({type:m.fb})))))),this.setNewAddress=this.actions$.pipe(Object(r.d)(g.Gb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.SetChannelTransaction=this.actions$.pipe(Object(r.d)(g.vb),Object(c.a)(t=>(this.store.dispatch(new g.i("SetChannelTransaction")),this.httpClient.post(this.CHILD_API_URL+d.b.TRANSACTIONS_API,{amount:t.payload.amount,address:t.payload.address,sendAll:t.payload.sendAll,fees:t.payload.fees,blocks:t.payload.blocks}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),this.store.dispatch(new g.M),this.store.dispatch(new g.C("blockchain")),{type:g.wb,payload:t})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SetChannelTransaction","Sending Fund Failed.",t),Object(o.a)({type:m.fb}))))))),this.fetchForwardingHistory=this.actions$.pipe(Object(r.d)(g.Q),Object(c.a)(t=>(this.store.dispatch(new g.i("GetForwardingHistory")),this.httpClient.post(this.CHILD_API_URL+d.b.SWITCH_API,{num_max_events:t.payload.num_max_events,index_offset:t.payload.index_offset,end_time:t.payload.end_time,start_time:t.payload.start_time}).pipe(Object(h.a)(t=>(this.logger.info(t),{type:g.Ab,payload:t})),Object(u.a)(t=>(this.store.dispatch(new g.n({action:"GetForwardingHistory",code:t.status,message:t.error.error})),this.handleErrorWithAlert("ERROR","Get Forwarding History Failed",this.CHILD_API_URL+d.b.SWITCH_API,t),Object(o.a)({type:m.fb}))))))),this.queryRoutesFetch=this.actions$.pipe(Object(r.d)(g.S),Object(c.a)(t=>{let e=this.CHILD_API_URL+d.b.NETWORK_API+"/routes/"+t.payload.destPubkey+"/"+t.payload.amount;return t.payload.outgoingChanId&&(e=e+"?outgoing_chan_id="+t.payload.outgoingChanId),this.httpClient.get(e).pipe(Object(h.a)(t=>(this.logger.info(t),{type:g.Kb,payload:t})),Object(u.a)(t=>(this.store.dispatch(new g.Yb({})),this.handleErrorWithAlert("ERROR","Get Query Routes Failed",this.CHILD_API_URL+d.b.NETWORK_API,t),Object(o.a)({type:m.fb}))))})),this.setQueryRoutes=this.actions$.pipe(Object(r.d)(g.Kb),Object(h.a)(t=>t.payload)),this.genSeed=this.actions$.pipe(Object(r.d)(g.O),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.WALLET_API+"/genseed/"+t.payload).pipe(Object(h.a)(t=>(this.logger.info("Generated GenSeed!"),this.logger.info(t),this.store.dispatch(new m.j),{type:g.P,payload:t.cipher_seed_mnemonic})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Genseed Generation Failed",this.CHILD_API_URL+d.b.WALLET_API+"/genseed/"+t.payload,e),Object(o.a)({type:m.fb})))))),this.updateSelNodeOptions=this.actions$.pipe(Object(r.d)(m.ab),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.WALLET_API+"/updateSelNodeOptions").pipe(Object(h.a)(t=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(t),this.store.dispatch(new m.j),{type:m.fb})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",t),Object(o.a)({type:m.fb})))))),this.genSeedResponse=this.actions$.pipe(Object(r.d)(g.P),Object(h.a)(t=>t.payload)),this.initWalletRes=this.actions$.pipe(Object(r.d)(g.Y),Object(h.a)(t=>t.payload)),this.initWallet=this.actions$.pipe(Object(r.d)(g.X),Object(c.a)(t=>this.httpClient.post(this.CHILD_API_URL+d.b.WALLET_API+"/wallet/initwallet",{wallet_password:t.payload.pwd,cipher_seed_mnemonic:t.payload.cipher?t.payload.cipher:"",aezeed_passphrase:t.payload.passphrase?t.payload.passphrase:""}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Y,payload:t})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Wallet Initialization Failed",this.CHILD_API_URL+d.b.WALLET_API+"/initwallet",t),Object(o.a)({type:m.fb})))))),this.unlockWallet=this.actions$.pipe(Object(r.d)(g.bc),Object(c.a)(t=>this.httpClient.post(this.CHILD_API_URL+d.b.WALLET_API+"/wallet/unlockwallet",{wallet_password:t.payload.pwd}).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),this.store.dispatch(new m.G("Initializing Node...")),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),setTimeout(()=>{this.store.dispatch(new m.j),this.logger.info("Successfully Initialized!"),this.store.dispatch(new g.G({loadPage:"HOME"}))},5e3),{type:m.fb})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Unlock Wallet Failed",this.CHILD_API_URL+d.b.WALLET_API+"/unlockwallet",t),Object(o.a)({type:m.fb})))))),this.peerLookup=this.actions$.pipe(Object(r.d)(g.db),Object(c.a)(t=>(this.store.dispatch(new g.i("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/node/"+t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Eb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new g.n({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Peer Lookup Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/node/"+t.payload,e),Object(o.a)({type:m.fb}))))))),this.channelLookup=this.actions$.pipe(Object(r.d)(g.e),Object(c.a)(t=>(this.store.dispatch(new g.i("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/edge/"+t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Eb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new g.n({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Channel Lookup Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/edge/"+t.payload,e),this.store.dispatch(new g.Wb({})),Object(o.a)({type:m.fb}))))))),this.invoiceLookup=this.actions$.pipe(Object(r.d)(g.Z),Object(c.a)(t=>(this.store.dispatch(new g.i("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.INVOICES_API+"/"+t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Eb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new g.n({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Invoice Lookup Failed",this.CHILD_API_URL+d.b.INVOICES_API+"/"+t.payload,e),Object(o.a)({type:m.fb}))))))),this.setLookup=this.actions$.pipe(Object(r.d)(g.Eb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.getRestoreChannelList=this.actions$.pipe(Object(r.d)(g.ib),Object(c.a)(t=>(this.store.dispatch(new g.i("RestoreChannelsList")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API+"/restore/list").pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.j),{type:g.Lb,payload:t||{all_restore_exists:!1,files:[]}})),Object(u.a)(t=>(this.store.dispatch(new g.n({action:"RestoreChannelsList",code:t.status,message:t.error.message})),this.handleErrorWithAlert("ERROR","Restore Channels List Failed",this.CHILD_API_URL+d.b.CHANNELS_BACKUP_API,t),Object(o.a)({type:m.fb}))))))),this.setRestoreChannelList=this.actions$.pipe(Object(r.d)(g.Lb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.store.select("lnd").pipe(Object(l.a)(this.unSubs[0])).subscribe(t=>{"INCOMPLETE"===t.initialAPIResponseStatus[0]&&t.initialAPIResponseStatus.length>8&&(t.initialAPIResponseStatus[0]="COMPLETE",this.store.dispatch(new m.j))})}initializeRemainingData(t,e){if(this.sessionService.setItem("lndUnlocked","true"),t.chains){if("string"==typeof t.chains[0])t.smaller_currency_unit=t.chains[0].toString().toLowerCase().indexOf("bitcoin")<0?b.g.LITOSHIS:b.g.SATS,t.currency_unit=t.chains[0].toString().toLowerCase().indexOf("bitcoin")<0?b.g.LTC:b.g.BTC;else if("object"==typeof t.chains[0]&&t.chains[0].hasOwnProperty("chain")){const e=t.chains[0];t.smaller_currency_unit=e.chain.toLowerCase().indexOf("bitcoin")<0?b.g.LITOSHIS:b.g.SATS,t.currency_unit=e.chain.toLowerCase().indexOf("bitcoin")<0?b.g.LTC:b.g.BTC}t.version=t.version?t.version.split(" ")[0]:""}else t.smaller_currency_unit=b.g.SATS,t.currency_unit=b.g.BTC,t.version=t.version?t.version.split(" ")[0]:"";const n={identity_pubkey:t.identity_pubkey,alias:t.alias,testnet:t.testnet,chains:t.chains,uris:t.uris,version:t.version,currency_unit:t.currency_unit,smaller_currency_unit:t.smaller_currency_unit};this.store.dispatch(new m.G("Initializing Node Data...")),this.store.dispatch(new m.V(n)),this.store.dispatch(new g.K),this.store.dispatch(new g.C("channels")),this.store.dispatch(new g.I),this.store.dispatch(new g.B),this.store.dispatch(new g.L),this.store.dispatch(new g.D),this.store.dispatch(new g.H({num_max_invoices:10,reversed:!0})),this.store.dispatch(new g.J),this.store.dispatch(new g.E);let i=this.location.path();i.includes("/cl/")?i=i.replace("/cl/","/lnd/"):i.includes("/ecl/")&&(i=i.replace("/ecl/","/lnd/")),(i.includes("/unlock")||i.includes("/login")||i.includes("/error")||""===i||"HOME"===e||i.includes("?access-key="))&&(i="/lnd/home"),this.router.navigate([i])}handleErrorWithoutAlert(t,e,n){this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new m.h),this.store.dispatch(new m.y),this.store.dispatch(new m.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new m.j),this.store.dispatch(new g.n({action:t,code:n.status.toString(),message:n.error.error&&n.error.error.error&&n.error.error.error.error&&n.error.error.error.error.error&&"string"==typeof n.error.error.error.error.error?n.error.error.error.error.error:n.error.error&&n.error.error.error&&n.error.error.error.error&&"string"==typeof n.error.error.error.error?n.error.error.error.error:n.error.error&&n.error.error.error&&"string"==typeof n.error.error.error?n.error.error.error:n.error.error&&"string"==typeof n.error.error?n.error.error:"string"==typeof n.error?n.error:e})))}handleErrorWithAlert(t,e,n,i){this.logger.error(i),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new m.h),this.store.dispatch(new m.y),this.store.dispatch(new m.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new m.j),this.store.dispatch(new m.D({data:{type:t,alertTitle:e,message:{code:i.status,message:i.error.error&&i.error.error.error&&i.error.error.error.error&&i.error.error.error.error.error&&"string"==typeof i.error.error.error.error.error?i.error.error.error.error.error:i.error.error&&i.error.error.error&&i.error.error.error.error&&"string"==typeof i.error.error.error.error?i.error.error.error.error:i.error.error&&i.error.error.error&&"string"==typeof i.error.error.error?i.error.error.error:i.error.error&&"string"==typeof i.error.error?i.error.error:"string"==typeof i.error?i.error:"Unknown Error",URL:n},component:p.a}})))}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(y.Zb(r.a),y.Zb(v.b),y.Zb(_.h),y.Zb(w.b),y.Zb(C.a),y.Zb(x.a),y.Zb(S.c),y.Zb(O.g),y.Zb(A.j))},t.\u0275prov=y.Lb({token:t,factory:t.\u0275fac}),Object(i.a)([Object(r.b)()],t.prototype,"infoFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"peersFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"saveNewPeer",void 0),Object(i.a)([Object(r.b)()],t.prototype,"detachPeer",void 0),Object(i.a)([Object(r.b)()],t.prototype,"saveNewInvoice",void 0),Object(i.a)([Object(r.b)()],t.prototype,"openNewChannel",void 0),Object(i.a)([Object(r.b)()],t.prototype,"updateChannel",void 0),Object(i.a)([Object(r.b)()],t.prototype,"closeChannel",void 0),Object(i.a)([Object(r.b)()],t.prototype,"backupChannels",void 0),Object(i.a)([Object(r.b)()],t.prototype,"verifyChannels",void 0),Object(i.a)([Object(r.b)()],t.prototype,"restoreChannels",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchFees",void 0),Object(i.a)([Object(r.b)()],t.prototype,"balanceFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"networkInfoFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelsAllFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelsPendingFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelsClosedFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"invoicesFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"transactionsFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"utxosFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"paymentsFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"sendPayment",void 0),Object(i.a)([Object(r.b)()],t.prototype,"graphNodeFetch",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setGraphNode",void 0),Object(i.a)([Object(r.b)()],t.prototype,"getNewAddress",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setNewAddress",void 0),Object(i.a)([Object(r.b)()],t.prototype,"SetChannelTransaction",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchForwardingHistory",void 0),Object(i.a)([Object(r.b)()],t.prototype,"queryRoutesFetch",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setQueryRoutes",void 0),Object(i.a)([Object(r.b)()],t.prototype,"genSeed",void 0),Object(i.a)([Object(r.b)()],t.prototype,"updateSelNodeOptions",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"genSeedResponse",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"initWalletRes",void 0),Object(i.a)([Object(r.b)()],t.prototype,"initWallet",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"unlockWallet",void 0),Object(i.a)([Object(r.b)()],t.prototype,"peerLookup",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelLookup",void 0),Object(i.a)([Object(r.b)()],t.prototype,"invoiceLookup",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setLookup",void 0),Object(i.a)([Object(r.b)()],t.prototype,"getRestoreChannelList",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setRestoreChannelList",void 0),t})()},FUXG:function(t,e,n){"use strict";e.utils=n("Xudb"),e.Cipher=n("AYSA"),e.DES=n("Titl"),e.CBC=n("DaRl"),e.EDE=n("H+yo")},GS7A:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return g}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return c}),n.d(e,"h",function(){return d}),n.d(e,"i",function(){return b}),n.d(e,"j",function(){return l}),n.d(e,"k",function(){return u}),n.d(e,"l",function(){return h}),n.d(e,"m",function(){return f}),n.d(e,"n",function(){return o}),n.d(e,"o",function(){return y}),n.d(e,"p",function(){return v});class i{}class r{}const s="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function c(t,e=null){return{type:3,steps:t,options:e}}function l(t,e=null){return{type:2,steps:t,options:e}}function h(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function d(t){return{type:5,steps:t}}function f(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function b(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class y{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const v="!"},Giow:function(t,e,n){"use strict";var i=n("P7XM"),r=n("1CSz"),s=n("ZDAU"),o=n("hwdV").Buffer,a=n("WnY+"),c=n("tcrS"),l=n("afKu"),h=o.alloc(128);function u(t,e){s.call(this,"digest"),"string"==typeof e&&(e=o.from(e));var n="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>n?e=("rmd160"===t?new c:l(t)).update(e).digest():e.length<n&&(e=o.concat([e,h],n));for(var i=this._ipad=o.allocUnsafe(n),r=this._opad=o.allocUnsafe(n),a=0;a<n;a++)i[a]=54^e[a],r[a]=92^e[a];this._hash="rmd160"===t?new c:l(t),this._hash.update(i)}i(u,s),u.prototype._update=function(t){this._hash.update(t)},u.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:l(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new u("rmd160",e):"md5"===t?new r(a,e):new u(t,e)}},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("LRne"),r=n("0EUg");function s(...t){return Object(r.a)()(Object(i.a)(...t))}},"H+yo":function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM"),s=n("AYSA"),o=n("Titl");function a(t,e){i.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),r=e.slice(8,16),s=e.slice(16,24);this.ciphers="encrypt"===t?[o.create({type:"encrypt",key:n}),o.create({type:"decrypt",key:r}),o.create({type:"encrypt",key:s})]:[o.create({type:"decrypt",key:s}),o.create({type:"encrypt",key:r}),o.create({type:"decrypt",key:n})]}function c(t){s.call(this,t);var e=new a(this.type,this.options.key);this._edeState=e}r(c,s),t.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,e,n,i){var r=this._edeState;r.ciphers[0]._update(t,e,n,i),r.ciphers[1]._update(n,i,n,i),r.ciphers[2]._update(n,i,n,i)},c.prototype._pad=o.prototype._pad,c.prototype._unpad=o.prototype._unpad},H7XF:function(t,e,n){"use strict";e.byteLength=function(t){var e=l(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,i=l(t),o=i[0],a=i[1],c=new s(function(t,e,n){return 3*(e+n)/4-n}(0,o,a)),h=0,u=a>0?o-4:o;for(n=0;n<u;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[h++]=e>>16&255,c[h++]=e>>8&255,c[h++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[h++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[h++]=e>>8&255,c[h++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,r=n%3,s=[],o=16383,a=0,c=n-r;a<c;a+=o)s.push(h(t,a,a+o>c?c:a+o));return 1===r?s.push(i[(e=t[n-1])>>2]+i[e<<4&63]+"=="):2===r&&s.push(i[(e=(t[n-2]<<8)+t[n-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),s.join("")};for(var i=[],r=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=o.length;a<c;++a)i[a]=o[a],r[o.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function h(t,e,n){for(var r,s=[],o=e;o<n;o+=3)s.push(i[(r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),o=n("kJWO"),a=n("SpAZ"),c=n("2fFW");let l=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=h(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=h(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function h(t){if(t||(t=c.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HEbw:function(t,e,n){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n("Edxu"),e.createHash=e.Hash=n("mObS"),e.createHmac=e.Hmac=n("Giow");var i=n("EW2V"),r=Object.keys(i),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);e.getHashes=function(){return s};var o=n("oJl4");e.pbkdf2=o.pbkdf2,e.pbkdf2Sync=o.pbkdf2Sync;var a=n("lWpZ");e.Cipher=a.Cipher,e.createCipher=a.createCipher,e.Cipheriv=a.Cipheriv,e.createCipheriv=a.createCipheriv,e.Decipher=a.Decipher,e.createDecipher=a.createDecipher,e.Decipheriv=a.Decipheriv,e.createDecipheriv=a.createDecipheriv,e.getCiphers=a.getCiphers,e.listCiphers=a.listCiphers;var c=n("ANxK");e.DiffieHellmanGroup=c.DiffieHellmanGroup,e.createDiffieHellmanGroup=c.createDiffieHellmanGroup,e.getDiffieHellman=c.getDiffieHellman,e.createDiffieHellman=c.createDiffieHellman,e.DiffieHellman=c.DiffieHellman;var l=n("tpL1");e.createSign=l.createSign,e.Sign=l.Sign,e.createVerify=l.createVerify,e.Verify=l.Verify,e.createECDH=n("4dMO");var h=n("ZEK9");e.publicEncrypt=h.publicEncrypt,e.privateEncrypt=h.privateEncrypt,e.publicDecrypt=h.publicDecrypt,e.privateDecrypt=h.privateDecrypt;var u=n("dcwN");e.randomFill=u.randomFill,e.randomFillSync=u.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},HeVh:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return m});var i=n("8Y7J"),r=n("8LU1"),s=n("XNiG"),o=n("itXk"),a=n("GyhO"),c=n("HDdC"),l=n("IzEk"),h=n("zP0r"),u=n("Kj3r"),d=n("lJxs"),f=n("JX91"),p=n("1G5W"),b=n("SCoL");let m=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})();const g=new Set;let y,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!g.has(t))try{y||(y=document.createElement("style"),y.setAttribute("type","text/css"),document.head.appendChild(y)),y.sheet&&(y.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),g.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(b.a))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(b.a))},token:t,providedIn:"root"}),t})();function _(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let w=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new s.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return C(Object(r.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=C(Object(r.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(o.b)(e);return n=Object(a.a)(n.pipe(Object(l.a)(1)),n.pipe(Object(h.a)(1),Object(u.a)(0))),n.pipe(Object(d.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new c.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(f.a)(e),Object(d.a)(({matches:e})=>({query:t,matches:e})),Object(p.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(v),i.Zb(i.B))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(v),Object(i.Zb)(i.B))},token:t,providedIn:"root"}),t})();function C(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const x={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},Hjy1:function(t,e,n){var i=n("ZDAU"),r=n("FUXG"),s=n("P7XM"),o=n("hwdV").Buffer,a={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function c(t){i.call(this);var e,n=t.mode.toLowerCase(),r=a[n];e=t.decrypt?"decrypt":"encrypt";var s=t.key;o.isBuffer(s)||(s=o.from(s)),"des-ede"!==n&&"des-ede-cbc"!==n||(s=o.concat([s,s.slice(0,8)]));var c=t.iv;o.isBuffer(c)||(c=o.from(c)),this._des=r.create({key:s,iv:c,type:e})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],t.exports=c,s(c,i),c.prototype._update=function(t){return o.from(this._des.update(t))},c.prototype._final=function(){return o.from(this._des.final())}},"Ht+U":function(t,e,n){"use strict";n.d(e,"a",function(){return y}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return b}),n.d(e,"d",function(){return h}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return o}),n.d(e,"g",function(){return u}),n.d(e,"h",function(){return d}),n.d(e,"i",function(){return g}),n.d(e,"j",function(){return l}),n.d(e,"k",function(){return c}),n.d(e,"l",function(){return p}),n.d(e,"m",function(){return a}),n.d(e,"n",function(){return r}),n.d(e,"o",function(){return f}),n.d(e,"p",function(){return v}),n.d(e,"q",function(){return m}),n.d(e,"r",function(){return _});const i=8,r=9,s=13,o=27,a=32,c=33,l=34,h=35,u=36,d=37,f=38,p=39,b=40,m=48,g=57,y=65,v=90;function _(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IG1u:function(t,e,n){var i,r=n("hwdV").Buffer,s=n("fSpj"),o=n("n53Y"),a=n("4Hv8"),c=n("i+bA"),l=global.crypto&&global.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},u=[];function d(t,e,n,i,s){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:s}},t,i<<3)}).then(function(t){return r.from(t)})}t.exports=function(t,e,n,f,p,b){"function"==typeof p&&(b=p,p=void 0);var m=h[(p=p||"sha1").toLowerCase()];if(!m||"function"!=typeof global.Promise)return process.nextTick(function(){var i;try{i=a(t,e,n,f,p)}catch(r){return b(r)}b(null,i)});if(s(n,f),t=c(t,o,"Password"),e=c(e,o,"Salt"),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then(function(t){process.nextTick(function(){e(null,t)})},function(t){process.nextTick(function(){e(t)})})}(function(t){if(global.process&&!global.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==u[t])return u[t];var e=d(i=i||r.alloc(8),i,10,128,t).then(function(){return!0}).catch(function(){return!1});return u[t]=e,e}(m).then(function(i){return i?d(t,e,n,f,m):a(t,e,n,f,p)}),b)}},IPZY:function(t,e,n){"use strict";const i=e;i.der=n("z71Z"),i.pem=n("jfd1")},ITfd:function(t,e,n){"use strict";var i=n("w8CP"),r=n("2j6C");function s(t,e,n){if(!(this instanceof s))return new s(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(e,n))}t.exports=s,s.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),r(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},s.prototype.update=function(t,e){return this.inner.update(t,e),this},s.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},IheW:function(t,e,n){"use strict";n.d(e,"a",function(){return E}),n.d(e,"b",function(){return A}),n.d(e,"c",function(){return B}),n.d(e,"d",function(){return b});var i=n("8Y7J"),r=n("LRne"),s=n("HDdC"),o=n("bOdf"),a=n("pLZG"),c=n("lJxs"),l=n("SVse");class h{}class u{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class f{encodeKey(t){return p(t)}encodeValue(t){return p(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function p(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class b{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new b({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class v{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new b,this.urlWithParams=e}serializeBody(){return null===this.body?null:m(this.body)||g(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof b?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||y(this.body)?null:g(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof b?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new v(e,n,r,{params:c,headers:a,reportProgress:o,responseType:i,withCredentials:s})}}var _=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class w{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends w{constructor(t={}){super(t),this.type=_.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class x extends w{constructor(t={}){super(t),this.type=_.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends w{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let A=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof v)i=t;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let s=void 0;n.params&&(s=n.params instanceof b?n.params:new b({fromObject:n.params})),i=new v(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof v||"events"===n.observe)return s;const l=s.pipe(Object(a.a)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(Object(c.a)(t=>t.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new b).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(h))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();class k{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const E=new i.s("HTTP_INTERCEPTORS");let L=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const D=/^\)\]\}',?\n/;class I{}let P=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new C({headers:s,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),c=null;204!==r&&(c=void 0===n.response?n.responseText:n.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(D,"");try{c=""!==c?JSON.parse(c):null}catch(h){c=t,l&&(l=!1,c={error:h,text:c})}}l?(e.next(new x({body:c,headers:i,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new S({error:c,headers:i,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=s(),r=new S({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let c=!1;const l=i=>{c||(e.next(s()),c=!0);let r={type:_.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},h=t=>{let n={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",l),null!==i&&n.upload&&n.upload.addEventListener("progress",h)),n.send(i),e.next({type:_.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",l),null!==i&&n.upload&&n.upload.removeEventListener("progress",h)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(I))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const R=new i.s("XSRF_COOKIE_NAME"),M=new i.s("XSRF_HEADER_NAME");class j{}let F=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.F)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(l.d),i.Zb(i.D),i.Zb(R))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(j),i.Zb(M))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(E,[]);this.chain=t.reduceRight((t,e)=>new k(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(u),i.Zb(i.t))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:N,useClass:L}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[N,{provide:E,useExisting:N,multi:!0},{provide:j,useClass:F},{provide:R,useValue:"XSRF-TOKEN"},{provide:M,useValue:"X-XSRF-TOKEN"}]}),t})(),B=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[A,{provide:h,useClass:U},T,{provide:u,useExisting:T},P,{provide:I,useExisting:P}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},Iqt3:function(t,e,n){"use strict";function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n("tjlA").Buffer,o=n(2).inspect,a=o&&o.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e;return(e=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return s.alloc(0);for(var e=s.allocUnsafe(t>>>0),n=this.head,i=0;n;)s.prototype.copy.call(n.data,e,i),i+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,i=e.data;for(t-=i.length;e=e.next;){var r=e.data,s=t>r.length?r.length:t;if(i+=s===r.length?r:r.slice(0,t),0==(t-=s)){s===r.length?(++n,this.head=e.next?e.next:this.tail=null):(this.head=e,e.data=r.slice(s));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function(t){var e=s.allocUnsafe(t),n=this.head,i=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var r=n.data,o=t>r.length?r.length:t;if(r.copy(e,e.length-t,0,o),0==(t-=o)){o===r.length?(++i,this.head=n.next?n.next:this.tail=null):(this.head=n,n.data=r.slice(o));break}++i}return this.length-=i,e}},{key:a,value:function(t,e){return o(this,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){r(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{depth:0,customInspect:!1}))}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}()},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function o(t){return e=>0===t?Object(s.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},IzUq:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},J6Nv:function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},J78i:function(t,e,n){"use strict";t.exports=o;var i=n("sZro"),r=Object.create(n("Onz0"));function s(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),i(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);i.call(this,t),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",a)}function a(){var t=this;"function"==typeof this._flush?this._flush(function(e,n){c(t,e,n)}):c(this,null,null)}function c(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}r.inherits=n("P7XM"),r.inherits(o,i),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,i.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,n){var i=this._transformState;if(i.writecb=n,i.writechunk=t,i.writeencoding=e,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var n=this;i.prototype._destroy.call(this,t,function(t){e(t),n.emit("close")})}},J9en:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=(i=n("HEbw"))&&"object"==typeof i&&"default"in i?i.default:i;e.createDigest=(t,e,n)=>r.createHmac(t,Buffer.from(e,"hex")).update(Buffer.from(n,"hex")).digest().toString("hex"),e.createRandomBytes=(t,e)=>r.randomBytes(t).toString(e)},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return function(e){const n=new s(t),i=e.lift(n);return n.caught=i}}class s{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new i.a(this);this.add(r);const s=Object(i.c)(n,r);s!==r&&this.add(s)}}}},JTFm:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("GS7A");const r=Object(i.n)("routeAnimation",[Object(i.m)("* => *",[Object(i.i)(":enter, :leave",Object(i.l)({position:"fixed",width:"100%"}),{optional:!0}),Object(i.g)([Object(i.i)(":enter",[Object(i.l)({transform:"translateX(100%)"}),Object(i.e)("1000ms ease-in-out",Object(i.l)({transform:"translateX(0%)"}))],{optional:!0}),Object(i.i)(":leave",[Object(i.l)({transform:"translateX(0%)"}),Object(i.e)("1000ms ease-in-out",Object(i.l)({transform:"translateX(-100%)"}))],{optional:!0})])])])},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("GyhO"),r=n("z+Ro");function s(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},JzKC:function(t,e,n){var i=n("Wogr"),r=n("aZ40");e.mul=function(t,e){var n=new i(t.length+e.length-1);n.fill(0);for(var s=0;s<t.length;s++)for(var o=0;o<e.length;o++)n[s+o]^=r.mul(t[s],e[o]);return n},e.mod=function(t,e){for(var n=new i(t);n.length-e.length>=0;){for(var s=n[0],o=0;o<e.length;o++)n[o]^=r.mul(e[o],s);for(var a=0;a<n.length&&0===n[a];)a++;n=n.slice(a)}return n},e.generateECPolynomial=function(t){for(var n=new i([1]),s=0;s<t;s++)n=e.mul(n,[1,r.exp(s)]);return n}},KAEN:function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.3","C:\\\\workspace\\\\RTL"]],"_development":true,"_from":"elliptic@6.5.3","_id":"elliptic@6.5.3","_inBundle":false,"_integrity":"sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.3","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.3","saveSpec":null,"fetchSpec":"6.5.3"},"_requiredBy":["/browserify-sign","/create-ecdh"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz","_spec":"6.5.3","_where":"C:\\\\workspace\\\\RTL","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.3"}')},Kj3r:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("7o/Q"),r=n("D0XW");function s(t,e=r.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function c(t){t.debouncedNext()}},Kqap:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new s(t,e,n))}}class s{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}class o extends i.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}},Ku4m:function(t,e,n){var i=n("QRH4"),r=n("1w4i"),s=n("TdD3"),o=n("/ab2"),a=n("oJl4"),c=n("hwdV").Buffer;function l(t){var e;"object"!=typeof t||c.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=c.from(t));var n,l,h=s(t,e),u=h.tag,d=h.data;switch(u){case"CERTIFICATE":l=i.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=i.PublicKey.decode(d,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=i.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":d=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),s=r[t.algorithm.decrypt.cipher.algo.join(".")],l=t.algorithm.decrypt.cipher.iv,h=t.subjectPrivateKey,u=parseInt(s.split("-")[1],10)/8,d=a.pbkdf2Sync(e,n,i,u,"sha1"),f=o.createDecipheriv(s,d,l),p=[];return p.push(f.update(h)),p.push(f.final()),c.concat(p)}(d=i.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(n=(l=i.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:i.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=i.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=i.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+u)}}t.exports=l,l.signature=i.signature},"Kz+i":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("J9en"),r=n("fkiA"),s=n("g9mE");const o=new s.HOTP({createDigest:i.createDigest}),a=new s.TOTP({createDigest:i.createDigest}),c=new s.Authenticator({createDigest:i.createDigest,createRandomBytes:i.createRandomBytes,keyDecoder:r.keyDecoder,keyEncoder:r.keyEncoder});e.authenticator=c,e.hotp=o,e.totp=a},LGOv:function(t,e,n){t.exports=n("3BRs")},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},LUZP:function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return A});var i=n("8Y7J"),r=n("8LU1"),s=n("UhP/"),o=n("Ht+U"),a=n("XNiG"),c=n("VRyK"),l=n("GS7A"),h=n("SVse"),u=n("YEUz");const d=["mat-sort-header",""];function f(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",3),i.dc("@arrowPosition.start",function(){return i.zc(t),i.hc()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.zc(t),i.hc()._disableViewStateAnimation=!1}),i.Qb(1,"div",4),i.Vb(2,"div",5),i.Qb(3,"div",6),i.Qb(4,"div",7),i.Qb(5,"div",8),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),i.Db(2),i.oc("@indicator",t._getArrowDirectionState()),i.Db(1),i.oc("@leftPointer",t._getArrowDirectionState()),i.Db(1),i.oc("@rightPointer",t._getArrowDirectionState())}}const p=["*"];class b{}const m=Object(s.B)(Object(s.z)(b));let g=(()=>{class t extends m{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new a.a,this.start="asc",this._direction="",this.sortChange=new i.o}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(r.c)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),n=e.indexOf(this.direction)+1;return n>=e.length&&(n=0),e[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return y(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.Ab,i.Bb]}),t})();const y=i.Xb(g),v=s.b.ENTERING+" "+s.a.STANDARD_CURVE,_={indicator:Object(l.n)("indicator",[Object(l.k)("active-asc, asc",Object(l.l)({transform:"translateY(0px)"})),Object(l.k)("active-desc, desc",Object(l.l)({transform:"translateY(10px)"})),Object(l.m)("active-asc <=> active-desc",Object(l.e)(v))]),leftPointer:Object(l.n)("leftPointer",[Object(l.k)("active-asc, asc",Object(l.l)({transform:"rotate(-45deg)"})),Object(l.k)("active-desc, desc",Object(l.l)({transform:"rotate(45deg)"})),Object(l.m)("active-asc <=> active-desc",Object(l.e)(v))]),rightPointer:Object(l.n)("rightPointer",[Object(l.k)("active-asc, asc",Object(l.l)({transform:"rotate(45deg)"})),Object(l.k)("active-desc, desc",Object(l.l)({transform:"rotate(-45deg)"})),Object(l.m)("active-asc <=> active-desc",Object(l.e)(v))]),arrowOpacity:Object(l.n)("arrowOpacity",[Object(l.k)("desc-to-active, asc-to-active, active",Object(l.l)({opacity:1})),Object(l.k)("desc-to-hint, asc-to-hint, hint",Object(l.l)({opacity:.54})),Object(l.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(l.l)({opacity:0})),Object(l.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(l.e)("0ms")),Object(l.m)("* <=> *",Object(l.e)(v))]),arrowPosition:Object(l.n)("arrowPosition",[Object(l.m)("* => desc-to-hint, * => desc-to-active",Object(l.e)(v,Object(l.h)([Object(l.l)({transform:"translateY(-25%)"}),Object(l.l)({transform:"translateY(0)"})]))),Object(l.m)("* => hint-to-desc, * => active-to-desc",Object(l.e)(v,Object(l.h)([Object(l.l)({transform:"translateY(0)"}),Object(l.l)({transform:"translateY(25%)"})]))),Object(l.m)("* => asc-to-hint, * => asc-to-active",Object(l.e)(v,Object(l.h)([Object(l.l)({transform:"translateY(25%)"}),Object(l.l)({transform:"translateY(0)"})]))),Object(l.m)("* => hint-to-asc, * => active-to-asc",Object(l.e)(v,Object(l.h)([Object(l.l)({transform:"translateY(0)"}),Object(l.l)({transform:"translateY(-25%)"})]))),Object(l.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(l.l)({transform:"translateY(0)"})),Object(l.k)("hint-to-desc, active-to-desc, desc",Object(l.l)({transform:"translateY(-25%)"})),Object(l.k)("hint-to-asc, active-to-asc, asc",Object(l.l)({transform:"translateY(25%)"}))]),allowChildren:Object(l.n)("allowChildren",[Object(l.m)("* <=> *",[Object(l.i)("@*",Object(l.f)(),{optional:!0})])])};let w=(()=>{class t{constructor(){this.changes=new a.a,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const C={provide:w,deps:[[new i.C,new i.M,w]],useFactory:function(t){return t||new w}};class x{}const S=Object(s.z)(x);let O=(()=>{class t extends S{constructor(t,e,n,i,r,s){super(),this._intl=t,this._sort=n,this._columnDef=i,this._focusMonitor=r,this._elementRef=s,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=Object(c.a)(n.sortChange,n._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(r.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>this._setIndicatorHintVisible(!!t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(t){this._isDisabled()||t.keyCode!==o.m&&t.keyCode!==o.e||(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(w),i.Pb(i.h),i.Pb(g,8),i.Pb("MAT_SORT_HEADER_COLUMN_DEF",8),i.Pb(u.h),i.Pb(i.l))},t.\u0275cmp=i.Jb({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.dc("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(i.Eb("aria-sort",e._getAriaSortAttribute()),i.Hb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.Ab],attrs:d,ngContentSelectors:p,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.nc(),i.Vb(0,"div",0),i.Vb(1,"div",1),i.mc(2),i.Ub(),i.Ic(3,f,6,6,"div",2),i.Ub()),2&t&&(i.Hb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.Eb("tabindex",e._isDisabled()?null:0),i.Db(3),i.oc("ngIf",e._renderArrow()))},directives:[h.o],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[_.indicator,_.leftPointer,_.rightPointer,_.arrowOpacity,_.arrowPosition,_.allowChildren]},changeDetection:0}),t})(),A=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[C],imports:[[h.c,s.i]]}),t})()},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return r});const r=i()},Lnru:function(t,e,n){"use strict";n.d(e,"a",function(){return Go}),n.d(e,"b",function(){return qo}),n.d(e,"c",function(){return la});var i=n("8Y7J"),r=n("SVse"),s=n("GS7A"),o=n("1z/I"),a=n("mrSG"),c=n("xgIS"),l=n("Kj3r");function h(){}var u=function(t){return null==t?h:function(){return this.querySelector(t)}};function d(){return[]}var f=function(t){return null==t?d:function(){return this.querySelectorAll(t)}},p=function(t){return function(){return this.matches(t)}},b=function(t){return new Array(t.length)};function m(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function g(t,e,n,i,r,s){for(var o,a=0,c=e.length,l=s.length;a<l;++a)(o=e[a])?(o.__data__=s[a],i[a]=o):n[a]=new m(t,s[a]);for(;a<c;++a)(o=e[a])&&(r[a]=o)}function y(t,e,n,i,r,s,o){var a,c,l,h={},u=e.length,d=s.length,f=new Array(u);for(a=0;a<u;++a)(c=e[a])&&(f[a]=l="$"+o.call(c,c.__data__,a,e),l in h?r[a]=c:h[l]=c);for(a=0;a<d;++a)(c=h[l="$"+o.call(t,s[a],a,s)])?(i[a]=c,c.__data__=s[a],h[l]=null):n[a]=new m(t,s[a]);for(a=0;a<u;++a)(c=e[a])&&h[f[a]]===c&&(r[a]=c)}function v(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}m.prototype={constructor:m,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var _="http://www.w3.org/1999/xhtml",w={svg:"http://www.w3.org/2000/svg",xhtml:_,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},C=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),w.hasOwnProperty(e)?{space:w[e],local:t}:t};function x(t){return function(){this.removeAttribute(t)}}function S(t){return function(){this.removeAttributeNS(t.space,t.local)}}function O(t,e){return function(){this.setAttribute(t,e)}}function A(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function k(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function E(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var L=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function D(t){return function(){this.style.removeProperty(t)}}function I(t,e,n){return function(){this.style.setProperty(t,e,n)}}function P(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function T(t,e){return t.style.getPropertyValue(e)||L(t).getComputedStyle(t,null).getPropertyValue(e)}function R(t){return function(){delete this[t]}}function M(t,e){return function(){this[t]=e}}function j(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function F(t){return t.trim().split(/^|\s+/)}function N(t){return t.classList||new U(t)}function U(t){this._node=t,this._names=F(t.getAttribute("class")||"")}function V(t,e){for(var n=N(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function B(t,e){for(var n=N(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function z(t){return function(){V(this,t)}}function H(t){return function(){B(this,t)}}function W(t,e){return function(){(e.apply(this,arguments)?V:B)(this,t)}}function Q(){this.textContent=""}function K(t){return function(){this.textContent=t}}function q(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Y(){this.innerHTML=""}function G(t){return function(){this.innerHTML=t}}function Z(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function X(){this.nextSibling&&this.parentNode.appendChild(this)}function J(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function $(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===_&&e.documentElement.namespaceURI===_?e.createElement(t):e.createElementNS(n,t)}}function tt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}U.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var et=function(t){var e=C(t);return(e.local?tt:$)(e)};function nt(){return null}function it(){var t=this.parentNode;t&&t.removeChild(this)}function rt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function st(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var ot={},at=null;function ct(t,e,n){return t=lt(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function lt(t,e,n){return function(i){var r=at;at=i;try{t.call(this,this.__data__,e,n)}finally{at=r}}}function ht(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function ut(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,s=e.length;i<s;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.capture);++r?e.length=r:delete this.__on}}}function dt(t,e,n){var i=ot.hasOwnProperty(t.type)?ct:lt;return function(r,s,o){var a,c=this.__on,l=i(e,s,o);if(c)for(var h=0,u=c.length;h<u;++h)if((a=c[h]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=l,a.capture=n),void(a.value=e);this.addEventListener(t.type,l,n),a={type:t.type,name:t.name,value:e,listener:l,capture:n},c?c.push(a):this.__on=[a]}}function ft(t,e,n){var i=L(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function pt(t,e){return function(){return ft(this,t,e)}}function bt(t,e){return function(){return ft(this,t,e.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(ot={mouseenter:"mouseover",mouseleave:"mouseout"}));var mt=[null];function gt(t,e){this._groups=t,this._parents=e}function yt(){return new gt([[document.documentElement]],mt)}gt.prototype=yt.prototype={constructor:gt,select:function(t){"function"!=typeof t&&(t=u(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o,a=e[r],c=a.length,l=i[r]=new Array(c),h=0;h<c;++h)(s=a[h])&&(o=t.call(s,s.__data__,h,a))&&("__data__"in s&&(o.__data__=s.__data__),l[h]=o);return new gt(i,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=f(t));for(var e=this._groups,n=e.length,i=[],r=[],s=0;s<n;++s)for(var o,a=e[s],c=a.length,l=0;l<c;++l)(o=a[l])&&(i.push(t.call(o,o.__data__,l,a)),r.push(o));return new gt(i,r)},filter:function(t){"function"!=typeof t&&(t=p(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o=e[r],a=o.length,c=i[r]=[],l=0;l<a;++l)(s=o[l])&&t.call(s,s.__data__,l,o)&&c.push(s);return new gt(i,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),h=-1,this.each(function(t){p[++h]=t}),p;var n,i=e?y:g,r=this._parents,s=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=s.length,a=new Array(o),c=new Array(o),l=new Array(o),h=0;h<o;++h){var u=r[h],d=s[h],f=d.length,p=t.call(u,u&&u.__data__,h,r),b=p.length,m=c[h]=new Array(b),v=a[h]=new Array(b);i(u,d,m,v,l[h]=new Array(f),p,e);for(var _,w,C=0,x=0;C<b;++C)if(_=m[C]){for(C>=x&&(x=C+1);!(w=v[x])&&++x<b;);_._next=w||null}}return(a=new gt(a,r))._enter=c,a._exit=l,a},enter:function(){return new gt(this._enter||this._groups.map(b),this._parents)},exit:function(){return new gt(this._exit||this._groups.map(b),this._parents)},join:function(t,e,n){var i=this.enter(),r=this,s=this.exit();return i="function"==typeof t?t(i):i.append(t+""),null!=e&&(r=e(r)),null==n?s.remove():n(s),i&&r?i.merge(r).order():r},merge:function(t){for(var e=this._groups,n=t._groups,i=e.length,r=Math.min(i,n.length),s=new Array(i),o=0;o<r;++o)for(var a,c=e[o],l=n[o],h=c.length,u=s[o]=new Array(h),d=0;d<h;++d)(a=c[d]||l[d])&&(u[d]=a);for(;o<i;++o)s[o]=e[o];return new gt(s,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],s=r.length-1,o=r[s];--s>=0;)(i=r[s])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=v);for(var n=this._groups,i=n.length,r=new Array(i),s=0;s<i;++s){for(var o,a=n[s],c=a.length,l=r[s]=new Array(c),h=0;h<c;++h)(o=a[h])&&(l[h]=o);l.sort(e)}return new gt(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,s=i.length;r<s;++r){var o=i[r];if(o)return o}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,s=e[n],o=0,a=s.length;o<a;++o)(r=s[o])&&t.call(r,r.__data__,o,s);return this},attr:function(t,e){var n=C(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?S:x:"function"==typeof e?n.local?E:k:n.local?A:O)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?D:"function"==typeof e?P:I)(t,e,null==n?"":n)):T(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?R:"function"==typeof e?j:M)(t,e)):this.node()[t]},classed:function(t,e){var n=F(t+"");if(arguments.length<2){for(var i=N(this.node()),r=-1,s=n.length;++r<s;)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"==typeof e?W:e?z:H)(n,e))},text:function(t){return arguments.length?this.each(null==t?Q:("function"==typeof t?q:K)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Y:("function"==typeof t?Z:G)(t)):this.node().innerHTML},raise:function(){return this.each(X)},lower:function(){return this.each(J)},append:function(t){var e="function"==typeof t?t:et(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:et(t),i=null==e?nt:"function"==typeof e?e:u(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})},remove:function(){return this.each(it)},clone:function(t){return this.select(t?st:rt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,r,s=ht(t+""),o=s.length;if(!(arguments.length<2)){for(a=e?dt:ut,null==n&&(n=!1),i=0;i<o;++i)this.each(a(s[i],e,n));return this}var a=this.node().__on;if(a)for(var c,l=0,h=a.length;l<h;++l)for(i=0,c=a[l];i<o;++i)if((r=s[i]).type===c.type&&r.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?bt:pt)(t,e))}};var vt=yt,_t={value:function(){}};function wt(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new Ct(i)}function Ct(t){this._=t}function xt(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function St(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function Ot(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=_t,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}Ct.prototype=wt.prototype={constructor:Ct,on:function(t,e){var n,i=this._,r=xt(t+"",i),s=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<o;)if(n=(t=r[s]).type)i[n]=Ot(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Ot(i[n],t.name,null);return this}for(;++s<o;)if((n=(t=r[s]).type)&&(n=St(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Ct(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),s=0;s<n;++s)r[s]=arguments[s+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=0,n=(i=this._[t]).length;s<n;++s)i[s].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,s=i.length;r<s;++r)i[r].value.apply(e,n)}};var At=wt,kt=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function Et(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Lt(){}var Dt=.7,It=1/Dt,Pt="\\s*([+-]?\\d+)\\s*",Tt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Rt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mt=/^#([0-9a-f]{3,8})$/,jt=new RegExp("^rgb\\("+[Pt,Pt,Pt]+"\\)$"),Ft=new RegExp("^rgb\\("+[Rt,Rt,Rt]+"\\)$"),Nt=new RegExp("^rgba\\("+[Pt,Pt,Pt,Tt]+"\\)$"),Ut=new RegExp("^rgba\\("+[Rt,Rt,Rt,Tt]+"\\)$"),Vt=new RegExp("^hsl\\("+[Tt,Rt,Rt]+"\\)$"),Bt=new RegExp("^hsla\\("+[Tt,Rt,Rt,Tt]+"\\)$"),zt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ht(){return this.rgb().formatHex()}function Wt(){return this.rgb().formatRgb()}function Qt(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Mt.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Kt(e):3===n?new Zt(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?qt(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?qt(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=jt.exec(t))?new Zt(e[1],e[2],e[3],1):(e=Ft.exec(t))?new Zt(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Nt.exec(t))?qt(e[1],e[2],e[3],e[4]):(e=Ut.exec(t))?qt(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Vt.exec(t))?te(e[1],e[2]/100,e[3]/100,1):(e=Bt.exec(t))?te(e[1],e[2]/100,e[3]/100,e[4]):zt.hasOwnProperty(t)?Kt(zt[t]):"transparent"===t?new Zt(NaN,NaN,NaN,0):null}function Kt(t){return new Zt(t>>16&255,t>>8&255,255&t,1)}function qt(t,e,n,i){return i<=0&&(t=e=n=NaN),new Zt(t,e,n,i)}function Yt(t){return t instanceof Lt||(t=Qt(t)),t?new Zt((t=t.rgb()).r,t.g,t.b,t.opacity):new Zt}function Gt(t,e,n,i){return 1===arguments.length?Yt(t):new Zt(t,e,n,null==i?1:i)}function Zt(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Xt(){return"#"+$t(this.r)+$t(this.g)+$t(this.b)}function Jt(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function $t(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function te(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ne(t,e,n,i)}function ee(t){if(t instanceof ne)return new ne(t.h,t.s,t.l,t.opacity);if(t instanceof Lt||(t=Qt(t)),!t)return new ne;if(t instanceof ne)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),s=Math.max(e,n,i),o=NaN,a=s-r,c=(s+r)/2;return a?(o=e===s?(n-i)/a+6*(n<i):n===s?(i-e)/a+2:(e-n)/a+4,a/=c<.5?s+r:2-s-r,o*=60):a=c>0&&c<1?0:o,new ne(o,a,c,t.opacity)}function ne(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function ie(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function re(t,e,n,i,r){var s=t*t,o=s*t;return((1-3*t+3*s-o)*e+(4-6*s+3*o)*n+(1+3*t+3*s-3*o)*i+o*r)/6}kt(Lt,Qt,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ht,formatHex:Ht,formatHsl:function(){return ee(this).formatHsl()},formatRgb:Wt,toString:Wt}),kt(Zt,Gt,Et(Lt,{brighter:function(t){return t=null==t?It:Math.pow(It,t),new Zt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Dt:Math.pow(Dt,t),new Zt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Xt,formatHex:Xt,formatRgb:Jt,toString:Jt})),kt(ne,function(t,e,n,i){return 1===arguments.length?ee(t):new ne(t,e,n,null==i?1:i)},Et(Lt,{brighter:function(t){return t=null==t?It:Math.pow(It,t),new ne(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Dt:Math.pow(Dt,t),new ne(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Zt(ie(t>=240?t-240:t+120,r,i),ie(t,r,i),ie(t<120?t+240:t-120,r,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var se=function(t){return function(){return t}};function oe(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):se(isNaN(t)?e:t)}var ae=function t(e){var n=function(t){return 1==(t=+t)?oe:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}(e,n,t):se(isNaN(e)?n:e)}}(e);function i(t,e){var i=n((t=Gt(t)).r,(e=Gt(e)).r),r=n(t.g,e.g),s=n(t.b,e.b),o=oe(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=s(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function ce(t){return function(e){var n,i,r=e.length,s=new Array(r),o=new Array(r),a=new Array(r);for(n=0;n<r;++n)i=Gt(e[n]),s[n]=i.r||0,o[n]=i.g||0,a[n]=i.b||0;return s=t(s),o=t(o),a=t(a),i.opacity=1,function(t){return i.r=s(t),i.g=o(t),i.b=a(t),i+""}}}ce(function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],s=t[i+1];return re((n-i/e)*e,i>0?t[i-1]:2*r-s,r,s,i<e-1?t[i+2]:2*s-r)}}),ce(function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e);return re((n-i/e)*e,t[(i+e-1)%e],t[i%e],t[(i+1)%e],t[(i+2)%e])}});var le=function(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(s){for(n=0;n<i;++n)r[n]=t[n]*(1-s)+e[n]*s;return r}};function he(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,s=new Array(r),o=new Array(i);for(n=0;n<r;++n)s[n]=ve(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=s[n](t);return o}}var ue,de,fe=function(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}},pe=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}},be=function(t,e){var n,i={},r={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?i[n]=ve(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}},me=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ge=new RegExp(me.source,"g"),ye=function(t,e){var n,i,r,s=me.lastIndex=ge.lastIndex=0,o=-1,a=[],c=[];for(t+="",e+="";(n=me.exec(t))&&(i=ge.exec(e));)(r=i.index)>s&&(r=e.slice(s,r),a[o]?a[o]+=r:a[++o]=r),(n=n[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,c.push({i:o,x:pe(n,i)})),s=ge.lastIndex;return s<e.length&&(r=e.slice(s),a[o]?a[o]+=r:a[++o]=r),a.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)a[(n=c[i]).i]=n.x(t);return a.join("")})},ve=function(t,e){var n,i,r=typeof e;return null==e||"boolean"===r?se(e):("number"===r?pe:"string"===r?(n=Qt(e))?(e=n,ae):ye:e instanceof Qt?ae:e instanceof Date?fe:(i=e,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(e)?he:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?be:pe:le))(t,e)},_e=0,we=0,Ce=0,xe=0,Se=0,Oe=0,Ae="object"==typeof performance&&performance.now?performance:Date,ke="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Ee(){return Se||(ke(Le),Se=Ae.now()+Oe)}function Le(){Se=0}function De(){this._call=this._time=this._next=null}function Ie(t,e,n){var i=new De;return i.restart(t,e,n),i}function Pe(){Se=(xe=Ae.now())+Oe,_e=we=0;try{!function(){Ee(),++_e;for(var t,e=ue;e;)(t=Se-e._time)>=0&&e._call.call(null,t),e=e._next;--_e}()}finally{_e=0,function(){for(var t,e,n=ue,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ue=e);de=t,Re(i)}(),Se=0}}function Te(){var t=Ae.now(),e=t-xe;e>1e3&&(Oe-=e,xe=t)}function Re(t){_e||(we&&(we=clearTimeout(we)),t-Se>24?(t<1/0&&(we=setTimeout(Pe,t-Ae.now()-Oe)),Ce&&(Ce=clearInterval(Ce))):(Ce||(xe=Ae.now(),Ce=setInterval(Te,1e3)),_e=1,ke(Pe)))}De.prototype=Ie.prototype={constructor:De,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Ee():+n)+(null==e?0:+e),this._next||de===this||(de?de._next=this:ue=this,de=this),this._call=t,this._time=n,Re()},stop:function(){this._call&&(this._call=null,this._time=1/0,Re())}};var Me=function(t,e,n){var i=new De;return i.restart(function(n){i.stop(),t(n+e)},e=null==e?0:+e,n),i},je=At("start","end","cancel","interrupt"),Fe=[],Ne=function(t,e,n,i,r,s){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var i,r=t.__transition;function s(c){var l,h,u,d;if(1!==n.state)return a();for(l in r)if((d=r[l]).name===n.name){if(3===d.state)return Me(s);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[l]):+l<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete r[l])}if(Me(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(c))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,i=new Array(u=n.tween.length),l=0,h=-1;l<u;++l)(d=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(i[++h]=d);i.length=h+1}}function o(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(a),n.state=5,1),s=-1,o=i.length;++s<o;)i[s].call(t,r);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){for(var i in n.state=6,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=Ie(function(t){n.state=1,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)},0,n.time)}(t,n,{name:e,index:i,group:r,on:je,tween:Fe,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:0})};function Ue(t,e){var n=Be(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function Ve(t,e){var n=Be(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Be(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var ze,He,We,Qe,Ke=180/Math.PI,qe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Ye=function(t,e,n,i,r,s){var o,a,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,c/=a),t*i<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:r,translateY:s,rotate:Math.atan2(e,t)*Ke,skewX:Math.atan(c)*Ke,scaleX:o,scaleY:a}};function Ge(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}return function(s,o){var a=[],c=[];return s=t(s),o=t(o),function(t,i,r,s,o,a){if(t!==r||i!==s){var c=o.push("translate(",null,e,null,n);a.push({i:c-4,x:pe(t,r)},{i:c-2,x:pe(i,s)})}else(r||s)&&o.push("translate("+r+e+s+n)}(s.translateX,s.translateY,o.translateX,o.translateY,a,c),function(t,e,n,s){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),s.push({i:n.push(r(n)+"rotate(",null,i)-2,x:pe(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}(s.rotate,o.rotate,a,c),function(t,e,n,s){t!==e?s.push({i:n.push(r(n)+"skewX(",null,i)-2,x:pe(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}(s.skewX,o.skewX,a,c),function(t,e,n,i,s,o){if(t!==n||e!==i){var a=s.push(r(s)+"scale(",null,",",null,")");o.push({i:a-4,x:pe(t,n)},{i:a-2,x:pe(e,i)})}else 1===n&&1===i||s.push(r(s)+"scale("+n+","+i+")")}(s.scaleX,s.scaleY,o.scaleX,o.scaleY,a,c),s=o=null,function(t){for(var e,n=-1,i=c.length;++n<i;)a[(e=c[n]).i]=e.x(t);return a.join("")}}}var Ze=Ge(function(t){return"none"===t?qe:(ze||(ze=document.createElement("DIV"),He=document.documentElement,We=document.defaultView),ze.style.transform=t,t=We.getComputedStyle(He.appendChild(ze),null).getPropertyValue("transform"),He.removeChild(ze),t=t.slice(7,-1).split(","),Ye(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),Xe=Ge(function(t){return null==t?qe:(Qe||(Qe=document.createElementNS("http://www.w3.org/2000/svg","g")),Qe.setAttribute("transform",t),(t=Qe.transform.baseVal.consolidate())?Ye((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):qe)},", ",")",")");function Je(t,e){var n,i;return function(){var r=Ve(this,t),s=r.tween;if(s!==n)for(var o=0,a=(i=n=s).length;o<a;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i}}function $e(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var s=Ve(this,t),o=s.tween;if(o!==i){r=(i=o).slice();for(var a={name:e,value:n},c=0,l=r.length;c<l;++c)if(r[c].name===e){r[c]=a;break}c===l&&r.push(a)}s.tween=r}}function tn(t,e,n){var i=t._id;return t.each(function(){var t=Ve(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return Be(t,i).value[e]}}var en=function(t,e){var n;return("number"==typeof e?pe:e instanceof Qt?ae:(n=Qt(e))?(e=n,ae):ye)(t,e)};function nn(t){return function(){this.removeAttribute(t)}}function rn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function sn(t,e,n){var i,r,s=n+"";return function(){var o=this.getAttribute(t);return o===s?null:o===i?r:r=e(i=o,n)}}function on(t,e,n){var i,r,s=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===s?null:o===i?r:r=e(i=o,n)}}function an(t,e,n){var i,r,s;return function(){var o,a,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(a=c+"")?null:o===i&&a===r?s:(r=a,s=e(i=o,c));this.removeAttribute(t)}}function cn(t,e,n){var i,r,s;return function(){var o,a,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(a=c+"")?null:o===i&&a===r?s:(r=a,s=e(i=o,c));this.removeAttributeNS(t.space,t.local)}}function ln(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function hn(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function un(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&hn(t,r)),n}return r._value=e,r}function dn(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&ln(t,r)),n}return r._value=e,r}function fn(t,e){return function(){Ue(this,t).delay=+e.apply(this,arguments)}}function pn(t,e){return e=+e,function(){Ue(this,t).delay=e}}function bn(t,e){return function(){Ve(this,t).duration=+e.apply(this,arguments)}}function mn(t,e){return e=+e,function(){Ve(this,t).duration=e}}function gn(t,e){if("function"!=typeof e)throw new Error;return function(){Ve(this,t).ease=e}}function yn(t,e,n){var i,r,s=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Ue:Ve;return function(){var o=s(this,t),a=o.on;a!==i&&(r=(i=a).copy()).on(e,n),o.on=r}}var vn=vt.prototype.constructor;function _n(t){return function(){this.style.removeProperty(t)}}function wn(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function Cn(t,e,n){var i,r;function s(){var s=e.apply(this,arguments);return s!==r&&(i=(r=s)&&wn(t,s,n)),i}return s._value=e,s}function xn(t){return function(e){this.textContent=t.call(this,e)}}function Sn(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&xn(i)),e}return i._value=t,i}var On=0;function An(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function kn(){return++On}var En=vt.prototype;An.prototype=(function(t){return vt().transition(t)}).prototype={constructor:An,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=u(t));for(var i=this._groups,r=i.length,s=new Array(r),o=0;o<r;++o)for(var a,c,l=i[o],h=l.length,d=s[o]=new Array(h),f=0;f<h;++f)(a=l[f])&&(c=t.call(a,a.__data__,f,l))&&("__data__"in a&&(c.__data__=a.__data__),d[f]=c,Ne(d[f],e,n,f,d,Be(a,n)));return new An(s,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=f(t));for(var i=this._groups,r=i.length,s=[],o=[],a=0;a<r;++a)for(var c,l=i[a],h=l.length,u=0;u<h;++u)if(c=l[u]){for(var d,p=t.call(c,c.__data__,u,l),b=Be(c,n),m=0,g=p.length;m<g;++m)(d=p[m])&&Ne(d,e,n,m,p,b);s.push(p),o.push(c)}return new An(s,o,e,n)},filter:function(t){"function"!=typeof t&&(t=p(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var s,o=e[r],a=o.length,c=i[r]=[],l=0;l<a;++l)(s=o[l])&&t.call(s,s.__data__,l,o)&&c.push(s);return new An(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=Math.min(i,n.length),s=new Array(i),o=0;o<r;++o)for(var a,c=e[o],l=n[o],h=c.length,u=s[o]=new Array(h),d=0;d<h;++d)(a=c[d]||l[d])&&(u[d]=a);for(;o<i;++o)s[o]=e[o];return new An(s,this._parents,this._name,this._id)},selection:function(){return new vn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=kn(),i=this._groups,r=i.length,s=0;s<r;++s)for(var o,a=i[s],c=a.length,l=0;l<c;++l)if(o=a[l]){var h=Be(o,e);Ne(o,t,n,l,a,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new An(i,this._parents,t,n)},call:En.call,nodes:En.nodes,node:En.node,size:En.size,empty:En.empty,each:En.each,on:function(t,e){var n=this._id;return arguments.length<2?Be(this.node(),n).on.on(t):this.each(yn(n,t,e))},attr:function(t,e){var n=C(t),i="transform"===n?Xe:en;return this.attrTween(t,"function"==typeof e?(n.local?cn:an)(n,i,tn(this,"attr."+t,e)):null==e?(n.local?rn:nn)(n):(n.local?on:sn)(n,i,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=C(t);return this.tween(n,(i.local?un:dn)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?Ze:en;return null==e?this.styleTween(t,function(t,e){var n,i,r;return function(){var s=T(this,t),o=(this.style.removeProperty(t),T(this,t));return s===o?null:s===n&&o===i?r:r=e(n=s,i=o)}}(t,i)).on("end.style."+t,_n(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,r,s;return function(){var o=T(this,t),a=n(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=T(this,t)),o===c?null:o===i&&c===r?s:(r=c,s=e(i=o,a))}}(t,i,tn(this,"style."+t,e))).each(function(t,e){var n,i,r,s,o="style."+e,a="end."+o;return function(){var c=Ve(this,t),l=c.on,h=null==c.value[o]?s||(s=_n(e)):void 0;l===n&&r===h||(i=(n=l).copy()).on(a,r=h),c.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,r,s=n+"";return function(){var o=T(this,t);return o===s?null:o===i?r:r=e(i=o,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,Cn(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(tn(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,Sn(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=Be(this.node(),n).tween,s=0,o=r.length;s<o;++s)if((i=r[s]).name===t)return i.value;return null}return this.each((null==e?Je:$e)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?fn:pn)(e,t)):Be(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?bn:mn)(e,t)):Be(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(gn(e,t)):Be(this.node(),e).ease},end:function(){var t,e,n=this,i=n._id,r=n.size();return new Promise(function(s,o){var a={value:o},c={value:function(){0==--r&&s()}};n.each(function(){var n=Ve(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(c)),n.on=e})})}};var Ln={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Dn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return Ln.time=Ee(),Ln;return n}function In(t){return{type:t}}vt.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,i,r,s=t.__transition,o=!0;if(s){for(r in e=null==e?null:e+"",s)(n=s[r]).name===e?(i=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete s[r]):o=!1;o&&delete t.__transition}}(this,t)})},vt.prototype.transition=function(t){var e,n;t instanceof An?(e=t._id,t=t._name):(e=kn(),(n=Ln).time=Ee(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,s=0;s<r;++s)for(var o,a=i[s],c=a.length,l=0;l<c;++l)(o=a[l])&&Ne(o,t,e,l,a,n||Dn(o,e));return new An(i,this._parents,t,e)},["w","e"].map(In),["n","s"].map(In),["n","w","e","s","nw","ne","sw","se"].map(In);var Pn=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},Tn=function(t){let e=t,n=t;function i(t,e,i,r){for(null==i&&(i=0),null==r&&(r=t.length);i<r;){const s=i+r>>>1;n(t[s],e)<0?i=s+1:r=s}return i}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>Pn(t(e),n)}(t)),{left:i,center:function(t,n,r,s){null==r&&(r=0),null==s&&(s=t.length);const o=i(t,n,r,s-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,i,r){for(null==i&&(i=0),null==r&&(r=t.length);i<r;){const s=i+r>>>1;n(t[s],e)>0?r=s:i=s+1}return i}}},Rn=Math.sqrt(50),Mn=Math.sqrt(10),jn=Math.sqrt(2);function Fn(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),s=i/Math.pow(10,r);return r>=0?(s>=Rn?10:s>=Mn?5:s>=jn?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(s>=Rn?10:s>=Mn?5:s>=jn?2:1)}var Nn=new Date,Un=new Date;function Vn(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=function(e){return t(e=new Date(+e)),e},r.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},r.round=function(t){var e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},r.range=function(n,i,s){var o,a=[];if(n=r.ceil(n),s=null==s?1:Math.floor(s),!(n<i&&s>0))return a;do{a.push(o=new Date(+n)),e(n,s),t(n)}while(o<n&&n<i);return a},r.filter=function(n){return Vn(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return Nn.setTime(+e),Un.setTime(+i),t(Nn),t(Un),Math.floor(n(Nn,Un))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}Vn(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}).every=function(t){return isFinite(t=Math.floor(t))&&t>0?Vn(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},Vn(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});var Bn=1e3,zn=6e4,Hn=36e5;function Wn(t){return Vn(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*zn)/6048e5})}Wn(0),Wn(1),Wn(2),Wn(3),Wn(4),Wn(5),Wn(6),Vn(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*zn)/864e5,t=>t.getDate()-1),Vn(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Bn-t.getMinutes()*zn)},function(t,e){t.setTime(+t+e*Hn)},function(t,e){return(e-t)/Hn},function(t){return t.getHours()}),Vn(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Bn)},function(t,e){t.setTime(+t+e*zn)},function(t,e){return(e-t)/zn},function(t){return t.getMinutes()}),Vn(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*Bn)},function(t,e){return(e-t)/Bn},function(t){return t.getUTCSeconds()});var Qn=Vn(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Qn.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Vn(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Qn:null};var Kn=new Date,qn=new Date;function Yn(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=function(e){return t(e=new Date(+e)),e},r.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},r.round=function(t){var e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},r.range=function(n,i,s){var o,a=[];if(n=r.ceil(n),s=null==s?1:Math.floor(s),!(n<i&&s>0))return a;do{a.push(o=new Date(+n)),e(n,s),t(n)}while(o<n&&n<i);return a},r.filter=function(n){return Yn(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return Kn.setTime(+e),qn.setTime(+i),t(Kn),t(qn),Math.floor(n(Kn,qn))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var Gn=864e5,Zn=6048e5;function Xn(t){return Yn(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/Zn})}var Jn=Xn(0),$n=Xn(1),ti=(Xn(2),Xn(3),Xn(4)),ei=(Xn(5),Xn(6),Yn(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/Gn},function(t){return t.getUTCDate()-1}));function ni(t){return Yn(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/Zn})}var ii=ni(0),ri=ni(1),si=(ni(2),ni(3),ni(4)),oi=(ni(5),ni(6),Yn(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/Gn},function(t){return t.getDate()-1})),ai=Yn(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});ai.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Yn(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var ci=ai,li=Yn(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});li.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Yn(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var hi=li;var ui={"-":"",_:" ",0:"0"},di=/[\\^$*+?|[\]().{}]/g;function fi(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",s=r.length;return i+(s<n?new Array(n-s+1).join(e)+r:r)}function pi(t){return t.replace(di,"\\$&")}function bi(t){return new RegExp("^(?:"+t.map(pi).join("|")+")","i")}function mi(t){for(var e={},n=-1,i=t.length;++n<i;)e[t[n].toLowerCase()]=n;return e}function gi(t,e){return fi(t.getDate(),e,2)}function yi(t,e){return fi(t.getHours(),e,2)}function vi(t,e){return fi(t.getHours()%12||12,e,2)}function _i(t,e){return fi(1+oi.count(ci(t),t),e,3)}function wi(t,e){return fi(t.getMilliseconds(),e,3)}function Ci(t,e){return wi(t,e)+"000"}function xi(t,e){return fi(t.getMonth()+1,e,2)}function Si(t,e){return fi(t.getMinutes(),e,2)}function Oi(t,e){return fi(t.getSeconds(),e,2)}function Ai(t){var e=t.getDay();return 0===e?7:e}function ki(t,e){return fi(ii.count(ci(t)-1,t),e,2)}function Ei(t){var e=t.getDay();return e>=4||0===e?si(t):si.ceil(t)}function Li(t,e){return t=Ei(t),fi(si.count(ci(t),t)+(4===ci(t).getDay()),e,2)}function Di(t){return t.getDay()}function Ii(t,e){return fi(ri.count(ci(t)-1,t),e,2)}function Pi(t,e){return fi(t.getFullYear()%100,e,2)}function Ti(t,e){return fi((t=Ei(t)).getFullYear()%100,e,2)}function Ri(t,e){return fi(t.getFullYear()%1e4,e,4)}function Mi(t,e){var n=t.getDay();return fi((t=n>=4||0===n?si(t):si.ceil(t)).getFullYear()%1e4,e,4)}function ji(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+fi(e/60|0,"0",2)+fi(e%60,"0",2)}function Fi(t,e){return fi(t.getUTCDate(),e,2)}function Ni(t,e){return fi(t.getUTCHours(),e,2)}function Ui(t,e){return fi(t.getUTCHours()%12||12,e,2)}function Vi(t,e){return fi(1+ei.count(hi(t),t),e,3)}function Bi(t,e){return fi(t.getUTCMilliseconds(),e,3)}function zi(t,e){return Bi(t,e)+"000"}function Hi(t,e){return fi(t.getUTCMonth()+1,e,2)}function Wi(t,e){return fi(t.getUTCMinutes(),e,2)}function Qi(t,e){return fi(t.getUTCSeconds(),e,2)}function Ki(t){var e=t.getUTCDay();return 0===e?7:e}function qi(t,e){return fi(Jn.count(hi(t)-1,t),e,2)}function Yi(t){var e=t.getUTCDay();return e>=4||0===e?ti(t):ti.ceil(t)}function Gi(t,e){return t=Yi(t),fi(ti.count(hi(t),t)+(4===hi(t).getUTCDay()),e,2)}function Zi(t){return t.getUTCDay()}function Xi(t,e){return fi($n.count(hi(t)-1,t),e,2)}function Ji(t,e){return fi(t.getUTCFullYear()%100,e,2)}function $i(t,e){return fi((t=Yi(t)).getUTCFullYear()%100,e,2)}function tr(t,e){return fi(t.getUTCFullYear()%1e4,e,4)}function er(t,e){var n=t.getUTCDay();return fi((t=n>=4||0===n?ti(t):ti.ceil(t)).getUTCFullYear()%1e4,e,4)}function nr(){return"+0000"}function ir(){return"%"}function rr(t){return+t}function sr(t){return Math.floor(+t/1e3)}!function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,s=t.days,o=t.shortDays,a=t.months,c=t.shortMonths,l=(bi(r),mi(r),bi(s),mi(s),bi(o),mi(o),bi(a),mi(a),bi(c),mi(c),{a:function(t){return o[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:gi,e:gi,f:Ci,g:Ti,G:Mi,H:yi,I:vi,j:_i,L:wi,m:xi,M:Si,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rr,s:sr,S:Oi,u:Ai,U:ki,V:Li,w:Di,W:Ii,x:null,X:null,y:Pi,Y:Ri,Z:ji,"%":ir}),h={a:function(t){return o[t.getUTCDay()]},A:function(t){return s[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Fi,e:Fi,f:zi,g:$i,G:er,H:Ni,I:Ui,j:Vi,L:Bi,m:Hi,M:Wi,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rr,s:sr,S:Qi,u:Ki,U:qi,V:Gi,w:Zi,W:Xi,x:null,X:null,y:Ji,Y:tr,Z:nr,"%":ir};function u(t,e){return function(n){var i,r,s,o=[],a=-1,c=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++a<l;)37===t.charCodeAt(a)&&(o.push(t.slice(c,a)),null!=(r=ui[i=t.charAt(++a)])?i=t.charAt(++a):r="e"===i?" ":"0",(s=e[i])&&(i=s(n,r)),o.push(i),c=a+1);return o.push(t.slice(c,a)),o.join("")}}l.x=u(n,l),l.X=u(i,l),l.c=u(e,l),h.x=u(n,h),h.X=u(i,h),h.c=u(e,h)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var or=function(t){return null===t?NaN:+t};const ar=Tn(Pn).right;Tn(or);var cr=ar,lr=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}};function hr(t){return+t}var ur=[0,1];function dr(t){return t}function fr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function pr(t,e,n){var i=t[0],r=t[1],s=e[0],o=e[1];return r<i?(i=fr(r,i),s=n(o,s)):(i=fr(i,r),s=n(s,o)),function(t){return s(i(t))}}function br(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),s=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=fr(t[o],t[o+1]),s[o]=n(e[o],e[o+1]);return function(e){var n=cr(t,e,1,i)-1;return s[n](r[n](e))}}function mr(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function gr(){return function(){var t,e,n,i,r,s,o=ur,a=ur,c=ve,l=dr;function h(){var t,e,n,c=Math.min(o.length,a.length);return l!==dr&&((t=o[0])>(e=o[c-1])&&(n=t,t=e,e=n),l=function(n){return Math.max(t,Math.min(e,n))}),i=c>2?br:pr,r=s=null,u}function u(e){return isNaN(e=+e)?n:(r||(r=i(o.map(t),a,c)))(t(l(e)))}return u.invert=function(n){return l(e((s||(s=i(a,o.map(t),pe)))(n)))},u.domain=function(t){return arguments.length?(o=Array.from(t,hr),h()):o.slice()},u.range=function(t){return arguments.length?(a=Array.from(t),h()):a.slice()},u.rangeRound=function(t){return a=Array.from(t),c=lr,h()},u.clamp=function(t){return arguments.length?(l=!!t||dr,h()):l!==dr},u.interpolate=function(t){return arguments.length?(c=t,h()):c},u.unknown=function(t){return arguments.length?(n=t,u):n},function(n,i){return t=n,e=i,h()}}()(dr,dr)}function yr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var vr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _r(t){if(!(e=vr.exec(t)))throw new Error("invalid format: "+t);var e;return new wr({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function wr(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Cr(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}_r.prototype=wr.prototype,wr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var xr,Sr,Or,Ar,kr=function(t){return(t=Cr(Math.abs(t)))?t[1]:NaN},Er=function(t,e){var n=Cr(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")},Lr={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Er(100*t,e)},r:Er,s:function(t,e){var n=Cr(t,e);if(!n)return t+"";var i=n[0],r=n[1],s=r-(xr=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return s===o?i:s>o?i+new Array(s-o+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+Cr(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Dr=function(t){return t},Ir=Array.prototype.map,Pr=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Tr(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var i,r,s,o,a=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((i=e<t)&&(r=t,t=e,e=r),0===(o=Fn(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),s=new Array(r=Math.ceil(e-t+1));++a<r;)s[a]=(t+a)*o;else for(o=-o,t=Math.ceil(t*o),e=Math.floor(e*o),s=new Array(r=Math.ceil(e-t+1));++a<r;)s[a]=(t+a)/o;return i&&s.reverse(),s}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return function(t,e,n,i){var r,s=function(t,e,n){var i=Math.abs(e-t)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),s=i/r;return s>=Rn?r*=10:s>=Mn?r*=5:s>=jn&&(r*=2),e<t?-r:r}(t,e,n);switch((i=_r(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(kr(e)/3)))-kr(Math.abs(t)))}(s,o))||(i.precision=r),Ar(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,kr(e)-kr(t))+1}(s,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(t){return Math.max(0,-kr(Math.abs(t)))}(s))||(i.precision=r-2*("%"===i.type))}return Or(i)}(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r,s=e(),o=0,a=s.length-1,c=s[o],l=s[a],h=10;for(l<c&&(r=c,c=l,l=r,r=o,o=a,a=r);h-- >0;){if((r=Fn(c,l,n))===i)return s[o]=c,s[a]=l,e(s);if(r>0)c=Math.floor(c/r)*r,l=Math.ceil(l/r)*r;else{if(!(r<0))break;c=Math.ceil(c*r)/r,l=Math.floor(l*r)/r}i=r}return t},t}function Rr(){var t=gr();return t.copy=function(){return mr(t,Rr())},yr.apply(t,arguments),Tr(t)}Sr=function(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?Dr:(e=Ir.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var r=t.length,s=[],o=0,a=e[0],c=0;r>0&&a>0&&(c+a+1>i&&(a=Math.max(1,i-c)),s.push(t.substring(r-=a,r+a)),!((c+=a+1)>i));)a=e[o=(o+1)%e.length];return s.reverse().join(n)}),r=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?Dr:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(Ir.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"-":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=_r(t)).fill,n=t.align,u=t.sign,d=t.symbol,f=t.zero,p=t.width,b=t.comma,m=t.precision,g=t.trim,y=t.type;"n"===y?(b=!0,y="g"):Lr[y]||(void 0===m&&(m=12),g=!0,y="g"),(f||"0"===e&&"="===n)&&(f=!0,e="0",n="=");var v="$"===d?r:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===d?s:/[%p]/.test(y)?c:"",w=Lr[y],C=/[defgprs%]/.test(y);function x(t){var r,s,c,d=v,x=_;if("c"===y)x=w(t)+x,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:w(Math.abs(t),m),g&&(t=function(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==u&&(S=!1),d=(S?"("===u?u:l:"-"===u||"("===u?"":u)+d,x=("s"===y?Pr[8+xr/3]:"")+x+(S&&"("===u?")":""),C)for(r=-1,s=t.length;++r<s;)if(48>(c=t.charCodeAt(r))||c>57){x=(46===c?o+t.slice(r+1):t.slice(r))+x,t=t.slice(0,r);break}}b&&!f&&(t=i(t,1/0));var O=d.length+t.length+x.length,A=O<p?new Array(p-O+1).join(e):"";switch(b&&f&&(t=i(A+t,A.length?p-x.length:1/0),A=""),n){case"<":t=d+t+x+A;break;case"=":t=d+A+t+x;break;case"^":t=A.slice(0,O=A.length>>1)+d+t+x+A.slice(O);break;default:t=A+d+t+x}return a(t)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),x.toString=function(){return t+""},x}return{format:u,formatPrefix:function(t,e){var n=u(((t=_r(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(kr(e)/3))),r=Math.pow(10,-i),s=Pr[8+i/3];return function(t){return n(r*t)+s}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Or=Sr.format,Ar=Sr.formatPrefix;var Mr=function(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),s=new Array(r);++i<r;)s[i]=t+i*n;return s};const jr=Symbol("implicit");function Fr(){var t=new Map,e=[],n=[],i=jr;function r(r){var s=r+"",o=t.get(s);if(!o){if(i!==jr)return i;t.set(s,o=e.push(r))}return n[(o-1)%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;for(const i of n){const n=i+"";t.has(n)||t.set(n,e.push(i))}return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return Fr(e,n).unknown(i)},yr.apply(r,arguments),r}function Nr(){var t,e,n=Fr().unknown(void 0),i=n.domain,r=n.range,s=0,o=1,a=!1,c=0,l=0,h=.5;function u(){var n=i().length,u=o<s,d=u?o:s,f=u?s:o;t=(f-d)/Math.max(1,n-c+2*l),a&&(t=Math.floor(t)),d+=(f-d-t*(n-c))*h,e=t*(1-c),a&&(d=Math.round(d),e=Math.round(e));var p=Mr(n).map(function(e){return d+t*e});return r(u?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),u()):i()},n.range=function(t){return arguments.length?([s,o]=t,s=+s,o=+o,u()):[s,o]},n.rangeRound=function(t){return[s,o]=t,s=+s,o=+o,a=!0,u()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,u()):a},n.padding=function(t){return arguments.length?(c=Math.min(1,l=+t),u()):c},n.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),u()):c},n.paddingOuter=function(t){return arguments.length?(l=+t,u()):l},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),u()):h},n.copy=function(){return Nr(i(),[s,o]).round(a).paddingInner(c).paddingOuter(l).align(h)},yr.apply(u(),arguments)}function Ur(t,e,n=or){if(i=t.length){if((e=+e)<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,r=(i-1)*e,s=Math.floor(r),o=+n(t[s],s,t);return o+(+n(t[s+1],s+1,t)-o)*(r-s)}}function Vr(){var t,e=[],n=[],i=[];function r(){var t=0,r=Math.max(1,n.length);for(i=new Array(r-1);++t<r;)i[t-1]=Ur(e,t/r);return s}function s(e){return isNaN(e=+e)?t:n[cr(i,e)]}return s.invertExtent=function(t){var r=n.indexOf(t);return r<0?[NaN,NaN]:[r>0?i[r-1]:e[0],r<i.length?i[r]:e[e.length-1]]},s.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(Pn),r()},s.range=function(t){return arguments.length?(n=Array.from(t),r()):n.slice()},s.unknown=function(e){return arguments.length?(t=e,s):t},s.quantiles=function(){return i.slice()},s.copy=function(){return Vr().domain(e).range(n).unknown(t)},yr.apply(s,arguments)}function Br(t){this._context=t}Br.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var zr=Math.PI,Hr=2*zr,Wr=1e-6,Qr=Hr-Wr;function Kr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}Kr.prototype=(function(){return new Kr}).prototype={constructor:Kr,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,s){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+s)},arcTo:function(t,e,n,i,r){var s=this._x1,o=this._y1,a=(n=+n)-(t=+t),c=(i=+i)-(e=+e),l=s-t,h=o-e,u=l*l+h*h;if((r=+r)<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(u>Wr)if(Math.abs(h*a-c*l)>Wr&&r){var d=n-s,f=i-o,p=a*a+c*c,b=d*d+f*f,m=Math.sqrt(p),g=Math.sqrt(u),y=r*Math.tan((zr-Math.acos((p+u-b)/(2*m*g)))/2),v=y/g,_=y/m;Math.abs(v-1)>Wr&&(this._+="L"+(t+v*l)+","+(e+v*h)),this._+="A"+r+","+r+",0,0,"+ +(h*d>l*f)+","+(this._x1=t+_*a)+","+(this._y1=e+_*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,i,r,s){t=+t,e=+e,s=!!s;var o=(n=+n)*Math.cos(i),a=n*Math.sin(i),c=t+o,l=e+a,h=1^s,u=s?i-r:r-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>Wr||Math.abs(this._y1-l)>Wr)&&(this._+="L"+c+","+l),n&&(u<0&&(u=u%Hr+Hr),u>Qr?this._+="A"+n+","+n+",0,1,"+h+","+(t-o)+","+(e-a)+"A"+n+","+n+",0,1,"+h+","+(this._x1=c)+","+(this._y1=l):u>Wr&&(this._+="A"+n+","+n+",0,"+ +(u>=zr)+","+h+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};var qr=function(){};function Yr(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Gr(t,e){this._context=t,this._k=(1-e)/6}function Zr(t,e){this._context=t,this._k=(1-e)/6}function Xr(t){this._curve=t}Gr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Yr(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Yr(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new Gr(t,e)}return n.tension=function(e){return t(+e)},n}(0),Zr.prototype={areaStart:qr,areaEnd:qr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Yr(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new Zr(t,e)}return n.tension=function(e){return t(+e)},n}(0),Xr.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}},Math,Math,Math,Math,Math,Math,Math,Math;var Jr=function(t,e,n,i,r){for(var s,o=t.children,a=-1,c=o.length,l=t.value&&(i-e)/t.value;++a<c;)(s=o[a]).y0=n,s.y1=r,s.x0=e,s.x1=e+=s.value*l},$r=function(t,e,n,i,r){for(var s,o=t.children,a=-1,c=o.length,l=t.value&&(r-n)/t.value;++a<c;)(s=o[a]).x0=e,s.x1=i,s.y0=n,s.y1=n+=s.value*l};function ts(t){var e=0,n=t.children,i=n&&n.length;if(i)for(;--i>=0;)e+=n[i].value;else e=1;t.value=e}function es(t,e){var n,i,r,s,o,a=new ss(t),c=+t.value&&(a.value=t.value),l=[a];for(null==e&&(e=ns);n=l.pop();)if(c&&(n.value=+n.data.value),(r=e(n.data))&&(o=r.length))for(n.children=new Array(o),s=o-1;s>=0;--s)l.push(i=n.children[s]=new ss(r[s])),i.parent=n,i.depth=n.depth+1;return a.eachBefore(rs)}function ns(t){return t.children}function is(t){t.data=t.data.data}function rs(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function ss(t){this.data=t,this.depth=this.height=0,this.parent=null}!function t(e){function n(t,n,i,r,s){!function(t,e,n,i,r,s){for(var o,a,c,l,h,u,d,f,p,b,m,g=[],y=e.children,v=0,_=0,w=y.length,C=e.value;v<w;){c=r-n,l=s-i;do{h=y[_++].value}while(!h&&_<w);for(u=d=h,m=h*h*(b=Math.max(l/c,c/l)/(C*t)),p=Math.max(d/m,m/u);_<w;++_){if(h+=a=y[_].value,a<u&&(u=a),a>d&&(d=a),m=h*h*b,(f=Math.max(d/m,m/u))>p){h-=a;break}p=f}g.push(o={value:h,dice:c<l,children:y.slice(v,_)}),o.dice?Jr(o,n,i,r,C?i+=l*h/C:s):$r(o,n,i,C?n+=c*h/C:r,s),C-=h,v=_}}(e,t,n,i,r,s)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2),ss.prototype=es.prototype={constructor:ss,count:function(){return this.eachAfter(ts)},each:function(t){var e,n,i,r,s=this,o=[s];do{for(e=o.reverse(),o=[];s=e.pop();)if(t(s),n=s.children)for(i=0,r=n.length;i<r;++i)o.push(n[i])}while(o.length);return this},eachAfter:function(t){for(var e,n,i,r=this,s=[r],o=[];r=s.pop();)if(o.push(r),e=r.children)for(n=0,i=e.length;n<i;++n)s.push(e[n]);for(;r=o.pop();)t(r);return this},eachBefore:function(t){for(var e,n,i=this,r=[i];i=r.pop();)if(t(i),e=i.children)for(n=e.length-1;n>=0;--n)r.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,i=e.children,r=i&&i.length;--r>=0;)n+=i[r].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),i=e.ancestors(),r=null;for(t=n.pop(),e=i.pop();t===e;)r=t,t=n.pop(),e=i.pop();return r}(e,t),i=[e];e!==n;)i.push(e=e.parent);for(var r=i.length;t!==n;)i.splice(r,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return es(this).eachBefore(is)}};var os=n("cUpR");const as=["caretElm"];function cs(t,e){}const ls=function(t){return{model:t}};function hs(t,e){if(1&t&&(i.Vb(0,"span"),i.Ic(1,cs,0,0,"ng-template",5),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("ngTemplateOutlet",t.template)("ngTemplateOutletContext",i.sc(2,ls,t.context))}}function us(t,e){if(1&t&&i.Qb(0,"span",6),2&t){const t=i.hc();i.oc("innerHTML",t.title,i.Ac)}}function ds(t,e){if(1&t&&(i.gc(),i.fc(),i.Qb(0,"ngx-charts-scale-legend",4)),2&t){const t=i.hc();i.oc("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("valueRange",t.legendOptions.domain)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)}}function fs(t,e){if(1&t){const t=i.Wb();i.gc(),i.fc(),i.Vb(0,"ngx-charts-legend",5),i.dc("labelClick",function(e){return i.zc(t),i.hc().legendLabelClick.emit(e)})("labelActivate",function(e){return i.zc(t),i.hc().legendLabelActivate.emit(e)})("labelDeactivate",function(e){return i.zc(t),i.hc().legendLabelDeactivate.emit(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("horizontal",t.legendOptions&&"below"===t.legendOptions.position)("data",t.legendOptions.domain)("title",t.legendOptions.title)("colors",t.legendOptions.colors)("height",t.view[1])("width",t.legendWidth)("activeEntries",t.activeEntries)}}const ps=["*"],bs=["ngx-charts-axis-label",""],ms=["ticksel"],gs=["ngx-charts-x-axis-ticks",""];function ys(t,e){if(1&t&&(i.gc(),i.Vb(0,"g",3),i.Vb(1,"title"),i.Kc(2),i.Ub(),i.Vb(3,"text",4),i.Kc(4),i.Ub(),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Eb("transform",n.tickTransform(t)),i.Db(2),i.Lc(n.tickFormat(t)),i.Db(1),i.Fc("font-size","12px"),i.Eb("text-anchor",n.textAnchor)("transform",n.textTransform),i.Db(1),i.Mc(" ",n.tickTrim(n.tickFormat(t))," ")}}function vs(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Qb(1,"line",6),i.Ub()),2&t){const t=i.hc(2);i.Eb("transform",t.gridLineTransform()),i.Db(1),i.Eb("y1",-t.gridLineHeight)}}function _s(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,vs,2,2,"g",5),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Eb("transform",n.tickTransform(t)),i.Db(1),i.oc("ngIf",n.showGridLines)}}const ws=["ngx-charts-x-axis",""];function Cs(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",2),i.dc("dimensionsChanged",function(e){return i.zc(t),i.hc().emitTicksHeight(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("trimTicks",t.trimTicks)("rotateTicks",t.rotateTicks)("maxTickLength",t.maxTickLength)("tickFormatting",t.tickFormatting)("tickArguments",t.tickArguments)("tickStroke",t.tickStroke)("scale",t.xScale)("orient",t.xOrient)("showGridLines",t.showGridLines)("gridLineHeight",t.dims.height)("width",t.dims.width)("tickValues",t.ticks)}}function xs(t,e){if(1&t&&(i.gc(),i.Qb(0,"g",3)),2&t){const t=i.hc();i.oc("label",t.labelText)("offset",t.labelOffset)("orient","bottom")("height",t.dims.height)("width",t.dims.width)}}const Ss=["ngx-charts-y-axis-ticks",""];function Os(t,e){if(1&t&&(i.gc(),i.Vb(0,"g",4),i.Vb(1,"title"),i.Kc(2),i.Ub(),i.Vb(3,"text",5),i.Kc(4),i.Ub(),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Eb("transform",n.transform(t)),i.Db(2),i.Lc(n.tickFormat(t)),i.Db(1),i.Fc("font-size","12px"),i.Eb("dy",n.dy)("x",n.x1)("y",n.y1)("text-anchor",n.textAnchor),i.Db(1),i.Mc(" ",n.tickTrim(n.tickFormat(t))," ")}}function As(t,e){if(1&t&&(i.gc(),i.Qb(0,"path",6)),2&t){const t=i.hc();i.Eb("d",t.referenceAreaPath)("transform",t.gridLineTransform())}}function ks(t,e){if(1&t&&(i.gc(),i.Qb(0,"line",9)),2&t){const t=i.hc(3);i.Eb("x2",t.gridLineWidth)}}function Es(t,e){if(1&t&&(i.gc(),i.Qb(0,"line",9)),2&t){const t=i.hc(3);i.Eb("x2",-t.gridLineWidth)}}function Ls(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,ks,1,1,"line",8),i.Ic(2,Es,1,1,"line",8),i.Ub()),2&t){const t=i.hc(2);i.Eb("transform",t.gridLineTransform()),i.Db(1),i.oc("ngIf","left"===t.orient),i.Db(1),i.oc("ngIf","right"===t.orient)}}function Ds(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,Ls,3,3,"g",7),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Eb("transform",n.transform(t)),i.Db(1),i.oc("ngIf",n.showGridLines)}}function Is(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Vb(1,"title"),i.Kc(2),i.Ub(),i.Vb(3,"text",11),i.Kc(4),i.Ub(),i.Ub()),2&t){const t=i.hc(2).$implicit,e=i.hc();i.Db(2),i.Lc(e.tickTrim(e.tickFormat(t.value))),i.Db(1),i.Eb("dy",e.dy)("y",-6)("x",e.gridLineWidth)("text-anchor",e.textAnchor),i.Db(1),i.Mc(" ",t.name," ")}}function Ps(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Qb(1,"line",10),i.Ic(2,Is,5,6,"g",7),i.Ub()),2&t){const t=i.hc().$implicit,e=i.hc();i.Eb("transform",e.transform(t.value)),i.Db(1),i.Eb("x2",e.gridLineWidth)("transform",e.gridLineTransform()),i.Db(1),i.oc("ngIf",e.showRefLabels)}}function Ts(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,Ps,3,4,"g",7),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("ngIf",t.showRefLines)}}const Rs=["ngx-charts-y-axis",""];function Ms(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",2),i.dc("dimensionsChanged",function(e){return i.zc(t),i.hc().emitTicksWidth(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("trimTicks",t.trimTicks)("maxTickLength",t.maxTickLength)("tickFormatting",t.tickFormatting)("tickArguments",t.tickArguments)("tickValues",t.ticks)("tickStroke",t.tickStroke)("scale",t.yScale)("orient",t.yOrient)("showGridLines",t.showGridLines)("gridLineWidth",t.dims.width)("referenceLines",t.referenceLines)("showRefLines",t.showRefLines)("showRefLabels",t.showRefLabels)("height",t.dims.height)}}function js(t,e){if(1&t&&(i.gc(),i.Qb(0,"g",3)),2&t){const t=i.hc();i.oc("label",t.labelText)("offset",t.labelOffset)("orient",t.yOrient)("height",t.dims.height)("width",t.dims.width)}}const Fs=["ngx-charts-grid-panel",""],Ns=["ngx-charts-grid-panel-series",""];function Us(t,e){if(1&t&&(i.gc(),i.Qb(0,"g",1)),2&t){const t=e.$implicit;i.Hb("grid-panel",!0)("odd","odd"===t.class)("even","even"===t.class),i.oc("height",t.height)("width",t.width)("x",t.x)("y",t.y)}}const Vs=["ngx-charts-svg-linear-gradient",""];function Bs(t,e){if(1&t&&(i.gc(),i.Qb(0,"stop")),2&t){const t=e.$implicit;i.Fc("stop-color",t.color)("stop-opacity",t.opacity),i.Eb("offset",t.offset+"%")}}function zs(t,e){if(1&t&&(i.Vb(0,"header",4),i.Vb(1,"span",5),i.Kc(2),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(2),i.Lc(t.title)}}function Hs(t,e){if(1&t){const t=i.Wb();i.Vb(0,"li",6),i.Vb(1,"ngx-charts-legend-entry",7),i.dc("select",function(e){return i.zc(t),i.hc().labelClick.emit(e)})("activate",function(e){return i.zc(t),i.hc().activate(e)})("deactivate",function(e){return i.zc(t),i.hc().deactivate(e)}),i.Ub(),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc();i.Db(1),i.oc("label",t.label)("formattedLabel",t.formattedLabel)("color",t.color)("isActive",n.isActive(t))}}const Ws=["tooltipTemplate"],Qs=function(t,e){return[t,e]},Ks=".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}",qs=["ngx-charts-bar",""];function Ys(t,e){if(1&t&&(i.gc(),i.Vb(0,"defs"),i.Qb(1,"g",2),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("orientation",t.orientation)("name",t.gradientId)("stops",t.gradientStops)}}function Gs(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",5),i.dc("dimensionsChanged",function(e){return i.zc(t),i.hc().updateXAxisHeight(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("xScale",t.xScale)("dims",t.dims)("showLabel",t.showXAxisLabel)("labelText",t.xAxisLabel)("trimTicks",t.trimXAxisTicks)("rotateTicks",t.rotateXAxisTicks)("maxTickLength",t.maxXAxisTickLength)("tickFormatting",t.xAxisTickFormatting)("ticks",t.xAxisTicks)("xAxisOffset",t.dataLabelMaxHeight.negative)}}function Zs(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",6),i.dc("dimensionsChanged",function(e){return i.zc(t),i.hc().updateYAxisWidth(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("yScale",t.yScale)("dims",t.dims)("showGridLines",t.showGridLines)("showLabel",t.showYAxisLabel)("labelText",t.yAxisLabel)("trimTicks",t.trimYAxisTicks)("maxTickLength",t.maxYAxisTickLength)("tickFormatting",t.yAxisTickFormatting)("ticks",t.yAxisTicks)}}function Xs(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",6),i.dc("dimensionsChanged",function(e){return i.zc(t),i.hc().updateXAxisHeight(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("xScale",t.groupScale)("dims",t.dims)("showLabel",t.showXAxisLabel)("labelText",t.xAxisLabel)("trimTicks",t.trimXAxisTicks)("rotateTicks",t.rotateXAxisTicks)("maxTickLength",t.maxXAxisTickLength)("tickFormatting",t.xAxisTickFormatting)("ticks",t.xAxisTicks)("xAxisOffset",t.dataLabelMaxHeight.negative)}}function Js(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",7),i.dc("dimensionsChanged",function(e){return i.zc(t),i.hc().updateYAxisWidth(e)}),i.Ub()}if(2&t){const t=i.hc();i.oc("yScale",t.valueScale)("dims",t.dims)("showGridLines",t.showGridLines)("showLabel",t.showYAxisLabel)("labelText",t.yAxisLabel)("trimTicks",t.trimYAxisTicks)("maxTickLength",t.maxYAxisTickLength)("tickFormatting",t.yAxisTickFormatting)("ticks",t.yAxisTicks)}}function $s(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",8),i.dc("select",function(n){i.zc(t);const r=e.$implicit;return i.hc().onClick(n,r)})("activate",function(n){i.zc(t);const r=e.$implicit;return i.hc().onActivate(n,r)})("deactivate",function(n){i.zc(t);const r=e.$implicit;return i.hc().onDeactivate(n,r)})("dataLabelHeightChanged",function(n){i.zc(t);const r=e.index;return i.hc().onDataLabelMaxHeightChanged(n,r)}),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc();i.oc("@animationState","active")("activeEntries",n.activeEntries)("xScale",n.innerScale)("yScale",n.valueScale)("colors",n.colors)("series",t.series)("dims",n.dims)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("showDataLabel",n.showDataLabel)("dataLabelFormatting",n.dataLabelFormatting)("seriesName",t.name)("roundEdges",n.roundEdges)("animations",n.animations)("noBarWhenZero",n.noBarWhenZero),i.Eb("transform",n.groupTransform(t))}}const to=["ngx-charts-series-vertical",""];function eo(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",2),i.dc("select",function(e){return i.zc(t),i.hc().onClick(e)})("activate",function(e){return i.zc(t),i.hc().activate.emit(e)})("deactivate",function(e){return i.zc(t),i.hc().deactivate.emit(e)}),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc();i.oc("@animationState","active")("@.disabled",!n.animations)("width",t.width)("height",t.height)("x",t.x)("y",t.y)("fill",t.color)("stops",t.gradientStops)("data",t.data)("orientation","vertical")("roundEdges",t.roundEdges)("gradient",n.gradient)("ariaLabel",t.ariaLabel)("isActive",n.isActive(t.data))("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.tooltipPlacement)("tooltipType",n.tooltipType)("tooltipTitle",n.tooltipTemplate?void 0:t.tooltipText)("tooltipTemplate",n.tooltipTemplate)("tooltipContext",t.data)("noBarWhenZero",n.noBarWhenZero)("animations",n.animations)}}function no(t,e){if(1&t){const t=i.Wb();i.gc(),i.Vb(0,"g",4),i.dc("dimensionsChanged",function(n){i.zc(t);const r=e.index;return i.hc(2).dataLabelHeightChanged.emit({size:n,index:r})}),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc(2);i.oc("barX",t.x)("barY",t.y)("barWidth",t.width)("barHeight",t.height)("value",t.total)("valueFormatting",n.dataLabelFormatting)("orientation","vertical")}}function io(t,e){if(1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,no,1,7,"g",3),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("ngForOf",t.barsForDataLabels)("ngForTrackBy",t.trackDataLabelBy)}}const ro=["ngx-charts-bar-label",""];let so=(()=>{class t{constructor(t,e,n){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n}static setGlobalRootViewContainer(e){t.globalRootViewContainer=e}getRootViewContainer(){if(this._container)return this._container;if(t.globalRootViewContainer)return t.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(t){this._container=t}getComponentRootNode(t){return t.element?t.element.nativeElement:t.hostView&&t.hostView.rootNodes.length>0?t.hostView.rootNodes[0]:t.location.nativeElement}getRootViewContainerNode(t){return this.getComponentRootNode(t)}projectComponentBindings(t,e){if(e){if(void 0!==e.inputs){const n=Object.getOwnPropertyNames(e.inputs);for(const i of n)t.instance[i]=e.inputs[i]}if(void 0!==e.outputs){const n=Object.getOwnPropertyNames(e.outputs);for(const i of n)t.instance[i]=e.outputs[i]}}return t}appendComponent(t,e={},n){n||(n=this.getRootViewContainer());const i=this.getComponentRootNode(n),r=new o.e(i,this.componentFactoryResolver,this.applicationRef,this.injector),s=new o.d(t),a=r.attach(s);return this.projectComponentBindings(a,e),a}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.g),i.Zb(i.j),i.Zb(i.t))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t.globalRootViewContainer=null,t})();function oo(t,e,n){let i,r,s;n=n||{};let o=null,a=0;function c(){a=!1===n.leading?0:+new Date,o=null,s=t.apply(i,r)}return function(){const l=+new Date;a||!1!==n.leading||(a=l);const h=e-(l-a);return i=this,r=arguments,h<=0?(clearTimeout(o),o=null,a=l,s=t.apply(i,r)):o||!1===n.trailing||(o=setTimeout(c,h)),s}}var ao=function(t){return t[t.top="top"]="top",t[t.bottom="bottom"]="bottom",t[t.left="left"]="left",t[t.right="right"]="right",t}({});function co(t,e,n){return"top"===n?t.top-7:"bottom"===n?t.top+t.height-e.height+7:"center"===n?t.top+t.height/2-e.height/2:void 0}function lo(t,e,n){return"left"===n?t.left-7:"right"===n?t.left+t.width-e.width+7:"center"===n?t.left+t.width/2-e.width/2:void 0}class ho{static calculateVerticalAlignment(t,e,n){let i=co(t,e,n);return i+e.height>window.innerHeight&&(i=window.innerHeight-e.height),i}static calculateVerticalCaret(t,e,n,i){let r;"top"===i&&(r=t.height/2-n.height/2+7),"bottom"===i&&(r=e.height-t.height/2-n.height/2-7),"center"===i&&(r=e.height/2-n.height/2);const s=co(t,e,i);return s+e.height>window.innerHeight&&(r+=s+e.height-window.innerHeight),r}static calculateHorizontalAlignment(t,e,n){let i=lo(t,e,n);return i+e.width>window.innerWidth&&(i=window.innerWidth-e.width),i}static calculateHorizontalCaret(t,e,n,i){let r;"left"===i&&(r=t.width/2-n.width/2+7),"right"===i&&(r=e.width-t.width/2-n.width/2-7),"center"===i&&(r=e.width/2-n.width/2);const s=lo(t,e,i);return s+e.width>window.innerWidth&&(r+=s+e.width-window.innerWidth),r}static shouldFlip(t,e,n,i){let r=!1;return"right"===n&&t.left+t.width+e.width+i>window.innerWidth&&(r=!0),"left"===n&&t.left-e.width-i<0&&(r=!0),"top"===n&&t.top-e.height-i<0&&(r=!0),"bottom"===n&&t.top+t.height+e.height+i>window.innerHeight&&(r=!0),r}static positionCaret(t,e,n,i,r){let s=0,o=0;return t===ao.right?(o=-7,s=ho.calculateVerticalCaret(n,e,i,r)):t===ao.left?(o=e.width,s=ho.calculateVerticalCaret(n,e,i,r)):t===ao.top?(s=e.height,o=ho.calculateHorizontalCaret(n,e,i,r)):t===ao.bottom&&(s=-7,o=ho.calculateHorizontalCaret(n,e,i,r)),{top:s,left:o}}static positionContent(t,e,n,i,r){let s=0,o=0;return t===ao.right?(o=n.left+n.width+i,s=ho.calculateVerticalAlignment(n,e,r)):t===ao.left?(o=n.left-e.width-i,s=ho.calculateVerticalAlignment(n,e,r)):t===ao.top?(s=n.top-e.height-i,o=ho.calculateHorizontalAlignment(n,e,r)):t===ao.bottom&&(s=n.top+n.height+i,o=ho.calculateHorizontalAlignment(n,e,r)),{top:s,left:o}}static determinePlacement(t,e,n,i){if(ho.shouldFlip(n,e,t,i)){if(t===ao.right)return ao.left;if(t===ao.left)return ao.right;if(t===ao.top)return ao.bottom;if(t===ao.bottom)return ao.top}return t}}let uo=(()=>{class t{constructor(t,e){this.element=t,this.renderer=e}get cssClasses(){let t="ngx-charts-tooltip-content";return t+=" position-"+this.placement,t+=" type-"+this.type,t+=" "+this.cssClass,t}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){const t=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(!e.height&&!e.width)return;const n=t.getBoundingClientRect();this.checkFlip(e,n),this.positionContent(t,e,n),this.showCaret&&this.positionCaret(e,n),setTimeout(()=>this.renderer.addClass(t,"animate"),1)}positionContent(t,e,n){const{top:i,left:r}=ho.positionContent(this.placement,n,e,this.spacing,this.alignment);this.renderer.setStyle(t,"top",i+"px"),this.renderer.setStyle(t,"left",r+"px")}positionCaret(t,e){const n=this.caretElm.nativeElement,i=n.getBoundingClientRect(),{top:r,left:s}=ho.positionCaret(this.placement,e,t,i,this.alignment);this.renderer.setStyle(n,"top",r+"px"),this.renderer.setStyle(n,"left",s+"px")}checkFlip(t,e){this.placement=ho.determinePlacement(this.placement,e,t,this.spacing)}onWindowResize(){this.position()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.G))},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-tooltip-content"]],viewQuery:function(t,e){if(1&t&&i.Pc(as,!0),2&t){let t;i.vc(t=i.ec())&&(e.caretElm=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&i.dc("resize",function(){return e.onWindowResize()},!1,i.yc),2&t&&i.Fb(e.cssClasses)},inputs:{placement:"placement",host:"host",showCaret:"showCaret",type:"type",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(i.Vb(0,"div"),i.Qb(1,"span",0,1),i.Vb(3,"div",2),i.Ic(4,hs,2,4,"span",3),i.Ic(5,us,1,1,"span",4),i.Ub(),i.Ub()),2&t&&(i.Db(1),i.Gb("tooltip-caret position-",e.placement,""),i.oc("hidden",!e.showCaret),i.Db(3),i.oc("ngIf",!e.title),i.Db(1),i.oc("ngIf",e.title))},directives:[r.o,r.t],styles:[".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"],encapsulation:2}),Object(a.a)([(100,function(t,e,n){return{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,e,{configurable:!0,enumerable:n.enumerable,value:oo(n.value,100,undefined)}),this[e]}}})],t.prototype,"onWindowResize",null),t})(),fo=(()=>{class t extends class{constructor(t){this.injectionService=t,this.defaults={},this.components=new Map}getByType(t=this.type){return this.components.get(t)}create(t){return this.createByType(this.type,t)}createByType(t,e){e=this.assignDefaults(e);const n=this.injectComponent(t,e);return this.register(t,n),n}destroy(t){const e=this.components.get(t.componentType);if(e&&e.length){const n=e.indexOf(t);n>-1&&(e[n].destroy(),e.splice(n,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(t){const e=this.components.get(t);if(e&&e.length){let t=e.length-1;for(;t>=0;)this.destroy(e[t--])}}injectComponent(t,e){return this.injectionService.appendComponent(t,e)}assignDefaults(t){const e=Object.assign({},this.defaults.inputs),n=Object.assign({},this.defaults.outputs);return t.inputs||t.outputs||(t={inputs:t}),e&&(t.inputs=Object.assign(Object.assign({},e),t.inputs)),n&&(t.outputs=Object.assign(Object.assign({},n),t.outputs)),t}register(t,e){this.components.has(t)||this.components.set(t,[]),this.components.get(t).push(e)}}{constructor(t){super(t),this.type=uo}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(so))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),po=(()=>{class t{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new i.o,this.legendLabelActivate=new i.o,this.legendLabelDeactivate=new i.o}ngOnChanges(t){this.update()}update(){let t=0;this.showLegend&&(this.legendType=this.getLegendType(),this.legendOptions&&"right"!==this.legendOptions.position||(t="scaleLegend"===this.legendType?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-t)/12),this.legendWidth=this.legendOptions&&"right"!==this.legendOptions.position?this.chartWidth:Math.floor(this.view[0]*t/12)}getLegendType(){return"linear"===this.legendOptions.scaleType?"scaleLegend":"legend"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-charts-chart"]],inputs:{showLegend:"showLegend",animations:"animations",legendType:"legendType",view:"view",legendOptions:"legendOptions",data:"data",legendData:"legendData",colors:"colors",activeEntries:"activeEntries"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[i.Cb([fo]),i.Bb],ngContentSelectors:ps,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(t,e){1&t&&(i.nc(),i.Vb(0,"div",0),i.gc(),i.Vb(1,"svg",1),i.mc(2),i.Ub(),i.Ic(3,ds,1,5,"ngx-charts-scale-legend",2),i.Ic(4,fs,1,7,"ngx-charts-legend",3),i.Ub()),2&t&&(i.Fc("width",e.view[0],"px"),i.oc("@animationState","active")("@.disabled",!e.animations),i.Db(1),i.Eb("width",e.chartWidth)("height",e.view[1]),i.Db(2),i.oc("ngIf",e.showLegend&&"scaleLegend"===e.legendType),i.Db(1),i.oc("ngIf",e.showLegend&&"legend"===e.legendType))},directives:function(){return[r.o,Vo,No]},encapsulation:2,data:{animation:[Object(s.n)("animationState",[Object(s.m)(":enter",[Object(s.l)({opacity:0}),Object(s.e)("500ms 100ms",Object(s.l)({opacity:1}))])])]},changeDetection:0}),t})(),bo=(()=>{class t{constructor(t,e){this.element=t,this.zone=e,this.visible=new i.o,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const t=()=>{if(!this.element)return;const{offsetHeight:e,offsetWidth:n}=this.element.nativeElement;e&&n?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>t())})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.B))},t.\u0275dir=i.Kb({type:t,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),t})(),mo=(()=>{class t{constructor(t,e,n){this.chartElement=t,this.zone=e,this.cd=n,this.scheme="cool",this.schemeType="ordinal",this.animations=!0,this.select=new i.o}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new bo(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(t){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const t=this.getContainerDims();t&&(this.width=t.width,this.height=t.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let t,e;const n=this.chartElement.nativeElement;if(null!==n.parentNode){const i=n.parentNode.getBoundingClientRect();t=i.width,e=i.height}return t&&e?{width:t,height:e}:null}formatDates(){for(let t=0;t<this.results.length;t++){const e=this.results[t];if(e.label=e.name,e.label instanceof Date&&(e.label=e.label.toLocaleDateString()),e.series)for(let t=0;t<e.series.length;t++){const n=e.series[t];n.label=n.name,n.label instanceof Date&&(n.label=n.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){const t=Object(c.a)(window,"resize").pipe(Object(l.a)(200)).subscribe(t=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=t}cloneData(t){const e=[];for(const n of t){const t={name:n.name};if(void 0!==n.value&&(t.value=n.value),void 0!==n.series){t.series=[];for(const e of n.series){const n=Object.assign({},e);t.series.push(n)}}void 0!==n.extra&&(t.extra=JSON.parse(JSON.stringify(n.extra))),e.push(t)}return e}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.B),i.Pb(i.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["base-chart"]],inputs:{scheme:"scheme",schemeType:"schemeType",animations:"animations",results:"results",view:"view",customColors:"customColors"},outputs:{select:"select"},features:[i.Bb],decls:1,vars:0,template:function(t,e){1&t&&i.Qb(0,"div")},encapsulation:2}),t})(),go=(()=>{class t{constructor(t){this.textHeight=25,this.margin=5,this.element=t.nativeElement}ngOnChanges(t){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case"top":case"bottom":this.y=this.offset,this.x=this.width/2;break;case"left":this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case"right":this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l))},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[i.Bb],attrs:bs,decls:2,vars:6,template:function(t,e){1&t&&(i.gc(),i.Vb(0,"text"),i.Kc(1),i.Ub()),2&t&&(i.Eb("stroke-width",e.strokeWidth)("x",e.x)("y",e.y)("text-anchor",e.textAnchor)("transform",e.transform),i.Db(1),i.Mc(" ",e.label," "))},encapsulation:2,changeDetection:0}),t})();function yo(t,e=16){return"string"!=typeof t?"number"==typeof t?t+"":"":(t=t.trim()).length<=e?t:t.slice(0,e)+"..."}function vo(t,e){if(t.length>e){const n=[],i=Math.floor(t.length/e);for(let e=0;e<t.length;e++)e%i==0&&n.push(t[e]);t=n}return t}let _o=(()=>{class t{constructor(){this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new i.o,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor="middle",this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0}ngOnChanges(t){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){const t=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);t!==this.height&&(this.height=t,this.dimensionsChanged.emit({height:t}),setTimeout(()=>this.updateDims()))}update(){const t=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()};const e=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(t){return this.scale(t)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",e&&0!==e?(this.textTransform=`rotate(${e})`,this.textAnchor="end",this.verticalSpacing=10):this.textAnchor="middle",setTimeout(()=>this.updateDims())}getRotationAngle(t){let e=0;this.maxTicksLength=0;for(let s=0;s<t.length;s++){const e=this.tickFormat(t[s]).toString();let n=e.length;this.trimTicks&&(n=this.tickTrim(e).length),n>this.maxTicksLength&&(this.maxTicksLength=n)}const n=8*Math.min(this.maxTicksLength,this.maxAllowedLength);let i=n;const r=Math.floor(this.width/t.length);for(;i>r&&e>-90;)e-=30,i=Math.cos(e*(Math.PI/180))*n;return e}getTicks(){let t;const e=this.getMaxTicks(20),n=this.getMaxTicks(100);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[n]):(t=this.scale.domain(),t=vo(t,e)),t}getMaxTicks(t){return Math.floor(this.width/t)}tickTransform(t){return"translate("+this.adjustedScale(t)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(t){return this.trimTicks?yo(t,this.maxTickLength):t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(t,e){if(1&t&&i.Pc(ms,!0),2&t){let t;i.vc(t=i.ec())&&(e.ticksElement=t.first)}},inputs:{tickArguments:"tickArguments",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",showGridLines:"showGridLines",rotateTicks:"rotateTicks",scale:"scale",orient:"orient",tickValues:"tickValues",tickFormatting:"tickFormatting",gridLineHeight:"gridLineHeight",width:"width"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[i.Bb],attrs:gs,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"g",null,0),i.Ic(2,ys,5,7,"g",1),i.Ub(),i.Ic(3,_s,2,2,"g",2)),2&t&&(i.Db(2),i.oc("ngForOf",e.ticks),i.Db(1),i.oc("ngForOf",e.ticks))},directives:[r.n,r.o],encapsulation:2,changeDetection:0}),t})(),wo=(()=>{class t{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient="bottom",this.xAxisOffset=0,this.dimensionsChanged=new i.o,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5}ngOnChanges(t){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:t}){const e=t+25+5;e!==this.labelOffset&&(this.labelOffset=e,setTimeout(()=>{this.dimensionsChanged.emit({height:t})},0))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(t,e){if(1&t&&i.Pc(_o,!0),2&t){let t;i.vc(t=i.ec())&&(e.ticksComponent=t.first)}},inputs:{rotateTicks:"rotateTicks",showGridLines:"showGridLines",xOrient:"xOrient",xAxisOffset:"xAxisOffset",xScale:"xScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickInterval:"xAxisTickInterval",xAxisTickCount:"xAxisTickCount"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[i.Bb],attrs:ws,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,Cs,1,12,"g",0),i.Ic(2,xs,1,5,"g",1),i.Ub()),2&t&&(i.Eb("class",e.xAxisClassName)("transform",e.transform),i.Db(1),i.oc("ngIf",e.xScale),i.Db(1),i.oc("ngIf",e.showLabel))},directives:[r.o,_o,go],encapsulation:2,changeDetection:0}),t})();function Co(t,e,n,i,r,[s,o,a,c]){let l="";return l="M"+[t+r,e],l+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),l+=o?`a${[r,r]} 0 0 1 ${[r,r]}`:`h${r}v${r}`,l+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),l+=c?`a${[r,r]} 0 0 1 ${[-r,r]}`:`v${r}h${-r}`,l+="h"+(2*r-n),l+=a?`a${[r,r]} 0 0 1 ${[-r,-r]}`:`h${-r}v${-r}`,l+="v"+(2*r-i),l+=s?`a${[r,r]} 0 0 1 ${[r,-r]}`:`v${-r}h${r}`,l+="z",l}let xo=(()=>{class t{constructor(){this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new i.o,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor="middle",this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0}ngOnChanges(t){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){const t=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);t!==this.width&&(this.width=t,this.dimensionsChanged.emit({width:t}),setTimeout(()=>this.updateDims()))}update(){let t;const e="top"===this.orient||"right"===this.orient?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,t=this.scale,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:t.tickFormat?t.tickFormat.apply(t,this.tickArguments):function(t){return"Date"===t.constructor.name?t.toLocaleDateString():t.toLocaleString()},this.adjustedScale=t.bandwidth?function(e){return t(e)+.5*t.bandwidth()}:t,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case"top":case"bottom":this.transform=function(t){return"translate("+this.adjustedScale(t)+",0)"},this.textAnchor="middle",this.y2=this.innerTickSize*e,this.y1=this.tickSpacing*e,this.dy=e<0?"0em":".71em";break;case"left":this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor="end",this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em";break;case"right":this.transform=function(t){return"translate(0,"+this.adjustedScale(t)+")"},this.textAnchor="start",this.x2=this.innerTickSize*-e,this.x1=this.tickSpacing*-e,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(t=>t.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(t=>t.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Co(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let t;const e=this.getMaxTicks(20),n=this.getMaxTicks(50);return this.tickValues?t=this.tickValues:this.scale.ticks?t=this.scale.ticks.apply(this.scale,[n]):(t=this.scale.domain(),t=vo(t,e)),t}getMaxTicks(t){return Math.floor(this.height/t)}tickTransform(t){return`translate(${this.adjustedScale(t)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(t){return this.trimTicks?yo(t,this.maxTickLength):t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(t,e){if(1&t&&i.Pc(ms,!0),2&t){let t;i.vc(t=i.ec())&&(e.ticksElement=t.first)}},inputs:{tickArguments:"tickArguments",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",showGridLines:"showGridLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",scale:"scale",orient:"orient",tickValues:"tickValues",tickFormatting:"tickFormatting",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[i.Bb],attrs:Ss,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"g",null,0),i.Ic(2,Os,5,9,"g",1),i.Ub(),i.Ic(3,As,1,2,"path",2),i.Ic(4,Ds,2,2,"g",3),i.Ic(5,Ts,2,1,"g",3)),2&t&&(i.Db(2),i.oc("ngForOf",e.ticks),i.Db(1),i.oc("ngIf",e.referenceLineLength>1&&e.refMax&&e.refMin&&e.showRefLines),i.Db(1),i.oc("ngForOf",e.ticks),i.Db(1),i.oc("ngForOf",e.referenceLines))},directives:[r.n,r.o],encapsulation:2,changeDetection:0}),t})(),So=(()=>{class t{constructor(){this.showGridLines=!1,this.yOrient="left",this.yAxisOffset=0,this.dimensionsChanged=new i.o,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(t){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),"right"===this.yOrient?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):(this.offset=this.offset,this.transform=`translate(${this.offset} , 0)`),void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:t}){t!==this.labelOffset&&"right"===this.yOrient?(this.labelOffset=t+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:t})},0)):t!==this.labelOffset&&(this.labelOffset=t,setTimeout(()=>{this.dimensionsChanged.emit({width:t})},0))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(t,e){if(1&t&&i.Pc(xo,!0),2&t){let t;i.vc(t=i.ec())&&(e.ticksComponent=t.first)}},inputs:{showGridLines:"showGridLines",yOrient:"yOrient",yAxisOffset:"yAxisOffset",yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showLabel:"showLabel",labelText:"labelText",yAxisTickInterval:"yAxisTickInterval",yAxisTickCount:"yAxisTickCount",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[i.Bb],attrs:Rs,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"g"),i.Ic(1,Ms,1,14,"g",0),i.Ic(2,js,1,5,"g",1),i.Ub()),2&t&&(i.Eb("class",e.yAxisClassName)("transform",e.transform),i.Db(1),i.oc("ngIf",e.yScale),i.Db(1),i.oc("ngIf",e.showLabel))},directives:[r.o,xo,go],encapsulation:2,changeDetection:0}),t})(),Oo=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.c]]}),t})();var Ao=function(t){return t[t.popover="popover"]="popover",t[t.tooltip="tooltip"]="tooltip",t}({}),ko=function(t){return t[t.left="left"]="left",t[t.center="center"]="center",t[t.right="right"]="right",t}({}),Eo=function(t){return t[t.all="all"]="all",t[t.focus="focus"]="focus",t[t.mouseover="mouseover"]="mouseover",t}({});let Lo=(()=>{class t{constructor(t,e,n){this.tooltipService=t,this.viewContainerRef=e,this.renderer=n,this.tooltipCssClass="",this.tooltipTitle="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=ao.top,this.tooltipAlignment=ko.center,this.tooltipType=Ao.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Eo.all,this.tooltipImmediateExit=!1,this.show=new i.o,this.hide=new i.o}get listensForFocus(){return this.tooltipShowEvent===Eo.all||this.tooltipShowEvent===Eo.focus}get listensForHover(){return this.tooltipShowEvent===Eo.all||this.tooltipShowEvent===Eo.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(t){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(t))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(t){if(this.component||this.tooltipDisabled)return;const e=t?0:this.tooltipShowTimeout;clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const t=this.createBoundOptions();this.component=this.tooltipService.create(t),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},e)}addHideListeners(t){this.mouseEnterContentEvent=this.renderer.listen(t,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(t,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen(document,"click",e=>{t.contains(e.target)||this.hideTooltip()}))}hideTooltip(t=!1){if(!this.component)return;const e=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),t?e():this.timeout=setTimeout(e,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(fo),i.Pb(i.S),i.Pb(i.G))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngx-tooltip",""]],hostBindings:function(t,e){1&t&&i.dc("focusin",function(){return e.onFocus()})("blur",function(){return e.onBlur()})("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(t){return e.onMouseLeave(t.target)})("click",function(){return e.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipShowEvent:"tooltipShowEvent",tooltipImmediateExit:"tooltipImmediateExit",tooltipTemplate:"tooltipTemplate",tooltipContext:"tooltipContext"},outputs:{show:"show",hide:"hide"}}),t})(),Do=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[so,fo],imports:[[r.c]]}),t})();function Io(t){return t instanceof Date?t.toLocaleDateString():t.toLocaleString()}const Po={};function To(){let t=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return t="a"+t,Po[t]?To():(Po[t]=!0,t)}let Ro,Mo=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{path:"path",width:"width",height:"height",x:"x",y:"y"},attrs:Fs,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(t,e){1&t&&(i.gc(),i.Qb(0,"rect",0)),2&t&&i.Eb("height",e.height)("width",e.width)("x",e.x)("y",e.y)},encapsulation:2,changeDetection:0}),t})(),jo=(()=>{class t{ngOnChanges(t){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(t=>{let e,n,i,r,s,o="odd";if("vertical"===this.orient){const a=this.xScale(t.name);Number.parseInt((a/this.xScale.step()).toString(),10)%2==1&&(o="even"),e=this.xScale.bandwidth()*this.xScale.paddingInner(),n=this.xScale.bandwidth()+e,i=this.dims.height,r=this.xScale(t.name)-e/2,s=0}else if("horizontal"===this.orient){const a=this.yScale(t.name);Number.parseInt((a/this.yScale.step()).toString(),10)%2==1&&(o="even"),e=this.yScale.bandwidth()*this.yScale.paddingInner(),n=this.dims.width,i=this.yScale.bandwidth()+e,r=0,s=this.yScale(t.name)-e/2}return{name:t.name,class:o,height:i,width:n,x:r,y:s}})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[i.Bb],attrs:Ns,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(t,e){1&t&&i.Ic(0,Us,1,10,"g",0),2&t&&i.oc("ngForOf",e.gridPanels)},directives:[r.n,Mo],encapsulation:2,changeDetection:0}),t})(),Fo=(()=>{class t{constructor(){this.orientation="vertical"}ngOnChanges(t){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%","horizontal"===this.orientation?this.x2="100%":"vertical"===this.orientation&&(this.y1="100%")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[i.Bb],attrs:Vs,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"linearGradient",0),i.Ic(1,Bs,1,5,"stop",1),i.Ub()),2&t&&(i.oc("id",e.name),i.Eb("x1",e.x1)("y1",e.y1)("x2",e.x2)("y2",e.y2),i.Db(1),i.oc("ngForOf",e.stops))},directives:[r.n],encapsulation:2,changeDetection:0}),t})();"undefined"!=typeof window?Ro=window:"undefined"!=typeof global&&(Ro=global);let No=(()=>{class t{constructor(t){this.cd=t,this.horizontal=!1,this.labelClick=new i.o,this.labelActivate=new i.o,this.labelDeactivate=new i.o,this.legendEntries=[]}ngOnChanges(t){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const t=[];for(const e of this.data){const n=Io(e);-1===t.findIndex(t=>t.label===n)&&t.push({label:e,formattedLabel:n,color:this.colors.getColor(e)})}return t}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.label===e.name)}activate(t){this.labelActivate.emit(t)}deactivate(t){this.labelDeactivate.emit(t)}trackBy(t,e){return e.label}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-charts-legend"]],inputs:{horizontal:"horizontal",data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[i.Bb],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(t,e){1&t&&(i.Vb(0,"div"),i.Ic(1,zs,3,1,"header",0),i.Vb(2,"div",1),i.Vb(3,"ul",2),i.Ic(4,Hs,2,4,"li",3),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Fc("width",e.width,"px"),i.Db(1),i.oc("ngIf",(null==e.title?null:e.title.length)>0),i.Db(2),i.Fc("max-height",e.height-45,"px"),i.Hb("horizontal-legend",e.horizontal),i.Db(1),i.oc("ngForOf",e.legendEntries)("ngForTrackBy",e.trackBy))},directives:function(){return[r.o,r.n,Uo]},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"],encapsulation:2,changeDetection:0}),t})(),Uo=(()=>{class t{constructor(){this.isActive=!1,this.select=new i.o,this.activate=new i.o,this.deactivate=new i.o,this.toggle=new i.o}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(t,e){1&t&&i.dc("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{isActive:"isActive",color:"color",label:"label",formattedLabel:"formattedLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(t,e){1&t&&(i.Vb(0,"span",0),i.dc("click",function(){return e.select.emit(e.formattedLabel)}),i.Vb(1,"span",1),i.dc("click",function(){return e.toggle.emit(e.formattedLabel)}),i.Ub(),i.Vb(2,"span",2),i.Kc(3),i.Ub(),i.Ub()),2&t&&(i.Hb("active",e.isActive),i.oc("title",e.formattedLabel),i.Db(1),i.Fc("background-color",e.color),i.Db(2),i.Mc(" ",e.trimmedLabel," "))},encapsulation:2,changeDetection:0}),t})(),Vo=(()=>{class t{constructor(t){this.sanitizer=t,this.horizontal=!1}ngOnChanges(t){const e=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=this.sanitizer.bypassSecurityTrustStyle(`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${e})`)}gradientString(t,e){e.push(1);const n=[];return t.reverse().forEach((t,i)=>{n.push(`${t} ${Math.round(100*e[i])}%`)}),n.join(", ")}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(os.b))},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-charts-scale-legend"]],inputs:{horizontal:"horizontal",valueRange:"valueRange",colors:"colors",height:"height",width:"width"},features:[i.Bb],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Vb(2,"span"),i.Kc(3),i.Ub(),i.Ub(),i.Qb(4,"div",2),i.Vb(5,"div",1),i.Vb(6,"span"),i.Kc(7),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Fc("height",e.horizontal?void 0:e.height,"px")("width",e.width,"px"),i.Hb("horizontal-legend",e.horizontal),i.Db(3),i.Lc(e.valueRange[1].toLocaleString()),i.Db(1),i.Fc("background",e.gradient),i.Db(3),i.Lc(e.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"],encapsulation:2,changeDetection:0}),t})(),Bo=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.c,Oo,Do],r.c,Oo,Do]}),t})();function zo({width:t,height:e,margins:n,showXAxis:i=!1,showYAxis:r=!1,xAxisHeight:s=0,yAxisWidth:o=0,showXLabel:a=!1,showYLabel:c=!1,showLegend:l=!1,legendType:h="ordinal",legendPosition:u="right",columns:d=12}){let f=n[3],p=t,b=e-n[0]-n[2];if(l&&"right"===u&&(d-="ordinal"===h?2:1),p=p*d/12,p=p-n[1]-n[3],i&&(b-=5,b-=s,a)&&(b-=30),r&&(p-=5,p-=o,f+=o,f+=10,c)){const t=30;p-=t,f+=t}return p=Math.max(0,p),b=Math.max(0,b),{width:Math.floor(p),height:Math.floor(b),xOffset:Math.floor(f)}}let Ho=[{name:"vivid",selectable:!0,group:"Ordinal",domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:"Ordinal",domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:"Ordinal",domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:"Ordinal",domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:"Continuous",domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:"Continuous",domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:"Continuous",domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:"Ordinal",domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:"Ordinal",domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:"Ordinal",domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:"Ordinal",domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:"Ordinal",domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:"Ordinal",domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:"Ordinal",domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:"Ordinal",domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Wo{constructor(t,e,n,i){"string"==typeof t&&(t=Ho.find(e=>e.name===t)),this.colorDomain=t.domain,this.scaleType=e,this.domain=n,this.customColors=i,this.scale=this.generateColorScheme(t,e,this.domain)}generateColorScheme(t,e,n){let i;if("string"==typeof t&&(t=Ho.find(e=>e.name===t)),"quantile"===e)i=Vr().range(t.domain).domain(n);else if("ordinal"===e)i=Fr().range(t.domain).domain(n);else if("linear"===e){const e=[...t.domain];1===e.length&&(e.push(e[0]),this.colorDomain=e);const n=Mr(0,1,1/e.length);i=Rr().domain(n).range(e)}return i}getColor(t){if(null==t)throw new Error("Value can not be null");if("linear"===this.scaleType){const e=Rr().domain(this.domain).range([0,1]);return this.scale(e(t))}{if("function"==typeof this.customColors)return this.customColors(t);const e=t.toString();let n;return this.customColors&&this.customColors.length>0&&(n=this.customColors.find(t=>t.name.toLowerCase()===e.toLowerCase())),n?n.value:this.scale(t)}}getLinearGradientStops(t,e){void 0===e&&(e=this.domain[0]);const n=Rr().domain(this.domain).range([0,1]),i=Nr().domain(this.colorDomain).range([0,1]),r=this.getColor(t),s=n(e),o=this.getColor(e),a=n(t);let c=1,l=s;const h=[];for(h.push({color:o,offset:s,originalOffset:s,opacity:1});l<a&&c<this.colorDomain.length;){const t=this.colorDomain[c],e=i(t);if(e<=s)c++;else{if(e.toFixed(4)>=(a-i.bandwidth()).toFixed(4))break;h.push({color:t,offset:e,opacity:1}),l=e,c++}}if(h[h.length-1].offset<100&&h.push({color:r,offset:a,opacity:1}),a===s)h[0].offset=0,h[1].offset=100;else if(100!==h[h.length-1].offset)for(const u of h)u.offset=(u.offset-s)/(a-s)*100;return h}}let Qo=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),Ko=(()=>{class t{constructor(t){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new i.o,this.activate=new i.o,this.deactivate=new i.o,this.hasGradient=!1,this.hideBar=!1,this.element=t.nativeElement}ngOnChanges(t){t.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+To().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const t=(n=this.element,"string"==typeof n?new gt([[document.querySelector(n)]],[document.documentElement]):new gt([[n]],mt)).select(".bar"),e=this.getPath();var n;this.animations?t.transition().duration(500).attr("d",e):t.attr("d",e)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let t,e=this.getRadius();return this.roundEdges?"vertical"===this.orientation?(e=Math.min(this.height,e),t=Co(this.x,this.y+this.height,this.width,1,0,this.edges)):"horizontal"===this.orientation&&(e=Math.min(this.width,e),t=Co(this.x,this.y,1,this.height,0,this.edges)):"vertical"===this.orientation?t=Co(this.x,this.y+this.height,this.width,1,0,this.edges):"horizontal"===this.orientation&&(t=Co(this.x,this.y,1,this.height,0,this.edges)),t}getPath(){let t,e=this.getRadius();return this.roundEdges?"vertical"===this.orientation?(e=Math.min(this.height,e),t=Co(this.x,this.y,this.width,this.height,e,this.edges)):"horizontal"===this.orientation&&(e=Math.min(this.width,e),t=Co(this.x,this.y,this.width,this.height,e,this.edges)):t=Co(this.x,this.y,this.width,this.height,e,this.edges),t}getRadius(){let t=0;return this.roundEdges&&this.height>5&&this.width>5&&(t=Math.floor(Math.min(5,this.height/2,this.width/2))),t}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let t=[!1,!1,!1,!1];return this.roundEdges&&("vertical"===this.orientation?t=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:"horizontal"===this.orientation&&(t=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),t}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&("vertical"===this.orientation&&0===this.height||"horizontal"===this.orientation&&0===this.width)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l))},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(t,e){1&t&&i.dc("mouseenter",function(){return e.onMouseEnter()})("mouseleave",function(){return e.onMouseLeave()})},inputs:{roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",animations:"animations",noBarWhenZero:"noBarWhenZero",fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",stops:"stops",ariaLabel:"ariaLabel"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[i.Bb],attrs:qs,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(t,e){1&t&&(i.Ic(0,Ys,2,3,"defs",0),i.gc(),i.Vb(1,"path",1),i.dc("click",function(){return e.select.emit(e.data)}),i.Ub()),2&t&&(i.oc("ngIf",e.hasGradient),i.Db(1),i.Hb("active",e.isActive)("hidden",e.hideBar),i.Eb("d",e.path)("aria-label",e.ariaLabel)("fill",e.hasGradient?e.gradientFill:e.fill))},directives:[r.o,Fo],encapsulation:2,changeDetection:0}),t})(),qo=(()=>{class t extends mo{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition="right",this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new i.o,this.deactivate=new i.o,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=zo({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const t=this.xDomain.length/(this.dims.width/this.barPadding+1);return Nr().range([0,this.dims.width]).paddingInner(t).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const t=Rr().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?t.nice():t}getXDomain(){return this.results.map(t=>t.label)}getYDomain(){const t=this.results.map(t=>t.value);let e=this.yScaleMin?Math.min(this.yScaleMin,...t):Math.min(0,...t);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(e=Math.min(e,...this.yAxisTicks));let n=this.yScaleMax?Math.max(this.yScaleMax,...t):Math.max(0,...t);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(n=Math.max(n,...this.yAxisTicks)),[e,n]}onClick(t){this.select.emit(t)}setColors(){let t;t="ordinal"===this.schemeType?this.xDomain:this.yDomain,this.colors=new Wo(this.scheme,this.schemeType,t,this.customColors)}getLegendOptions(){const t={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return"ordinal"===t.scaleType?(t.domain=this.xDomain,t.colors=this.colors,t.title=this.legendTitle):(t.domain=this.yDomain,t.colors=this.colors.scale),t}updateYAxisWidth({width:t}){this.yAxisWidth=t,this.update()}updateXAxisHeight({height:t}){this.xAxisHeight=t,this.update()}onDataLabelMaxHeightChanged(t){t.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,t.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,t.size.height),t.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(t,e=!1){t=this.results.find(n=>e?n.label===t.name:n.name===t.name),this.activeEntries.findIndex(e=>e.name===t.name&&e.value===t.value&&e.series===t.series)>-1||(this.activeEntries=[t,...this.activeEntries],this.activate.emit({value:t,entries:this.activeEntries}))}onDeactivate(t,e=!1){t=this.results.find(n=>e?n.label===t.name:n.name===t.name);const n=this.activeEntries.findIndex(e=>e.name===t.name&&e.value===t.value&&e.series===t.series);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:t,entries:this.activeEntries})}}return t.\u0275fac=function(e){return Yo(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(t,e,n){if(1&t&&i.Ib(n,Ws,!0),2&t){let t;i.vc(t=i.ec())&&(e.tooltipTemplate=t.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",tooltipDisabled:"tooltipDisabled",showGridLines:"showGridLines",activeEntries:"activeEntries",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",showDataLabel:"showDataLabel",noBarWhenZero:"noBarWhenZero",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",gradient:"gradient",schemeType:"schemeType",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",dataLabelFormatting:"dataLabelFormatting"},outputs:{activate:"activate",deactivate:"deactivate"},features:[i.Ab],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(t,e){1&t&&(i.Vb(0,"ngx-charts-chart",0),i.dc("legendLabelClick",function(t){return e.onClick(t)})("legendLabelActivate",function(t){return e.onActivate(t,!0)})("legendLabelDeactivate",function(t){return e.onDeactivate(t,!0)}),i.gc(),i.Vb(1,"g",1),i.Ic(2,Gs,1,10,"g",2),i.Ic(3,Zs,1,9,"g",3),i.Vb(4,"g",4),i.dc("activate",function(t){return e.onActivate(t)})("deactivate",function(t){return e.onDeactivate(t)})("select",function(t){return e.onClick(t)})("dataLabelHeightChanged",function(t){return e.onDataLabelMaxHeightChanged(t)}),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.oc("view",i.tc(22,Qs,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions)("activeEntries",e.activeEntries)("animations",e.animations),i.Db(1),i.Eb("transform",e.transform),i.Db(1),i.oc("ngIf",e.xAxis),i.Db(1),i.oc("ngIf",e.yAxis),i.Db(1),i.oc("xScale",e.xScale)("yScale",e.yScale)("colors",e.colors)("series",e.results)("dims",e.dims)("gradient",e.gradient)("tooltipDisabled",e.tooltipDisabled)("tooltipTemplate",e.tooltipTemplate)("showDataLabel",e.showDataLabel)("dataLabelFormatting",e.dataLabelFormatting)("activeEntries",e.activeEntries)("roundEdges",e.roundEdges)("animations",e.animations)("noBarWhenZero",e.noBarWhenZero))},directives:function(){return[po,r.o,Jo,wo,So]},styles:[Ks],encapsulation:2,changeDetection:0}),t})();const Yo=i.Xb(qo);let Go=(()=>{class t extends mo{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition="right",this.tooltipDisabled=!1,this.scaleType="ordinal",this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new i.o,this.deactivate=new i.o,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=zo({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valuesDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(t,e){t.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,t.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,t.size.height),e===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const t=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Nr().rangeRound([0,this.dims.width]).paddingInner(t).paddingOuter(t/2).domain(this.groupDomain)}getInnerScale(){const t=this.groupScale.bandwidth(),e=this.innerDomain.length/(t/this.barPadding+1);return Nr().rangeRound([0,t]).paddingInner(e).domain(this.innerDomain)}getValueScale(){const t=Rr().range([this.dims.height,0]).domain(this.valuesDomain);return this.roundDomains?t.nice():t}getGroupDomain(){const t=[];for(const e of this.results)t.includes(e.label)||t.push(e.label);return t}getInnerDomain(){const t=[];for(const e of this.results)for(const n of e.series)t.includes(n.label)||t.push(n.label);return t}getValueDomain(){const t=[];for(const e of this.results)for(const n of e.series)t.includes(n.value)||t.push(n.value);return[Math.min(0,...t),this.yScaleMax?Math.max(this.yScaleMax,...t):Math.max(0,...t)]}groupTransform(t){return`translate(${this.groupScale(t.label)}, 0)`}onClick(t,e){e&&(t.series=e.name),this.select.emit(t)}trackBy(t,e){return e.name}setColors(){let t;t="ordinal"===this.schemeType?this.innerDomain:this.valuesDomain,this.colors=new Wo(this.scheme,this.schemeType,t,this.customColors)}getLegendOptions(){const t={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return"ordinal"===t.scaleType?(t.domain=this.innerDomain,t.colors=this.colors,t.title=this.legendTitle):(t.domain=this.valuesDomain,t.colors=this.colors.scale),t}updateYAxisWidth({width:t}){this.yAxisWidth=t,this.update()}updateXAxisHeight({height:t}){this.xAxisHeight=t,this.update()}onActivate(t,e,n=!1){const i=Object.assign({},t);e&&(i.series=e.name);const r=this.results.map(t=>t.series).flat().filter(t=>n?t.label===i.name:t.name===i.name&&t.series===i.series);this.activeEntries=[...r],this.activate.emit({value:i,entries:this.activeEntries})}onDeactivate(t,e,n=!1){const i=Object.assign({},t);e&&(i.series=e.name),this.activeEntries=this.activeEntries.filter(t=>n?t.label!==i.name:!(t.name===i.name&&t.series===i.series)),this.deactivate.emit({value:i,entries:this.activeEntries})}}return t.\u0275fac=function(e){return Zo(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(t,e,n){if(1&t&&i.Ib(n,Ws,!0),2&t){let t;i.vc(t=i.ec())&&(e.tooltipTemplate=t.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",showGridLines:"showGridLines",activeEntries:"activeEntries",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",showDataLabel:"showDataLabel",noBarWhenZero:"noBarWhenZero",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",gradient:"gradient",schemeType:"schemeType",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",yScaleMax:"yScaleMax",dataLabelFormatting:"dataLabelFormatting"},outputs:{activate:"activate",deactivate:"deactivate"},features:[i.Ab],decls:6,vars:17,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","","orient","vertical",3,"xScale","yScale","data","dims"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(t,e){1&t&&(i.Vb(0,"ngx-charts-chart",0),i.dc("legendLabelActivate",function(t){return e.onActivate(t,void 0,!0)})("legendLabelDeactivate",function(t){return e.onDeactivate(t,void 0,!0)})("legendLabelClick",function(t){return e.onClick(t)}),i.gc(),i.Vb(1,"g",1),i.Qb(2,"g",2),i.Ic(3,Xs,1,10,"g",3),i.Ic(4,Js,1,9,"g",4),i.Ic(5,$s,1,17,"g",5),i.Ub(),i.Ub()),2&t&&(i.oc("view",i.tc(14,Qs,e.width,e.height))("showLegend",e.legend)("legendOptions",e.legendOptions)("activeEntries",e.activeEntries)("animations",e.animations),i.Db(1),i.Eb("transform",e.transform),i.Db(1),i.oc("xScale",e.groupScale)("yScale",e.valueScale)("data",e.results)("dims",e.dims),i.Db(1),i.oc("ngIf",e.xAxis),i.Db(1),i.oc("ngIf",e.yAxis),i.Db(1),i.oc("ngForOf",e.results)("ngForTrackBy",e.trackBy))},directives:function(){return[po,jo,r.o,r.n,wo,So,Jo]},styles:[Ks],encapsulation:2,data:{animation:[Object(s.n)("animationState",[Object(s.m)(":leave",[Object(s.l)({opacity:1,transform:"*"}),Object(s.e)(500,Object(s.l)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),t})();const Zo=i.Xb(Go);var Xo=function(t){return t.positive="positive",t.negative="negative",t}({});let Jo=(()=>{class t{constructor(){this.type="standard",this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new i.o,this.activate=new i.o,this.deactivate=new i.o,this.dataLabelHeightChanged=new i.o,this.barsForDataLabels=[]}ngOnChanges(t){this.update()}update(){let t;this.updateTooltipSettings(),this.series.length&&(t=this.xScale.bandwidth()),t=Math.round(t);const e=Math.max(this.yScale.domain()[0],0),n={[Xo.positive]:0,[Xo.negative]:0};let i,r=Xo.positive;"normalized"===this.type&&(i=this.series.map(t=>t.value).reduce((t,e)=>t+e,0)),this.bars=this.series.map((s,o)=>{let a=s.value;const c=this.getLabel(s),l=Io(c);r=a>0?Xo.positive:Xo.negative;const h={value:a,label:c,roundEdges:this.roundEdges,data:s,width:t,formattedLabel:l,height:0,x:0,y:0};if("standard"===this.type)h.height=Math.abs(this.yScale(a)-this.yScale(e)),h.x=this.xScale(c),h.y=this.yScale(a<0?0:a);else if("stacked"===this.type){const t=n[r],e=t+a;n[r]+=a,h.height=this.yScale(t)-this.yScale(e),h.x=0,h.y=this.yScale(e),h.offset0=t,h.offset1=e}else if("normalized"===this.type){let t=n[r],e=t+a;n[r]+=a,i>0?(t=100*t/i,e=100*e/i):(t=0,e=0),h.height=this.yScale(t)-this.yScale(e),h.x=0,h.y=this.yScale(e),h.offset0=t,h.offset1=e,a=(e-t).toFixed(2)+"%"}"ordinal"===this.colors.scaleType?h.color=this.colors.getColor(c):"standard"===this.type?(h.color=this.colors.getColor(a),h.gradientStops=this.colors.getLinearGradientStops(a)):(h.color=this.colors.getColor(h.offset1),h.gradientStops=this.colors.getLinearGradientStops(h.offset1,h.offset0));let u=l;return h.ariaLabel=l+" "+a.toLocaleString(),this.seriesName&&(u=`${this.seriesName} \u2022 ${l}`,h.data.series=this.seriesName,h.ariaLabel=this.seriesName+" "+h.ariaLabel),h.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function(t){return t.toLocaleString().replace(/[&'`"<>]/g,t=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[t]))}(u)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(a):a.toLocaleString()}</span>\n `,h}),this.updateDataLabels()}updateDataLabels(){if("stacked"===this.type){this.barsForDataLabels=[];const t={};t.series=this.seriesName;const e=this.series.map(t=>t.value).reduce((t,e)=>e>0?t+e:t,0),n=this.series.map(t=>t.value).reduce((t,e)=>e<0?t+e:t,0);t.total=e+n,t.x=0,t.y=0,t.height=this.yScale(t.total>0?e:n),t.width=this.xScale.bandwidth(),this.barsForDataLabels.push(t)}else this.barsForDataLabels=this.series.map(t=>{const e={};return e.series=this.seriesName?this.seriesName:t.label,e.total=t.value,e.x=this.xScale(t.label),e.y=this.yScale(0),e.height=this.yScale(e.total)-this.yScale(0),e.width=this.xScale.bandwidth(),e})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:"top",this.tooltipType=this.tooltipDisabled?void 0:"tooltip"}isActive(t){return!!this.activeEntries&&void 0!==this.activeEntries.find(e=>t.name===e.name&&t.series===e.series)}onClick(t){this.select.emit(t)}getLabel(t){return t.label?t.label:t.name}trackBy(t,e){return e.label}trackDataLabelBy(t,e){return t+"#"+e.series+"#"+e.total}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{type:"type",tooltipDisabled:"tooltipDisabled",animations:"animations",showDataLabel:"showDataLabel",noBarWhenZero:"noBarWhenZero",dims:"dims",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",dataLabelFormatting:"dataLabelFormatting"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[i.Bb],attrs:to,decls:2,vars:3,consts:[["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(t,e){1&t&&(i.Ic(0,eo,1,22,"g",0),i.Ic(1,io,2,2,"g",1)),2&t&&(i.oc("ngForOf",e.bars)("ngForTrackBy",e.trackBy),i.Db(1),i.oc("ngIf",e.showDataLabel))},directives:function(){return[r.n,r.o,Ko,Lo,$o]},encapsulation:2,data:{animation:[Object(s.n)("animationState",[Object(s.m)(":leave",[Object(s.l)({opacity:1}),Object(s.e)(500,Object(s.l)({opacity:0}))])])]},changeDetection:0}),t})(),$o=(()=>{class t{constructor(t){this.dimensionsChanged=new i.o,this.horizontalPadding=2,this.verticalPadding=5,this.element=t.nativeElement}ngOnChanges(t){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):Io(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l))},t.\u0275cmp=i.Jb({type:t,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[i.Bb],attrs:ro,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"text",0),i.Kc(1),i.Ub()),2&t&&(i.Eb("text-anchor",e.textAnchor)("transform",e.transform)("x",e.x)("y",e.y),i.Db(1),i.Mc(" ",e.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),t})(),ta=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),ea=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),na=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),ia=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})();Math;let ra=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),sa=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo,ra,ia]]}),t})(),oa=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),aa=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo]]}),t})(),ca=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[Bo,ra,ta]]}),t})(),la=(()=>{class t{constructor(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[Bo,Qo,ta,ea,na,ia,sa,oa,ra,aa,ca]}),t})()},LvnZ:function(t,e,n){"use strict";n.d(e,"W",function(){return i}),n.d(e,"d",function(){return r}),n.d(e,"o",function(){return s}),n.d(e,"hb",function(){return o}),n.d(e,"u",function(){return a}),n.d(e,"mb",function(){return c}),n.d(e,"s",function(){return l}),n.d(e,"jb",function(){return h}),n.d(e,"t",function(){return u}),n.d(e,"kb",function(){return d}),n.d(e,"q",function(){return f}),n.d(e,"db",function(){return p}),n.d(e,"w",function(){return b}),n.d(e,"ob",function(){return m}),n.d(e,"L",function(){return g}),n.d(e,"qb",function(){return y}),n.d(e,"z",function(){return v}),n.d(e,"vb",function(){return _}),n.d(e,"y",function(){return w}),n.d(e,"sb",function(){return C}),n.d(e,"ab",function(){return x}),n.d(e,"R",function(){return S}),n.d(e,"b",function(){return O}),n.d(e,"k",function(){return A}),n.d(e,"V",function(){return k}),n.d(e,"r",function(){return E}),n.d(e,"eb",function(){return L}),n.d(e,"Ib",function(){return D}),n.d(e,"Y",function(){return I}),n.d(e,"e",function(){return P}),n.d(e,"U",function(){return T}),n.d(e,"x",function(){return R}),n.d(e,"rb",function(){return M}),n.d(e,"i",function(){return j}),n.d(e,"ib",function(){return F}),n.d(e,"bb",function(){return N}),n.d(e,"cb",function(){return U}),n.d(e,"M",function(){return V}),n.d(e,"tb",function(){return B}),n.d(e,"S",function(){return z}),n.d(e,"c",function(){return H}),n.d(e,"Q",function(){return W}),n.d(e,"pb",function(){return Q}),n.d(e,"K",function(){return K}),n.d(e,"lb",function(){return q}),n.d(e,"v",function(){return Y}),n.d(e,"nb",function(){return G}),n.d(e,"ub",function(){return Z}),n.d(e,"Z",function(){return X}),n.d(e,"a",function(){return J}),n.d(e,"j",function(){return $}),n.d(e,"fb",function(){return tt}),n.d(e,"gb",function(){return et}),n.d(e,"g",function(){return nt}),n.d(e,"p",function(){return it}),n.d(e,"X",function(){return rt}),n.d(e,"Bb",function(){return st}),n.d(e,"E",function(){return ot}),n.d(e,"D",function(){return at}),n.d(e,"C",function(){return ct}),n.d(e,"A",function(){return lt}),n.d(e,"G",function(){return ht}),n.d(e,"O",function(){return ut}),n.d(e,"I",function(){return dt}),n.d(e,"Fb",function(){return ft}),n.d(e,"yb",function(){return pt}),n.d(e,"n",function(){return bt}),n.d(e,"H",function(){return mt}),n.d(e,"l",function(){return gt}),n.d(e,"Cb",function(){return yt}),n.d(e,"zb",function(){return vt}),n.d(e,"P",function(){return _t}),n.d(e,"Gb",function(){return wt}),n.d(e,"B",function(){return Ct}),n.d(e,"Jb",function(){return xt}),n.d(e,"wb",function(){return St}),n.d(e,"h",function(){return Ot}),n.d(e,"T",function(){return At}),n.d(e,"f",function(){return kt}),n.d(e,"Eb",function(){return Et}),n.d(e,"N",function(){return Lt}),n.d(e,"Db",function(){return Dt}),n.d(e,"F",function(){return It}),n.d(e,"Hb",function(){return Pt}),n.d(e,"xb",function(){return Tt}),n.d(e,"m",function(){return Rt}),n.d(e,"Ab",function(){return Mt}),n.d(e,"J",function(){return jt});const i="RESET_CL_STORE",r="CLEAR_EFFECT_ERROR_CL",s="EFFECT_ERROR_CL",o="SET_CHILD_NODE_SETTINGS_CL",a="FETCH_INFO_CL_CL",c="SET_INFO_CL",l="FETCH_FEES_CL",h="SET_FEES_CL",u="FETCH_FEE_RATES_CL",d="SET_FEE_RATES_CL",f="FETCH_BALANCE_CL",p="SET_BALANCE_CL",b="FETCH_LOCAL_REMOTE_BALANCE_CL",m="SET_LOCAL_REMOTE_BALANCE_CL",g="GET_NEW_ADDRESS_CL",y="SET_NEW_ADDRESS_CL",v="FETCH_UTXOS_CL",_="SET_UTXOS_CL",w="FETCH_PEERS_CL",C="SET_PEERS_CL",x="SAVE_NEW_PEER_CL",S="NEWLY_ADDED_PEER_CL",O="ADD_PEER_CL",A="DETACH_PEER_CL",k="REMOVE_PEER_CL",E="FETCH_CHANNELS_CL",L="SET_CHANNELS_CL",D="UPDATE_CHANNELS_CL",I="SAVE_NEW_CHANNEL_CL",P="CLOSE_CHANNEL_CL",T="REMOVE_CHANNEL_CL",R="FETCH_PAYMENTS_CL",M="SET_PAYMENTS_CL",j="DECODE_PAYMENT_CL",F="SET_DECODED_PAYMENT_CL",N="SEND_PAYMENT_CL",U="SEND_PAYMENT_STATUS_CL",V="GET_QUERY_ROUTES_CL",B="SET_QUERY_ROUTES_CL",z="PEER_LOOKUP_CL",H="CHANNEL_LOOKUP_CL",W="INVOICE_LOOKUP_CL",Q="SET_LOOKUP_CL",K="GET_FORWARDING_HISTORY_CL",q="SET_FORWARDING_HISTORY_CL",Y="FETCH_INVOICES_CL",G="SET_INVOICES_CL",Z="SET_TOTAL_INVOICES_CL",X="SAVE_NEW_INVOICE_CL",J="ADD_INVOICE_CL",$="DELETE_EXPIRED_INVOICE_CL",tt="SET_CHANNEL_TRANSACTION_CL",et="SET_CHANNEL_TRANSACTION_RES_CL";class nt{constructor(t){this.payload=t,this.type=r}}class it{constructor(t){this.payload=t,this.type=s}}class rt{constructor(t){this.payload=t,this.type=i}}class st{constructor(t){this.payload=t,this.type=o}}class ot{constructor(t){this.payload=t,this.type=a}}class at{constructor(){this.type=l}}class ct{constructor(t){this.payload=t,this.type=u}}class lt{constructor(){this.type=f}}class ht{constructor(){this.type=b}}class ut{constructor(t){this.payload=t,this.type=g}}class dt{constructor(){this.type=w}}class ft{constructor(t){this.payload=t,this.type=C}}class pt{constructor(t){this.payload=t,this.type=x}}class bt{constructor(t){this.payload=t,this.type=A}}class mt{constructor(){this.type=R}}class gt{constructor(t){this.payload=t,this.type=j}}class yt{constructor(t){this.payload=t,this.type=F}}class vt{constructor(t){this.payload=t,this.type=N}}class _t{constructor(t){this.payload=t,this.type=V}}class wt{constructor(t){this.payload=t,this.type=B}}class Ct{constructor(){this.type=E}}class xt{constructor(t){this.payload=t,this.type=D}}class St{constructor(t){this.payload=t,this.type=I}}class Ot{constructor(t){this.payload=t,this.type=P}}class At{constructor(t){this.payload=t,this.type=z}}class kt{constructor(t){this.payload=t,this.type=H}}class Et{constructor(t){this.payload=t,this.type=Q}}class Lt{constructor(){this.type=K}}class Dt{constructor(t){this.payload=t,this.type=q}}class It{constructor(t){this.payload=t,this.type=Y}}class Pt{constructor(t){this.payload=t,this.type=Z}}class Tt{constructor(t){this.payload=t,this.type=X}}class Rt{constructor(t){this.payload=t,this.type=$}}class Mt{constructor(t){this.payload=t,this.type=tt}}class jt{constructor(){this.type=v}}},Lzq4:function(t,e,n){var i=n("u/Db"),r=n("e/Dd");function s(t){this.mode=i.KANJI,this.data=t}s.getBitsLength=function(t){return 13*t},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(t){var e;for(e=0;e<this.data.length;e++){var n=r.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}t.put(n=192*(n>>>8&255)+(255&n),13)}},t.exports=s},M9ds:function(t,e,n){"use strict";n.d(e,"a",function(){return X}),n.d(e,"b",function(){return ct}),n.d(e,"c",function(){return K}),n.d(e,"d",function(){return wt}),n.d(e,"e",function(){return gt}),n.d(e,"f",function(){return Ct});var i=n("YEUz"),r=n("9b/N"),s=n("1z/I"),o=n("SVse"),a=n("8Y7J"),c=n("UhP/"),l=n("omvX"),h=n("XNiG"),u=n("quSY"),d=n("VRyK"),f=n("xgIS"),p=n("LRne"),b=n("PqYM"),m=n("GS7A"),g=n("JX91"),y=n("/uUt"),v=n("1G5W"),_=n("8LU1"),w=n("SCoL"),C=n("Ht+U"),x=n("9gLZ"),S=n("7KAL");function O(t,e){1&t&&a.mc(0)}const A=["*"];function k(t,e){}const E=function(t){return{animationDuration:t}},L=function(t,e){return{value:t,params:e}},D=["tabBodyWrapper"],I=["tabHeader"];function P(t,e){}function T(t,e){if(1&t&&a.Ic(0,P,0,0,"ng-template",9),2&t){const t=a.hc().$implicit;a.oc("cdkPortalOutlet",t.templateLabel)}}function R(t,e){if(1&t&&a.Kc(0),2&t){const t=a.hc().$implicit;a.Lc(t.textLabel)}}function M(t,e){if(1&t){const t=a.Wb();a.Vb(0,"div",6),a.dc("click",function(){a.zc(t);const n=e.$implicit,i=e.index,r=a.hc(),s=a.wc(1);return r._handleClick(n,s,i)}),a.Vb(1,"div",7),a.Ic(2,T,1,1,"ng-template",8),a.Ic(3,R,1,1,"ng-template",8),a.Ub(),a.Ub()}if(2&t){const t=e.$implicit,n=e.index,i=a.hc();a.Hb("mat-tab-label-active",i.selectedIndex==n),a.oc("id",i._getTabLabelId(n))("disabled",t.disabled)("matRippleDisabled",t.disabled||i.disableRipple),a.Eb("tabIndex",i._getTabIndex(t,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),a.Db(2),a.oc("ngIf",t.templateLabel),a.Db(1),a.oc("ngIf",!t.templateLabel)}}function j(t,e){if(1&t){const t=a.Wb();a.Vb(0,"mat-tab-body",10),a.dc("_onCentered",function(){return a.zc(t),a.hc()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return a.zc(t),a.hc()._setTabBodyWrapperHeight(e)}),a.Ub()}if(2&t){const t=e.$implicit,n=e.index,i=a.hc();a.Hb("mat-tab-body-active",i.selectedIndex==n),a.oc("id",i._getTabContentId(n))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",i.animationDuration),a.Eb("aria-labelledby",i._getTabLabelId(n))}}const F=["tabListContainer"],N=["tabList"],U=["nextPaginator"],V=["previousPaginator"],B=["mat-tab-nav-bar",""],z=new a.s("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let H=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.B),a.Pb(z),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&a.Hb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const W=new a.s("MatTabContent"),Q=new a.s("MatTabLabel");let K=(()=>{class t extends s.b{}return t.\u0275fac=function(e){return q(e||t)},t.\u0275dir=a.Kb({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[a.Cb([{provide:Q,useExisting:t}]),a.Ab]}),t})();const q=a.Xb(K);class Y{}const G=Object(c.z)(Y),Z=new a.s("MAT_TAB_GROUP");let X=(()=>{class t extends G{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new h.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new s.i(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.S),a.Pb(Z))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){if(1&t&&(a.Ib(n,Q,!0),a.Dc(n,W,!0,a.O)),2&t){let t;a.vc(t=a.ec())&&(e.templateLabel=t.first),a.vc(t=a.ec())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&a.Ec(a.O,!0),2&t){let t;a.vc(t=a.ec())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[a.Ab,a.Bb],ngContentSelectors:A,decls:1,vars:0,template:function(t,e){1&t&&(a.nc(),a.Ic(0,O,1,0,"ng-template"))},encapsulation:2}),t})();const J={translateTab:Object(m.n)("translateTab",[Object(m.k)("center, void, left-origin-center, right-origin-center",Object(m.l)({transform:"none"})),Object(m.k)("left",Object(m.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(m.k)("right",Object(m.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(m.m)("* => left, * => right, left => center, right => center",Object(m.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(m.m)("void => left-origin-center",[Object(m.l)({transform:"translate3d(-100%, 0, 0)"}),Object(m.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(m.m)("void => right-origin-center",[Object(m.l)({transform:"translate3d(100%, 0, 0)"}),Object(m.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let $=(()=>{class t extends s.c{constructor(t,e,n,i){super(t,e,i),this._host=n,this._centeringSub=u.a.EMPTY,this._leavingSub=u.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(g.a)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.j),a.Pb(a.S),a.Pb(Object(a.X)(()=>et)),a.Pb(o.d))},t.\u0275dir=a.Kb({type:t,selectors:[["","matTabBodyHost",""]],features:[a.Ab]}),t})(),tt=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=u.a.EMPTY,this._translateTabComplete=new h.a,this._onCentering=new a.o,this._beforeCentering=new a.o,this._afterLeavingCenter=new a.o,this._onCentered=new a.o(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Object(y.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(x.b,8),a.Pb(a.h))},t.\u0275dir=a.Kb({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),et=(()=>{class t extends tt{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(x.b,8),a.Pb(a.h))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&a.Pc(s.g,!0),2&t){let t;a.vc(t=a.ec())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[a.Ab],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(a.Vb(0,"div",0,1),a.dc("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),a.Ic(2,k,0,0,"ng-template",2),a.Ub()),2&t&&a.oc("@translateTab",a.tc(3,L,e._position,a.sc(1,E,e.animationDuration)))},directives:[$],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[J.translateTab]}}),t})();const nt=new a.s("MAT_TABS_CONFIG");let it=0;class rt{}class st{constructor(t){this._elementRef=t}}const ot=Object(c.x)(Object(c.y)(st),"primary");let at=(()=>{class t extends ot{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._tabs=new a.F,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=u.a.EMPTY,this._tabLabelSubscription=u.a.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new a.o,this.focusChange=new a.o,this.animationDone=new a.o,this.selectedTabChange=new a.o(!0),this._groupId=it++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(_.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(_.f)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||this.selectedIndexChange.emit(t)})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e<t.length;e++)if(t[e].isActive){this._indexToSelect=this._selectedIndex=e;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Object(g.a)(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(t=>t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new rt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(d.a)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.h),a.Pb(nt,8),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[a.Ab]}),t})(),ct=(()=>{class t extends at{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.h),a.Pb(nt,8),a.Pb(l.a,8))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){if(1&t&&a.Ib(n,X,!0),2&t){let t;a.vc(t=a.ec())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(a.Pc(D,!0),a.Pc(I,!0)),2&t){let t;a.vc(t=a.ec())&&(e._tabBodyWrapper=t.first),a.vc(t=a.ec())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&a.Hb("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[a.Cb([{provide:Z,useExisting:t}]),a.Ab],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(a.Vb(0,"mat-tab-header",0,1),a.dc("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),a.Ic(2,M,4,14,"div",2),a.Ub(),a.Vb(3,"div",3,4),a.Ic(5,j,1,8,"mat-tab-body",5),a.Ub()),2&t&&(a.oc("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),a.Db(2),a.oc("ngForOf",e._tabs),a.Db(1),a.Hb("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.Db(2),a.oc("ngForOf",e._tabs))},directives:function(){return[bt,o.n,ut,c.r,i.e,o.o,s.c,et]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})();class lt{}const ht=Object(c.z)(lt);let ut=(()=>{class t extends ht{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l))},t.\u0275dir=a.Kb({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(a.Eb("aria-disabled",!!e.disabled),a.Hb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[a.Ab]}),t})();const dt=Object(w.f)({passive:!0});let ft=(()=>{class t{constructor(t,e,n,i,r,s,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=s,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new h.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new h.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.o,this.indexFocused=new a.o,r.runOutsideAngular(()=>{Object(f.a)(t.nativeElement,"mouseleave").pipe(Object(v.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(_.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){Object(f.a)(this._previousPaginator.nativeElement,"touchstart",dt).pipe(Object(v.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(f.a)(this._nextPaginator.nativeElement,"touchstart",dt).pipe(Object(v.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(p.a)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(d.a)(t,e,this._items.changes).pipe(Object(v.a)(this._destroyed)).subscribe(()=>{Promise.resolve().then(n),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(v.a)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Object(C.r)(t))switch(t.keyCode){case C.e:case C.m:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:r}=e.elementRef.nativeElement;let s,o;"ltr"==this._getLayoutDirection()?(s=i,o=s+r):(o=this._tabList.nativeElement.offsetWidth-i,s=o-r);const a=this.scrollDistance,c=this.scrollDistance+n;s<a?this.scrollDistance-=a-s+60:o>c&&(this.scrollDistance+=o-c+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),Object(b.a)(650,100).pipe(Object(v.a)(Object(d.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.h),a.Pb(S.e),a.Pb(x.b,8),a.Pb(a.B),a.Pb(w.a),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),pt=(()=>{class t extends ft{constructor(t,e,n,i,r,s,o){super(t,e,n,i,r,s,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(_.c)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.h),a.Pb(S.e),a.Pb(x.b,8),a.Pb(a.B),a.Pb(w.a),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,inputs:{disableRipple:"disableRipple"},features:[a.Ab]}),t})(),bt=(()=>{class t extends pt{constructor(t,e,n,i,r,s,o){super(t,e,n,i,r,s,o)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.h),a.Pb(S.e),a.Pb(x.b,8),a.Pb(a.B),a.Pb(w.a),a.Pb(l.a,8))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){if(1&t&&a.Ib(n,ut,!1),2&t){let t;a.vc(t=a.ec())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(a.Ec(H,!0),a.Ec(F,!0),a.Ec(N,!0),a.Pc(U,!0),a.Pc(V,!0)),2&t){let t;a.vc(t=a.ec())&&(e._inkBar=t.first),a.vc(t=a.ec())&&(e._tabListContainer=t.first),a.vc(t=a.ec())&&(e._tabList=t.first),a.vc(t=a.ec())&&(e._nextPaginator=t.first),a.vc(t=a.ec())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&a.Hb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.Ab],ngContentSelectors:A,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(a.nc(),a.Vb(0,"div",0,1),a.dc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),a.Qb(2,"div",2),a.Ub(),a.Vb(3,"div",3,4),a.dc("keydown",function(t){return e._handleKeydown(t)}),a.Vb(5,"div",5,6),a.dc("cdkObserveContent",function(){return e._onContentChanges()}),a.Vb(7,"div",7),a.mc(8),a.Ub(),a.Qb(9,"mat-ink-bar"),a.Ub(),a.Ub(),a.Vb(10,"div",8,9),a.dc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),a.Qb(12,"div",2),a.Ub()),2&t&&(a.Hb("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.oc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.Db(5),a.Hb("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.Db(5),a.Hb("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.oc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[c.r,r.a,H],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t})(),mt=(()=>{class t extends ft{constructor(t,e,n,i,r,s,o){super(t,i,r,e,n,s,o),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(_.c)(t)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Object(g.a)(null),Object(v.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const t=this._items.toArray();for(let e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(x.b,8),a.Pb(a.B),a.Pb(a.h),a.Pb(S.e),a.Pb(w.a),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,inputs:{color:"color",backgroundColor:"backgroundColor",disableRipple:"disableRipple"},features:[a.Ab]}),t})(),gt=(()=>{class t extends mt{constructor(t,e,n,i,r,s,o){super(t,e,n,i,r,s,o)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(x.b,8),a.Pb(a.B),a.Pb(a.h),a.Pb(S.e),a.Pb(w.a),a.Pb(l.a,8))},t.\u0275cmp=a.Jb({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,e,n){if(1&t&&a.Ib(n,wt,!0),2&t){let t;a.vc(t=a.ec())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(a.Ec(H,!0),a.Ec(F,!0),a.Ec(N,!0),a.Pc(U,!0),a.Pc(V,!0)),2&t){let t;a.vc(t=a.ec())&&(e._inkBar=t.first),a.vc(t=a.ec())&&(e._tabListContainer=t.first),a.vc(t=a.ec())&&(e._tabList=t.first),a.vc(t=a.ec())&&(e._nextPaginator=t.first),a.vc(t=a.ec())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(t,e){2&t&&a.Hb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())("mat-primary","warn"!==e.color&&"accent"!==e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[a.Ab],attrs:B,ngContentSelectors:A,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(a.nc(),a.Vb(0,"div",0,1),a.dc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),a.Qb(2,"div",2),a.Ub(),a.Vb(3,"div",3,4),a.dc("keydown",function(t){return e._handleKeydown(t)}),a.Vb(5,"div",5,6),a.dc("cdkObserveContent",function(){return e._onContentChanges()}),a.Vb(7,"div",7),a.mc(8),a.Ub(),a.Qb(9,"mat-ink-bar"),a.Ub(),a.Ub(),a.Vb(10,"div",8,9),a.dc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),a.Qb(12,"div",2),a.Ub()),2&t&&(a.Hb("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.oc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.Db(5),a.Hb("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.Db(5),a.Hb("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.oc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[c.r,r.a,H],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t})();class yt{}const vt=Object(c.C)(Object(c.y)(Object(c.z)(yt)));let _t=(()=>{class t extends vt{constructor(t,e,n,i,r,s){super(),this._tabNavBar=t,this.elementRef=e,this._focusMonitor=r,this._isActive=!1,this.rippleConfig=n||{},this.tabIndex=parseInt(i)||0,"NoopAnimations"===s&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(t){Object(_.c)(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(mt),a.Pb(a.l),a.Pb(c.h,8),a.ac("tabindex"),a.Pb(i.h),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,inputs:{active:"active"},features:[a.Ab]}),t})(),wt=(()=>{class t extends _t{constructor(t,e,n,i,r,s,o,a){super(t,e,r,s,o,a),this._tabLinkRipple=new c.u(this,n,e,i),this._tabLinkRipple.setupTriggerEvents(e.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(gt),a.Pb(a.l),a.Pb(a.B),a.Pb(w.a),a.Pb(c.h,8),a.ac("tabindex"),a.Pb(i.h),a.Pb(l.a,8))},t.\u0275dir=a.Kb({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Eb("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),a.Hb("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[a.Ab]}),t})(),Ct=(()=>{class t{}return t.\u0275mod=a.Nb({type:t}),t.\u0275inj=a.Mb({factory:function(e){return new(e||t)},imports:[[o.c,c.i,s.h,c.s,r.c,i.a],c.i]}),t})()},MCVq:function(t,e,n){"use strict";n.d(e,"hb",function(){return i}),n.d(e,"f",function(){return r}),n.d(e,"m",function(){return s}),n.d(e,"xb",function(){return o}),n.d(e,"t",function(){return a}),n.d(e,"Cb",function(){return c}),n.d(e,"x",function(){return l}),n.d(e,"Ib",function(){return h}),n.d(e,"qb",function(){return u}),n.d(e,"bb",function(){return d}),n.d(e,"k",function(){return f}),n.d(e,"gb",function(){return p}),n.d(e,"pb",function(){return b}),n.d(e,"cb",function(){return m}),n.d(e,"a",function(){return g}),n.d(e,"r",function(){return y}),n.d(e,"zb",function(){return v}),n.d(e,"p",function(){return _}),n.d(e,"ub",function(){return w}),n.d(e,"v",function(){return C}),n.d(e,"Fb",function(){return x}),n.d(e,"o",function(){return S}),n.d(e,"y",function(){return O}),n.d(e,"q",function(){return A}),n.d(e,"tb",function(){return k}),n.d(e,"Jb",function(){return E}),n.d(e,"yb",function(){return L}),n.d(e,"cc",function(){return D}),n.d(e,"ob",function(){return I}),n.d(e,"g",function(){return P}),n.d(e,"fb",function(){return T}),n.d(e,"b",function(){return R}),n.d(e,"fc",function(){return M}),n.d(e,"c",function(){return j}),n.d(e,"gc",function(){return F}),n.d(e,"ib",function(){return N}),n.d(e,"Lb",function(){return U}),n.d(e,"jb",function(){return V}),n.d(e,"kb",function(){return B}),n.d(e,"u",function(){return z}),n.d(e,"Db",function(){return H}),n.d(e,"Mb",function(){return W}),n.d(e,"z",function(){return Q}),n.d(e,"Nb",function(){return K}),n.d(e,"A",function(){return q}),n.d(e,"Ob",function(){return Y}),n.d(e,"w",function(){return G}),n.d(e,"Hb",function(){return Z}),n.d(e,"rb",function(){return X}),n.d(e,"sb",function(){return J}),n.d(e,"s",function(){return $}),n.d(e,"Bb",function(){return tt}),n.d(e,"R",function(){return et}),n.d(e,"Gb",function(){return nt}),n.d(e,"vb",function(){return it}),n.d(e,"wb",function(){return rt}),n.d(e,"O",function(){return st}),n.d(e,"P",function(){return ot}),n.d(e,"X",function(){return at}),n.d(e,"Y",function(){return ct}),n.d(e,"bc",function(){return lt}),n.d(e,"db",function(){return ht}),n.d(e,"e",function(){return ut}),n.d(e,"Z",function(){return dt}),n.d(e,"Eb",function(){return ft}),n.d(e,"Q",function(){return pt}),n.d(e,"Ab",function(){return bt}),n.d(e,"S",function(){return mt}),n.d(e,"Kb",function(){return gt}),n.d(e,"i",function(){return yt}),n.d(e,"n",function(){return vt}),n.d(e,"lb",function(){return _t}),n.d(e,"Ub",function(){return wt}),n.d(e,"G",function(){return Ct}),n.d(e,"K",function(){return xt}),n.d(e,"Xb",function(){return St}),n.d(e,"Rb",function(){return Ot}),n.d(e,"l",function(){return At}),n.d(e,"Qb",function(){return kt}),n.d(e,"E",function(){return Et}),n.d(e,"C",function(){return Lt}),n.d(e,"I",function(){return Dt}),n.d(e,"B",function(){return It}),n.d(e,"L",function(){return Pt}),n.d(e,"D",function(){return Tt}),n.d(e,"ec",function(){return Rt}),n.d(e,"Pb",function(){return Mt}),n.d(e,"j",function(){return jt}),n.d(e,"d",function(){return Ft}),n.d(e,"hc",function(){return Nt}),n.d(e,"nb",function(){return Ut}),n.d(e,"Zb",function(){return Vt}),n.d(e,"mb",function(){return Bt}),n.d(e,"H",function(){return zt}),n.d(e,"ac",function(){return Ht}),n.d(e,"M",function(){return Wt}),n.d(e,"N",function(){return Qt}),n.d(e,"J",function(){return Kt}),n.d(e,"Sb",function(){return qt}),n.d(e,"F",function(){return Yt}),n.d(e,"V",function(){return Gt}),n.d(e,"Tb",function(){return Zt}),n.d(e,"T",function(){return Xt}),n.d(e,"ab",function(){return Jt}),n.d(e,"dc",function(){return $t}),n.d(e,"eb",function(){return te}),n.d(e,"h",function(){return ee}),n.d(e,"Wb",function(){return ne}),n.d(e,"U",function(){return ie}),n.d(e,"Vb",function(){return re}),n.d(e,"W",function(){return se}),n.d(e,"Yb",function(){return oe});const i="RESET_LND_STORE",r="CLEAR_EFFECT_ERROR_LND",s="EFFECT_ERROR_LND",o="SET_CHILD_NODE_SETTINGS_LND",a="FETCH_INFO_LND",c="SET_INFO_LND",l="FETCH_PEERS_LND",h="SET_PEERS_LND",u="SAVE_NEW_PEER_LND",d="NEWLY_ADDED_PEER_LND",f="DETACH_PEER_LND",p="REMOVE_PEER_LND",b="SAVE_NEW_INVOICE_LND",m="NEWLY_SAVED_INVOICE_LND",g="ADD_INVOICE_LND",y="FETCH_FEES_LND",v="SET_FEES_LND",_="FETCH_BALANCE_LND",w="SET_BALANCE_LND",C="FETCH_NETWORK_LND",x="SET_NETWORK_LND",S="FETCH_ALL_CHANNELS_LND",O="FETCH_PENDING_CHANNELS_LND",A="FETCH_CLOSED_CHANNELS_LND",k="SET_ALL_CHANNELS_LND",E="SET_PENDING_CHANNELS_LND",L="SET_CLOSED_CHANNELS_LND",D="UPDATE_CHANNELS_LND",I="SAVE_NEW_CHANNEL_LND",P="CLOSE_CHANNEL_LND",T="REMOVE_CHANNEL_LND",R="BACKUP_CHANNELS_LND",M="VERIFY_CHANNELS_LND",j="BACKUP_CHANNELS_RES_LND",F="VERIFY_CHANNELS_RES_LND",N="RESTORE_CHANNELS_LIST_LND",U="SET_RESTORE_CHANNELS_LIST_LND",V="RESTORE_CHANNELS_LND",B="RESTORE_CHANNELS_RES_LND",z="FETCH_INVOICES_LND",H="SET_INVOICES_LND",W="SET_TOTAL_INVOICES_LND",Q="FETCH_TRANSACTIONS_LND",K="SET_TRANSACTIONS_LND",q="FETCH_UTXOS_LND",Y="SET_UTXOS_LND",G="FETCH_PAYMENTS_LND",Z="SET_PAYMENTS_LND",X="SEND_PAYMENT_LND",J="SEND_PAYMENT_STATUS_LND",$="FETCH_GRAPH_NODE_LND",tt="SET_GRAPH_NODE_LND",et="GET_NEW_ADDRESS_LND",nt="SET_NEW_ADDRESS_LND",it="SET_CHANNEL_TRANSACTION_LND",rt="SET_CHANNEL_TRANSACTION_RES_LND",st="GEN_SEED_LND",ot="GEN_SEED_RESPONSE_LND",at="INIT_WALLET_LND",ct="INIT_WALLET_RESPONSE_LND",lt="UNLOCK_WALLET_LND",ht="PEER_LOOKUP_LND",ut="CHANNEL_LOOKUP_LND",dt="INVOICE_LOOKUP_LND",ft="SET_LOOKUP_LND",pt="GET_FORWARDING_HISTORY_LND",bt="SET_FORWARDING_HISTORY_LND",mt="GET_QUERY_ROUTES_LND",gt="SET_QUERY_ROUTES_LND";class yt{constructor(t){this.payload=t,this.type=r}}class vt{constructor(t){this.payload=t,this.type=s}}class _t{constructor(t){this.payload=t,this.type=i}}class wt{constructor(t){this.payload=t,this.type=o}}class Ct{constructor(t){this.payload=t,this.type=a}}class xt{constructor(){this.type=l}}class St{constructor(t){this.payload=t,this.type=h}}class Ot{constructor(t){this.payload=t,this.type=u}}class At{constructor(t){this.payload=t,this.type=f}}class kt{constructor(t){this.payload=t,this.type=b}}class Et{constructor(){this.type=y}}class Lt{constructor(t){this.payload=t,this.type=_}}class Dt{constructor(){this.type=C}}class It{constructor(){this.type=S}}class Pt{constructor(){this.type=O}}class Tt{constructor(){this.type=A}}class Rt{constructor(t){this.payload=t,this.type=D}}class Mt{constructor(t){this.payload=t,this.type=I}}class jt{constructor(t){this.payload=t,this.type=P}}class Ft{constructor(t){this.payload=t,this.type=R}}class Nt{constructor(t){this.payload=t,this.type=M}}class Ut{constructor(){this.type=N}}class Vt{constructor(t){this.payload=t,this.type=U}}class Bt{constructor(t){this.payload=t,this.type=V}}class zt{constructor(t){this.payload=t,this.type=z}}class Ht{constructor(t){this.payload=t,this.type=W}}class Wt{constructor(){this.type=Q}}class Qt{constructor(){this.type=q}}class Kt{constructor(){this.type=G}}class qt{constructor(t){this.payload=t,this.type=X}}class Yt{constructor(t){this.payload=t,this.type=$}}class Gt{constructor(t){this.payload=t,this.type=et}}class Zt{constructor(t){this.payload=t,this.type=it}}class Xt{constructor(t){this.payload=t,this.type=st}}class Jt{constructor(t){this.payload=t,this.type=at}}class $t{constructor(t){this.payload=t,this.type=lt}}class te{constructor(t){this.payload=t,this.type=ht}}class ee{constructor(t){this.payload=t,this.type=ut}}class ne{constructor(t){this.payload=t,this.type=ft}}class ie{constructor(t){this.payload=t,this.type=pt}}class re{constructor(t){this.payload=t,this.type=bt}}class se{constructor(t){this.payload=t,this.type=mt}}class oe{constructor(t){this.payload=t,this.type=gt}}},MwBp:function(t,e,n){"use strict";var i=n("86MQ"),r=n("N+aw"),s=n("P7XM"),o=n("6lN/"),a=i.assert;function c(t){o.call(this,"short",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(t,e,n,i){o.BasePoint.call(this,t,"affine"),null===e&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(e,16),this.y=new r(n,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function h(t,e,n,i){o.BasePoint.call(this,t,"jacobian"),null===e&&null===n&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(e,16),this.y=new r(n,16),this.z=new r(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(c,o),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,n;if(t.beta)e=new r(t.beta,16).toRed(this.red);else{var i=this._getEndoRoots(this.p);e=(e=i[0].cmp(i[1])<0?i[0]:i[1]).toRed(this.red)}if(t.lambda)n=new r(t.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(e))?n=s[0]:a(0===this.g.mul(n=s[1]).x.cmp(this.g.x.redMul(e)))}return{beta:e,lambda:n,basis:t.basis?t.basis.map(function(t){return{a:new r(t.a,16),b:new r(t.b,16)}}):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:r.mont(t),n=new r(2).toRed(e).redInvm(),i=n.redNeg(),s=new r(3).toRed(e).redNeg().redSqrt().redMul(n);return[i.redAdd(s).fromRed(),i.redSub(s).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,n,i,s,o,a,c,l,h,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,f=this.n.clone(),p=new r(1),b=new r(0),m=new r(0),g=new r(1),y=0;0!==d.cmpn(0);){var v=f.div(d);l=f.sub(v.mul(d)),h=m.sub(v.mul(p));var _=g.sub(v.mul(b));if(!i&&l.cmp(u)<0)e=c.neg(),n=p,i=l.neg(),s=h;else if(i&&2==++y)break;c=l,f=d,d=l,m=p,p=h,g=b,b=_}o=l.neg(),a=h;var w=i.sqr().add(s.sqr());return o.sqr().add(a.sqr()).cmp(w)>=0&&(o=e,a=n),i.negative&&(i=i.neg(),s=s.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:i,b:s},{a:o,b:a}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],i=e[1],r=i.b.mul(t).divRound(this.n),s=n.b.neg().mul(t).divRound(this.n),o=r.mul(n.a),a=s.mul(i.a),c=r.mul(n.b),l=s.mul(i.b);return{k1:t.sub(o).sub(a),k2:c.add(l).neg()}},c.prototype.pointFromX=function(t,e){(t=new r(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(0!==i.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var s=i.fromRed().isOdd();return(e&&!s||!e&&s)&&(i=i.redNeg()),this.point(t,i)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,i=this.a.redMul(e),r=e.redSqr().redMul(e).redIAdd(i).redIAdd(this.b);return 0===n.redSqr().redISub(r).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,n){for(var i=this._endoWnafT1,r=this._endoWnafT2,s=0;s<t.length;s++){var o=this._endoSplit(e[s]),a=t[s],c=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),i[2*s]=a,i[2*s+1]=c,r[2*s]=o.k1,r[2*s+1]=o.k2}for(var l=this._wnafMulAdd(1,i,r,2*s,n),h=0;h<2*s;h++)i[h]=null,r[h]=null;return l},s(l,o.BasePoint),c.prototype.point=function(t,e,n){return new l(this,t,e,n)},c.prototype.pointFromJSON=function(t,e){return l.fromJSON(this,t,e)},l.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,i=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(i)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(i)}}}return e}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(t,e,n){"string"==typeof e&&(e=JSON.parse(e));var i=t.point(e[0],e[1],n);if(!e[2])return i;function r(e){return t.point(e[0],e[1],n)}var s=e[2];return i.precomputed={beta:null,doubles:s.doubles&&{step:s.doubles.step,points:[i].concat(s.doubles.points.map(r))},naf:s.naf&&{wnd:s.naf.wnd,points:[i].concat(s.naf.points.map(r))}},i},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),i=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)},l.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),r=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(i),s=r.redSqr().redISub(this.x.redAdd(this.x)),o=r.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(t){return t=new r(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},l.prototype.mulAdd=function(t,e,n){var i=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r):this.curve._wnafMulAdd(1,i,r,2)},l.prototype.jmulAdd=function(t,e,n){var i=[this,e],r=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,r,!0):this.curve._wnafMulAdd(1,i,r,2,!0)},l.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},l.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,i=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return e},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(h,o.BasePoint),c.prototype.jpoint=function(t,e,n){return new h(this,t,e,n)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),i=this.y.redMul(e).redMul(t);return this.curve.point(n,i)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(e),r=t.x.redMul(n),s=this.y.redMul(e.redMul(t.z)),o=t.y.redMul(n.redMul(this.z)),a=i.redSub(r),c=s.redSub(o);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),h=l.redMul(a),u=i.redMul(l),d=c.redSqr().redIAdd(h).redISub(u).redISub(u),f=c.redMul(u.redISub(d)).redISub(s.redMul(h)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(d,f,p)},h.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,i=t.x.redMul(e),r=this.y,s=t.y.redMul(e).redMul(this.z),o=n.redSub(i),a=r.redSub(s);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),l=c.redMul(o),h=n.redMul(c),u=a.redSqr().redIAdd(l).redISub(h).redISub(h),d=a.redMul(h.redISub(u)).redISub(r.redMul(l)),f=this.z.redMul(o);return this.curve.jpoint(u,d,f)},h.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,n=0;n<t;n++)e=e.dbl();return e}var i=this.curve.a,r=this.curve.tinv,s=this.x,o=this.y,a=this.z,c=a.redSqr().redSqr(),l=o.redAdd(o);for(n=0;n<t;n++){var h=s.redSqr(),u=l.redSqr(),d=u.redSqr(),f=h.redAdd(h).redIAdd(h).redIAdd(i.redMul(c)),p=s.redMul(u),b=f.redSqr().redISub(p.redAdd(p)),m=p.redISub(b),g=f.redMul(m);g=g.redIAdd(g).redISub(d);var y=l.redMul(a);n+1<t&&(c=c.redMul(d)),s=b,a=y,l=g}return this.curve.jpoint(s,l.redMul(r),a)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},h.prototype._zeroDbl=function(){var t,e,n;if(this.zOne){var i=this.x.redSqr(),r=this.y.redSqr(),s=r.redSqr(),o=this.x.redAdd(r).redSqr().redISub(i).redISub(s);o=o.redIAdd(o);var a=i.redAdd(i).redIAdd(i),c=a.redSqr().redISub(o).redISub(o),l=s.redIAdd(s);l=(l=l.redIAdd(l)).redIAdd(l),t=c,e=a.redMul(o.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var h=this.x.redSqr(),u=this.y.redSqr(),d=u.redSqr(),f=this.x.redAdd(u).redSqr().redISub(h).redISub(d);f=f.redIAdd(f);var p=h.redAdd(h).redIAdd(h),b=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),t=b.redISub(f).redISub(f),e=p.redMul(f.redISub(t)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,e,n)},h.prototype._threeDbl=function(){var t,e,n;if(this.zOne){var i=this.x.redSqr(),r=this.y.redSqr(),s=r.redSqr(),o=this.x.redAdd(r).redSqr().redISub(i).redISub(s);o=o.redIAdd(o);var a=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),c=a.redSqr().redISub(o).redISub(o);t=c;var l=s.redIAdd(s);l=(l=l.redIAdd(l)).redIAdd(l),e=a.redMul(o.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var h=this.z.redSqr(),u=this.y.redSqr(),d=this.x.redMul(u),f=this.x.redSub(h).redMul(this.x.redAdd(h));f=f.redAdd(f).redIAdd(f);var p=d.redIAdd(d),b=(p=p.redIAdd(p)).redAdd(p);t=f.redSqr().redISub(b),n=this.y.redAdd(this.z).redSqr().redISub(u).redISub(h);var m=u.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),e=f.redMul(p.redISub(t)).redISub(m)}return this.curve.jpoint(t,e,n)},h.prototype._dbl=function(){var t=this.curve.a,e=this.x,n=this.y,i=this.z,r=i.redSqr().redSqr(),s=e.redSqr(),o=n.redSqr(),a=s.redAdd(s).redIAdd(s).redIAdd(t.redMul(r)),c=e.redAdd(e),l=(c=c.redIAdd(c)).redMul(o),h=a.redSqr().redISub(l.redAdd(l)),u=l.redISub(h),d=o.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var f=a.redMul(u).redISub(d),p=n.redAdd(n).redMul(i);return this.curve.jpoint(h,f,p)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr(),i=e.redSqr(),r=t.redAdd(t).redIAdd(t),s=r.redSqr(),o=this.x.redAdd(e).redSqr().redISub(t).redISub(i),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(s)).redSqr(),c=i.redIAdd(i);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var l=r.redIAdd(o).redSqr().redISub(s).redISub(a).redISub(c),h=e.redMul(l);h=(h=h.redIAdd(h)).redIAdd(h);var u=this.x.redMul(a).redISub(h);u=(u=u.redIAdd(u)).redIAdd(u);var d=this.y.redMul(l.redMul(c.redISub(l)).redISub(o.redMul(a)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var f=this.z.redAdd(o).redSqr().redISub(n).redISub(a);return this.curve.jpoint(u,d,f)},h.prototype.mul=function(t,e){return t=new r(t,e),this.curve._wnafMul(this,t)},h.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(e)).cmpn(0))return!1;var i=e.redMul(this.z),r=n.redMul(t.z);return 0===this.y.redMul(r).redISub(t.y.redMul(i)).cmpn(0)},h.prototype.eqXToP=function(t){var e=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(n))return!0;for(var i=t.clone(),r=this.curve.redN.redMul(e);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(r),0===this.x.cmp(n))return!0}},h.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},h.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},MzeL:function(t,e,n){"use strict";var i=e;i.version=n("KAEN").version,i.utils=n("86MQ"),i.rand=n("/ayr"),i.curve=n("QTa/"),i.curves=n("DLvh"),i.ec=n("uagp"),i.eddsa=n("lF1L")},"N+aw":function(t,e,n){(function(t){!function(t,e){"use strict";function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function s(t,e,n){if(s.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{o=n(5).Buffer}catch(S){}function a(t,e,n){for(var i=0,r=Math.min(t.length,n),s=e;s<r;s++){var o=t.charCodeAt(s)-48;i<<=4,i|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return i}function c(t,e,n,i){for(var r=0,s=Math.min(t.length,n),o=e;o<s;o++){var a=t.charCodeAt(o)-48;r*=i,r+=a>=49?a-49+10:a>=17?a-17+10:a}return r}s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,e){return t.cmp(e)>0?t:e},s.min=function(t,e){return t.cmp(e)<0?t:e},s.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===e?this._parseHex(t,r):this._parseBase(t,e,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},s.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},s.prototype._initArray=function(t,e,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var s,o,a=0;if("be"===n)for(r=t.length-1,s=0;r>=0;r-=3)this.words[s]|=(o=t[r]|t[r-1]<<8|t[r-2]<<16)<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===n)for(r=0,s=0;r<t.length;r+=3)this.words[s]|=(o=t[r]|t[r+1]<<8|t[r+2]<<16)<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,r,s=0;for(n=t.length-6,i=0;n>=e;n-=6)r=a(t,n,n+6),this.words[i]|=r<<s&67108863,this.words[i+1]|=r>>>26-s&4194303,(s+=24)>=26&&(s-=26,i++);n+6!==e&&(r=a(t,e,n+6),this.words[i]|=r<<s&67108863,this.words[i+1]|=r>>>26-s&4194303),this.strip()},s.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=e)i++;i--,r=r/e|0;for(var s=t.length-n,o=s%i,a=Math.min(s,s-o)+n,l=0,h=n;h<a;h+=i)l=c(t,h,h+i,e),this.imuln(r),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var u=1;for(l=c(t,h,t.length,e),h=0;h<o;h++)u*=e;this.imuln(u),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}},s.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var i=t.length+e.length|0;n.length=i,i=i-1|0;var r=0|t.words[0],s=0|e.words[0],o=r*s,a=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c<i;c++){for(var l=a>>>26,h=67108863&a,u=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=u;d++)l+=(o=(r=0|t.words[c-d|0])*(s=0|e.words[d])+h)/67108864|0,h=67108863&o;n.words[c]=0|h,a=0|l}return 0!==a?n.words[c]=0|a:n.length--,n.strip()}s.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var r=0,s=0,o=0;o<this.length;o++){var a=this.words[o],c=(16777215&(a<<r|s)).toString(16);n=0!=(s=a>>>24-r&16777215)||o!==this.length-1?l[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==s&&(n=s.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var d=h[t],f=u[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var b=p.modn(f).toString(t);n=(p=p.idivn(f)).isZero()?b+n:l[d-b.length]+b+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,e){return i(void 0!==o),this.toArrayLike(o,t,e)},s.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},s.prototype.toArrayLike=function(t,e,n){var r=this.byteLength(),s=n||Math.max(1,r);i(r<=s,"byte array longer than desired length"),i(s>0,"Requested array length <= 0"),this.strip();var o,a,c="le"===e,l=new t(s),h=this.clone();if(c){for(a=0;!h.isZero();a++)o=h.andln(255),h.iushrn(8),l[a]=o;for(;a<s;a++)l[a]=0}else{for(a=0;a<s-r;a++)l[a]=0;for(a=0;!h.isZero();a++)o=h.andln(255),h.iushrn(8),l[s-a-1]=o}return l},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},s.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},s.prototype.bitLength=function(){var t=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},s.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this.strip()},s.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var i=0;i<n.length;i++)this.words[i]=e.words[i]^n.words[i];if(this!==e)for(;i<e.length;i++)this.words[i]=e.words[i];return this.length=e.length,this.strip()},s.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var r=0;r<e;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var n=t/26|0,r=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<r:this.words[n]&~(1<<r),this.strip()},s.prototype.iadd=function(t){var e,n,i;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r=0,s=0;s<i.length;s++)this.words[s]=67108863&(e=(0|n.words[s])+(0|i.words[s])+r),r=e>>>26;for(;0!==r&&s<n.length;s++)this.words[s]=67108863&(e=(0|n.words[s])+r),r=e>>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this},s.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=t):(n=t,i=this);for(var s=0,o=0;o<i.length;o++)s=(e=(0|n.words[o])-(0|i.words[o])+s)>>26,this.words[o]=67108863&e;for(;0!==s&&o<n.length;o++)s=(e=(0|n.words[o])+s)>>26,this.words[o]=67108863&e;if(0===s&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var f=function(t,e,n){var i,r,s,o=t.words,a=e.words,c=n.words,l=0,h=0|o[0],u=8191&h,d=h>>>13,f=0|o[1],p=8191&f,b=f>>>13,m=0|o[2],g=8191&m,y=m>>>13,v=0|o[3],_=8191&v,w=v>>>13,C=0|o[4],x=8191&C,S=C>>>13,O=0|o[5],A=8191&O,k=O>>>13,E=0|o[6],L=8191&E,D=E>>>13,I=0|o[7],P=8191&I,T=I>>>13,R=0|o[8],M=8191&R,j=R>>>13,F=0|o[9],N=8191&F,U=F>>>13,V=0|a[0],B=8191&V,z=V>>>13,H=0|a[1],W=8191&H,Q=H>>>13,K=0|a[2],q=8191&K,Y=K>>>13,G=0|a[3],Z=8191&G,X=G>>>13,J=0|a[4],$=8191&J,tt=J>>>13,et=0|a[5],nt=8191&et,it=et>>>13,rt=0|a[6],st=8191&rt,ot=rt>>>13,at=0|a[7],ct=8191&at,lt=at>>>13,ht=0|a[8],ut=8191&ht,dt=ht>>>13,ft=0|a[9],pt=8191&ft,bt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(l+(i=Math.imul(u,B))|0)+((8191&(r=(r=Math.imul(u,z))+Math.imul(d,B)|0))<<13)|0;l=((s=Math.imul(d,z))+(r>>>13)|0)+(mt>>>26)|0,mt&=67108863,i=Math.imul(p,B),r=(r=Math.imul(p,z))+Math.imul(b,B)|0,s=Math.imul(b,z);var gt=(l+(i=i+Math.imul(u,W)|0)|0)+((8191&(r=(r=r+Math.imul(u,Q)|0)+Math.imul(d,W)|0))<<13)|0;l=((s=s+Math.imul(d,Q)|0)+(r>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(g,B),r=(r=Math.imul(g,z))+Math.imul(y,B)|0,s=Math.imul(y,z),i=i+Math.imul(p,W)|0,r=(r=r+Math.imul(p,Q)|0)+Math.imul(b,W)|0,s=s+Math.imul(b,Q)|0;var yt=(l+(i=i+Math.imul(u,q)|0)|0)+((8191&(r=(r=r+Math.imul(u,Y)|0)+Math.imul(d,q)|0))<<13)|0;l=((s=s+Math.imul(d,Y)|0)+(r>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(_,B),r=(r=Math.imul(_,z))+Math.imul(w,B)|0,s=Math.imul(w,z),i=i+Math.imul(g,W)|0,r=(r=r+Math.imul(g,Q)|0)+Math.imul(y,W)|0,s=s+Math.imul(y,Q)|0,i=i+Math.imul(p,q)|0,r=(r=r+Math.imul(p,Y)|0)+Math.imul(b,q)|0,s=s+Math.imul(b,Y)|0;var vt=(l+(i=i+Math.imul(u,Z)|0)|0)+((8191&(r=(r=r+Math.imul(u,X)|0)+Math.imul(d,Z)|0))<<13)|0;l=((s=s+Math.imul(d,X)|0)+(r>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(x,B),r=(r=Math.imul(x,z))+Math.imul(S,B)|0,s=Math.imul(S,z),i=i+Math.imul(_,W)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(w,W)|0,s=s+Math.imul(w,Q)|0,i=i+Math.imul(g,q)|0,r=(r=r+Math.imul(g,Y)|0)+Math.imul(y,q)|0,s=s+Math.imul(y,Y)|0,i=i+Math.imul(p,Z)|0,r=(r=r+Math.imul(p,X)|0)+Math.imul(b,Z)|0,s=s+Math.imul(b,X)|0;var _t=(l+(i=i+Math.imul(u,$)|0)|0)+((8191&(r=(r=r+Math.imul(u,tt)|0)+Math.imul(d,$)|0))<<13)|0;l=((s=s+Math.imul(d,tt)|0)+(r>>>13)|0)+(_t>>>26)|0,_t&=67108863,i=Math.imul(A,B),r=(r=Math.imul(A,z))+Math.imul(k,B)|0,s=Math.imul(k,z),i=i+Math.imul(x,W)|0,r=(r=r+Math.imul(x,Q)|0)+Math.imul(S,W)|0,s=s+Math.imul(S,Q)|0,i=i+Math.imul(_,q)|0,r=(r=r+Math.imul(_,Y)|0)+Math.imul(w,q)|0,s=s+Math.imul(w,Y)|0,i=i+Math.imul(g,Z)|0,r=(r=r+Math.imul(g,X)|0)+Math.imul(y,Z)|0,s=s+Math.imul(y,X)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,tt)|0)+Math.imul(b,$)|0,s=s+Math.imul(b,tt)|0;var wt=(l+(i=i+Math.imul(u,nt)|0)|0)+((8191&(r=(r=r+Math.imul(u,it)|0)+Math.imul(d,nt)|0))<<13)|0;l=((s=s+Math.imul(d,it)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(L,B),r=(r=Math.imul(L,z))+Math.imul(D,B)|0,s=Math.imul(D,z),i=i+Math.imul(A,W)|0,r=(r=r+Math.imul(A,Q)|0)+Math.imul(k,W)|0,s=s+Math.imul(k,Q)|0,i=i+Math.imul(x,q)|0,r=(r=r+Math.imul(x,Y)|0)+Math.imul(S,q)|0,s=s+Math.imul(S,Y)|0,i=i+Math.imul(_,Z)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(w,Z)|0,s=s+Math.imul(w,X)|0,i=i+Math.imul(g,$)|0,r=(r=r+Math.imul(g,tt)|0)+Math.imul(y,$)|0,s=s+Math.imul(y,tt)|0,i=i+Math.imul(p,nt)|0,r=(r=r+Math.imul(p,it)|0)+Math.imul(b,nt)|0,s=s+Math.imul(b,it)|0;var Ct=(l+(i=i+Math.imul(u,st)|0)|0)+((8191&(r=(r=r+Math.imul(u,ot)|0)+Math.imul(d,st)|0))<<13)|0;l=((s=s+Math.imul(d,ot)|0)+(r>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(P,B),r=(r=Math.imul(P,z))+Math.imul(T,B)|0,s=Math.imul(T,z),i=i+Math.imul(L,W)|0,r=(r=r+Math.imul(L,Q)|0)+Math.imul(D,W)|0,s=s+Math.imul(D,Q)|0,i=i+Math.imul(A,q)|0,r=(r=r+Math.imul(A,Y)|0)+Math.imul(k,q)|0,s=s+Math.imul(k,Y)|0,i=i+Math.imul(x,Z)|0,r=(r=r+Math.imul(x,X)|0)+Math.imul(S,Z)|0,s=s+Math.imul(S,X)|0,i=i+Math.imul(_,$)|0,r=(r=r+Math.imul(_,tt)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,tt)|0,i=i+Math.imul(g,nt)|0,r=(r=r+Math.imul(g,it)|0)+Math.imul(y,nt)|0,s=s+Math.imul(y,it)|0,i=i+Math.imul(p,st)|0,r=(r=r+Math.imul(p,ot)|0)+Math.imul(b,st)|0,s=s+Math.imul(b,ot)|0;var xt=(l+(i=i+Math.imul(u,ct)|0)|0)+((8191&(r=(r=r+Math.imul(u,lt)|0)+Math.imul(d,ct)|0))<<13)|0;l=((s=s+Math.imul(d,lt)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul(M,B),r=(r=Math.imul(M,z))+Math.imul(j,B)|0,s=Math.imul(j,z),i=i+Math.imul(P,W)|0,r=(r=r+Math.imul(P,Q)|0)+Math.imul(T,W)|0,s=s+Math.imul(T,Q)|0,i=i+Math.imul(L,q)|0,r=(r=r+Math.imul(L,Y)|0)+Math.imul(D,q)|0,s=s+Math.imul(D,Y)|0,i=i+Math.imul(A,Z)|0,r=(r=r+Math.imul(A,X)|0)+Math.imul(k,Z)|0,s=s+Math.imul(k,X)|0,i=i+Math.imul(x,$)|0,r=(r=r+Math.imul(x,tt)|0)+Math.imul(S,$)|0,s=s+Math.imul(S,tt)|0,i=i+Math.imul(_,nt)|0,r=(r=r+Math.imul(_,it)|0)+Math.imul(w,nt)|0,s=s+Math.imul(w,it)|0,i=i+Math.imul(g,st)|0,r=(r=r+Math.imul(g,ot)|0)+Math.imul(y,st)|0,s=s+Math.imul(y,ot)|0,i=i+Math.imul(p,ct)|0,r=(r=r+Math.imul(p,lt)|0)+Math.imul(b,ct)|0,s=s+Math.imul(b,lt)|0;var St=(l+(i=i+Math.imul(u,ut)|0)|0)+((8191&(r=(r=r+Math.imul(u,dt)|0)+Math.imul(d,ut)|0))<<13)|0;l=((s=s+Math.imul(d,dt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(N,B),r=(r=Math.imul(N,z))+Math.imul(U,B)|0,s=Math.imul(U,z),i=i+Math.imul(M,W)|0,r=(r=r+Math.imul(M,Q)|0)+Math.imul(j,W)|0,s=s+Math.imul(j,Q)|0,i=i+Math.imul(P,q)|0,r=(r=r+Math.imul(P,Y)|0)+Math.imul(T,q)|0,s=s+Math.imul(T,Y)|0,i=i+Math.imul(L,Z)|0,r=(r=r+Math.imul(L,X)|0)+Math.imul(D,Z)|0,s=s+Math.imul(D,X)|0,i=i+Math.imul(A,$)|0,r=(r=r+Math.imul(A,tt)|0)+Math.imul(k,$)|0,s=s+Math.imul(k,tt)|0,i=i+Math.imul(x,nt)|0,r=(r=r+Math.imul(x,it)|0)+Math.imul(S,nt)|0,s=s+Math.imul(S,it)|0,i=i+Math.imul(_,st)|0,r=(r=r+Math.imul(_,ot)|0)+Math.imul(w,st)|0,s=s+Math.imul(w,ot)|0,i=i+Math.imul(g,ct)|0,r=(r=r+Math.imul(g,lt)|0)+Math.imul(y,ct)|0,s=s+Math.imul(y,lt)|0,i=i+Math.imul(p,ut)|0,r=(r=r+Math.imul(p,dt)|0)+Math.imul(b,ut)|0,s=s+Math.imul(b,dt)|0;var Ot=(l+(i=i+Math.imul(u,pt)|0)|0)+((8191&(r=(r=r+Math.imul(u,bt)|0)+Math.imul(d,pt)|0))<<13)|0;l=((s=s+Math.imul(d,bt)|0)+(r>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(N,W),r=(r=Math.imul(N,Q))+Math.imul(U,W)|0,s=Math.imul(U,Q),i=i+Math.imul(M,q)|0,r=(r=r+Math.imul(M,Y)|0)+Math.imul(j,q)|0,s=s+Math.imul(j,Y)|0,i=i+Math.imul(P,Z)|0,r=(r=r+Math.imul(P,X)|0)+Math.imul(T,Z)|0,s=s+Math.imul(T,X)|0,i=i+Math.imul(L,$)|0,r=(r=r+Math.imul(L,tt)|0)+Math.imul(D,$)|0,s=s+Math.imul(D,tt)|0,i=i+Math.imul(A,nt)|0,r=(r=r+Math.imul(A,it)|0)+Math.imul(k,nt)|0,s=s+Math.imul(k,it)|0,i=i+Math.imul(x,st)|0,r=(r=r+Math.imul(x,ot)|0)+Math.imul(S,st)|0,s=s+Math.imul(S,ot)|0,i=i+Math.imul(_,ct)|0,r=(r=r+Math.imul(_,lt)|0)+Math.imul(w,ct)|0,s=s+Math.imul(w,lt)|0,i=i+Math.imul(g,ut)|0,r=(r=r+Math.imul(g,dt)|0)+Math.imul(y,ut)|0,s=s+Math.imul(y,dt)|0;var At=(l+(i=i+Math.imul(p,pt)|0)|0)+((8191&(r=(r=r+Math.imul(p,bt)|0)+Math.imul(b,pt)|0))<<13)|0;l=((s=s+Math.imul(b,bt)|0)+(r>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(N,q),r=(r=Math.imul(N,Y))+Math.imul(U,q)|0,s=Math.imul(U,Y),i=i+Math.imul(M,Z)|0,r=(r=r+Math.imul(M,X)|0)+Math.imul(j,Z)|0,s=s+Math.imul(j,X)|0,i=i+Math.imul(P,$)|0,r=(r=r+Math.imul(P,tt)|0)+Math.imul(T,$)|0,s=s+Math.imul(T,tt)|0,i=i+Math.imul(L,nt)|0,r=(r=r+Math.imul(L,it)|0)+Math.imul(D,nt)|0,s=s+Math.imul(D,it)|0,i=i+Math.imul(A,st)|0,r=(r=r+Math.imul(A,ot)|0)+Math.imul(k,st)|0,s=s+Math.imul(k,ot)|0,i=i+Math.imul(x,ct)|0,r=(r=r+Math.imul(x,lt)|0)+Math.imul(S,ct)|0,s=s+Math.imul(S,lt)|0,i=i+Math.imul(_,ut)|0,r=(r=r+Math.imul(_,dt)|0)+Math.imul(w,ut)|0,s=s+Math.imul(w,dt)|0;var kt=(l+(i=i+Math.imul(g,pt)|0)|0)+((8191&(r=(r=r+Math.imul(g,bt)|0)+Math.imul(y,pt)|0))<<13)|0;l=((s=s+Math.imul(y,bt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,i=Math.imul(N,Z),r=(r=Math.imul(N,X))+Math.imul(U,Z)|0,s=Math.imul(U,X),i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,tt)|0)+Math.imul(j,$)|0,s=s+Math.imul(j,tt)|0,i=i+Math.imul(P,nt)|0,r=(r=r+Math.imul(P,it)|0)+Math.imul(T,nt)|0,s=s+Math.imul(T,it)|0,i=i+Math.imul(L,st)|0,r=(r=r+Math.imul(L,ot)|0)+Math.imul(D,st)|0,s=s+Math.imul(D,ot)|0,i=i+Math.imul(A,ct)|0,r=(r=r+Math.imul(A,lt)|0)+Math.imul(k,ct)|0,s=s+Math.imul(k,lt)|0,i=i+Math.imul(x,ut)|0,r=(r=r+Math.imul(x,dt)|0)+Math.imul(S,ut)|0,s=s+Math.imul(S,dt)|0;var Et=(l+(i=i+Math.imul(_,pt)|0)|0)+((8191&(r=(r=r+Math.imul(_,bt)|0)+Math.imul(w,pt)|0))<<13)|0;l=((s=s+Math.imul(w,bt)|0)+(r>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(N,$),r=(r=Math.imul(N,tt))+Math.imul(U,$)|0,s=Math.imul(U,tt),i=i+Math.imul(M,nt)|0,r=(r=r+Math.imul(M,it)|0)+Math.imul(j,nt)|0,s=s+Math.imul(j,it)|0,i=i+Math.imul(P,st)|0,r=(r=r+Math.imul(P,ot)|0)+Math.imul(T,st)|0,s=s+Math.imul(T,ot)|0,i=i+Math.imul(L,ct)|0,r=(r=r+Math.imul(L,lt)|0)+Math.imul(D,ct)|0,s=s+Math.imul(D,lt)|0,i=i+Math.imul(A,ut)|0,r=(r=r+Math.imul(A,dt)|0)+Math.imul(k,ut)|0,s=s+Math.imul(k,dt)|0;var Lt=(l+(i=i+Math.imul(x,pt)|0)|0)+((8191&(r=(r=r+Math.imul(x,bt)|0)+Math.imul(S,pt)|0))<<13)|0;l=((s=s+Math.imul(S,bt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,i=Math.imul(N,nt),r=(r=Math.imul(N,it))+Math.imul(U,nt)|0,s=Math.imul(U,it),i=i+Math.imul(M,st)|0,r=(r=r+Math.imul(M,ot)|0)+Math.imul(j,st)|0,s=s+Math.imul(j,ot)|0,i=i+Math.imul(P,ct)|0,r=(r=r+Math.imul(P,lt)|0)+Math.imul(T,ct)|0,s=s+Math.imul(T,lt)|0,i=i+Math.imul(L,ut)|0,r=(r=r+Math.imul(L,dt)|0)+Math.imul(D,ut)|0,s=s+Math.imul(D,dt)|0;var Dt=(l+(i=i+Math.imul(A,pt)|0)|0)+((8191&(r=(r=r+Math.imul(A,bt)|0)+Math.imul(k,pt)|0))<<13)|0;l=((s=s+Math.imul(k,bt)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,i=Math.imul(N,st),r=(r=Math.imul(N,ot))+Math.imul(U,st)|0,s=Math.imul(U,ot),i=i+Math.imul(M,ct)|0,r=(r=r+Math.imul(M,lt)|0)+Math.imul(j,ct)|0,s=s+Math.imul(j,lt)|0,i=i+Math.imul(P,ut)|0,r=(r=r+Math.imul(P,dt)|0)+Math.imul(T,ut)|0,s=s+Math.imul(T,dt)|0;var It=(l+(i=i+Math.imul(L,pt)|0)|0)+((8191&(r=(r=r+Math.imul(L,bt)|0)+Math.imul(D,pt)|0))<<13)|0;l=((s=s+Math.imul(D,bt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,i=Math.imul(N,ct),r=(r=Math.imul(N,lt))+Math.imul(U,ct)|0,s=Math.imul(U,lt),i=i+Math.imul(M,ut)|0,r=(r=r+Math.imul(M,dt)|0)+Math.imul(j,ut)|0,s=s+Math.imul(j,dt)|0;var Pt=(l+(i=i+Math.imul(P,pt)|0)|0)+((8191&(r=(r=r+Math.imul(P,bt)|0)+Math.imul(T,pt)|0))<<13)|0;l=((s=s+Math.imul(T,bt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,i=Math.imul(N,ut),r=(r=Math.imul(N,dt))+Math.imul(U,ut)|0,s=Math.imul(U,dt);var Tt=(l+(i=i+Math.imul(M,pt)|0)|0)+((8191&(r=(r=r+Math.imul(M,bt)|0)+Math.imul(j,pt)|0))<<13)|0;l=((s=s+Math.imul(j,bt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863;var Rt=(l+(i=Math.imul(N,pt))|0)+((8191&(r=(r=Math.imul(N,bt))+Math.imul(U,pt)|0))<<13)|0;return l=((s=Math.imul(U,bt))+(r>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=mt,c[1]=gt,c[2]=yt,c[3]=vt,c[4]=_t,c[5]=wt,c[6]=Ct,c[7]=xt,c[8]=St,c[9]=Ot,c[10]=At,c[11]=kt,c[12]=Et,c[13]=Lt,c[14]=Dt,c[15]=It,c[16]=Pt,c[17]=Tt,c[18]=Rt,0!==l&&(c[19]=l,n.length++),n};function p(t,e,n){return(new b).mulp(t,e,n)}function b(t,e){this.x=t,this.y=e}Math.imul||(f=d),s.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?f(this,t,e):n<63?d(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var i=0,r=0,s=0;s<n.length-1;s++){var o=r;r=0;for(var a=67108863&i,c=Math.min(s,e.length-1),l=Math.max(0,s-t.length+1);l<=c;l++){var h=(0|t.words[s-l])*(0|e.words[l]),u=67108863&h;a=67108863&(u=u+a|0),r+=(o=(o=o+(h/67108864|0)|0)+(u>>>26)|0)>>>26,o&=67108863}n.words[s]=a,i=o,o=r}return 0!==i?n.words[s]=i:n.length--,n.strip()}(this,t,e):p(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),n=s.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,n,t);return e},b.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var i=0,r=0;r<e;r++)i|=(1&t)<<e-r-1,t>>=1;return i},b.prototype.permute=function(t,e,n,i,r,s){for(var o=0;o<s;o++)i[o]=e[t[o]],r[o]=n[t[o]]},b.prototype.transform=function(t,e,n,i,r,s){this.permute(s,t,e,n,i,r);for(var o=1;o<r;o<<=1)for(var a=o<<1,c=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),h=0;h<r;h+=a)for(var u=c,d=l,f=0;f<o;f++){var p=n[h+f],b=i[h+f],m=n[h+f+o],g=i[h+f+o],y=u*m-d*g;g=u*g+d*m,n[h+f]=p+(m=y),i[h+f]=b+g,n[h+f+o]=p-m,i[h+f+o]=b-g,f!==a&&(y=c*u-l*d,d=c*d+l*u,u=y)}},b.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),i=1&n,r=0;for(n=n/2|0;n;n>>>=1)r++;return 1<<r+1+i},b.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var i=0;i<n/2;i++){var r=t[i];t[i]=t[n-i-1],t[n-i-1]=r,r=e[i],e[i]=-e[n-i-1],e[n-i-1]=-r}},b.prototype.normalize13b=function(t,e){for(var n=0,i=0;i<e/2;i++){var r=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+n;t[i]=67108863&r,n=r<67108864?0:r/67108864|0}return t},b.prototype.convert13b=function(t,e,n,r){for(var s=0,o=0;o<e;o++)n[2*o]=8191&(s+=0|t[o]),n[2*o+1]=8191&(s>>>=13),s>>>=13;for(o=2*e;o<r;++o)n[o]=0;i(0===s),i(0==(-8192&s))},b.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},b.prototype.mulp=function(t,e,n){var i=2*this.guessLen13b(t.length,e.length),r=this.makeRBT(i),s=this.stub(i),o=new Array(i),a=new Array(i),c=new Array(i),l=new Array(i),h=new Array(i),u=new Array(i),d=n.words;d.length=i,this.convert13b(t.words,t.length,o,i),this.convert13b(e.words,e.length,l,i),this.transform(o,s,a,c,i,r),this.transform(l,s,h,u,i,r);for(var f=0;f<i;f++){var p=a[f]*h[f]-c[f]*u[f];c[f]=a[f]*u[f]+c[f]*h[f],a[f]=p}return this.conjugate(a,c,i),this.transform(a,c,d,s,i,r),this.conjugate(d,s,i),this.normalize13b(d,i),n.negative=t.negative^e.negative,n.length=t.length+e.length,n.strip()},s.prototype.mul=function(t){var e=new s(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},s.prototype.mulf=function(t){var e=new s(null);return e.words=new Array(this.length+t.length),p(this,t,e)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var e=0,n=0;n<this.length;n++){var r=(0|this.words[n])*t,s=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=s>>>26,this.words[n]=67108863&s}return 0!==e&&(this.words[n]=e,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++){var i=n%26;e[n]=(t.words[n/26|0]&1<<i)>>>i}return e}(t);if(0===e.length)return new s(1);for(var n=this,i=0;i<e.length&&0===e[i];i++,n=n.sqr());if(++i<e.length)for(var r=n.sqr();i<e.length;i++,r=r.sqr())0!==e[i]&&(n=n.mul(r));return n},s.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,n=t%26,r=(t-n)/26,s=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(e=0;e<this.length;e++){var a=this.words[e]&s;this.words[e]=(0|this.words[e])-a<<n|o,o=a>>>26-n}o&&(this.words[e]=o,this.length++)}if(0!==r){for(e=this.length-1;e>=0;e--)this.words[e+r]=this.words[e];for(e=0;e<r;e++)this.words[e]=0;this.length+=r}return this.strip()},s.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,e,n){var r;i("number"==typeof t&&t>=0),r=e?(e-e%26)/26:0;var s=t%26,o=Math.min((t-s)/26,this.length),a=67108863^67108863>>>s<<s,c=n;if(r-=o,r=Math.max(0,r),c){for(var l=0;l<o;l++)c.words[l]=this.words[l];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var h=0;for(l=this.length-1;l>=0&&(0!==h||l>=r);l--){var u=0|this.words[l];this.words[l]=h<<26-s|u>>>s,h=u&a}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,e,n){return i(0===this.negative),this.iushrn(t,e,n)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return!(this.length<=n||!(this.words[n]&1<<e))},s.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==e&&n++,this.length=Math.min(n,this.length),0!==e&&(this.words[this.length-1]&=67108863^67108863>>>e<<e),this.strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},s.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,e,n){var r,s;this._expand(t.length+n);var o=0;for(r=0;r<t.length;r++){s=(0|this.words[r+n])+o;var a=(0|t.words[r])*e;o=((s-=67108863&a)>>26)-(a/67108864|0),this.words[r+n]=67108863&s}for(;r<this.length-n;r++)o=(s=(0|this.words[r+n])+o)>>26,this.words[r+n]=67108863&s;if(0===o)return this.strip();for(i(-1===o),o=0,r=0;r<this.length;r++)o=(s=-(0|this.words[r])+o)>>26,this.words[r]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,e){var n,i=this.clone(),r=t,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var a,c=i.length-r.length;if("mod"!==e){(a=new s(null)).length=c+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var h=i.clone()._ishlnsubmul(r,1,c);0===h.negative&&(i=h,a&&(a.words[c]=1));for(var u=c-1;u>=0;u--){var d=67108864*(0|i.words[r.length+u])+(0|i.words[r.length+u-1]);for(d=Math.min(d/o|0,67108863),i._ishlnsubmul(r,d,u);0!==i.negative;)d--,i.negative=0,i._ishlnsubmul(r,1,u),i.isZero()||(i.negative^=1);a&&(a.words[u]=d)}return a&&a.strip(),i.strip(),"div"!==e&&0!==n&&i.iushrn(n),{div:a||null,mod:i}},s.prototype.divmod=function(t,e,n){return i(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(r=a.div.neg()),"div"!==e&&(o=a.mod.neg(),n&&0!==o.negative&&o.iadd(t)),{div:r,mod:o}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(o=a.mod.neg(),n&&0!==o.negative&&o.isub(t)),{div:a.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,e);var r,o,a},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),r=t.andln(1),s=n.cmp(i);return s<0||1===r&&0===s?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},s.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,n=0,r=this.length-1;r>=0;r--)n=(e*n+(0|this.words[r]))%t;return n},s.prototype.idivn=function(t){i(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*e;this.words[n]=r/t|0,e=r%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r=new s(1),o=new s(0),a=new s(0),c=new s(1),l=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++l;for(var h=n.clone(),u=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(h),o.isub(u)),r.iushrn(1),o.iushrn(1);for(var p=0,b=1;0==(n.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(h),c.isub(u)),a.iushrn(1),c.iushrn(1);e.cmp(n)>=0?(e.isub(n),r.isub(a),o.isub(c)):(n.isub(e),a.isub(r),c.isub(o))}return{a:a,b:c,gcd:n.iushln(l)}},s.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r,o=new s(1),a=new s(0),c=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,h=1;0==(e.words[0]&h)&&l<26;++l,h<<=1);if(l>0)for(e.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var u=0,d=1;0==(n.words[0]&d)&&u<26;++u,d<<=1);if(u>0)for(n.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);e.cmp(n)>=0?(e.isub(n),o.isub(a)):(n.isub(e),a.isub(o))}return(r=0===e.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(t),r},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var i=0;e.isEven()&&n.isEven();i++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=e.cmp(n);if(r<0){var s=e;e=n,n=s}else if(0===r||0===n.cmpn(1))break;e.isub(n)}return n.iushln(i)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,n=(t-e)/26,r=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var s=r,o=n;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,this.words[o]=a&=67108863}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var r=0|this.words[0];e=r===t?0:r<t?-1:1}return 0!==this.negative?0|-e:e},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],r=0|t.words[n];if(i!==r){i<r?e=-1:i>r&&(e=1);break}}return e},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new C(t)},s.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var m={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new s(e,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=s._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},r(y,g),y.prototype.split=function(t,e){for(var n=4194303,i=Math.min(t.length,9),r=0;r<i;r++)e.words[r]=t.words[r];if(e.length=i,t.length<=9)return t.words[0]=0,void(t.length=1);var s=t.words[9];for(e.words[e.length++]=s&n,r=10;r<t.length;r++){var o=0|t.words[r];t.words[r-10]=(o&n)<<4|s>>>22,s=o}t.words[r-10]=s>>>=22,t.length-=0===s&&t.length>10?10:9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var i=0|t.words[n];t.words[n]=67108863&(e+=977*i),e=64*i+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},r(v,g),r(_,g),r(w,g),w.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var i=19*(0|t.words[n])+e,r=67108863&i;i>>>=26,t.words[n]=r,e=i}return 0!==e&&(t.words[t.length++]=e),t},s._prime=function(t){if(m[t])return m[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new v;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return m[t]=e,e},C.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},C.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},C.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},C.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},C.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},C.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},C.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},C.prototype.isqr=function(t){return this.imul(t,t.clone())},C.prototype.sqr=function(t){return this.mul(t,t)},C.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var n=this.m.add(new s(1)).iushrn(2);return this.pow(t,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var a=new s(1).toRed(this),c=a.redNeg(),l=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new s(2*h*h).toRed(this);0!==this.pow(h,l).cmp(c);)h.redIAdd(c);for(var u=this.pow(h,r),d=this.pow(t,r.addn(1).iushrn(1)),f=this.pow(t,r),p=o;0!==f.cmp(a);){for(var b=f,m=0;0!==b.cmp(a);m++)b=b.redSqr();i(m<p);var g=this.pow(u,new s(1).iushln(p-m-1));d=d.redMul(g),u=g.redSqr(),f=f.redMul(u),p=m}return d},C.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},C.prototype.pow=function(t,e){if(e.isZero())return new s(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new s(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var r=n[0],o=0,a=0,c=e.bitLength()%26;for(0===c&&(c=26),i=e.length-1;i>=0;i--){for(var l=e.words[i],h=c-1;h>=0;h--){var u=l>>h&1;r!==n[0]&&(r=this.sqr(r)),0!==u||0!==o?(o<<=1,o|=u,(4==++a||0===i&&0===h)&&(r=this.mul(r,n[o]),a=0,o=0)):a=0}c=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},s.mont=function(t){return new x(t)},r(x,C),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):r.cmpn(0)<0&&(s=r.iadd(this.m)),s._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new s(0)._forceRed(this);var n=t.mul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("YuTi")(t))},N2jm:function(t,e,n){"use strict";const i=n("P7XM"),r=n("xZGU").Buffer,s=n("g2Dh"),o=n("i3FT");function a(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){s.call(this,"der",t)}function l(t){return t<10?"0"+t:t}t.exports=a,a.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},i(c,s),c.prototype._encodeComposite=function(t,e,n,i){const s=function(t,e,n,i){let r;if("seqof"===t?t="seq":"setof"===t&&(t="set"),o.tagByName.hasOwnProperty(t))r=o.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return i.error("Unknown tag: "+t);r=t}return r>=31?i.error("Multi-octet tag encoding unsupported"):(e||(r|=32),r|=o.tagClassByName[n||"universal"]<<6,r)}(t,e,n,this.reporter);if(i.length<128){const t=r.alloc(2);return t[0]=s,t[1]=i.length,this._createEncoderBuffer([t,i])}let a=1;for(let r=i.length;r>=256;r>>=8)a++;const c=r.alloc(2+a);c[0]=s,c[1]=128|a;for(let r=1+a,o=i.length;o>0;r--,o>>=8)c[r]=255&o;return this._createEncoderBuffer([c,i])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=r.alloc(2*t.length);for(let n=0;n<t.length;n++)e.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(e)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,n){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(let e=0;e<t.length;e++)t[e]|=0}else if(Array.isArray(t)){t=t.slice();for(let e=0;e<t.length;e++)t[e]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!n){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let i=0;for(let r=0;r<t.length;r++){let e=t[r];for(i++;e>=128;e>>=7)i++}const s=r.alloc(i);let o=s.length-1;for(let r=t.length-1;r>=0;r--){let e=t[r];for(s[o--]=127&e;(e>>=7)>0;)s[o--]=128|127&e}return this._createEncoderBuffer(s)},c.prototype._encodeTime=function(t,e){let n;const i=new Date(t);return"gentime"===e?n=[l(i.getUTCFullYear()),l(i.getUTCMonth()+1),l(i.getUTCDate()),l(i.getUTCHours()),l(i.getUTCMinutes()),l(i.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[l(i.getUTCFullYear()%100),l(i.getUTCMonth()+1),l(i.getUTCDate()),l(i.getUTCHours()),l(i.getUTCMinutes()),l(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!r.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=r.from(e)}if(r.isBuffer(t)){let e=t.length;0===t.length&&e++;const n=r.alloc(e);return t.copy(n),0===t.length&&(n[0]=0),this._createEncoderBuffer(n)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let n=1;for(let r=t;r>=256;r>>=8)n++;const i=new Array(n);for(let r=i.length-1;r>=0;r--)i[r]=255&t,t>>=8;return 128&i[0]&&i.unshift(0),this._createEncoderBuffer(r.from(i))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,n){const i=this._baseState;let r;if(null===i.default)return!1;const s=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,n).join()),s.length!==i.defaultBuffer.length)return!1;for(r=0;r<s.length;r++)if(s[r]!==i.defaultBuffer[r])return!1;return!0}},ND7S:function(t,e,n){"use strict";const i=e;i.der=n("N2jm"),i.pem=n("hbMA")},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return i})},NNVn:function(t,e,n){(e=t.exports=n("zzXz")).Stream=e,e.Readable=e,e.Writable=n("Sc7j"),e.Duplex=n("Xn1i"),e.Transform=n("8cin"),e.PassThrough=n("nSiv"),e.finished=n("QqdZ"),e.pipeline=n("rE/R")},NPxG:function(t,e,n){var i=n("ekOh"),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],s=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case i.L:return r[4*(t-1)+0];case i.M:return r[4*(t-1)+1];case i.Q:return r[4*(t-1)+2];case i.H:return r[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case i.L:return s[4*(t-1)+0];case i.M:return s[4*(t-1)+1];case i.Q:return s[4*(t-1)+2];case i.H:return s[4*(t-1)+3];default:return}}},NQVK:function(t,e,n){var i=n("hwdV").Buffer,r=n("jIre");function s(t,e,n){var s=e.length,o=r(e,t._cache);return t._cache=t._cache.slice(s),t._prev=i.concat([t._prev,n?e:o]),o}e.encrypt=function(t,e,n){for(var r,o=i.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=i.allocUnsafe(0)),!(t._cache.length<=e.length)){o=i.concat([o,s(t,e,n)]);break}o=i.concat([o,s(t,e.slice(0,r=t._cache.length),n)]),e=e.slice(r)}return o}},NXyV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("Cfvw"),s=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(e)})}},"Nv++":function(t,e,n){"use strict";n.d(e,"a",function(){return kt}),n.d(e,"b",function(){return Et});var i=n("8Y7J");function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){s(t,e,n[e])})}return t}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(c){r=!0,s=c}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(Lt){}var h=(c.navigator||{}).userAgent,u=void 0===h?"":h,d=c,f=l,p=!!f.documentElement&&!!f.head&&"function"==typeof f.addEventListener&&"function"==typeof f.createElement,b=(~u.indexOf("MSIE")||u.indexOf("Trident/"),"svg-inline--fa"),m=[1,2,3,4,5,6,7,8,9,10],g=m.concat([11,12,13,14,15,16,17,18,19,20]),y={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},v=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",y.GROUP,y.SWAP_OPACITY,y.PRIMARY,y.SECONDARY].concat(m.map(function(t){return"".concat(t,"x")})).concat(g.map(function(t){return"w-".concat(t)})),d.FontAwesomeConfig||{});f&&"function"==typeof f.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e=a(t,2),n=e[1],i=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=f.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(e[0]));null!=i&&(v[n]=i)});var _=o({},{familyPrefix:"fa",replacementClass:b,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},v);_.autoReplaceSvg||(_.observeMutations=!1);var w=o({},_);d.FontAwesomeConfig=w;var C=d||{};C.___FONT_AWESOME___||(C.___FONT_AWESOME___={}),C.___FONT_AWESOME___.styles||(C.___FONT_AWESOME___.styles={}),C.___FONT_AWESOME___.hooks||(C.___FONT_AWESOME___.hooks={}),C.___FONT_AWESOME___.shims||(C.___FONT_AWESOME___.shims=[]);var x=C.___FONT_AWESOME___,S=[];p&&((f.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(f.readyState)||f.addEventListener("DOMContentLoaded",function t(){f.removeEventListener("DOMContentLoaded",t),S.map(function(t){return t()})}));var O,A="pending",k="settled",E="fulfilled",L="rejected",D=function(){},I="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,P="undefined"==typeof setImmediate?setTimeout:setImmediate,T=[];function R(){for(var t=0;t<T.length;t++)T[t][0](T[t][1]);T=[],O=!1}function M(t,e){T.push([t,e]),O||(O=!0,P(R,0))}function j(t){var e=t.owner,n=e._state,i=e._data,r=t[n],s=t.then;if("function"==typeof r){n=E;try{i=r(i)}catch(Lt){V(s,Lt)}}F(s,i)||(n===E&&N(s,i),n===L&&V(s,i))}function F(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===r(e))){var i=e.then;if("function"==typeof i)return i.call(e,function(i){n||(n=!0,e===i?U(t,i):N(t,i))},function(e){n||(n=!0,V(t,e))}),!0}}catch(Lt){return n||V(t,Lt),!0}return!1}function N(t,e){t!==e&&F(t,e)||U(t,e)}function U(t,e){t._state===A&&(t._state=k,t._data=e,M(z,t))}function V(t,e){t._state===A&&(t._state=k,t._data=e,M(H,t))}function B(t){t._then=t._then.forEach(j)}function z(t){t._state=E,B(t)}function H(t){t._state=L,B(t),!t._handled&&I&&global.process.emit("unhandledRejection",t._data,t)}function W(t){global.process.emit("rejectionHandled",t)}function Q(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof Q==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){V(e,t)}try{t(function(t){N(e,t)},n)}catch(Lt){n(Lt)}}(t,this)}Q.prototype={constructor:Q,_state:A,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(D),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,this._state===L&&I&&M(W,this)),this._state===E||this._state===L?M(j,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},Q.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new Q(function(e,n){var i=[],r=0;function s(t){return r++,function(n){i[t]=n,--r||e(i)}}for(var o,a=0;a<t.length;a++)(o=t[a])&&"function"==typeof o.then?o.then(s(a),n):i[a]=o;r||e(i)})},Q.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new Q(function(e,n){for(var i,r=0;r<t.length;r++)(i=t[r])&&"function"==typeof i.then?i.then(e,n):e(i)})},Q.resolve=function(t){return t&&"object"===r(t)&&t.constructor===Q?t:new Q(function(e){e(t)})},Q.reject=function(t){return new Q(function(e,n){n(t)})};var K={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function q(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Y(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function G(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function Z(t){return t.size!==K.size||t.x!==K.x||t.y!==K.y||t.rotate!==K.rotate||t.flipX||t.flipY}function X(t){var e=t.transform,n=t.iconWidth,i={transform:"translate(".concat(t.containerWidth/2," 256)")},r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(r," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var J={x:0,y:0,width:"100%",height:"100%"};function $(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function tt(t){var e=t.icons,n=e.main,i=e.mask,r=t.prefix,s=t.iconName,a=t.transform,c=t.symbol,l=t.title,h=t.maskId,u=t.titleId,d=t.extra,f=t.watchable,p=void 0!==f&&f,b=i.found?i:n,m=b.width,g=b.height,y="fak"===r,v=y?"":"fa-w-".concat(Math.ceil(m/g*16)),_=[w.replacementClass,s?"".concat(w.familyPrefix,"-").concat(s):"",v].filter(function(t){return-1===d.classes.indexOf(t)}).filter(function(t){return""!==t||!!t}).concat(d.classes).join(" "),C={children:[],attributes:o({},d.attributes,{"data-prefix":r,"data-icon":s,class:_,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},x=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};p&&(C.attributes["data-fa-i2svg"]=""),l&&C.children.push({tag:"title",attributes:{id:C.attributes["aria-labelledby"]||"title-".concat(u||q())},children:[l]});var S=o({},C,{prefix:r,iconName:s,main:n,mask:i,maskId:h,transform:a,symbol:c,styles:o({},x,d.styles)}),O=i.found&&n.found?function(t){var e,n=t.children,i=t.attributes,r=t.main,s=t.mask,a=t.maskId,c=r.icon,l=s.icon,h=X({transform:t.transform,containerWidth:s.width,iconWidth:r.width}),u={tag:"rect",attributes:o({},J,{fill:"white"})},d=c.children?{children:c.children.map($)}:{},f={tag:"g",attributes:o({},h.inner),children:[$(o({tag:c.tag,attributes:o({},c.attributes,h.path)},d))]},p={tag:"g",attributes:o({},h.outer),children:[f]},b="mask-".concat(a||q()),m="clip-".concat(a||q()),g={tag:"mask",attributes:o({},J,{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:(e=l,"g"===e.tag?e.children:[e])},g]};return n.push(y,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(b,")")},J)}),{children:n,attributes:i}}(S):function(t){var e=t.children,n=t.attributes,i=t.main,r=t.transform,s=G(t.styles);if(s.length>0&&(n.style=s),Z(r)){var a=X({transform:r,containerWidth:i.width,iconWidth:i.width});e.push({tag:"g",attributes:o({},a.outer),children:[{tag:"g",attributes:o({},a.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:o({},i.icon.attributes,a.path)}]}]})}else e.push(i.icon);return{children:e,attributes:n}}(S),A=O.attributes;return S.children=O.children,S.attributes=A,c?function(t){var e=t.iconName,n=t.children,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},t.attributes,{id:!0===i?"".concat(t.prefix,"-").concat(w.familyPrefix,"-").concat(e):i}),children:n}]}]}(S):function(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,s=t.styles,a=t.transform;if(Z(a)&&n.found&&!i.found){var c={x:n.width/n.height/2,y:.5};r.style=G(o({},s,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(S)}var et=function(t,e,n,i){var r,s,o,a=Object.keys(t),c=a.length,l=void 0!==i?function(t,e){return function(n,i,r,s){return t.call(e,n,i,r,s)}}(e,i):e;for(void 0===n?(r=1,o=t[a[0]]):(r=0,o=n);r<c;r++)o=l(o,t[s=a[r]],s,t);return o};function nt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,r=void 0!==i&&i,s=Object.keys(e).reduce(function(t,n){var i=e[n];return i.icon?t[i.iconName]=i.icon:t[n]=i,t},{});"function"!=typeof x.hooks.addPack||r?x.styles[t]=o({},x.styles[t]||{},s):x.hooks.addPack(t,s),"fas"===t&&nt("fa",e)}var it=x.styles,rt=x.shims,st=function(){var t=function(t){return et(it,function(e,n,i){return e[i]=et(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var i=e[2];return t[n]=n,i.forEach(function(e){t[e]=n}),t});var e="far"in it;et(rt,function(t,n){var i=n[1];return"far"!==i||e||(i="fas"),t[n[0]]={prefix:i,iconName:n[2]},t},{})};function ot(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function at(t){var e=t.tag,n=t.attributes,i=void 0===n?{}:n,r=t.children,s=void 0===r?[]:r;return"string"==typeof t?Y(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(Y(t[n]),'" ')},"").trim()}(i),">").concat(s.map(at).join(""),"</").concat(e,">")}function ct(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}st(),(ct.prototype=Object.create(Error.prototype)).constructor=ct;var lt={fill:"currentColor"},ht={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ut=(o({},lt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),o({},ht,{attributeName:"opacity"}));function dt(t){var e=t[0],n=t[1],i=a(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(w.familyPrefix,"-").concat(y.GROUP)},children:[{tag:"path",attributes:{class:"".concat(w.familyPrefix,"-").concat(y.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(w.familyPrefix,"-").concat(y.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}function ft(){w.autoAddCss&&!yt&&(function(t){if(t&&p){var e=f.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=f.head.childNodes,i=null,r=n.length-1;r>-1;r--){var s=n[r],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=s)}f.head.insertBefore(e,i)}}(function(){var t="fa",e=b,n=w.familyPrefix,i=w.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==t||i!==e){var s=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(i))}return r}()),yt=!0)}function pt(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(t){return at(t)})}}),Object.defineProperty(t,"node",{get:function(){if(p){var e=f.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function bt(t){var e=t.prefix,n=void 0===e?"fa":e,i=t.iconName;if(i)return ot(gt.definitions,n,i)||ot(x.styles,n,i)}o({},lt,{cx:"256",cy:"364",r:"28"}),o({},ht,{attributeName:"r",values:"28;14;28;28;14;28;"}),o({},ut,{values:"1;0;1;1;0;1;"}),o({},lt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),o({},ut,{values:"1;0;0;0;0;1;"}),o({},lt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),o({},ut,{values:"0;0;1;1;0;0;"});var mt,gt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach(function(e){t.definitions[e]=o({},t.definitions[e]||{},r[e]),nt(e,r[e]),st()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map(function(e){var i=n[e],r=i.prefix,s=i.iconName,o=i.icon;t[r]||(t[r]={}),t[r][s]=o}),t}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}()),yt=!1,vt=(mt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?K:n,r=e.symbol,s=void 0!==r&&r,a=e.mask,c=void 0===a?null:a,l=e.maskId,h=void 0===l?null:l,u=e.title,d=void 0===u?null:u,f=e.titleId,p=void 0===f?null:f,b=e.classes,m=void 0===b?[]:b,g=e.attributes,y=void 0===g?{}:g,v=e.styles,_=void 0===v?{}:v;if(t){var C=t.prefix,x=t.iconName,S=t.icon;return pt(o({type:"icon"},t),function(){return ft(),w.autoA11y&&(d?y["aria-labelledby"]="".concat(w.replacementClass,"-title-").concat(p||q()):(y["aria-hidden"]="true",y.focusable="false")),tt({icons:{main:dt(S),mask:c?dt(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:x,transform:o({},K,i),symbol:s,title:d,maskId:h,titleId:p,extra:{attributes:y,styles:_,classes:m}})})}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:bt(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:bt(i||{})),mt(n,o({},e,{mask:i}))}),_t=n("cUpR");const wt=["*"];let Ct=(()=>{class t{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),xt=(()=>{class t{constructor(){this.definitions={}}addIcons(...t){for(const e of t)e.prefix in this.definitions||(this.definitions[e.prefix]={}),this.definitions[e.prefix][e.iconName]=e}addIconPacks(...t){for(const e of t){const t=Object.keys(e).map(t=>e[t]);this.addIcons(...t)}}getIconDefinition(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const St=t=>{const e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip,["fa-"+t.size]:null!==t.size,["fa-rotate-"+t.rotate]:null!==t.rotate,["fa-pull-"+t.pull]:null!==t.pull,["fa-stack-"+t.stackItemSize]:null!=t.stackItemSize};return Object.keys(e).map(t=>e[t]?t:null).filter(t=>t)};let Ot=(()=>{class t{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[i.Bb]}),t})(),At=(()=>{class t{constructor(t,e){this.renderer=t,this.elementRef=e}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(t){"size"in t&&(null!=t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+t.size.currentValue),null!=t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+t.size.previousValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l))},t.\u0275cmp=i.Jb({type:t,selectors:[["fa-stack"]],inputs:{size:"size"},features:[i.Bb],ngContentSelectors:wt,decls:1,vars:0,template:function(t,e){1&t&&(i.nc(),i.mc(0))},encapsulation:2}),t})(),kt=(()=>{class t{constructor(t,e,n,i,r){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=i,this.classes=[],null!=r&&null==i&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(t){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){const t=this.findIconDefinition(e);if(null!=t){const e=this.buildParams();this.renderIcon(t,e)}}}render(){this.ngOnChanges({})}findIconDefinition(t){const e=((t,e)=>{return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n})(t,this.config.defaultPrefix);if("icon"in e)return e;const n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;const i=bt(e);if(null!=i){const t="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+t);else if(!this.config.globalLibrary)throw new Error(t);return i}return(t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)})(e),null}buildParams(){const t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce(function(t,e){var n=e.toLowerCase().split("-"),i=n[0],r=n.slice(1).join("-");if(i&&"h"===r)return t.flipX=!0,t;if(i&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(i){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t},e):e}(this.transform):this.transform;return{title:this.title,transform:e,classes:[...St(t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,e){const n=vt(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(_t.b),i.Pb(Ct),i.Pb(xt),i.Pb(Ot,8),i.Pb(At,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(t,e){2&t&&(i.Yb("innerHTML",e.renderedIconHTML,i.Ac),i.Eb("title",e.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[i.Bb],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),Et=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})()},O4ig:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J");let r=(()=>{class t{constructor(t){this.el=t}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l))},t.\u0275dir=i.Kb({type:t,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}}),t})()},"OA+I":function(t,e,n){"use strict";var i=n("86MQ"),r=i.assert,s=i.parseBytes,o=i.cachedProperty;function a(t,e){this.eddsa=t,this._secret=s(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=s(e.pub)}a.fromPublic=function(t,e){return e instanceof a?e:new a(t,{pub:e})},a.fromSecret=function(t,e){return e instanceof a?e:new a(t,{secret:e})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(a,"privBytes",function(){var t=this.eddsa,e=this.hash(),n=t.encodingLength-1,i=e.slice(0,t.encodingLength);return i[0]&=248,i[n]&=127,i[n]|=64,i}),o(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(t){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},a.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},a.prototype.getSecret=function(t){return r(this._secret,"KeyPair is public only"),i.encode(this.secret(),t)},a.prototype.getPublic=function(t){return i.encode(this.pubBytes(),t)},t.exports=a},OLiY:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return g}),n.d(e,"c",function(){return w}),n.d(e,"d",function(){return C}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return f}),n.d(e,"g",function(){return m}),n.d(e,"h",function(){return v});var i=n("y7ui"),r=n("UhP/"),s=n("8LU1"),o=n("CtHx"),a=n("2Vo4"),c=n("VRyK"),l=(n("IzEk"),n("lJxs")),h=n("8Y7J");const u=Object(r.C)(Object(r.z)(i.e));let d=(()=>{class t extends u{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this.tabIndex=Number(n)||0,this._elementRef.nativeElement.classList.add("mat-tree-node")}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Pb(h.l),h.Pb(i.c),h.ac("tabindex"))},t.\u0275dir=h.Kb({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[h.Cb([{provide:i.e,useExisting:t}]),h.Ab]}),t})(),f=(()=>{class t extends i.f{}return t.\u0275fac=function(e){return p(e||t)},t.\u0275dir=h.Kb({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[h.Cb([{provide:i.f,useExisting:t}]),h.Ab]}),t})();const p=h.Xb(f);let b=(()=>{class t extends i.b{constructor(t,e,n,i){super(t,e,n),this._elementRef=t,this._tree=e,this._differs=n,this._disabled=!1,this.tabIndex=Number(i)||0,this._elementRef.nativeElement.classList.add("mat-nested-tree-node")}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:0}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(h.Pb(h.l),h.Pb(i.c),h.Pb(h.u),h.ac("tabindex"))},t.\u0275dir=h.Kb({type:t,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[h.Cb([{provide:i.b,useExisting:t},{provide:i.e,useExisting:t},{provide:i.a,useExisting:t}]),h.Ab]}),t})(),m=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Pb(h.S),h.Pb(i.a,8))},t.\u0275dir=h.Kb({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[h.Cb([{provide:i.g,useExisting:t}])]}),t})(),g=(()=>{class t extends i.c{}return t.\u0275fac=function(e){return y(e||t)},t.\u0275cmp=h.Jb({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){if(1&t&&h.Ec(m,!0),2&t){let t;h.vc(t=h.ec())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[h.Cb([{provide:i.c,useExisting:t}]),h.Ab],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&h.Rb(0,0)},directives:[m],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t})();const y=h.Xb(g);let v=(()=>{class t extends i.i{get recursive(){return this._recursive}set recursive(t){this._recursive=Object(s.c)(t)}}return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=h.Kb({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[h.Cb([{provide:i.i,useExisting:t}]),h.Ab]}),t})();const _=h.Xb(v);let w=(()=>{class t{}return t.\u0275mod=h.Nb({type:t}),t.\u0275inj=h.Mb({factory:function(e){return new(e||t)},imports:[[i.d,r.i],r.i]}),t})();class C extends o.b{constructor(){super(...arguments),this._data=new a.a([])}get data(){return this._data.value}set data(t){this._data.next(t)}connect(t){return Object(c.a)(t.viewChange,this._data).pipe(Object(l.a)(()=>this.data))}disconnect(){}}},"OZ/i":function(t,e,n){(function(t){!function(t,e){"use strict";function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function s(t,e,n){if(s.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{o=n(7).Buffer}catch(k){}function a(t,e,n){for(var r=0,s=Math.min(t.length,n),o=0,a=e;a<s;a++){var c,l=t.charCodeAt(a)-48;r<<=4,r|=c=l>=49&&l<=54?l-49+10:l>=17&&l<=22?l-17+10:l,o|=c}return i(!(240&o),"Invalid character in "+t),r}function c(t,e,n,r){for(var s=0,o=0,a=Math.min(t.length,n),c=e;c<a;c++){var l=t.charCodeAt(c)-48;s*=r,o=l>=49?l-49+10:l>=17?l-17+10:l,i(l>=0&&o<r,"Invalid character"),s+=o}return s}function l(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(s.isBN=function(t){return t instanceof s||null!==t&&"object"==typeof t&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,e){return t.cmp(e)>0?t:e},s.min=function(t,e){return t.cmp(e)<0?t:e},s.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===e?this._parseHex(t,r):this._parseBase(t,e,r),"-"===t[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),e,n)},s.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},s.prototype._initArray=function(t,e,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var s,o,a=0;if("be"===n)for(r=t.length-1,s=0;r>=0;r-=3)this.words[s]|=(o=t[r]|t[r-1]<<8|t[r-2]<<16)<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===n)for(r=0,s=0;r<t.length;r+=3)this.words[s]|=(o=t[r]|t[r+1]<<8|t[r+2]<<16)<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this._strip()},s.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,r,s=0;for(n=t.length-6,i=0;n>=e;n-=6)r=a(t,n,n+6),this.words[i]|=r<<s&67108863,this.words[i+1]|=r>>>26-s&4194303,(s+=24)>=26&&(s-=26,i++);n+6!==e&&(r=a(t,e,n+6),this.words[i]|=r<<s&67108863,this.words[i+1]|=r>>>26-s&4194303),this._strip()},s.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=e)i++;i--,r=r/e|0;for(var s=t.length-n,o=s%i,a=Math.min(s,s-o)+n,l=0,h=n;h<a;h+=i)l=c(t,h,h+i,e),this.imuln(r),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var u=1;for(l=c(t,h,t.length,e),h=0;h<o;h++)u*=e;this.imuln(u),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}},s.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},s.prototype._move=function(t){l(t,this)},s.prototype.clone=function(){var t=new s(null);return this.copy(t),t},s.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(k){s.prototype.inspect=h}else s.prototype.inspect=h;function h(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var i=t.length+e.length|0;n.length=i,i=i-1|0;var r=0|t.words[0],s=0|e.words[0],o=r*s,a=o/67108864|0;n.words[0]=67108863&o;for(var c=1;c<i;c++){for(var l=a>>>26,h=67108863&a,u=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=u;d++)l+=(o=(r=0|t.words[c-d|0])*(s=0|e.words[d])+h)/67108864|0,h=67108863&o;n.words[c]=0|h,a=0|l}return 0!==a?n.words[c]=0|a:n.length--,n._strip()}s.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var r=0,s=0,o=0;o<this.length;o++){var a=this.words[o],c=(16777215&(a<<r|s)).toString(16);n=0!=(s=a>>>24-r&16777215)||o!==this.length-1?u[6-c.length]+c+n:c+n,(r+=2)>=26&&(r-=26,o--)}for(0!==s&&(n=s.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var l=d[t],h=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var b=p.modrn(h).toString(t);n=(p=p.idivn(h)).isZero()?b+n:u[l-b.length]+b+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},s.prototype.toJSON=function(){return this.toString(16,2)},o&&(s.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),s.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},s.prototype.toArrayLike=function(t,e,n){this._strip();var r=this.byteLength(),s=n||Math.max(1,r);i(r<=s,"byte array longer than desired length"),i(s>0,"Requested array length <= 0");var o=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,s);return this["_toArrayLike"+("le"===e?"LE":"BE")](o,r),o},s.prototype._toArrayLikeLE=function(t,e){for(var n=0,i=0,r=0,s=0;r<this.length;r++){var o=this.words[r]<<s|i;t[n++]=255&o,n<t.length&&(t[n++]=o>>8&255),n<t.length&&(t[n++]=o>>16&255),6===s?(n<t.length&&(t[n++]=o>>24&255),i=0,s=0):(i=o>>>24,s+=2)}if(n<t.length)for(t[n++]=i;n<t.length;)t[n++]=0},s.prototype._toArrayLikeBE=function(t,e){for(var n=t.length-1,i=0,r=0,s=0;r<this.length;r++){var o=this.words[r]<<s|i;t[n--]=255&o,n>=0&&(t[n--]=o>>8&255),n>=0&&(t[n--]=o>>16&255),6===s?(n>=0&&(t[n--]=o>>24&255),i=0,s=0):(i=o>>>24,s+=2)}if(n>=0)for(t[n--]=i;n>=0;)t[n--]=0},s.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},s.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},s.prototype.bitLength=function(){var t=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var n=this._zeroBits(this.words[e]);if(t+=n,26!==n)break}return t},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},s.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},s.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},s.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;n<e.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=e.length,this._strip()},s.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},s.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var i=0;i<n.length;i++)this.words[i]=e.words[i]^n.words[i];if(this!==e)for(;i<e.length;i++)this.words[i]=e.words[i];return this.length=e.length,this._strip()},s.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},s.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var r=0;r<e;r++)this.words[r]=67108863&~this.words[r];return n>0&&(this.words[r]=~this.words[r]&67108863>>26-n),this._strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var n=t/26|0,r=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<<r:this.words[n]&~(1<<r),this._strip()},s.prototype.iadd=function(t){var e,n,i;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r=0,s=0;s<i.length;s++)this.words[s]=67108863&(e=(0|n.words[s])+(0|i.words[s])+r),r=e>>>26;for(;0!==r&&s<n.length;s++)this.words[s]=67108863&(e=(0|n.words[s])+r),r=e>>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this},s.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=t):(n=t,i=this);for(var s=0,o=0;o<i.length;o++)s=(e=(0|n.words[o])-(0|i.words[o])+s)>>26,this.words[o]=67108863&e;for(;0!==s&&o<n.length;o++)s=(e=(0|n.words[o])+s)>>26,this.words[o]=67108863&e;if(0===s&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,e,n){var i,r,s,o=t.words,a=e.words,c=n.words,l=0,h=0|o[0],u=8191&h,d=h>>>13,f=0|o[1],p=8191&f,b=f>>>13,m=0|o[2],g=8191&m,y=m>>>13,v=0|o[3],_=8191&v,w=v>>>13,C=0|o[4],x=8191&C,S=C>>>13,O=0|o[5],A=8191&O,k=O>>>13,E=0|o[6],L=8191&E,D=E>>>13,I=0|o[7],P=8191&I,T=I>>>13,R=0|o[8],M=8191&R,j=R>>>13,F=0|o[9],N=8191&F,U=F>>>13,V=0|a[0],B=8191&V,z=V>>>13,H=0|a[1],W=8191&H,Q=H>>>13,K=0|a[2],q=8191&K,Y=K>>>13,G=0|a[3],Z=8191&G,X=G>>>13,J=0|a[4],$=8191&J,tt=J>>>13,et=0|a[5],nt=8191&et,it=et>>>13,rt=0|a[6],st=8191&rt,ot=rt>>>13,at=0|a[7],ct=8191&at,lt=at>>>13,ht=0|a[8],ut=8191&ht,dt=ht>>>13,ft=0|a[9],pt=8191&ft,bt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(l+(i=Math.imul(u,B))|0)+((8191&(r=(r=Math.imul(u,z))+Math.imul(d,B)|0))<<13)|0;l=((s=Math.imul(d,z))+(r>>>13)|0)+(mt>>>26)|0,mt&=67108863,i=Math.imul(p,B),r=(r=Math.imul(p,z))+Math.imul(b,B)|0,s=Math.imul(b,z);var gt=(l+(i=i+Math.imul(u,W)|0)|0)+((8191&(r=(r=r+Math.imul(u,Q)|0)+Math.imul(d,W)|0))<<13)|0;l=((s=s+Math.imul(d,Q)|0)+(r>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(g,B),r=(r=Math.imul(g,z))+Math.imul(y,B)|0,s=Math.imul(y,z),i=i+Math.imul(p,W)|0,r=(r=r+Math.imul(p,Q)|0)+Math.imul(b,W)|0,s=s+Math.imul(b,Q)|0;var yt=(l+(i=i+Math.imul(u,q)|0)|0)+((8191&(r=(r=r+Math.imul(u,Y)|0)+Math.imul(d,q)|0))<<13)|0;l=((s=s+Math.imul(d,Y)|0)+(r>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(_,B),r=(r=Math.imul(_,z))+Math.imul(w,B)|0,s=Math.imul(w,z),i=i+Math.imul(g,W)|0,r=(r=r+Math.imul(g,Q)|0)+Math.imul(y,W)|0,s=s+Math.imul(y,Q)|0,i=i+Math.imul(p,q)|0,r=(r=r+Math.imul(p,Y)|0)+Math.imul(b,q)|0,s=s+Math.imul(b,Y)|0;var vt=(l+(i=i+Math.imul(u,Z)|0)|0)+((8191&(r=(r=r+Math.imul(u,X)|0)+Math.imul(d,Z)|0))<<13)|0;l=((s=s+Math.imul(d,X)|0)+(r>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(x,B),r=(r=Math.imul(x,z))+Math.imul(S,B)|0,s=Math.imul(S,z),i=i+Math.imul(_,W)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(w,W)|0,s=s+Math.imul(w,Q)|0,i=i+Math.imul(g,q)|0,r=(r=r+Math.imul(g,Y)|0)+Math.imul(y,q)|0,s=s+Math.imul(y,Y)|0,i=i+Math.imul(p,Z)|0,r=(r=r+Math.imul(p,X)|0)+Math.imul(b,Z)|0,s=s+Math.imul(b,X)|0;var _t=(l+(i=i+Math.imul(u,$)|0)|0)+((8191&(r=(r=r+Math.imul(u,tt)|0)+Math.imul(d,$)|0))<<13)|0;l=((s=s+Math.imul(d,tt)|0)+(r>>>13)|0)+(_t>>>26)|0,_t&=67108863,i=Math.imul(A,B),r=(r=Math.imul(A,z))+Math.imul(k,B)|0,s=Math.imul(k,z),i=i+Math.imul(x,W)|0,r=(r=r+Math.imul(x,Q)|0)+Math.imul(S,W)|0,s=s+Math.imul(S,Q)|0,i=i+Math.imul(_,q)|0,r=(r=r+Math.imul(_,Y)|0)+Math.imul(w,q)|0,s=s+Math.imul(w,Y)|0,i=i+Math.imul(g,Z)|0,r=(r=r+Math.imul(g,X)|0)+Math.imul(y,Z)|0,s=s+Math.imul(y,X)|0,i=i+Math.imul(p,$)|0,r=(r=r+Math.imul(p,tt)|0)+Math.imul(b,$)|0,s=s+Math.imul(b,tt)|0;var wt=(l+(i=i+Math.imul(u,nt)|0)|0)+((8191&(r=(r=r+Math.imul(u,it)|0)+Math.imul(d,nt)|0))<<13)|0;l=((s=s+Math.imul(d,it)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(L,B),r=(r=Math.imul(L,z))+Math.imul(D,B)|0,s=Math.imul(D,z),i=i+Math.imul(A,W)|0,r=(r=r+Math.imul(A,Q)|0)+Math.imul(k,W)|0,s=s+Math.imul(k,Q)|0,i=i+Math.imul(x,q)|0,r=(r=r+Math.imul(x,Y)|0)+Math.imul(S,q)|0,s=s+Math.imul(S,Y)|0,i=i+Math.imul(_,Z)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(w,Z)|0,s=s+Math.imul(w,X)|0,i=i+Math.imul(g,$)|0,r=(r=r+Math.imul(g,tt)|0)+Math.imul(y,$)|0,s=s+Math.imul(y,tt)|0,i=i+Math.imul(p,nt)|0,r=(r=r+Math.imul(p,it)|0)+Math.imul(b,nt)|0,s=s+Math.imul(b,it)|0;var Ct=(l+(i=i+Math.imul(u,st)|0)|0)+((8191&(r=(r=r+Math.imul(u,ot)|0)+Math.imul(d,st)|0))<<13)|0;l=((s=s+Math.imul(d,ot)|0)+(r>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(P,B),r=(r=Math.imul(P,z))+Math.imul(T,B)|0,s=Math.imul(T,z),i=i+Math.imul(L,W)|0,r=(r=r+Math.imul(L,Q)|0)+Math.imul(D,W)|0,s=s+Math.imul(D,Q)|0,i=i+Math.imul(A,q)|0,r=(r=r+Math.imul(A,Y)|0)+Math.imul(k,q)|0,s=s+Math.imul(k,Y)|0,i=i+Math.imul(x,Z)|0,r=(r=r+Math.imul(x,X)|0)+Math.imul(S,Z)|0,s=s+Math.imul(S,X)|0,i=i+Math.imul(_,$)|0,r=(r=r+Math.imul(_,tt)|0)+Math.imul(w,$)|0,s=s+Math.imul(w,tt)|0,i=i+Math.imul(g,nt)|0,r=(r=r+Math.imul(g,it)|0)+Math.imul(y,nt)|0,s=s+Math.imul(y,it)|0,i=i+Math.imul(p,st)|0,r=(r=r+Math.imul(p,ot)|0)+Math.imul(b,st)|0,s=s+Math.imul(b,ot)|0;var xt=(l+(i=i+Math.imul(u,ct)|0)|0)+((8191&(r=(r=r+Math.imul(u,lt)|0)+Math.imul(d,ct)|0))<<13)|0;l=((s=s+Math.imul(d,lt)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul(M,B),r=(r=Math.imul(M,z))+Math.imul(j,B)|0,s=Math.imul(j,z),i=i+Math.imul(P,W)|0,r=(r=r+Math.imul(P,Q)|0)+Math.imul(T,W)|0,s=s+Math.imul(T,Q)|0,i=i+Math.imul(L,q)|0,r=(r=r+Math.imul(L,Y)|0)+Math.imul(D,q)|0,s=s+Math.imul(D,Y)|0,i=i+Math.imul(A,Z)|0,r=(r=r+Math.imul(A,X)|0)+Math.imul(k,Z)|0,s=s+Math.imul(k,X)|0,i=i+Math.imul(x,$)|0,r=(r=r+Math.imul(x,tt)|0)+Math.imul(S,$)|0,s=s+Math.imul(S,tt)|0,i=i+Math.imul(_,nt)|0,r=(r=r+Math.imul(_,it)|0)+Math.imul(w,nt)|0,s=s+Math.imul(w,it)|0,i=i+Math.imul(g,st)|0,r=(r=r+Math.imul(g,ot)|0)+Math.imul(y,st)|0,s=s+Math.imul(y,ot)|0,i=i+Math.imul(p,ct)|0,r=(r=r+Math.imul(p,lt)|0)+Math.imul(b,ct)|0,s=s+Math.imul(b,lt)|0;var St=(l+(i=i+Math.imul(u,ut)|0)|0)+((8191&(r=(r=r+Math.imul(u,dt)|0)+Math.imul(d,ut)|0))<<13)|0;l=((s=s+Math.imul(d,dt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(N,B),r=(r=Math.imul(N,z))+Math.imul(U,B)|0,s=Math.imul(U,z),i=i+Math.imul(M,W)|0,r=(r=r+Math.imul(M,Q)|0)+Math.imul(j,W)|0,s=s+Math.imul(j,Q)|0,i=i+Math.imul(P,q)|0,r=(r=r+Math.imul(P,Y)|0)+Math.imul(T,q)|0,s=s+Math.imul(T,Y)|0,i=i+Math.imul(L,Z)|0,r=(r=r+Math.imul(L,X)|0)+Math.imul(D,Z)|0,s=s+Math.imul(D,X)|0,i=i+Math.imul(A,$)|0,r=(r=r+Math.imul(A,tt)|0)+Math.imul(k,$)|0,s=s+Math.imul(k,tt)|0,i=i+Math.imul(x,nt)|0,r=(r=r+Math.imul(x,it)|0)+Math.imul(S,nt)|0,s=s+Math.imul(S,it)|0,i=i+Math.imul(_,st)|0,r=(r=r+Math.imul(_,ot)|0)+Math.imul(w,st)|0,s=s+Math.imul(w,ot)|0,i=i+Math.imul(g,ct)|0,r=(r=r+Math.imul(g,lt)|0)+Math.imul(y,ct)|0,s=s+Math.imul(y,lt)|0,i=i+Math.imul(p,ut)|0,r=(r=r+Math.imul(p,dt)|0)+Math.imul(b,ut)|0,s=s+Math.imul(b,dt)|0;var Ot=(l+(i=i+Math.imul(u,pt)|0)|0)+((8191&(r=(r=r+Math.imul(u,bt)|0)+Math.imul(d,pt)|0))<<13)|0;l=((s=s+Math.imul(d,bt)|0)+(r>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(N,W),r=(r=Math.imul(N,Q))+Math.imul(U,W)|0,s=Math.imul(U,Q),i=i+Math.imul(M,q)|0,r=(r=r+Math.imul(M,Y)|0)+Math.imul(j,q)|0,s=s+Math.imul(j,Y)|0,i=i+Math.imul(P,Z)|0,r=(r=r+Math.imul(P,X)|0)+Math.imul(T,Z)|0,s=s+Math.imul(T,X)|0,i=i+Math.imul(L,$)|0,r=(r=r+Math.imul(L,tt)|0)+Math.imul(D,$)|0,s=s+Math.imul(D,tt)|0,i=i+Math.imul(A,nt)|0,r=(r=r+Math.imul(A,it)|0)+Math.imul(k,nt)|0,s=s+Math.imul(k,it)|0,i=i+Math.imul(x,st)|0,r=(r=r+Math.imul(x,ot)|0)+Math.imul(S,st)|0,s=s+Math.imul(S,ot)|0,i=i+Math.imul(_,ct)|0,r=(r=r+Math.imul(_,lt)|0)+Math.imul(w,ct)|0,s=s+Math.imul(w,lt)|0,i=i+Math.imul(g,ut)|0,r=(r=r+Math.imul(g,dt)|0)+Math.imul(y,ut)|0,s=s+Math.imul(y,dt)|0;var At=(l+(i=i+Math.imul(p,pt)|0)|0)+((8191&(r=(r=r+Math.imul(p,bt)|0)+Math.imul(b,pt)|0))<<13)|0;l=((s=s+Math.imul(b,bt)|0)+(r>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(N,q),r=(r=Math.imul(N,Y))+Math.imul(U,q)|0,s=Math.imul(U,Y),i=i+Math.imul(M,Z)|0,r=(r=r+Math.imul(M,X)|0)+Math.imul(j,Z)|0,s=s+Math.imul(j,X)|0,i=i+Math.imul(P,$)|0,r=(r=r+Math.imul(P,tt)|0)+Math.imul(T,$)|0,s=s+Math.imul(T,tt)|0,i=i+Math.imul(L,nt)|0,r=(r=r+Math.imul(L,it)|0)+Math.imul(D,nt)|0,s=s+Math.imul(D,it)|0,i=i+Math.imul(A,st)|0,r=(r=r+Math.imul(A,ot)|0)+Math.imul(k,st)|0,s=s+Math.imul(k,ot)|0,i=i+Math.imul(x,ct)|0,r=(r=r+Math.imul(x,lt)|0)+Math.imul(S,ct)|0,s=s+Math.imul(S,lt)|0,i=i+Math.imul(_,ut)|0,r=(r=r+Math.imul(_,dt)|0)+Math.imul(w,ut)|0,s=s+Math.imul(w,dt)|0;var kt=(l+(i=i+Math.imul(g,pt)|0)|0)+((8191&(r=(r=r+Math.imul(g,bt)|0)+Math.imul(y,pt)|0))<<13)|0;l=((s=s+Math.imul(y,bt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,i=Math.imul(N,Z),r=(r=Math.imul(N,X))+Math.imul(U,Z)|0,s=Math.imul(U,X),i=i+Math.imul(M,$)|0,r=(r=r+Math.imul(M,tt)|0)+Math.imul(j,$)|0,s=s+Math.imul(j,tt)|0,i=i+Math.imul(P,nt)|0,r=(r=r+Math.imul(P,it)|0)+Math.imul(T,nt)|0,s=s+Math.imul(T,it)|0,i=i+Math.imul(L,st)|0,r=(r=r+Math.imul(L,ot)|0)+Math.imul(D,st)|0,s=s+Math.imul(D,ot)|0,i=i+Math.imul(A,ct)|0,r=(r=r+Math.imul(A,lt)|0)+Math.imul(k,ct)|0,s=s+Math.imul(k,lt)|0,i=i+Math.imul(x,ut)|0,r=(r=r+Math.imul(x,dt)|0)+Math.imul(S,ut)|0,s=s+Math.imul(S,dt)|0;var Et=(l+(i=i+Math.imul(_,pt)|0)|0)+((8191&(r=(r=r+Math.imul(_,bt)|0)+Math.imul(w,pt)|0))<<13)|0;l=((s=s+Math.imul(w,bt)|0)+(r>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(N,$),r=(r=Math.imul(N,tt))+Math.imul(U,$)|0,s=Math.imul(U,tt),i=i+Math.imul(M,nt)|0,r=(r=r+Math.imul(M,it)|0)+Math.imul(j,nt)|0,s=s+Math.imul(j,it)|0,i=i+Math.imul(P,st)|0,r=(r=r+Math.imul(P,ot)|0)+Math.imul(T,st)|0,s=s+Math.imul(T,ot)|0,i=i+Math.imul(L,ct)|0,r=(r=r+Math.imul(L,lt)|0)+Math.imul(D,ct)|0,s=s+Math.imul(D,lt)|0,i=i+Math.imul(A,ut)|0,r=(r=r+Math.imul(A,dt)|0)+Math.imul(k,ut)|0,s=s+Math.imul(k,dt)|0;var Lt=(l+(i=i+Math.imul(x,pt)|0)|0)+((8191&(r=(r=r+Math.imul(x,bt)|0)+Math.imul(S,pt)|0))<<13)|0;l=((s=s+Math.imul(S,bt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,i=Math.imul(N,nt),r=(r=Math.imul(N,it))+Math.imul(U,nt)|0,s=Math.imul(U,it),i=i+Math.imul(M,st)|0,r=(r=r+Math.imul(M,ot)|0)+Math.imul(j,st)|0,s=s+Math.imul(j,ot)|0,i=i+Math.imul(P,ct)|0,r=(r=r+Math.imul(P,lt)|0)+Math.imul(T,ct)|0,s=s+Math.imul(T,lt)|0,i=i+Math.imul(L,ut)|0,r=(r=r+Math.imul(L,dt)|0)+Math.imul(D,ut)|0,s=s+Math.imul(D,dt)|0;var Dt=(l+(i=i+Math.imul(A,pt)|0)|0)+((8191&(r=(r=r+Math.imul(A,bt)|0)+Math.imul(k,pt)|0))<<13)|0;l=((s=s+Math.imul(k,bt)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,i=Math.imul(N,st),r=(r=Math.imul(N,ot))+Math.imul(U,st)|0,s=Math.imul(U,ot),i=i+Math.imul(M,ct)|0,r=(r=r+Math.imul(M,lt)|0)+Math.imul(j,ct)|0,s=s+Math.imul(j,lt)|0,i=i+Math.imul(P,ut)|0,r=(r=r+Math.imul(P,dt)|0)+Math.imul(T,ut)|0,s=s+Math.imul(T,dt)|0;var It=(l+(i=i+Math.imul(L,pt)|0)|0)+((8191&(r=(r=r+Math.imul(L,bt)|0)+Math.imul(D,pt)|0))<<13)|0;l=((s=s+Math.imul(D,bt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,i=Math.imul(N,ct),r=(r=Math.imul(N,lt))+Math.imul(U,ct)|0,s=Math.imul(U,lt),i=i+Math.imul(M,ut)|0,r=(r=r+Math.imul(M,dt)|0)+Math.imul(j,ut)|0,s=s+Math.imul(j,dt)|0;var Pt=(l+(i=i+Math.imul(P,pt)|0)|0)+((8191&(r=(r=r+Math.imul(P,bt)|0)+Math.imul(T,pt)|0))<<13)|0;l=((s=s+Math.imul(T,bt)|0)+(r>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,i=Math.imul(N,ut),r=(r=Math.imul(N,dt))+Math.imul(U,ut)|0,s=Math.imul(U,dt);var Tt=(l+(i=i+Math.imul(M,pt)|0)|0)+((8191&(r=(r=r+Math.imul(M,bt)|0)+Math.imul(j,pt)|0))<<13)|0;l=((s=s+Math.imul(j,bt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863;var Rt=(l+(i=Math.imul(N,pt))|0)+((8191&(r=(r=Math.imul(N,bt))+Math.imul(U,pt)|0))<<13)|0;return l=((s=Math.imul(U,bt))+(r>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=mt,c[1]=gt,c[2]=yt,c[3]=vt,c[4]=_t,c[5]=wt,c[6]=Ct,c[7]=xt,c[8]=St,c[9]=Ot,c[10]=At,c[11]=kt,c[12]=Et,c[13]=Lt,c[14]=Dt,c[15]=It,c[16]=Pt,c[17]=Tt,c[18]=Rt,0!==l&&(c[19]=l,n.length++),n};function m(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var i=0,r=0,s=0;s<n.length-1;s++){var o=r;r=0;for(var a=67108863&i,c=Math.min(s,e.length-1),l=Math.max(0,s-t.length+1);l<=c;l++){var h=(0|t.words[s-l])*(0|e.words[l]),u=67108863&h;a=67108863&(u=u+a|0),r+=(o=(o=o+(h/67108864|0)|0)+(u>>>26)|0)>>>26,o&=67108863}n.words[s]=a,i=o,o=r}return 0!==i?n.words[s]=i:n.length--,n._strip()}function g(t,e,n){return m(t,e,n)}function y(t,e){this.x=t,this.y=e}Math.imul||(b=p),s.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?b(this,t,e):n<63?p(this,t,e):n<1024?m(this,t,e):g(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),n=s.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,n,t);return e},y.prototype.revBin=function(t,e,n){if(0===t||t===n-1)return t;for(var i=0,r=0;r<e;r++)i|=(1&t)<<e-r-1,t>>=1;return i},y.prototype.permute=function(t,e,n,i,r,s){for(var o=0;o<s;o++)i[o]=e[t[o]],r[o]=n[t[o]]},y.prototype.transform=function(t,e,n,i,r,s){this.permute(s,t,e,n,i,r);for(var o=1;o<r;o<<=1)for(var a=o<<1,c=Math.cos(2*Math.PI/a),l=Math.sin(2*Math.PI/a),h=0;h<r;h+=a)for(var u=c,d=l,f=0;f<o;f++){var p=n[h+f],b=i[h+f],m=n[h+f+o],g=i[h+f+o],y=u*m-d*g;g=u*g+d*m,n[h+f]=p+(m=y),i[h+f]=b+g,n[h+f+o]=p-m,i[h+f+o]=b-g,f!==a&&(y=c*u-l*d,d=c*d+l*u,u=y)}},y.prototype.guessLen13b=function(t,e){var n=1|Math.max(e,t),i=1&n,r=0;for(n=n/2|0;n;n>>>=1)r++;return 1<<r+1+i},y.prototype.conjugate=function(t,e,n){if(!(n<=1))for(var i=0;i<n/2;i++){var r=t[i];t[i]=t[n-i-1],t[n-i-1]=r,r=e[i],e[i]=-e[n-i-1],e[n-i-1]=-r}},y.prototype.normalize13b=function(t,e){for(var n=0,i=0;i<e/2;i++){var r=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+n;t[i]=67108863&r,n=r<67108864?0:r/67108864|0}return t},y.prototype.convert13b=function(t,e,n,r){for(var s=0,o=0;o<e;o++)n[2*o]=8191&(s+=0|t[o]),n[2*o+1]=8191&(s>>>=13),s>>>=13;for(o=2*e;o<r;++o)n[o]=0;i(0===s),i(0==(-8192&s))},y.prototype.stub=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=0;return e},y.prototype.mulp=function(t,e,n){var i=2*this.guessLen13b(t.length,e.length),r=this.makeRBT(i),s=this.stub(i),o=new Array(i),a=new Array(i),c=new Array(i),l=new Array(i),h=new Array(i),u=new Array(i),d=n.words;d.length=i,this.convert13b(t.words,t.length,o,i),this.convert13b(e.words,e.length,l,i),this.transform(o,s,a,c,i,r),this.transform(l,s,h,u,i,r);for(var f=0;f<i;f++){var p=a[f]*h[f]-c[f]*u[f];c[f]=a[f]*u[f]+c[f]*h[f],a[f]=p}return this.conjugate(a,c,i),this.transform(a,c,d,s,i,r),this.conjugate(d,s,i),this.normalize13b(d,i),n.negative=t.negative^e.negative,n.length=t.length+e.length,n._strip()},s.prototype.mul=function(t){var e=new s(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},s.prototype.mulf=function(t){var e=new s(null);return e.words=new Array(this.length+t.length),g(this,t,e)},s.prototype.imul=function(t){return this.clone().mulTo(t,this)},s.prototype.imuln=function(t){var e=t<0;e&&(t=-t),i("number"==typeof t),i(t<67108864);for(var n=0,r=0;r<this.length;r++){var s=(0|this.words[r])*t,o=(67108863&s)+(67108863&n);n>>=26,n+=s/67108864|0,n+=o>>>26,this.words[r]=67108863&o}return 0!==n&&(this.words[r]=n,this.length++),e?this.ineg():this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n<e.length;n++)e[n]=t.words[n/26|0]>>>n%26&1;return e}(t);if(0===e.length)return new s(1);for(var n=this,i=0;i<e.length&&0===e[i];i++,n=n.sqr());if(++i<e.length)for(var r=n.sqr();i<e.length;i++,r=r.sqr())0!==e[i]&&(n=n.mul(r));return n},s.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,n=t%26,r=(t-n)/26,s=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(e=0;e<this.length;e++){var a=this.words[e]&s;this.words[e]=(0|this.words[e])-a<<n|o,o=a>>>26-n}o&&(this.words[e]=o,this.length++)}if(0!==r){for(e=this.length-1;e>=0;e--)this.words[e+r]=this.words[e];for(e=0;e<r;e++)this.words[e]=0;this.length+=r}return this._strip()},s.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},s.prototype.iushrn=function(t,e,n){var r;i("number"==typeof t&&t>=0),r=e?(e-e%26)/26:0;var s=t%26,o=Math.min((t-s)/26,this.length),a=67108863^67108863>>>s<<s,c=n;if(r-=o,r=Math.max(0,r),c){for(var l=0;l<o;l++)c.words[l]=this.words[l];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,l=0;l<this.length;l++)this.words[l]=this.words[l+o];else this.words[0]=0,this.length=1;var h=0;for(l=this.length-1;l>=0&&(0!==h||l>=r);l--){var u=0|this.words[l];this.words[l]=h<<26-s|u>>>s,h=u&a}return c&&0!==h&&(c.words[c.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(t,e,n){return i(0===this.negative),this.iushrn(t,e,n)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return!(this.length<=n||!(this.words[n]&1<<e))},s.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26;return i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n?this:(0!==e&&n++,this.length=Math.min(n,this.length),0!==e&&(this.words[this.length-1]&=67108863^67108863>>>e<<e),this._strip())},s.prototype.maskn=function(t){return this.clone().imaskn(t)},s.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},s.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},s.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},s.prototype.addn=function(t){return this.clone().iaddn(t)},s.prototype.subn=function(t){return this.clone().isubn(t)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(t,e,n){var r,s;this._expand(t.length+n);var o=0;for(r=0;r<t.length;r++){s=(0|this.words[r+n])+o;var a=(0|t.words[r])*e;o=((s-=67108863&a)>>26)-(a/67108864|0),this.words[r+n]=67108863&s}for(;r<this.length-n;r++)o=(s=(0|this.words[r+n])+o)>>26,this.words[r+n]=67108863&s;if(0===o)return this._strip();for(i(-1===o),o=0,r=0;r<this.length;r++)o=(s=-(0|this.words[r])+o)>>26,this.words[r]=67108863&s;return this.negative=1,this._strip()},s.prototype._wordDiv=function(t,e){var n,i=this.clone(),r=t,o=0|r.words[r.length-1];0!=(n=26-this._countBits(o))&&(r=r.ushln(n),i.iushln(n),o=0|r.words[r.length-1]);var a,c=i.length-r.length;if("mod"!==e){(a=new s(null)).length=c+1,a.words=new Array(a.length);for(var l=0;l<a.length;l++)a.words[l]=0}var h=i.clone()._ishlnsubmul(r,1,c);0===h.negative&&(i=h,a&&(a.words[c]=1));for(var u=c-1;u>=0;u--){var d=67108864*(0|i.words[r.length+u])+(0|i.words[r.length+u-1]);for(d=Math.min(d/o|0,67108863),i._ishlnsubmul(r,d,u);0!==i.negative;)d--,i.negative=0,i._ishlnsubmul(r,1,u),i.isZero()||(i.negative^=1);a&&(a.words[u]=d)}return a&&a._strip(),i._strip(),"div"!==e&&0!==n&&i.iushrn(n),{div:a||null,mod:i}},s.prototype.divmod=function(t,e,n){return i(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(r=a.div.neg()),"div"!==e&&(o=a.mod.neg(),n&&0!==o.negative&&o.iadd(t)),{div:r,mod:o}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(o=a.mod.neg(),n&&0!==o.negative&&o.isub(t)),{div:a.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new s(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modrn(t.words[0]))}:this._wordDiv(t,e);var r,o,a},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),r=t.andln(1),s=n.cmp(i);return s<0||1===r&&0===s?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},s.prototype.modrn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var n=(1<<26)%t,r=0,s=this.length-1;s>=0;s--)r=(n*r+(0|this.words[s]))%t;return e?-r:r},s.prototype.modn=function(t){return this.modrn(t)},s.prototype.idivn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var n=0,r=this.length-1;r>=0;r--){var s=(0|this.words[r])+67108864*n;this.words[r]=s/t|0,n=s%t}return this._strip(),e?this.ineg():this},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r=new s(1),o=new s(0),a=new s(0),c=new s(1),l=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++l;for(var h=n.clone(),u=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(h),o.isub(u)),r.iushrn(1),o.iushrn(1);for(var p=0,b=1;0==(n.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(h),c.isub(u)),a.iushrn(1),c.iushrn(1);e.cmp(n)>=0?(e.isub(n),r.isub(a),o.isub(c)):(n.isub(e),a.isub(r),c.isub(o))}return{a:a,b:c,gcd:n.iushln(l)}},s.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r,o=new s(1),a=new s(0),c=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,h=1;0==(e.words[0]&h)&&l<26;++l,h<<=1);if(l>0)for(e.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var u=0,d=1;0==(n.words[0]&d)&&u<26;++u,d<<=1);if(u>0)for(n.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);e.cmp(n)>=0?(e.isub(n),o.isub(a)):(n.isub(e),a.isub(o))}return(r=0===e.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(t),r},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var i=0;e.isEven()&&n.isEven();i++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=e.cmp(n);if(r<0){var s=e;e=n,n=s}else if(0===r||0===n.cmpn(1))break;e.isub(n)}return n.iushln(i)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,n=(t-e)/26,r=1<<e;if(this.length<=n)return this._expand(n+1),this.words[n]|=r,this;for(var s=r,o=n;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,this.words[o]=a&=67108863}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var r=0|this.words[0];e=r===t?0:r<t?-1:1}return 0!==this.negative?0|-e:e},s.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},s.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],r=0|t.words[n];if(i!==r){i<r?e=-1:i>r&&(e=1);break}}return e},s.prototype.gtn=function(t){return 1===this.cmpn(t)},s.prototype.gt=function(t){return 1===this.cmp(t)},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return-1===this.cmpn(t)},s.prototype.lt=function(t){return-1===this.cmp(t)},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return 0===this.cmpn(t)},s.prototype.eq=function(t){return 0===this.cmp(t)},s.red=function(t){return new O(t)},s.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function _(t,e){this.name=t,this.p=new s(e,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(t){if("string"==typeof t){var e=s._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function A(t){O.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var t=new s(null);return t.words=new Array(Math.ceil(this.n/13)),t},_.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(t,e){t.iushrn(this.n,0,e)},_.prototype.imulK=function(t){return t.imul(this.k)},r(w,_),w.prototype.split=function(t,e){for(var n=4194303,i=Math.min(t.length,9),r=0;r<i;r++)e.words[r]=t.words[r];if(e.length=i,t.length<=9)return t.words[0]=0,void(t.length=1);var s=t.words[9];for(e.words[e.length++]=s&n,r=10;r<t.length;r++){var o=0|t.words[r];t.words[r-10]=(o&n)<<4|s>>>22,s=o}t.words[r-10]=s>>>=22,t.length-=0===s&&t.length>10?10:9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n<t.length;n++){var i=0|t.words[n];t.words[n]=67108863&(e+=977*i),e=64*i+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},r(C,_),r(x,_),r(S,_),S.prototype.imulK=function(t){for(var e=0,n=0;n<t.length;n++){var i=19*(0|t.words[n])+e,r=67108863&i;i>>>=26,t.words[n]=r,e=i}return 0!==e&&(t.words[t.length++]=e),t},s._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new C;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return v[t]=e,e},O.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},O.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},O.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(l(t,t.umod(this.m)._forceRed(this)),t)},O.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},O.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},O.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},O.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},O.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},O.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},O.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},O.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},O.prototype.isqr=function(t){return this.imul(t,t.clone())},O.prototype.sqr=function(t){return this.mul(t,t)},O.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var n=this.m.add(new s(1)).iushrn(2);return this.pow(t,n)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);i(!r.isZero());var a=new s(1).toRed(this),c=a.redNeg(),l=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new s(2*h*h).toRed(this);0!==this.pow(h,l).cmp(c);)h.redIAdd(c);for(var u=this.pow(h,r),d=this.pow(t,r.addn(1).iushrn(1)),f=this.pow(t,r),p=o;0!==f.cmp(a);){for(var b=f,m=0;0!==b.cmp(a);m++)b=b.redSqr();i(m<p);var g=this.pow(u,new s(1).iushln(p-m-1));d=d.redMul(g),u=g.redSqr(),f=f.redMul(u),p=m}return d},O.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},O.prototype.pow=function(t,e){if(e.isZero())return new s(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new s(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var r=n[0],o=0,a=0,c=e.bitLength()%26;for(0===c&&(c=26),i=e.length-1;i>=0;i--){for(var l=e.words[i],h=c-1;h>=0;h--){var u=l>>h&1;r!==n[0]&&(r=this.sqr(r)),0!==u||0!==o?(o<<=1,o|=u,(4==++a||0===i&&0===h)&&(r=this.mul(r,n[o]),a=0,o=0)):a=0}c=26}return r},O.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},O.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},s.mont=function(t){return new A(t)},r(A,O),A.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},A.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},A.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):r.cmpn(0)<0&&(s=r.iadd(this.m)),s._forceRed(this)},A.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new s(0)._forceRed(this);var n=t.mul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},A.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("YuTi")(t))},OaSA:function(t,e,n){"use strict";n.d(e,"a",function(){return xt}),n.d(e,"b",function(){return ut}),n.d(e,"c",function(){return gt}),n.d(e,"d",function(){return wt}),n.d(e,"e",function(){return bt}),n.d(e,"f",function(){return Tt}),n.d(e,"g",function(){return kt}),n.d(e,"h",function(){return vt}),n.d(e,"i",function(){return ft}),n.d(e,"j",function(){return It}),n.d(e,"k",function(){return Ot}),n.d(e,"l",function(){return Mt}),n.d(e,"m",function(){return Lt}),n.d(e,"n",function(){return lt}),n.d(e,"o",function(){return Nt}),n.d(e,"p",function(){return Ft});var i=n("8LU1"),r=n("CtHx"),s=n("8Y7J"),o=n("9gLZ"),a=n("SCoL"),c=n("7KAL"),l=n("SVse"),h=n("XNiG"),u=n("Cfvw"),d=n("2Vo4"),f=n("7+OI"),p=n("LRne"),b=n("1G5W"),m=n("IzEk");const g=[[["caption"]],[["colgroup"],["col"]]],y=["caption","colgroup, col"];function v(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(i.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const _=new s.s("CDK_TABLE");let w=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkCellDef",""]]}),t})(),C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),x=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class S{}const O=v(S);let A=(()=>{class t extends O{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(_,8))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){if(1&t&&(s.Ib(n,w,!0),s.Ib(n,C,!0),s.Ib(n,x,!0)),2&t){let t;s.vc(t=s.ec())&&(e.cell=t.first),s.vc(t=s.ec())&&(e.headerCell=t.first),s.vc(t=s.ec())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[s.Cb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.Ab]}),t})();class k{constructor(t,e){const n=e.nativeElement.classList;for(const i of t._columnCssClassName)n.add(i)}}let E=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(A),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[s.Ab]}),t})(),L=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(A),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[s.Ab]}),t})(),D=(()=>{class t extends k{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(A),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[s.Ab]}),t})();class I{constructor(){this.tasks=[],this.endTasks=[]}}const P=new s.s("_COALESCED_STYLE_SCHEDULER");let T=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new h.a}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new I,this._getScheduleObservable().pipe(Object(b.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new I;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(u.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(m.a)(1))}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(s.B))},t.\u0275prov=s.Lb({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof F?t.headerCell.template:this instanceof V?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O),s.Pb(s.u))},t.\u0275dir=s.Kb({type:t,features:[s.Bb]}),t})();class M extends R{}const j=v(M);let F=(()=>{class t extends j{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O),s.Pb(s.u),s.Pb(_,8))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[s.Ab,s.Bb]}),t})();class N extends R{}const U=v(N);let V=(()=>{class t extends U{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O),s.Pb(s.u),s.Pb(_,8))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[s.Ab,s.Bb]}),t})(),B=(()=>{class t extends R{constructor(t,e,n){super(t,e),this._table=n}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O),s.Pb(s.u),s.Pb(_,8))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[s.Ab]}),t})(),z=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.S))},t.\u0275dir=s.Kb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.Rb(0,0)},directives:[z],encapsulation:2}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.Rb(0,0)},directives:[z],encapsulation:2}),t})(),Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.Rb(0,0)},directives:[z],encapsulation:2}),t})(),K=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.O))},t.\u0275dir=s.Kb({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const q=["top","bottom","left","right"];class Y{constructor(t,e,n,i,r=!0,s=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=r,this._needsPositionStickyOnElement=s,this._cachedCellWidths=[]}clearStickyPositioning(t,e){const n=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let t=0;t<i.children.length;t++)n.push(i.children[t])}this._scheduleStyleChanges(()=>{for(const t of n)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,n,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!n.some(t=>t))return;const r=t[0],s=r.children.length,o=this._getCellWidths(r,i),a=this._getStickyStartColumnPositions(o,e),c=this._getStickyEndColumnPositions(o,n);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,r=i?"right":"left",o=i?"left":"right";for(const l of t)for(let t=0;t<s;t++){const i=l.children[t];e[t]&&this._addStickyStyle(i,r,a[t]),n[t]&&this._addStickyStyle(i,o,c[t])}})}stickRows(t,e,n){if(!this._isBrowser)return;const i="bottom"===n?t.slice().reverse():t,r="bottom"===n?e.slice().reverse():e,s=[],o=[];for(let a=0,c=0;a<i.length;a++){if(s[a]=c,!r[a])continue;const t=i[a];o[a]=this._isNativeHtmlTable?Array.from(t.children):[t],a!==i.length-1&&(c+=t.getBoundingClientRect().height)}this._scheduleStyleChanges(()=>{for(let t=0;t<i.length;t++){if(!r[t])continue;const e=s[t];for(const i of o[t])this._addStickyStyle(i,n,e)}})}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");this._scheduleStyleChanges(()=>{e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)})}_removeStickyStyle(t,e){for(const n of e)t.style[n]="";q.some(n=>-1===e.indexOf(n)&&t.style[n])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of q)t.style[i]&&(n+=e[i]);return n?""+n:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=t.children;for(let r=0;r<i.length;r++)n.push(i[r].getBoundingClientRect().width);return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(t,e){const n=[];let i=0;for(let r=0;r<t.length;r++)e[r]&&(n[r]=i,i+=t[r]);return n}_getStickyEndColumnPositions(t,e){const n=[];let i=0;for(let r=t.length;r>0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}let G=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.S),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["","rowOutlet",""]]}),t})(),Z=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.S),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),X=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.S),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),J=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.S),s.Pb(s.l))},t.\u0275dir=s.Kb({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),$=(()=>{class t{constructor(t,e,n,i,r,s,o,a,c,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=o,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._viewportRuler=l,this._onDestroy=new h.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new d.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Object(i.c)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler&&this._viewportRuler.change().pipe(Object(b.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.h)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,(t,e,n)=>this._getEmbeddedViewArgs(t.item,n),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,i,{$implicit:e.data})}else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i<e.length;i++)this._renderRows[i].rowDef===t&&n.push(e[i]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let i=this._data[n];const r=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(let e=0;e<r.length;e++){let n=r[e];const i=this._cachedRenderRowsMap.get(n.data);i.has(n.rowDef)?i.get(n.rowDef).push(n):i.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(i=>{const r=n&&n.has(i)?n.get(i):[];if(r.length){const t=r.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),tt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=tt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=tt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=tt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}_switchDataSource(t){this._data=[],Object(r.h)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Object(r.h)(this.dataSource)?t=this.dataSource.connect(this):Object(f.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(p.a)(this.dataSource)),this._renderChangeSubscription=t.pipe(Object(b.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=n.map(t=>t.sticky),r=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,n,i={}){const r=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),r}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))z.mostRecentCellOutlet&&z.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Y(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(p.a)()).pipe(Object(b.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.u),s.Pb(s.h),s.Pb(s.l),s.ac("role"),s.Pb(o.b,8),s.Pb(l.d),s.Pb(a.a),s.Pb(r.g,8),s.Pb(P,8),s.Pb(c.e,8))},t.\u0275cmp=s.Jb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){if(1&t&&(s.Ib(n,K,!0),s.Ib(n,A,!0),s.Ib(n,B,!0),s.Ib(n,F,!0),s.Ib(n,V,!0)),2&t){let t;s.vc(t=s.ec())&&(e._noDataRow=t.first),s.vc(t=s.ec())&&(e._contentColumnDefs=t),s.vc(t=s.ec())&&(e._contentRowDefs=t),s.vc(t=s.ec())&&(e._contentHeaderRowDefs=t),s.vc(t=s.ec())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(s.Ec(G,!0),s.Ec(Z,!0),s.Ec(X,!0),s.Ec(J,!0)),2&t){let t;s.vc(t=s.ec())&&(e._rowOutlet=t.first),s.vc(t=s.ec())&&(e._headerRowOutlet=t.first),s.vc(t=s.ec())&&(e._footerRowOutlet=t.first),s.vc(t=s.ec())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.Hb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[s.Cb([{provide:_,useExisting:t},{provide:r.g,useClass:r.e},{provide:P,useClass:T}])],ngContentSelectors:y,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.nc(g),s.mc(0),s.mc(1,1),s.Rb(2,0),s.Rb(3,1),s.Rb(4,2),s.Rb(5,3))},directives:[Z,G,J,X],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function tt(t,e){return t.concat(Array.from(e))}let et=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[c.d]]}),t})();var nt=n("UhP/"),it=n("quSY"),rt=n("VRyK"),st=n("itXk"),ot=n("lJxs");const at=[[["caption"]],[["colgroup"],["col"]]],ct=["caption","colgroup, col"];let lt=(()=>{class t extends ${constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return ht(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&s.Hb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[s.Cb([{provide:r.g,useClass:r.e},{provide:$,useExisting:t},{provide:_,useExisting:t},{provide:P,useClass:T}]),s.Ab],ngContentSelectors:ct,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(s.nc(at),s.mc(0),s.mc(1,1),s.Rb(2,0),s.Rb(3,1),s.Rb(4,2),s.Rb(5,3))},directives:[Z,G,J,X],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const ht=s.Xb(lt);let ut=(()=>{class t extends w{}return t.\u0275fac=function(e){return dt(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matCellDef",""]],features:[s.Cb([{provide:w,useExisting:t}]),s.Ab]}),t})();const dt=s.Xb(ut);let ft=(()=>{class t extends C{}return t.\u0275fac=function(e){return pt(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matHeaderCellDef",""]],features:[s.Cb([{provide:C,useExisting:t}]),s.Ab]}),t})();const pt=s.Xb(ft);let bt=(()=>{class t extends x{}return t.\u0275fac=function(e){return mt(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matFooterCellDef",""]],features:[s.Cb([{provide:x,useExisting:t}]),s.Ab]}),t})();const mt=s.Xb(bt);let gt=(()=>{class t extends A{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}}return t.\u0275fac=function(e){return yt(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[s.Cb([{provide:A,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),s.Ab]}),t})();const yt=s.Xb(gt);let vt=(()=>{class t extends E{}return t.\u0275fac=function(e){return _t(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[s.Ab]}),t})();const _t=s.Xb(vt);let wt=(()=>{class t extends L{}return t.\u0275fac=function(e){return Ct(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[s.Ab]}),t})();const Ct=s.Xb(wt);let xt=(()=>{class t extends D{}return t.\u0275fac=function(e){return St(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[s.Ab]}),t})();const St=s.Xb(xt);let Ot=(()=>{class t extends F{}return t.\u0275fac=function(e){return At(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[s.Cb([{provide:F,useExisting:t}]),s.Ab]}),t})();const At=s.Xb(Ot);let kt=(()=>{class t extends V{}return t.\u0275fac=function(e){return Et(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[s.Cb([{provide:V,useExisting:t}]),s.Ab]}),t})();const Et=s.Xb(kt);let Lt=(()=>{class t extends B{}return t.\u0275fac=function(e){return Dt(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[s.Cb([{provide:B,useExisting:t}]),s.Ab]}),t})();const Dt=s.Xb(Lt);let It=(()=>{class t extends H{}return t.\u0275fac=function(e){return Pt(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[s.Cb([{provide:H,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.Rb(0,0)},directives:[z],encapsulation:2}),t})();const Pt=s.Xb(It);let Tt=(()=>{class t extends W{}return t.\u0275fac=function(e){return Rt(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[s.Cb([{provide:W,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.Rb(0,0)},directives:[z],encapsulation:2}),t})();const Rt=s.Xb(Tt);let Mt=(()=>{class t extends Q{}return t.\u0275fac=function(e){return jt(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[s.Cb([{provide:Q,useExisting:t}]),s.Ab],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&s.Rb(0,0)},directives:[z],encapsulation:2}),t})();const jt=s.Xb(Mt);let Ft=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[et,nt.i],nt.i]}),t})();class Nt extends r.b{constructor(t=[]){super(),this._renderData=new d.a([]),this._filter=new d.a(""),this._internalPageChanges=new h.a,this._renderChangesSubscription=it.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(i.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,i=e.direction;return n&&""!=i?t.sort((t,e)=>{let r=this.sortingDataAccessor(t,n),s=this.sortingDataAccessor(e,n);const o=typeof r,a=typeof s;o!==a&&("number"===o&&(r+=""),"number"===a&&(s+=""));let c=0;return null!=r&&null!=s?r>s?c=1:r<s&&(c=-1):null!=r?c=1:null!=s&&(c=-1),c*("asc"==i?1:-1)}):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce((e,n)=>e+t[n]+"\u25ec","").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new d.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(rt.a)(this._sort.sortChange,this._sort.initialized):Object(p.a)(null),e=this._paginator?Object(rt.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(p.a)(null),n=this._data,i=Object(st.b)([n,this._filter]).pipe(Object(ot.a)(([t])=>this._filterData(t))),r=Object(st.b)([i,t]).pipe(Object(ot.a)(([t])=>this._orderData(t))),s=Object(st.b)([r,e]).pipe(Object(ot.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},Oaki:function(t,e,n){var i=n("tjlA"),r=i.Buffer;function s(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=i:(s(i,e),e.Buffer=o),o.prototype=Object.create(r.prototype),s(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},OfWw:function(t,e,n){var i=n("hwdV").Buffer;function r(t){i.isBuffer(t)||(t=i.from(t));for(var e=t.length/4|0,n=new Array(e),r=0;r<e;r++)n[r]=t.readUInt32BE(4*r);return n}function s(t){for(;0<t.length;t++)t[0]=0}function o(t,e,n,i,r){for(var s,o,a,c,l=n[0],h=n[1],u=n[2],d=n[3],f=t[0]^e[0],p=t[1]^e[1],b=t[2]^e[2],m=t[3]^e[3],g=4,y=1;y<r;y++)s=l[f>>>24]^h[p>>>16&255]^u[b>>>8&255]^d[255&m]^e[g++],o=l[p>>>24]^h[b>>>16&255]^u[m>>>8&255]^d[255&f]^e[g++],a=l[b>>>24]^h[m>>>16&255]^u[f>>>8&255]^d[255&p]^e[g++],c=l[m>>>24]^h[f>>>16&255]^u[p>>>8&255]^d[255&b]^e[g++],f=s,p=o,b=a,m=c;return s=(i[f>>>24]<<24|i[p>>>16&255]<<16|i[b>>>8&255]<<8|i[255&m])^e[g++],o=(i[p>>>24]<<24|i[b>>>16&255]<<16|i[m>>>8&255]<<8|i[255&f])^e[g++],a=(i[b>>>24]<<24|i[m>>>16&255]<<16|i[f>>>8&255]<<8|i[255&p])^e[g++],c=(i[m>>>24]<<24|i[f>>>16&255]<<16|i[p>>>8&255]<<8|i[255&b])^e[g++],[s>>>=0,o>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],i=[],r=[[],[],[],[]],s=[[],[],[],[]],o=0,a=0,c=0;c<256;++c){var l=a^a<<1^a<<2^a<<3^a<<4;n[o]=l=l>>>8^255&l^99,i[l]=o;var h=t[o],u=t[h],d=t[u],f=257*t[l]^16843008*l;r[0][o]=f<<24|f>>>8,r[1][o]=f<<16|f>>>16,r[2][o]=f<<8|f>>>24,r[3][o]=f,s[0][l]=(f=16843009*d^65537*u^257*h^16843008*o)<<24|f>>>8,s[1][l]=f<<16|f>>>16,s[2][l]=f<<8|f>>>24,s[3][l]=f,0===o?o=a=1:(o=h^t[t[t[d^h]]],a^=t[t[a]])}return{SBOX:n,INV_SBOX:i,SUB_MIX:r,INV_SUB_MIX:s}}();function l(t){this._key=r(t),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,i=4*(n+1),r=[],s=0;s<e;s++)r[s]=t[s];for(s=e;s<i;s++){var o=r[s-1];s%e==0?(o=c.SBOX[(o=o<<8|o>>>24)>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=a[s/e|0]<<24):e>6&&s%e==4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),r[s]=r[s-e]^o}for(var l=[],h=0;h<i;h++){var u=i-h,d=r[u-(h%4?0:4)];l[h]=h<4||u<=4?d:c.INV_SUB_MIX[0][c.SBOX[d>>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=n,this._keySchedule=r,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(t){return o(t=r(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=i.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},l.prototype.decryptBlock=function(t){var e=(t=r(t))[1];t[1]=t[3],t[3]=e;var n=o(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),s=i.allocUnsafe(16);return s.writeUInt32BE(n[0],0),s.writeUInt32BE(n[3],4),s.writeUInt32BE(n[2],8),s.writeUInt32BE(n[1],12),s},l.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},t.exports.AES=l},Onz0:function(t,e){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=Buffer.isBuffer},P2KE:function(t,e,n){var i=n("hwdV").Buffer,r=i.alloc(16,0);function s(t){var e=i.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function o(t){this.h=t,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}o.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},o.prototype._multiply=function(){for(var t,e,n,i=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],r=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(r[0]^=i[0],r[1]^=i[1],r[2]^=i[2],r[3]^=i[3]),n=0!=(1&i[3]),e=3;e>0;e--)i[e]=i[e]>>>1|(1&i[e-1])<<31;i[0]=i[0]>>>1,n&&(i[0]=i[0]^225<<24)}this.state=s(r)},o.prototype.update=function(t){var e;for(this.cache=i.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},o.prototype.final=function(t,e){return this.cache.length&&this.ghash(i.concat([this.cache,r],16)),this.ghash(s([0,t,0,e])),this.state},t.exports=o},P7XM:function(t,e){t.exports="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},PCNd:function(t,e,n){"use strict";n.d(e,"a",function(){return rt});var i=n("SVse"),r=n("iInd"),s=n("s7LF"),o=n("IheW"),a=n("Nv++"),c=n("8Y7J"),l=n("/q54"),h=n("ura0"),u=n("VDRc");n("8LU1"),new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let d=(()=>{class t{}return t.\u0275mod=c.Nb({type:t}),t.\u0275inj=c.Mb({factory:function(e){return new(e||t)},imports:[[l.c]]}),t})();new c.R("11.0.0-beta.33");let f=(()=>{class t{constructor(t,e){Object(i.B)(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:l.e,useValue:Object.assign(Object.assign({},l.d),e)},{provide:l.a,useValue:n,multi:!0},{provide:l.g,useValue:!0}]:[{provide:l.e,useValue:Object.assign(Object.assign({},l.d),e)},{provide:l.a,useValue:n,multi:!0}]}}}return t.\u0275mod=c.Nb({type:t}),t.\u0275inj=c.Mb({factory:function(e){return new(e||t)(c.Zb(l.g),c.Zb(c.D))},imports:[[u.d,h.c,d],u.d,h.c,d]}),t})();var p=n("HeVh"),b=n("UhP/"),m=n("iELJ"),g=n("vrAh"),y=n("8Qe2"),v=n("Dxy4");n("CtHx"),n("YEUz");let _=(()=>{class t{}return t.\u0275mod=c.Nb({type:t}),t.\u0275inj=c.Mb({factory:function(e){return new(e||t)},imports:[[b.i,b.s],b.i]}),t})();var w=n("PDjf"),C=n("pMoy"),x=n("TN/R"),S=n("o4Yh"),O=n("40+f"),A=n("Tj54"),k=n("e6WT"),E=n("SqCe"),L=n("rJgo"),D=n("5QHs"),I=n("BTe0"),P=n("pu8Q"),T=n("zQhy"),R=n("ZTz/"),M=n("q7Ft"),j=n("jMqV");n("Ht+U"),n("omvX"),n("SCoL"),n("quSY"),n("9gLZ");let F=(()=>{class t{}return t.\u0275mod=c.Nb({type:t}),t.\u0275inj=c.Mb({factory:function(e){return new(e||t)},imports:[[i.c,b.i],b.i]}),t})();var N=n("zHaW"),U=n("LUZP"),V=n("hzfI"),B=n("OaSA"),z=n("M9ds"),H=n("l0rg"),W=n("ZFy/"),Q=n("OLiY"),K=n("Lnru"),q=n("bwdU"),Y=n("aLe/"),G=n("1O3W");let Z=(()=>{class t extends G.e{_createContainer(){const t=document.createElement("div");t.classList.add("cdk-overlay-container"),document.getElementById("rtl-container").appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return X(e||t)},t.\u0275prov=c.Lb({token:t,factory:t.\u0275fac}),t})();const X=c.Xb(Z);var J=n("cpEJ"),$=n("7nzP");const tt={suppressScrollX:!1,suppressScrollY:!1};let et=(()=>{class t extends b.t{format(t,e){if("input"===e){let e=t.getDate().toString();return e=+e<10?"0"+e:e,e+"/"+$.n[t.getMonth()].name.toUpperCase()+"/"+t.getFullYear()}return $.n[t.getMonth()].name.toUpperCase()+" "+t.getFullYear()}}return t.\u0275fac=function(e){return nt(e||t)},t.\u0275prov=c.Lb({token:t,factory:t.\u0275fac}),t})();const nt=c.Xb(et),it={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let rt=(()=>{class t{}return t.\u0275mod=c.Nb({type:t}),t.\u0275inj=c.Mb({factory:function(e){return new(e||t)},providers:[{provide:J.b,useClass:J.a},{provide:Y.a,useValue:tt},{provide:N.a,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:m.b,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog",width:"55%"}},{provide:b.c,useClass:et},{provide:b.e,useValue:it},{provide:G.e,useClass:Z},i.f,i.x,i.e],imports:[[i.c,s.i,s.r,a.b,f,p.c,m.e,v.b,_,w.d,C.b,S.b,O.b,x.c,b.l,A.b,k.c,E.c,L.c,I.b,P.a,T.c,Q.c,R.b,M.d,j.b,U.c,B.p,H.b,W.b,y.b,D.c,V.e,F,z.f,N.c,g.b,K.c,q.b,r.k,o.c,Y.c],s.i,s.r,a.b,f,p.c,m.e,v.b,_,w.d,C.b,S.b,O.b,x.c,b.l,A.b,k.c,E.c,L.c,I.b,P.a,T.c,Q.c,R.b,M.d,j.b,U.c,B.p,H.b,W.b,y.b,D.c,V.e,F,z.f,N.c,g.b,K.c,q.b,Y.c]}),t})()},PDjf:function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return p}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return u});var i=n("omvX"),r=n("UhP/"),s=n("8Y7J");const o=["*",[["mat-card-footer"]]],a=["*","mat-card-footer"],c=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],l=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t})(),f=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(i.a,8))},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&s.Hb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(s.nc(o),s.mc(0),s.mc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:l,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(s.nc(c),s.mc(0),s.Vb(1,"div",0),s.mc(2,1),s.Ub(),s.mc(3,2))},encapsulation:2,changeDetection:0}),t})(),b=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[r.i],r.i]}),t})()},"Pa+m":function(t,e,n){"use strict";var i=n("86MQ"),r=n("N+aw"),s=n("P7XM"),o=n("6lN/"),a=i.assert;function c(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,o.call(this,"edwards",t),this.a=new r(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function l(t,e,n,i,s){o.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(e,16),this.y=new r(n,16),this.z=i?new r(i,16):this.curve.one,this.t=s&&new r(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}s(c,o),t.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,n,i){return this.point(t,e,n,i)},c.prototype.pointFromX=function(t,e){(t=new r(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),i=this.c2.redSub(this.a.redMul(n)),s=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=i.redMul(s.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(e&&!c||!e&&c)&&(a=a.redNeg()),this.point(t,a)},c.prototype.pointFromY=function(t,e){(t=new r(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),i=n.redSub(this.c2),s=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(s.redInvm());if(0===o.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==e&&(a=a.redNeg()),this.point(a,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),i=e.redMul(this.a).redAdd(n),r=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===i.cmp(r)},s(l,o.BasePoint),c.prototype.pointFromJSON=function(t){return l.fromJSON(this,t)},c.prototype.point=function(t,e,n,i){return new l(this,t,e,n,i)},l.fromJSON=function(t,e){return new l(t,e[0],e[1],e[2])},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(t),r=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),s=i.redAdd(e),o=s.redSub(n),a=i.redSub(e),c=r.redMul(o),l=s.redMul(a),h=r.redMul(a),u=o.redMul(s);return this.curve.point(c,l,u,h)},l.prototype._projDbl=function(){var t,e,n,i=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var o=(l=this.curve._mulA(r)).redAdd(s);if(this.zOne)t=i.redSub(r).redSub(s).redMul(o.redSub(this.curve.two)),e=o.redMul(l.redSub(s)),n=o.redSqr().redSub(o).redSub(o);else{var a=this.z.redSqr(),c=o.redSub(a).redISub(a);t=i.redSub(r).redISub(s).redMul(c),e=o.redMul(l.redSub(s)),n=o.redMul(c)}}else{var l=r.redAdd(s);a=this.curve._mulC(this.z).redSqr(),c=l.redSub(a).redSub(a),t=this.curve._mulC(i.redISub(l)).redMul(c),e=this.curve._mulC(l).redMul(r.redISub(s)),n=l.redMul(c)}return this.curve.point(t,e,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),i=this.t.redMul(this.curve.dd).redMul(t.t),r=this.z.redMul(t.z.redAdd(t.z)),s=n.redSub(e),o=r.redSub(i),a=r.redAdd(i),c=n.redAdd(e),l=s.redMul(o),h=a.redMul(c),u=s.redMul(c),d=o.redMul(a);return this.curve.point(l,h,d,u)},l.prototype._projAdd=function(t){var e,n,i=this.z.redMul(t.z),r=i.redSqr(),s=this.x.redMul(t.x),o=this.y.redMul(t.y),a=this.curve.d.redMul(s).redMul(o),c=r.redSub(a),l=r.redAdd(a),h=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(s).redISub(o),u=i.redMul(c).redMul(h);return this.curve.twisted?(e=i.redMul(l).redMul(o.redSub(this.curve._mulA(s))),n=c.redMul(l)):(e=i.redMul(l).redMul(o.redSub(s)),n=this.curve._mulC(c).redMul(l)),this.curve.point(u,e,n)},l.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},l.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},l.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},l.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},l.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(i),0===this.x.cmp(e))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},PqYM:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("D0XW"),s=n("Y7HM"),o=n("z+Ro");function a(t=0,e,n){let a=-1;return Object(s.a)(e)?a=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=r.a),new i.a(e=>{const i=Object(s.a)(t)?t:+t-n.now();return n.schedule(c,i,{index:0,period:a,subscriber:e})})}function c(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},Q2Ze:function(t,e,n){"use strict";n.d(e,"a",function(){return J}),n.d(e,"b",function(){return F}),n.d(e,"c",function(){return $}),n.d(e,"d",function(){return U}),n.d(e,"e",function(){return tt}),n.d(e,"f",function(){return z}),n.d(e,"g",function(){return q});var i=n("9b/N"),r=n("SVse"),s=n("8Y7J"),o=n("UhP/"),a=n("8LU1"),c=n("XNiG"),l=n("VRyK"),h=n("xgIS"),u=n("JX91"),d=n("1G5W"),f=n("IzEk"),p=n("GS7A"),b=n("omvX"),m=n("9gLZ"),g=n("SCoL");const y=["underline"],v=["connectionContainer"],_=["inputContainer"],w=["label"];function C(t,e){1&t&&(s.Tb(0),s.Vb(1,"div",14),s.Qb(2,"div",15),s.Qb(3,"div",16),s.Qb(4,"div",17),s.Ub(),s.Vb(5,"div",18),s.Qb(6,"div",15),s.Qb(7,"div",16),s.Qb(8,"div",17),s.Ub(),s.Sb())}function x(t,e){1&t&&(s.Vb(0,"div",19),s.mc(1,1),s.Ub())}function S(t,e){if(1&t&&(s.Tb(0),s.mc(1,2),s.Vb(2,"span"),s.Kc(3),s.Ub(),s.Sb()),2&t){const t=s.hc(2);s.Db(3),s.Lc(t._control.placeholder)}}function O(t,e){1&t&&s.mc(0,3,["*ngSwitchCase","true"])}function A(t,e){1&t&&(s.Vb(0,"span",23),s.Kc(1," *"),s.Ub())}function k(t,e){if(1&t){const t=s.Wb();s.Vb(0,"label",20,21),s.dc("cdkObserveContent",function(){return s.zc(t),s.hc().updateOutlineGap()}),s.Ic(2,S,4,1,"ng-container",12),s.Ic(3,O,1,0,"ng-content",12),s.Ic(4,A,2,0,"span",22),s.Ub()}if(2&t){const t=s.hc();s.Hb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),s.oc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),s.Eb("for",t._control.id)("aria-owns",t._control.id),s.Db(2),s.oc("ngSwitchCase",!1),s.Db(1),s.oc("ngSwitchCase",!0),s.Db(1),s.oc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function E(t,e){1&t&&(s.Vb(0,"div",24),s.mc(1,4),s.Ub())}function L(t,e){if(1&t&&(s.Vb(0,"div",25,26),s.Qb(2,"span",27),s.Ub()),2&t){const t=s.hc();s.Db(2),s.Hb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function D(t,e){if(1&t&&(s.Vb(0,"div"),s.mc(1,5),s.Ub()),2&t){const t=s.hc();s.oc("@transitionMessages",t._subscriptAnimationState)}}function I(t,e){if(1&t&&(s.Vb(0,"div",31),s.Kc(1),s.Ub()),2&t){const t=s.hc(2);s.oc("id",t._hintLabelId),s.Db(1),s.Lc(t.hintLabel)}}function P(t,e){if(1&t&&(s.Vb(0,"div",28),s.Ic(1,I,2,2,"div",29),s.mc(2,6),s.Qb(3,"div",30),s.mc(4,7),s.Ub()),2&t){const t=s.hc();s.oc("@transitionMessages",t._subscriptAnimationState),s.Db(1),s.oc("ngIf",t.hintLabel)}}const T=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],R=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let M=0;const j=new s.s("MatError");let F=(()=>{class t{constructor(){this.id="mat-error-"+M++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&s.Eb("id",e.id)},inputs:{id:"id"},features:[s.Cb([{provide:j,useExisting:t}])]}),t})();const N={transitionMessages:Object(p.n)("transitionMessages",[Object(p.k)("enter",Object(p.l)({opacity:1,transform:"translateY(0%)"})),Object(p.m)("void => enter",[Object(p.l)({opacity:0,transform:"translateY(-100%)"}),Object(p.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t}),t})(),V=0;const B=new s.s("MatHint");let z=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+V++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(s.Eb("id",e.id)("align",null),s.Hb("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[s.Cb([{provide:B,useExisting:t}])]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-label"]]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-placeholder"]]}),t})();const Q=new s.s("MatPrefix"),K=new s.s("MatSuffix");let q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["","matSuffix",""]],features:[s.Cb([{provide:K,useExisting:t}])]}),t})(),Y=0;class G{constructor(t){this._elementRef=t}}const Z=Object(o.x)(G,"primary"),X=new s.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),J=new s.s("MatFormField");let $=(()=>{class t extends Z{constructor(t,e,n,i,r,s,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new c.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Y++,this._labelId="mat-form-field-label-"+Y++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(a.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(u.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(d.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(l.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(u.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(h.a)(this._label.nativeElement,"transitionend").pipe(Object(f.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let c=0;for(let t=0;t<o.length;t++)c+=o[t].offsetWidth;e=Math.abs(a-s)-5,n=c>0?.75*c+10:0}for(let o=0;o<r.length;o++)r[o].style.width=e+"px";for(let o=0;o<s.length;o++)s[o].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.l),s.Pb(s.h),s.Pb(s.l),s.Pb(m.b,8),s.Pb(X,8),s.Pb(g.a),s.Pb(s.B),s.Pb(b.a,8))},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){if(1&t&&(s.Ib(n,U,!0),s.Dc(n,U,!0),s.Ib(n,H,!0),s.Dc(n,H,!0),s.Ib(n,W,!0),s.Ib(n,j,!0),s.Ib(n,B,!0),s.Ib(n,Q,!0),s.Ib(n,K,!0)),2&t){let t;s.vc(t=s.ec())&&(e._controlNonStatic=t.first),s.vc(t=s.ec())&&(e._controlStatic=t.first),s.vc(t=s.ec())&&(e._labelChildNonStatic=t.first),s.vc(t=s.ec())&&(e._labelChildStatic=t.first),s.vc(t=s.ec())&&(e._placeholderChild=t.first),s.vc(t=s.ec())&&(e._errorChildren=t),s.vc(t=s.ec())&&(e._hintChildren=t),s.vc(t=s.ec())&&(e._prefixChildren=t),s.vc(t=s.ec())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(s.Pc(y,!0),s.Ec(v,!0),s.Pc(_,!0),s.Pc(w,!0)),2&t){let t;s.vc(t=s.ec())&&(e.underlineRef=t.first),s.vc(t=s.ec())&&(e._connectionContainerRef=t.first),s.vc(t=s.ec())&&(e._inputContainerRef=t.first),s.vc(t=s.ec())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&s.Hb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s.Cb([{provide:J,useExisting:t}]),s.Ab],ngContentSelectors:R,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(s.nc(T),s.Vb(0,"div",0),s.Vb(1,"div",1,2),s.dc("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),s.Ic(3,C,9,0,"ng-container",3),s.Ic(4,x,2,0,"div",4),s.Vb(5,"div",5,6),s.mc(7),s.Vb(8,"span",7),s.Ic(9,k,5,16,"label",8),s.Ub(),s.Ub(),s.Ic(10,E,2,0,"div",9),s.Ub(),s.Ic(11,L,3,4,"div",10),s.Vb(12,"div",11),s.Ic(13,D,2,1,"div",12),s.Ic(14,P,5,2,"div",13),s.Ub(),s.Ub()),2&t&&(s.Db(3),s.oc("ngIf","outline"==e.appearance),s.Db(1),s.oc("ngIf",e._prefixChildren.length),s.Db(5),s.oc("ngIf",e._hasFloatingLabel()),s.Db(1),s.oc("ngIf",e._suffixChildren.length),s.Db(1),s.oc("ngIf","outline"!=e.appearance),s.Db(1),s.oc("ngSwitch",e._getDisplayedMessages()),s.Db(1),s.oc("ngSwitchCase","error"),s.Db(1),s.oc("ngSwitchCase","hint"))},directives:[r.o,r.q,r.r,i.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[N.transitionMessages]},changeDetection:0}),t})(),tt=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[r.c,o.i,i.c],o.i]}),t})()},QAZZ:function(t,e,n){var i=n("Rb7d");function r(t,e){var n=t.a/255,i=e+'="'+t.hex+'"';return n<1?i+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function s(t,e,n){var i=t+e;return void 0!==n&&(i+=" "+n),i}e.render=function(t,e,n){var o=i.getOptions(e),a=t.modules.size,c=t.modules.data,l=a+2*o.margin,h=o.color.light.a?"<path "+r(o.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",u="<path "+r(o.color.dark,"stroke")+' d="'+function(t,e,n){for(var i="",r=0,o=!1,a=0,c=0;c<t.length;c++){var l=Math.floor(c%e),h=Math.floor(c/e);l||o||(o=!0),t[c]?(a++,c>0&&l>0&&t[c-1]||(i+=o?s("M",l+n,.5+h+n):s("m",r,0),r=0,o=!1),l+1<e&&t[c+1]||(i+=s("h",a),a=0)):r++}return i}(c,a,o.margin)+'"/>',d='<svg xmlns="http://www.w3.org/2000/svg" '+(o.width?'width="'+o.width+'" height="'+o.width+'" ':"")+'viewBox="0 0 '+l+" "+l+'" shape-rendering="crispEdges">'+h+u+"</svg>\n";return"function"==typeof n&&n(null,d),d}},QJsb:function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},QRH4:function(t,e,n){"use strict";var i=n("f3pb");e.certificate=n("VrUr");var r=i.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});e.RSAPrivateKey=r;var s=i.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});e.RSAPublicKey=s;var o=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});e.PublicKey=o;var a=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=i.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});e.PrivateKey=c;var l=i.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});e.EncryptedPrivateKey=l;var h=i.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});e.DSAPrivateKey=h,e.DSAparam=i.define("DSAparam",function(){this.int()});var u=i.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});e.ECPrivateKey=u;var d=i.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});e.signature=i.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},"QTa/":function(t,e,n){"use strict";var i=e;i.base=n("6lN/"),i.short=n("MwBp"),i.mont=n("Z2+3"),i.edwards=n("Pa+m")},QUaw:function(t,e,n){var i=n("Rb7d");e.render=function(t,e,n){var r=n,s=e;void 0!==r||e&&e.getContext||(r=e,e=void 0),e||(s=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),r=i.getOptions(r);var o=i.getImageWidth(t.modules.size,r),a=s.getContext("2d"),c=a.createImageData(o,o);return i.qrToImageData(c.data,t,r),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(a,s,o),a.putImageData(c,0,0),s},e.renderToDataURL=function(t,n,i){var r=i;return void 0!==r||n&&n.getContext||(r=n,n=void 0),r||(r={}),e.render(t,n,r).toDataURL(r.type||"image/png",(r.rendererOpts||{}).quality)}},"Qd/k":function(t,e,n){"use strict";const i=e;i.Reporter=n("0cit").Reporter,i.DecoderBuffer=n("YoN+").DecoderBuffer,i.EncoderBuffer=n("YoN+").EncoderBuffer,i.Node=n("g2Dh")},"Qi+P":function(t,e,n){!function(e){"use strict";var n={bytesToString:function(t){return t.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(t){return t.split("").map(function(t){return t.charCodeAt(0)})}};n.UTF8={bytesToString:function(t){return decodeURIComponent(escape(n.bytesToString(t)))},stringToBytes:function(t){return n.stringToBytes(unescape(encodeURIComponent(t)))}},t.exports?t.exports=n:e.convertString=n}(this)},QihY:function(t,e,n){var i=n("gvAe"),r=n("hwdV").Buffer,s=n("usKN"),o=n("CfXC"),a=n("ZDAU"),c=n("OfWw"),l=n("roQf");function h(t,e,n){a.call(this),this._cache=new u,this._last=void 0,this._cipher=new c.AES(e),this._prev=r.from(n),this._mode=t,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function d(t,e,n){var a=s[t.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=r.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof e&&(e=r.from(e)),e.length!==a.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===a.type?new o(a.module,e,n,!0):"auth"===a.type?new i(a.module,e,n,!0):new h(a.module,e,n)}n("P7XM")(h,a),h.prototype._update=function(t){var e,n;this._cache.add(t);for(var i=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),i.push(n);return r.concat(i)},h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var n=-1;++n<e;)if(t[n+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},u.prototype.add=function(t){this.cache=r.concat([this.cache,t])},u.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=s[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=l(e,!1,n.key,n.iv);return d(t,i.key,i.iv)},e.createDecipheriv=d},QpuX:function(t,e,n){t.exports=n("+qE3").EventEmitter},QqdZ:function(t,e,n){"use strict";var i=n("0ROu").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}t.exports=function t(e,n,s){if("function"==typeof n)return t(e,null,n);n||(n={}),s=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t.apply(this,i)}}}(s||r);var o=n.readable||!1!==n.readable&&e.readable,a=n.writable||!1!==n.writable&&e.writable,c=function(){e.writable||h()},l=e._writableState&&e._writableState.finished,h=function(){a=!1,l=!0,o||s.call(e)},u=e._readableState&&e._readableState.endEmitted,d=function(){o=!1,u=!0,a||s.call(e)},f=function(t){s.call(e,t)},p=function(){var t;return o&&!u?(e._readableState&&e._readableState.ended||(t=new i),s.call(e,t)):a&&!l?(e._writableState&&e._writableState.ended||(t=new i),s.call(e,t)):void 0},b=function(){e.req.on("finish",h)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",h),e.on("abort",p),e.req?b():e.on("request",b)):a&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",d),e.on("finish",h),!1!==n.error&&e.on("error",f),e.on("close",p),function(){e.removeListener("complete",h),e.removeListener("abort",p),e.removeListener("request",b),e.req&&e.req.removeListener("finish",h),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",h),e.removeListener("end",d),e.removeListener("error",f),e.removeListener("close",p)}}},RKMU:function(t,e,n){"use strict";var i=n("N+aw"),r=n("86MQ"),s=r.assert,o=r.cachedProperty,a=r.parseBytes;function c(t,e){this.eddsa=t,"object"!=typeof e&&(e=a(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),s(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof i&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}o(c,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(c,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(c,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(c,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c},Rb7d:function(t,e){function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");var n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});var e=t.width&&t.width>=21?t.width:void 0;return{width:e,scale:e?4:t.scale||4,margin:null==t.margin||t.margin<0?4:t.margin,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,n){var i=e.getScale(t,n);return Math.floor((t+2*n.margin)*i)},e.qrToImageData=function(t,n,i){for(var r=n.modules.size,s=n.modules.data,o=e.getScale(r,i),a=Math.floor((r+2*i.margin)*o),c=i.margin*o,l=[i.color.light,i.color.dark],h=0;h<a;h++)for(var u=0;u<a;u++){var d=4*(h*a+u),f=i.color.light;h>=c&&u>=c&&h<a-c&&u<a-c&&(f=l[s[Math.floor((h-c)/o)*r+Math.floor((u-c)/o)]?1:0]),t[d++]=f.r,t[d++]=f.g,t[d++]=f.b,t[d]=f.a}}},RoFp:function(t,e,n){"use strict";var i=n("lm0R");function r(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||i.nextTick(r,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?(i.nextTick(r,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},SCoL:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return y}),n.d(e,"d",function(){return g}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return b}),n.d(e,"g",function(){return m});var i=n("8Y7J"),r=n("SVse");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(v){s=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.A)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.D))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(i.D))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})();const l=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function h(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(l),o;let t=document.createElement("input");return o=new Set(l.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let u,d,f,p;function b(t){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>u=!0}))}finally{u=u||!1}return u}()?t:!!t.capture}function m(){if(null==f)if("object"==typeof document&&document||(f=!1),"scrollBehavior"in document.documentElement.style)f=!0;else{const t=Element.prototype.scrollTo;f=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}return f}function g(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function y(t){if(function(){if(null==p){const t="undefined"!=typeof document?document.head:null;p=!(!t||!t.createShadowRoot&&!t.attachShadow)}return p}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},SVse:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return Dt}),n.d(e,"c",function(){return Ut}),n.d(e,"d",function(){return c}),n.d(e,"e",function(){return Mt}),n.d(e,"f",function(){return Ft}),n.d(e,"g",function(){return C}),n.d(e,"h",function(){return jt}),n.d(e,"i",function(){return u}),n.d(e,"j",function(){return x}),n.d(e,"k",function(){return y}),n.d(e,"l",function(){return It}),n.d(e,"m",function(){return dt}),n.d(e,"n",function(){return pt}),n.d(e,"o",function(){return mt}),n.d(e,"p",function(){return xt}),n.d(e,"q",function(){return _t}),n.d(e,"r",function(){return wt}),n.d(e,"s",function(){return Ct}),n.d(e,"t",function(){return St}),n.d(e,"u",function(){return w}),n.d(e,"v",function(){return l}),n.d(e,"w",function(){return Nt}),n.d(e,"x",function(){return Tt}),n.d(e,"y",function(){return Rt}),n.d(e,"z",function(){return Ht}),n.d(e,"A",function(){return Bt}),n.d(e,"B",function(){return zt}),n.d(e,"C",function(){return a}),n.d(e,"D",function(){return Vt}),n.d(e,"E",function(){return s}),n.d(e,"F",function(){return ut}),n.d(e,"G",function(){return o});var i=n("8Y7J");let r=null;function s(){return r}function o(t){r||(r=t)}class a{}const c=new i.s("DocumentToken");let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:h,token:t,providedIn:"platform"}),t})();function h(){return Object(i.Zb)(d)}const u=new i.s("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(c))},t.\u0275prov=Object(i.Lb)({factory:p,token:t,providedIn:"platform"}),t})();function f(){return!!window.history.pushState}function p(){return new d(Object(i.Zb)(c))}function b(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function g(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=Object(i.Zb)(c).location;return new w(Object(i.Zb)(l),e&&e.origin||"")}const _=new i.s("appBaseHref");let w=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return b(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+g(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+g(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+g(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(l),i.Zb(_,8))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=b(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+g(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+g(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(l),i.Zb(_,8))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(O(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+g(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+g(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+g(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(y),i.Zb(l))},t.normalizeQueryParams=g,t.joinWithSlash=b,t.stripTrailingSlash=m,t.\u0275prov=Object(i.Lb)({factory:S,token:t,providedIn:"root"}),t})();function S(){return new x(Object(i.Zb)(y),Object(i.Zb)(l))}function O(t){return t.replace(/\/index.html$/,"")}var A=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),k=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),E=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),L=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),D=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),I=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function P(t,e){return N(Object(i.nb)(t)[i.eb.DateFormat],e)}function T(t,e){return N(Object(i.nb)(t)[i.eb.TimeFormat],e)}function R(t,e){return N(Object(i.nb)(t)[i.eb.DateTimeFormat],e)}function M(t,e){const n=Object(i.nb)(t),r=n[i.eb.NumberSymbols][e];if(void 0===r){if(e===I.CurrencyDecimal)return n[i.eb.NumberSymbols][I.Decimal];if(e===I.CurrencyGroup)return n[i.eb.NumberSymbols][I.Group]}return r}const j=i.qb;function F(t){if(!t[i.eb.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.eb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function N(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function U(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const V=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,B={},z=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var H=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),W=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),Q=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function K(t,e,n,i){let r=function(t){if(rt(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,i]=t.split("-").map(t=>+t);return new Date(e,n-1,i)}let n;if(n=t.match(V))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,c=Number(t[6]||0),l=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,c,l),e}(n)}const e=new Date(t);if(!rt(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=q(n,e)||e;let s,o=[];for(;e;){if(s=z.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=r.getTimezoneOffset();i&&(a=it(i,a),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(it(e,i)-i))}(r,i));let c="";return o.forEach(t=>{const e=function(t){if(nt[t])return nt[t];let e;switch(t){case"G":case"GG":case"GGG":e=X(Q.Eras,L.Abbreviated);break;case"GGGG":e=X(Q.Eras,L.Wide);break;case"GGGGG":e=X(Q.Eras,L.Narrow);break;case"y":e=Z(W.FullYear,1,0,!1,!0);break;case"yy":e=Z(W.FullYear,2,0,!0,!0);break;case"yyy":e=Z(W.FullYear,3,0,!1,!0);break;case"yyyy":e=Z(W.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=Z(W.Month,1,1);break;case"MM":case"LL":e=Z(W.Month,2,1);break;case"MMM":e=X(Q.Months,L.Abbreviated);break;case"MMMM":e=X(Q.Months,L.Wide);break;case"MMMMM":e=X(Q.Months,L.Narrow);break;case"LLL":e=X(Q.Months,L.Abbreviated,E.Standalone);break;case"LLLL":e=X(Q.Months,L.Wide,E.Standalone);break;case"LLLLL":e=X(Q.Months,L.Narrow,E.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=Z(W.Date,1);break;case"dd":e=Z(W.Date,2);break;case"E":case"EE":case"EEE":e=X(Q.Days,L.Abbreviated);break;case"EEEE":e=X(Q.Days,L.Wide);break;case"EEEEE":e=X(Q.Days,L.Narrow);break;case"EEEEEE":e=X(Q.Days,L.Short);break;case"a":case"aa":case"aaa":e=X(Q.DayPeriods,L.Abbreviated);break;case"aaaa":e=X(Q.DayPeriods,L.Wide);break;case"aaaaa":e=X(Q.DayPeriods,L.Narrow);break;case"b":case"bb":case"bbb":e=X(Q.DayPeriods,L.Abbreviated,E.Standalone,!0);break;case"bbbb":e=X(Q.DayPeriods,L.Wide,E.Standalone,!0);break;case"bbbbb":e=X(Q.DayPeriods,L.Narrow,E.Standalone,!0);break;case"B":case"BB":case"BBB":e=X(Q.DayPeriods,L.Abbreviated,E.Format,!0);break;case"BBBB":e=X(Q.DayPeriods,L.Wide,E.Format,!0);break;case"BBBBB":e=X(Q.DayPeriods,L.Narrow,E.Format,!0);break;case"h":e=Z(W.Hours,1,-12);break;case"hh":e=Z(W.Hours,2,-12);break;case"H":e=Z(W.Hours,1);break;case"HH":e=Z(W.Hours,2);break;case"m":e=Z(W.Minutes,1);break;case"mm":e=Z(W.Minutes,2);break;case"s":e=Z(W.Seconds,1);break;case"ss":e=Z(W.Seconds,2);break;case"S":e=Z(W.FractionalSeconds,1);break;case"SS":e=Z(W.FractionalSeconds,2);break;case"SSS":e=Z(W.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=J(H.Short);break;case"ZZZZZ":e=J(H.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=J(H.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=J(H.Long);break;default:return null}return nt[t]=e,e}(t);c+=e?e(r,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function q(t,e){const n=function(t){return Object(i.nb)(t)[i.eb.LocaleId]}(t);if(B[n]=B[n]||{},B[n][e])return B[n][e];let r="";switch(e){case"shortDate":r=P(t,D.Short);break;case"mediumDate":r=P(t,D.Medium);break;case"longDate":r=P(t,D.Long);break;case"fullDate":r=P(t,D.Full);break;case"shortTime":r=T(t,D.Short);break;case"mediumTime":r=T(t,D.Medium);break;case"longTime":r=T(t,D.Long);break;case"fullTime":r=T(t,D.Full);break;case"short":const e=q(t,"shortTime"),n=q(t,"shortDate");r=Y(R(t,D.Short),[e,n]);break;case"medium":const i=q(t,"mediumTime"),s=q(t,"mediumDate");r=Y(R(t,D.Medium),[i,s]);break;case"long":const o=q(t,"longTime"),a=q(t,"longDate");r=Y(R(t,D.Long),[o,a]);break;case"full":const c=q(t,"fullTime"),l=q(t,"fullDate");r=Y(R(t,D.Full),[c,l])}return r&&(B[n][e]=r),r}function Y(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function G(t,e,n="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),s+o}function Z(t,e,n=0,i=!1,r=!1){return function(s,o){let a=function(t,e){switch(t){case W.FullYear:return e.getFullYear();case W.Month:return e.getMonth();case W.Date:return e.getDate();case W.Hours:return e.getHours();case W.Minutes:return e.getMinutes();case W.Seconds:return e.getSeconds();case W.FractionalSeconds:return e.getMilliseconds();case W.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,s);if((n>0||a>-n)&&(a+=n),t===W.Hours)0===a&&-12===n&&(a=12);else if(t===W.FractionalSeconds)return c=e,G(a,3).substr(0,c);var c;const l=M(o,I.MinusSign);return G(a,e,l,i,r)}}function X(t,e,n=E.Format,r=!1){return function(s,o){return function(t,e,n,r,s,o){switch(n){case Q.Months:return function(t,e,n){const r=Object(i.nb)(t),s=N([r[i.eb.MonthsFormat],r[i.eb.MonthsStandalone]],e);return N(s,n)}(e,s,r)[t.getMonth()];case Q.Days:return function(t,e,n){const r=Object(i.nb)(t),s=N([r[i.eb.DaysFormat],r[i.eb.DaysStandalone]],e);return N(s,n)}(e,s,r)[t.getDay()];case Q.DayPeriods:const a=t.getHours(),c=t.getMinutes();if(o){const t=function(t){const e=Object(i.nb)(t);return F(e),(e[i.eb.ExtraData][2]||[]).map(t=>"string"==typeof t?U(t):[U(t[0]),U(t[1])])}(e),n=function(t,e,n){const r=Object(i.nb)(t);F(r);const s=N([r[i.eb.ExtraData][0],r[i.eb.ExtraData][1]],e)||[];return N(s,n)||[]}(e,s,r),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=a>=e.hours&&c>=e.minutes,r=a<n.hours||a===n.hours&&c<n.minutes;if(e.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(t.hours===a&&t.minutes===c)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const r=Object(i.nb)(t),s=N([r[i.eb.DayPeriodsFormat],r[i.eb.DayPeriodsStandalone]],e);return N(s,n)}(e,s,r)[a<12?0:1];case Q.Eras:return function(t,e){return N(Object(i.nb)(t)[i.eb.Eras],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(s,o,t,e,n,r)}}function J(t){return function(e,n,i){const r=-1*i,s=M(n,I.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case H.Short:return(r>=0?"+":"")+G(o,2,s)+G(Math.abs(r%60),2,s);case H.ShortGMT:return"GMT"+(r>=0?"+":"")+G(o,1,s);case H.Long:return"GMT"+(r>=0?"+":"")+G(o,2,s)+":"+G(Math.abs(r%60),2,s);case H.Extended:return 0===i?"Z":(r>=0?"+":"")+G(o,2,s)+":"+G(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function $(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=$(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return G(r,t,M(i,I.MinusSign))}}function et(t,e=!1){return function(n,i){return G($(n).getFullYear(),t,M(i,I.MinusSign),e)}}const nt={};function it(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function rt(t){return t instanceof Date&&!isNaN(t.valueOf())}const st=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ot=".",at="0";function ct(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class lt{}let ht=(()=>{class t extends lt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(j(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.w))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();function ut(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let dt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.tb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.yb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.u),i.Pb(i.v),i.Pb(i.l),i.Pb(i.G))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ft{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let pt=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ft(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new bt(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new bt(t,r);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.S),i.Pb(i.O),i.Pb(i.u))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class bt{constructor(t,e){this.record=t,this.view=e}}let mt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new gt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){yt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){yt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.S),i.Pb(i.O))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class gt{constructor(){this.$implicit=null,this.ngIf=null}}function yt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.yb)(e)}'.`)}class vt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let _t=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),wt=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new vt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.S),i.Pb(i.O),i.Pb(_t,1))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Ct=(()=>{class t{constructor(t,e,n){n._addDefault(new vt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.S),i.Pb(i.O),i.Pb(_t,1))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),xt=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.v),i.Pb(i.G))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),St=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.S))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.Bb]}),t})();function Ot(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.yb)(t)}'`)}class At{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class kt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Et=new kt,Lt=new At;let Dt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.vb)(e))return Et;if(Object(i.ub)(e))return Lt;throw Ot(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.bc())},t.\u0275pipe=i.Ob({name:"async",type:t,pure:!1}),t})(),It=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ot(t,e);return e.toLowerCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Ob({name:"lowercase",type:t,pure:!0}),t})();const Pt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let Tt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ot(t,e);return e.replace(Pt,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Ob({name:"titlecase",type:t,pure:!0}),t})(),Rt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ot(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Ob({name:"uppercase",type:t,pure:!0}),t})(),Mt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return K(e,n,r||this.locale,i)}catch(s){throw Ot(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.w))},t.\u0275pipe=i.Ob({name:"date",type:t,pure:!0}),t})(),jt=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Ob({name:"json",type:t,pure:!1}),t})(),Ft=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(!function(t){return!(null==t||""===t||t!=t)}(e))return null;r=r||this._locale;try{return function(t,e,n){return function(t,e,n,i,r,s,o=!1){let a="",c=!1;if(isFinite(t)){let l=function(t){let e,n,i,r,s,o=Math.abs(t)+"",a=0;for((n=o.indexOf(ot))>-1&&(o=o.replace(ot,"")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;o.charAt(i)===at;i++);if(i===(s=o.length))e=[0],n=1;else{for(s--;o.charAt(s)===at;)s--;for(n-=i,e=[],r=0;i<=s;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(l=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(l));let h=e.minInt,u=e.minFrac,d=e.maxFrac;if(s){const t=s.match(st);if(null===t)throw new Error(s+" is not a valid digit info");const e=t[1],n=t[3],i=t[5];null!=e&&(h=ct(e)),null!=n&&(u=ct(n)),null!=i?d=ct(i):null!=n&&u>d&&(d=u)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const s=Math.min(Math.max(e,r),n);let o=s+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t<i.length;t++)i[t]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,o=s+1),i[0]=0;for(let t=1;t<o;t++)i[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r<Math.max(0,s);r++)i.push(0);let c=0!==s;const l=e+t.integerLen,h=i.reduceRight(function(t,e,n,i){return i[n]=(e+=t)<10?e:e-10,c&&(0===i[n]&&n>=l?i.pop():c=!1),e>=10?1:0},0);h&&(i.unshift(h),t.integerLen++)}(l,u,d);let f=l.digits,p=l.integerLen;const b=l.exponent;let m=[];for(c=f.every(t=>!t);p<h;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?m=f.splice(p,f.length):(m=f,f=[0]);const g=[];for(f.length>=e.lgSize&&g.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)g.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&g.unshift(f.join("")),a=g.join(M(n,i)),m.length&&(a+=M(n,r)+m.join("")),b&&(a+=M(n,I.Exponential)+"+"+b)}else a=M(n,I.Infinity);return a=t<0&&!c?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(ot)?r.split(ot):[r.substring(0,r.lastIndexOf(at)+1),r.substring(r.lastIndexOf(at)+1)],a=o[0],c=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let h=0;h<c.length;h++){const t=c.charAt(h);t===at?n.minFrac=n.maxFrac=h+1:"#"===t?n.maxFrac=h+1:n.posSuf+=t}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,s){const t=r.length-n.posPre.length-n.posSuf.length,e=s.indexOf("#");n.negPre=s.substr(0,e).replace(/'/g,""),n.negSuf=s.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return Object(i.nb)(t)[i.eb.NumberFormats][e]}(e,A.Decimal),M(e,I.MinusSign)),e,I.Group,I.Decimal,n)}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(e),r,n)}catch(s){throw Ot(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.w))},t.\u0275pipe=i.Ob({name:"number",type:t,pure:!0}),t})(),Nt=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw Ot(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Ob({name:"slice",type:t,pure:!1}),t})(),Ut=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[{provide:lt,useClass:ht}]}),t})();const Vt="browser";function Bt(t){return t===Vt}function zt(t){return"server"===t}let Ht=(()=>{class t{}return t.\u0275prov=Object(i.Lb)({token:t,providedIn:"root",factory:()=>new Wt(Object(i.Zb)(c),window,Object(i.Zb)(i.n))}),t})();class Wt{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Qt(this.window.history)||Qt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Qt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},Sc7j:function(t,e,n){"use strict";function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var i=t.entry;for(t.entry=null;i;){var r=i.callback;e.pendingcb--,r(void 0),i=i.next}e.corkedRequestsFree.next=t}(e,t)}}var r;t.exports=S,S.WritableState=x;var s,o={deprecate:n("t9FE")},a=n("8Spv"),c=n("tjlA").Buffer,l=global.Uint8Array||function(){},h=n("kBkV"),u=n("BfC4").getHighWaterMark,d=n("0ROu").codes,f=d.ERR_INVALID_ARG_TYPE,p=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,_=d.ERR_UNKNOWN_ENCODING,w=h.errorOrDestroy;function C(){}function x(t,e,s){r=r||n("Xn1i"),"boolean"!=typeof s&&(s=e instanceof r),this.objectMode=!!(t=t||{}).objectMode,s&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=u(this,t,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,i=n.sync,r=n.writecb;if("function"!=typeof r)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,i,r){--e.pendingcb,n?(process.nextTick(r,i),process.nextTick(D,t,e),t._writableState.errorEmitted=!0,w(t,i)):(r(i),t._writableState.errorEmitted=!0,w(t,i),D(t,e))}(t,n,i,e,r);else{var s=E(n)||t.destroyed;s||n.corked||n.bufferProcessing||!n.bufferedRequest||k(t,n),i?process.nextTick(A,t,n,s,r):A(t,n,s,r)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function S(t){var e=this instanceof(r=r||n("Xn1i"));if(!e&&!s.call(S,this))return new S(t);this._writableState=new x(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function O(t,e,n,i,r,s,o){e.writelen=i,e.writecb=o,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):n?t._writev(r,e.onwrite):t._write(r,s,e.onwrite),e.sync=!1}function A(t,e,n,i){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,i(),D(t,e)}function k(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=new Array(e.bufferedRequestCount),s=e.corkedRequestsFree;s.entry=n;for(var o=0,a=!0;n;)r[o]=n,n.isBuf||(a=!1),n=n.next,o+=1;r.allBuffers=a,O(t,e,!0,e.length,r,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk;if(O(t,e,!1,e.objectMode?1:c.length,c,n.encoding,n.callback),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function E(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function L(t,e){t._final(function(n){e.pendingcb--,n&&w(t,n),e.prefinished=!0,t.emit("prefinish"),D(t,e)})}function D(t,e){var n=E(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,process.nextTick(L,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}n("2q5Q")(S,a),x.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(x.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(t){return!!s.call(this,t)||this===S&&t&&t._writableState instanceof x}})):s=function(t){return t instanceof this},S.prototype.pipe=function(){w(this,new m)},S.prototype.write=function(t,e,n){var i,r=this._writableState,s=!1,o=!r.objectMode&&(c.isBuffer(i=t)||i instanceof l);return o&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"==typeof e&&(n=e,e=null),o?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=C),r.ending?function(t,e){var n=new v;w(t,n),process.nextTick(e,n)}(this,n):(o||function(t,e,n,i){var r;return null===n?r=new y:"string"==typeof n||e.objectMode||(r=new f("chunk",["string","Buffer"],n)),!r||(w(t,r),process.nextTick(i,r),!1)}(this,r,t,n))&&(r.pendingcb++,s=function(t,e,n,i,r,s){if(!n){var o=function(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=c.from(e,n)),e}(e,i,r);i!==o&&(n=!0,r="buffer",i=o)}var a=e.objectMode?1:i.length;e.length+=a;var l=e.length<e.highWaterMark;if(l||(e.needDrain=!0),e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:s,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else O(t,e,!1,a,i,r,s);return l}(this,r,o,t,e,n)),s},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||k(this,t))},S.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new _(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(t,e,n){n(new p("_write()"))},S.prototype._writev=null,S.prototype.end=function(t,e,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,D(t,e),n&&(e.finished?process.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),S.prototype.destroy=h.destroy,S.prototype._undestroy=h.undestroy,S.prototype._destroy=function(t,e){e(t)}},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),o=n("kJWO"),a=n("I55L"),c=n("c2HN"),l=n("XoHu");const h=t=>{if(t&&"function"==typeof t[o.a])return h=t,t=>{const e=h[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(i.a)(t);if(Object(c.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&"function"==typeof t[s.a])return e=t,t=>{const n=e[s.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(l.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,h}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},SqCe:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return x});var i=n("SVse"),r=n("8Y7J"),s=n("UhP/"),o=n("8LU1"),a=n("XNiG"),c=n("1G5W"),l=(n("JX91"),n("YEUz"),n("CtHx"),n("Ht+U"),n("s7LF"),n("BSbQ"));const h=["*"],u=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],d=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class f{}const p=Object(s.z)(Object(s.y)(f));class b{}const m=Object(s.y)(b),g=new r.s("MatList"),y=new r.s("MatNavList");let v=(()=>{class t extends p{constructor(t){super(),this._elementRef=t,this._stateChanges=new a.a,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l))},t.\u0275cmp=r.Jb({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[r.Cb([{provide:g,useExisting:t}]),r.Ab,r.Bb],ngContentSelectors:h,decls:1,vars:0,template:function(t,e){1&t&&(r.nc(),r.mc(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Kb({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Kb({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),C=(()=>{class t extends m{constructor(t,e,n,i){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new a.a,this._disabled=!1,this._isInteractiveList=!!(n||i&&"action-list"===i._getListType()),this._list=n||i;const r=this._getHostElement();"button"!==r.nodeName.toLowerCase()||r.hasAttribute("type")||r.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(Object(c.a)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=Object(o.c)(t)}ngAfterContentInit(){Object(s.D)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(r.h),r.Pb(y,8),r.Pb(g,8))},t.\u0275cmp=r.Jb({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){if(1&t&&(r.Ib(n,_,!0),r.Ib(n,w,!0),r.Ib(n,s.j,!0)),2&t){let t;r.vc(t=r.ec())&&(e._avatar=t.first),r.vc(t=r.ec())&&(e._icon=t.first),r.vc(t=r.ec())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&r.Hb("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[r.Ab],ngContentSelectors:d,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(r.nc(u),r.Vb(0,"div",0),r.Qb(1,"div",1),r.mc(2),r.Vb(3,"div",2),r.mc(4,1),r.Ub(),r.mc(5,2),r.Ub()),2&t&&(r.Db(1),r.oc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[s.r],encapsulation:2,changeDetection:0}),t})(),x=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},imports:[[s.k,s.s,s.i,s.q,i.c],s.k,s.i,s.q,l.b]}),t})()},SxV6:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("sVev"),r=n("pLZG"),s=n("IzEk"),o=n("xbPD"),a=n("XDbj"),c=n("SpAZ");function l(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(r.a)((e,n)=>t(e,n,l)):c.a,Object(s.a)(1),n?Object(o.a)(e):Object(a.a)(()=>new i.a))}},T9HO:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),s=n("hwdV").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,r.call(this,128,112)}function l(t,e,n){return n^t&(e^n)}function h(t,e,n){return t&e|n&(t|e)}function u(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function d(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function f(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function g(t,e){return t>>>0<e>>>0?1:0}i(c,r),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,n=0|this._ah,i=0|this._bh,r=0|this._ch,s=0|this._dh,a=0|this._eh,c=0|this._fh,y=0|this._gh,v=0|this._hh,_=0|this._al,w=0|this._bl,C=0|this._cl,x=0|this._dl,S=0|this._el,O=0|this._fl,A=0|this._gl,k=0|this._hl,E=0;E<32;E+=2)e[E]=t.readInt32BE(4*E),e[E+1]=t.readInt32BE(4*E+4);for(;E<160;E+=2){var L=e[E-30],D=e[E-30+1],I=f(L,D),P=p(D,L),T=b(L=e[E-4],D=e[E-4+1]),R=m(D,L),M=e[E-32],j=e[E-32+1],F=P+e[E-14+1]|0,N=I+e[E-14]+g(F,P)|0;N=(N=N+T+g(F=F+R|0,R)|0)+M+g(F=F+j|0,j)|0,e[E]=N,e[E+1]=F}for(var U=0;U<160;U+=2){N=e[U],F=e[U+1];var V=h(n,i,r),B=h(_,w,C),z=u(n,_),H=u(_,n),W=d(a,S),Q=d(S,a),K=o[U],q=o[U+1],Y=l(a,c,y),G=l(S,O,A),Z=k+Q|0,X=v+W+g(Z,k)|0;X=(X=(X=X+Y+g(Z=Z+G|0,G)|0)+K+g(Z=Z+q|0,q)|0)+N+g(Z=Z+F|0,F)|0;var J=H+B|0,$=z+V+g(J,H)|0;v=y,k=A,y=c,A=O,c=a,O=S,a=s+X+g(S=x+Z|0,x)|0,s=r,x=C,r=i,C=w,i=n,w=_,n=X+$+g(_=Z+J|0,Z)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+C|0,this._dl=this._dl+x|0,this._el=this._el+S|0,this._fl=this._fl+O|0,this._gl=this._gl+A|0,this._hl=this._hl+k|0,this._ah=this._ah+n+g(this._al,_)|0,this._bh=this._bh+i+g(this._bl,w)|0,this._ch=this._ch+r+g(this._cl,C)|0,this._dh=this._dh+s+g(this._dl,x)|0,this._eh=this._eh+a+g(this._el,S)|0,this._fh=this._fh+c+g(this._fl,O)|0,this._gh=this._gh+y+g(this._gl,A)|0,this._hh=this._hh+v+g(this._hl,k)|0},c.prototype._hash=function(){var t=s.allocUnsafe(64);function e(e,n,i){t.writeInt32BE(e,i),t.writeInt32BE(n,i+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=c},"TN/R":function(t,e,n){"use strict";n.d(e,"a",function(){return gt}),n.d(e,"b",function(){return xt}),n.d(e,"c",function(){return At}),n.d(e,"d",function(){return Ot});var i=n("YEUz"),r=n("1O3W"),s=n("1z/I"),o=n("SVse"),a=n("8Y7J"),c=n("Dxy4"),l=n("iELJ"),h=n("7KAL"),u=n("UhP/"),d=n("XNiG"),f=n("quSY"),p=n("VRyK"),b=n("LRne"),m=n("Ht+U"),g=n("IzEk"),y=n("JX91"),v=n("pLZG"),_=n("8LU1"),w=n("GS7A"),C=n("s7LF"),x=n("Q2Ze"),S=n("e6WT"),O=n("9gLZ");const A=["mat-calendar-body",""];function k(t,e){if(1&t&&(a.Vb(0,"tr",2),a.Vb(1,"td",3),a.Kc(2),a.Ub(),a.Ub()),2&t){const t=a.hc();a.Db(1),a.Fc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.Eb("colspan",t.numCols),a.Db(1),a.Mc(" ",t.label," ")}}function E(t,e){if(1&t&&(a.Vb(0,"td",7),a.Kc(1),a.Ub()),2&t){const t=a.hc(2);a.Fc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.Eb("colspan",t._firstRowOffset),a.Db(1),a.Mc(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function L(t,e){if(1&t){const t=a.Wb();a.Vb(0,"td",8),a.dc("click",function(n){a.zc(t);const i=e.$implicit;return a.hc(2)._cellClicked(i,n)}),a.Vb(1,"div",9),a.Kc(2),a.Ub(),a.Qb(3,"div",10),a.Ub()}if(2&t){const t=e.$implicit,n=e.index,i=a.hc().index,r=a.hc();a.Fc("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),a.Hb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",r._isActiveCell(i,n))("mat-calendar-body-range-start",r._isRangeStart(t.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",r._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(t.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(t.compareValue,i,n))("mat-calendar-body-comparison-start",r._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",r._isInPreview(t.compareValue)),a.oc("ngClass",t.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),a.Eb("data-mat-row",i)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",r._isSelected(t.compareValue)),a.Db(1),a.Hb("mat-calendar-body-selected",r._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",r.todayValue===t.compareValue),a.Db(1),a.Mc(" ",t.displayValue," ")}}function D(t,e){if(1&t&&(a.Vb(0,"tr",4),a.Ic(1,E,2,6,"td",5),a.Ic(2,L,4,46,"td",6),a.Ub()),2&t){const t=e.$implicit,n=e.index,i=a.hc();a.Db(1),a.oc("ngIf",0===n&&i._firstRowOffset),a.Db(1),a.oc("ngForOf",t)}}function I(t,e){if(1&t&&(a.Vb(0,"th",5),a.Kc(1),a.Ub()),2&t){const t=e.$implicit;a.Eb("aria-label",t.long),a.Db(1),a.Lc(t.narrow)}}const P=["*"];function T(t,e){}function R(t,e){if(1&t){const t=a.Wb();a.Vb(0,"mat-month-view",5),a.dc("activeDateChange",function(e){return a.zc(t),a.hc().activeDate=e})("_userSelection",function(e){return a.zc(t),a.hc()._dateSelected(e)}),a.Ub()}if(2&t){const t=a.hc();a.oc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function M(t,e){if(1&t){const t=a.Wb();a.Vb(0,"mat-year-view",6),a.dc("activeDateChange",function(e){return a.zc(t),a.hc().activeDate=e})("monthSelected",function(e){return a.zc(t),a.hc()._monthSelectedInYearView(e)})("selectedChange",function(e){return a.zc(t),a.hc()._goToDateInView(e,"month")}),a.Ub()}if(2&t){const t=a.hc();a.oc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function j(t,e){if(1&t){const t=a.Wb();a.Vb(0,"mat-multi-year-view",7),a.dc("activeDateChange",function(e){return a.zc(t),a.hc().activeDate=e})("yearSelected",function(e){return a.zc(t),a.hc()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return a.zc(t),a.hc()._goToDateInView(e,"year")}),a.Ub()}if(2&t){const t=a.hc();a.oc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}const F=["button"];function N(t,e){1&t&&(a.gc(),a.Vb(0,"svg",3),a.Qb(1,"path",4),a.Ub())}const U=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"];let B=(()=>{class t{constructor(){this.changes=new d.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class z{constructor(t,e,n,i,r={},s=t,o){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=o}}let H=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.o,this.previewChange=new a.o,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&W(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(g.a)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return Q(t,this.startValue,this.endValue)}_isRangeEnd(t){return K(t,this.startValue,this.endValue)}_isInRange(t){return q(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Q(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return K(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return q(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Q(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return K(t,this.previewStart,this.previewEnd)}_isInPreview(t){return q(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(W(t)?e=t:W(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.B))},t.\u0275cmp=a.Jb({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[a.Bb],attrs:A,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(a.Ic(0,k,3,6,"tr",0),a.Ic(1,D,3,2,"tr",1)),2&t&&(a.oc("ngIf",e._firstRowOffset<e.labelMinRequiredCells),a.Db(1),a.oc("ngForOf",e.rows))},directives:[o.o,o.n,o.m],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function W(t){return"TD"===t.nodeName}function Q(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function K(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function q(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}class Y{constructor(t,e){this.start=t,this.end=e}}let G=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new d.a,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(void 0),a.Pb(u.c))},t.\u0275dir=a.Kb({type:t}),t})(),Z=(()=>{class t extends G{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}}return t.\u0275fac=function(e){return new(e||t)(a.Zb(u.c))},t.\u0275prov=a.Lb({token:t,factory:t.\u0275fac}),t})();const X={provide:G,deps:[[new a.C,new a.M,G],u.c],useFactory:function(t,e){return t||new Z(e)}},J=new a.s("MAT_DATE_RANGE_SELECTION_STRATEGY");let $=(()=>{class t{constructor(t,e,n,i,r){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=r,this._rerenderSubscription=f.a.EMPTY,this.selectedChange=new a.o,this._userSelection=new a.o,this.activeDateChange=new a.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Y?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,e);let s,o;this._selected instanceof Y?(s=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):s=o=this._getDateInCurrentMonth(this._selected),s===e&&o===e||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:t.event})}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case m.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case m.l:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case m.o:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case m.c:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case m.g:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case m.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case m.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case m.j:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case m.e:case m.m:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case m.f:return void(null==this._previewEnd||Object(m.r)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),r=this._shouldEnableDate(t),s=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),o=this.dateClass?this.dateClass(t,"month"):void 0;this._weeks[this._weeks.length-1].push(new z(n+1,e[n],s,r,o,this._getCellCompareValue(t),t))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof Y?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.h),a.Pb(u.e,8),a.Pb(u.c,8),a.Pb(O.b,8),a.Pb(J,8))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&a.Pc(H,!0),2&t){let t;a.vc(t=a.ec())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.Bb],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(a.Vb(0,"table",0),a.Vb(1,"thead",1),a.Vb(2,"tr"),a.Ic(3,I,2,2,"th",2),a.Ub(),a.Vb(4,"tr"),a.Qb(5,"th",3),a.Ub(),a.Ub(),a.Vb(6,"tbody",4),a.dc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.Ub(),a.Ub()),2&t&&(a.Db(3),a.oc("ngForOf",e._weekdays),a.Db(3),a.oc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[o.n,H],encapsulation:2,changeDetection:0}),t})();const tt=24;let et=(()=>{class t{constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=f.a.EMPTY,this.selectedChange=new a.o,this.yearSelected=new a.o,this.activeDateChange=new a.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),nt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Y?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<tt;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case m.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case m.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case m.o:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case m.c:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case m.g:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case m.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,tt-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case m.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case m.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:tt);break;case m.e:case m.m:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new z(t,n,n,this._shouldEnableYear(t),i)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(t){if(this._selectedYear=null,t instanceof Y){const e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.h),a.Pb(u.c,8),a.Pb(O.b,8))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(t,e){if(1&t&&a.Pc(H,!0),2&t){let t;a.vc(t=a.ec())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(a.Vb(0,"table",0),a.Vb(1,"thead",1),a.Vb(2,"tr"),a.Qb(3,"th",2),a.Ub(),a.Ub(),a.Vb(4,"tbody",3),a.dc("selectedValueChange",function(t){return e._yearSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.Ub(),a.Ub()),2&t&&(a.Db(4),a.oc("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[H],encapsulation:2,changeDetection:0}),t})();function nt(t,e,n,i,r){const s=t.getYear(e),o=t.getYear(n),a=rt(t,i,r);return Math.floor((s-a)/tt)===Math.floor((o-a)/tt)}function it(t,e,n,i){return((t.getYear(e)-rt(t,n,i))%tt+24)%24}function rt(t,e,n){let i=0;return n?i=t.getYear(n)-tt+1:e&&(i=t.getYear(e)),i}let st=(()=>{class t{constructor(t,e,n,i){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=f.a.EMPTY,this.selectedChange=new a.o,this.monthSelected=new a.o,this.activeDateChange=new a.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Y?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case m.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case m.l:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case m.o:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case m.c:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case m.g:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case m.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case m.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case m.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case m.e:case m.m:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new z(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),r)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(t){this._selectedMonth=t instanceof Y?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.h),a.Pb(u.e,8),a.Pb(u.c,8),a.Pb(O.b,8))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-year-view"]],viewQuery:function(t,e){if(1&t&&a.Pc(H,!0),2&t){let t;a.vc(t=a.ec())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(a.Vb(0,"table",0),a.Vb(1,"thead",1),a.Vb(2,"tr"),a.Qb(3,"th",2),a.Ub(),a.Ub(),a.Vb(4,"tbody",3),a.dc("selectedValueChange",function(t){return e._monthSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.Ub(),a.Ub()),2&t&&(a.Db(4),a.oc("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[H],encapsulation:2,changeDetection:0}),t})(),ot=0,at=(()=>{class t{constructor(t,e,n,i,r){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+ot++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-it(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+tt-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:tt)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):nt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(B),a.Pb(Object(a.X)(()=>ct)),a.Pb(u.c,8),a.Pb(u.e,8),a.Pb(a.h))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:P,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(a.nc(),a.Vb(0,"div",0),a.Vb(1,"div",1),a.Vb(2,"button",2),a.dc("click",function(){return e.currentPeriodClicked()}),a.Vb(3,"span"),a.Kc(4),a.Ub(),a.Qb(5,"div",3),a.Ub(),a.Qb(6,"div",4),a.mc(7),a.Vb(8,"button",5),a.dc("click",function(){return e.previousClicked()}),a.Ub(),a.Vb(9,"button",6),a.dc("click",function(){return e.nextClicked()}),a.Ub(),a.Ub(),a.Ub()),2&t&&(a.Db(2),a.Eb("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),a.Db(1),a.Eb("id",e._buttonDescriptionId),a.Db(1),a.Lc(e.periodButtonText),a.Db(1),a.Hb("mat-calendar-invert","month"!==e.calendar.currentView),a.Db(3),a.oc("disabled",!e.previousEnabled()),a.Eb("aria-label",e.prevButtonLabel),a.Db(1),a.oc("disabled",!e.nextEnabled()),a.Eb("aria-label",e.nextButtonLabel))},directives:[c.a,i.d],encapsulation:2,changeDetection:0}),t})(),ct=(()=>{class t{constructor(t,e,n,i){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.o,this.yearSelected=new a.o,this.monthSelected=new a.o,this.viewChanged=new a.o(!0),this._userSelection=new a.o,this.stateChanges=new d.a,this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof Y?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new s.d(this.headerComponent||at),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof Y||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(B),a.Pb(u.c,8),a.Pb(u.e,8),a.Pb(a.h))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(a.Pc($,!0),a.Pc(st,!0),a.Pc(et,!0)),2&t){let t;a.vc(t=a.ec())&&(e.monthView=t.first),a.vc(t=a.ec())&&(e.yearView=t.first),a.vc(t=a.ec())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a.Cb([X]),a.Bb],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(a.Ic(0,T,0,0,"ng-template",0),a.Vb(1,"div",1),a.Ic(2,R,1,8,"mat-month-view",2),a.Ic(3,M,1,6,"mat-year-view",3),a.Ic(4,j,1,6,"mat-multi-year-view",4),a.Ub()),2&t&&(a.oc("cdkPortalOutlet",e._calendarHeaderPortal),a.Db(1),a.oc("ngSwitch",e.currentView),a.Db(1),a.oc("ngSwitchCase","month"),a.Db(1),a.oc("ngSwitchCase","year"),a.Db(1),a.oc("ngSwitchCase","multi-year"))},directives:[s.c,i.e,o.q,o.r,$,st,et],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),t})();const lt={transformPanel:Object(w.n)("transformPanel",[Object(w.k)("void",Object(w.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(w.m)("void => enter",Object(w.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(w.l)({opacity:1,transform:"scale(1, 1)"}))),Object(w.m)("* => void",Object(w.e)("100ms linear",Object(w.l)({opacity:0})))]),fadeInCalendar:Object(w.n)("fadeInCalendar",[Object(w.k)("void",Object(w.l)({opacity:0})),Object(w.k)("enter",Object(w.l)({opacity:1})),Object(w.m)("void => *",Object(w.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ht=0;const ut=new a.s("mat-datepicker-scroll-strategy"),dt={provide:ut,deps:[r.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class ft{constructor(t){this._elementRef=t}}const pt=Object(u.x)(ft);let bt=(()=>{class t extends pt{constructor(t,e,n,i,r,s){super(t),this._changeDetectorRef=e,this._model=n,this._dateAdapter=i,this._rangeSelectionStrategy=r,this._subscriptions=new f.a,this._animationState="enter",this._animationDone=new d.a,this._closeButtonText=(null==s?void 0:s.closeCalendarLabel)||"Close calendar"}ngAfterViewInit(){this._subscriptions.add(this.datepicker._stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const e=this._model.selection,n=t.value,i=e instanceof Y;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,e)||this._model.add(n);this._model&&!this._model.isComplete()||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(a.h),a.Pb(G),a.Pb(u.c),a.Pb(J,8),a.Pb(B))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&a.Pc(ct,!0),2&t){let t;a.vc(t=a.ec())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&a.Gc("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(a.Hc("@transformPanel",e._animationState),a.Hb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.Ab],decls:4,vars:16,consts:[["cdkTrapFocus",""],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],["type","button","mat-raised-button","","color","primary",1,"mat-datepicker-close-button",3,"focus","blur","click"]],template:function(t,e){1&t&&(a.Vb(0,"div",0),a.Vb(1,"mat-calendar",1),a.dc("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),a.Ub(),a.Vb(2,"button",2),a.dc("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),a.Kc(3),a.Ub(),a.Ub()),2&t&&(a.Db(1),a.oc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),a.Db(1),a.Hb("cdk-visually-hidden",!e._closeButtonFocused),a.Db(1),a.Lc(e._closeButtonText))},directives:[i.f,ct,o.m,c.a],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[lt.transformPanel,lt.fadeInCalendar]},changeDetection:0}),t})(),mt=(()=>{class t{constructor(t,e,n,i,r,s,o,c,l){this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=s,this._dir=o,this._document=c,this._model=l,this._inputStateChanges=f.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new a.o,this.monthSelected=new a.o,this.viewChanged=new a.o(!0),this.openedStream=new a.o,this.closedStream=new a.o,this._opened=!1,this.id="mat-datepicker-"+ht++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new d.a,this._scrollStrategy=r}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(_.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(_.c)(t);e!==this._disabled&&(this._disabled=e,this._stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=Object(_.g)(t)}get opened(){return this._opened}set opened(t){Object(_.c)(t)?this.open():this.close()}_getMinDate(){return this._datepickerInput&&this._datepickerInput.min}_getMaxDate(){return this._datepickerInput&&this._datepickerInput.max}_getDateFilter(){return this._datepickerInput&&this._datepickerInput.dateFilter}ngOnChanges(t){const e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}_registerInput(t){return this._inputStateChanges.unsubscribe(),this._datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this._stateChanges.next(void 0)),this._model}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(g.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(bt,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const t=new s.d(bt,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(t),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(g.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(t){t.datepicker=this,t.color=this.color}_createPopup(){const t=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),e=new r.d({positionStrategy:this._setConnectedPositions(t),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(p.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(v.a)(t=>t.keyCode===m.f&&!Object(m.r)(t)||this._datepickerInput&&Object(m.r)(t,"altKey")&&t.keyCode===m.o))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(l.c),a.Pb(r.c),a.Pb(a.B),a.Pb(a.S),a.Pb(ut),a.Pb(u.c,8),a.Pb(O.b,8),a.Pb(o.d,8),a.Pb(G))},t.\u0275dir=a.Kb({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.Bb]}),t})(),gt=(()=>{class t extends mt{}return t.\u0275fac=function(e){return yt(e||t)},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a.Cb([X]),a.Ab],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const yt=a.Xb(gt);class vt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let _t=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new a.o,this.dateInput=new a.o,this._valueChange=new a.o,this.stateChanges=new d.a,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=f.a.EMPTY,this._localeSubscription=f.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMinDate();return!n||!e||this._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMaxDate();return!n||!e||this._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t);const e=this.value;this._assignValue(t),this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=Object(_.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(t.source!==this){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this._canEmitChangeEvent(t)&&(this.dateInput.emit(new vt(this,this._elementRef.nativeElement)),this.dateChange.emit(new vt(this,this._elementRef.nativeElement))),this._outsideValueChanged&&this._outsideValueChanged()}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const n=Object.keys(t);for(let i of n){const{previousValue:n,currentValue:r}=t[i];if(!e.isDateInstance(n)||!e.isDateInstance(r))return!0;if(!e.sameDate(n,r))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===m.c&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new vt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new vt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(u.c,8),a.Pb(u.e,8))},t.\u0275dir=a.Kb({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.Bb]}),t})();const wt={provide:C.k,useExisting:Object(a.X)(()=>xt),multi:!0},Ct={provide:C.j,useExisting:Object(a.X)(()=>xt),multi:!0};let xt=(()=>{class t extends _t{constructor(t,e,n,i){super(t,e,n),this._formField=i,this._validator=C.t.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._registerModel(t._registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_canEmitChangeEvent(){return!0}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.l),a.Pb(u.c,8),a.Pb(u.e,8),a.Pb(x.a,8))},t.\u0275dir=a.Kb({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&a.dc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(a.Yb("disabled",e.disabled),a.Eb("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a.Cb([wt,Ct,{provide:S.a,useExisting:t}]),a.Ab]}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Kb({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),Ot=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=f.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(_.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._stateChanges:Object(b.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:Object(b.a)(),n=this.datepicker?Object(p.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(b.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(p.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(B),a.Pb(a.h),a.ac("tabindex"))},t.\u0275cmp=a.Jb({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&a.Ib(n,St,!0),2&t){let t;a.vc(t=a.ec())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&a.Pc(F,!0),2&t){let t;a.vc(t=a.ec())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&a.dc("focus",function(){return e._button.focus()}),2&t&&(a.Eb("tabindex",e.disabled?null:-1)("data-mat-calendar",e.datepicker?e.datepicker.id:null),a.Hb("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.Bb],ngContentSelectors:V,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(a.nc(U),a.Vb(0,"button",0,1),a.dc("click",function(t){return e._open(t)}),a.Ic(2,N,2,0,"svg",2),a.mc(3),a.Ub()),2&t&&(a.oc("disabled",e.disabled)("disableRipple",e.disableRipple),a.Eb("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),a.Db(2),a.oc("ngIf",!e._customIcon))},directives:[c.a,o.o],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),At=(()=>{class t{}return t.\u0275mod=a.Nb({type:t}),t.\u0275inj=a.Mb({factory:function(e){return new(e||t)},providers:[B,dt],imports:[[o.c,c.b,l.e,r.f,i.a,s.h,u.i],h.b]}),t})()},TdD3:function(t,e,n){var i=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=n("roQf"),a=n("/ab2"),c=n("hwdV").Buffer;t.exports=function(t,e){var n,l=t.toString(),h=l.match(i);if(h){var u="aes"+h[1],d=c.from(h[2],"hex"),f=c.from(h[3].replace(/[\r\n]/g,""),"base64"),p=o(e,d.slice(0,8),parseInt(h[1],10)).key,b=[],m=a.createDecipheriv(u,p,d);b.push(m.update(f)),b.push(m.final()),n=c.concat(b)}else{var g=l.match(s);n=c.from(g[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(r)[1],data:n}}},Titl:function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM"),s=n("Xudb"),o=n("AYSA");function a(){this.tmp=new Array(2),this.keys=null}function c(t){o.call(this,t);var e=new a;this._desState=e,this.deriveKeys(e,t.key)}r(c,o),t.exports=c,c.create=function(t){return new c(t)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,e){t.keys=new Array(32),i.equal(e.length,this.blockSize,"Invalid key length");var n=s.readUInt32BE(e,0),r=s.readUInt32BE(e,4);s.pc1(n,r,t.tmp,0),n=t.tmp[0],r=t.tmp[1];for(var o=0;o<t.keys.length;o+=2){var a=l[o>>>1];n=s.r28shl(n,a),r=s.r28shl(r,a),s.pc2(n,r,t.keys,o)}},c.prototype._update=function(t,e,n,i){var r=this._desState,o=s.readUInt32BE(t,e),a=s.readUInt32BE(t,e+4);s.ip(o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],"encrypt"===this.type?this._encrypt(r,o,a,r.tmp,0):this._decrypt(r,o,a,r.tmp,0),a=r.tmp[1],s.writeUInt32BE(n,o=r.tmp[0],i),s.writeUInt32BE(n,a,i+4)},c.prototype._pad=function(t,e){for(var n=t.length-e,i=e;i<t.length;i++)t[i]=n;return!0},c.prototype._unpad=function(t){for(var e=t[t.length-1],n=t.length-e;n<t.length;n++)i.equal(t[n],e);return t.slice(0,t.length-e)},c.prototype._encrypt=function(t,e,n,i,r){for(var o=e,a=n,c=0;c<t.keys.length;c+=2){var l=t.keys[c],h=t.keys[c+1];s.expand(a,t.tmp,0);var u=s.substitute(l^=t.tmp[0],h^=t.tmp[1]),d=a;a=(o^s.permute(u))>>>0,o=d}s.rip(a,o,i,r)},c.prototype._decrypt=function(t,e,n,i,r){for(var o=n,a=e,c=t.keys.length-2;c>=0;c-=2){var l=t.keys[c],h=t.keys[c+1];s.expand(o,t.tmp,0);var u=s.substitute(l^=t.tmp[0],h^=t.tmp[1]),d=o;o=(a^s.permute(u))>>>0,a=d}s.rip(o,a,i,r)}},Tj54:function(t,e,n){"use strict";n.d(e,"a",function(){return T}),n.d(e,"b",function(){return R});var i=n("8Y7J"),r=n("UhP/"),s=n("8LU1"),o=n("SVse"),a=n("LRne"),c=n("z6cu"),l=n("cp0P"),h=n("quSY"),u=n("vkgz"),d=n("lJxs"),f=n("JIr8"),p=n("nYR2"),b=n("w1tV"),m=n("IzEk"),g=n("IheW"),y=n("cUpR");const v=["*"];function _(t){return Error(`Unable to find icon with the name "${t}"`)}function w(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function C(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class x{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let S=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,null,i))}addSvgIconLiteralInNamespace(t,e,n,r){const s=this._sanitizer.sanitize(i.K.HTML,n);if(!s)throw C(n);return this._addSvgIconConfig(t,e,new x("",s,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.K.HTML,e);if(!r)throw C(e);return this._addSvgIconSetConfig(t,new x("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.K.RESOURCE_URL,t);if(!e)throw w(t);const n=this._cachedIconsByUrl.get(e);return n?Object(a.a)(O(n)):this._loadSvgIconFromConfig(new x(t,null)).pipe(Object(u.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(d.a)(t=>O(t)))}getNamedSvgIcon(t,e=""){const n=A(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(c.a)(_(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(a.a)(O(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(d.a)(t=>O(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(a.a)(n);const r=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(f.a)(e=>{const n=this._sanitizer.sanitize(i.K.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(a.a)(null)})));return Object(l.a)(r).pipe(Object(d.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw _(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(u.a)(e=>t.svgText=e),Object(d.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(a.a)(null):this._fetchIcon(t).pipe(Object(u.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString("<svg></svg>");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:r}=n[i];"id"!==t&&e.setAttribute(t,r)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:r}=t,s=null!==(e=null==r?void 0:r.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(i.K.RESOURCE_URL,n);if(!o)throw w(n);const a=this._inProgressUrlFetches.get(o);if(a)return a;const c=this._httpClient.get(o,{responseType:"text",withCredentials:s}).pipe(Object(p.a)(()=>this._inProgressUrlFetches.delete(o)),Object(b.a)());return this._inProgressUrlFetches.set(o,c),c}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(A(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(g.b,8),i.Zb(y.b),i.Zb(o.d,8),i.Zb(i.n))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(g.b,8),Object(i.Zb)(y.b),Object(i.Zb)(o.d,8),Object(i.Zb)(i.n))},token:t,providedIn:"root"}),t})();function O(t){return t.cloneNode(!0)}function A(t,e){return t+":"+e}class k{constructor(t){this._elementRef=t}}const E=Object(r.x)(k),L=new i.s("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(i.Y)(o.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),D=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],I=D.map(t=>`[${t}]`).join(", "),P=/^url\(['"]?#(.*?)['"]?\)$/;let T=(()=>{class t extends E{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=h.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(s.c)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i<e.length;i++)e[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(I),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)D.forEach(t=>{const r=e[i],s=r.getAttribute(t),o=s?s.match(P):null;if(o){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(Object(m.a)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(S),i.ac("aria-hidden"),i.Pb(L),i.Pb(i.n))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Eb("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.Hb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.Ab],ngContentSelectors:v,decls:1,vars:0,template:function(t,e){1&t&&(i.nc(),i.mc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),R=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.i],r.i]}),t})()},UWVS:function(t,e,n){var i=n("jIre");function r(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(t,e){for(;t._cache.length<e.length;)t._cache=Buffer.concat([t._cache,r(t)]);var n=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),i(e,n)}},"UhP/":function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return L}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return D}),n.d(e,"f",function(){return ct}),n.d(e,"g",function(){return ut}),n.d(e,"h",function(){return J}),n.d(e,"i",function(){return w}),n.d(e,"j",function(){return z}),n.d(e,"k",function(){return Q}),n.d(e,"l",function(){return V}),n.d(e,"m",function(){return ft}),n.d(e,"n",function(){return mt}),n.d(e,"o",function(){return ht}),n.d(e,"p",function(){return et}),n.d(e,"q",function(){return nt}),n.d(e,"r",function(){return $}),n.d(e,"s",function(){return tt}),n.d(e,"t",function(){return F}),n.d(e,"u",function(){return X}),n.d(e,"v",function(){return pt}),n.d(e,"w",function(){return bt}),n.d(e,"x",function(){return x}),n.d(e,"y",function(){return S}),n.d(e,"z",function(){return C}),n.d(e,"A",function(){return A}),n.d(e,"B",function(){return k}),n.d(e,"C",function(){return O}),n.d(e,"D",function(){return H});var i=n("8Y7J"),r=n("YEUz"),s=n("9gLZ");const o=new i.R("11.0.3");var a=n("SVse"),c=n("8LU1"),l=n("XNiG"),h=n("HDdC"),u=n("SCoL"),d=n("JX91"),f=n("omvX"),p=n("Ht+U");function b(t,e){if(1&t&&i.Qb(0,"mat-pseudo-checkbox",3),2&t){const t=i.hc();i.oc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const m=["*"];let g=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),y=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const v=new i.R("11.0.3"),_=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let w=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.Z)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&v.full!==o.full&&console.warn("The Angular Material version ("+v.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)(i.Zb(r.j),i.Zb(_,8),i.Zb(a.d))},imports:[[s.a],s.a]}),t})();function C(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(c.c)(t)}}}function x(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}}function S(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(c.c)(t)}}}function O(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Object(c.f)(t):this.defaultTabIndex}}}function A(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function k(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new h.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const E=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.Y)(i.w)}});class L{constructor(){this._localeChanges=new l.a,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const D=new i.s("mat-date-formats");let I;try{I="undefined"!=typeof Intl}catch(gt){I=!1}const P={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},T=j(31,t=>String(t+1)),R={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},M=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function j(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let F=(()=>{class t extends L{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(I){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return j(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return P[t]}getDateNames(){if(I){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return j(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return T}getDayOfWeekNames(t){if(I){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return j(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return R[t]}getYearName(t){if(I){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){let i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(I){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(M.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(E,8),i.Zb(u.a))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[{provide:L,useClass:F}],imports:[[u.b]]}),t})();const U={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let V=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[{provide:D,useValue:U}],imports:[[N]]}),t})(),B=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function H(t,e,n="mat"){t.changes.pipe(Object(d.a)(t)).subscribe(({length:t})=>{W(e,n+"-2-line",!1),W(e,n+"-3-line",!1),W(e,n+"-multi-line",!1),2===t||3===t?W(e,`${n}-${t}-line`,!0):t>3&&W(e,n+"-multi-line",!0)})}function W(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let Q=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[w],w]}),t})();class K{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const q={enterDuration:450,exitDuration:400},Y=Object(u.f)({passive:!0}),G=["mousedown","touchstart"],Z=["mouseup","mouseleave","touchend","touchcancel"];class X{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(c.e)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},q),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),o=t-i.left,a=e-i.top,c=r.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=o-s+"px",l.style.top=a-s+"px",l.style.height=2*s+"px",l.style.width=2*s+"px",null!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration=c+"ms",this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const h=new K(this,l,n);return h.state=0,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const t=h===this._mostRecentTransientRipple;h.state=1,n.persistent||t&&this._isPointerDown||h.fadeOut()},c),h}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},q),t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(c.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(G))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Z),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(r.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,Y)})})}_removeTriggerEvents(){this._triggerElement&&(G.forEach(t=>{this._triggerElement.removeEventListener(t,this,Y)}),this._pointerUpEventsRegistered&&Z.forEach(t=>{this._triggerElement.removeEventListener(t,this,Y)}))}}const J=new i.s("mat-ripple-global-options");let $=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new X(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.B),i.Pb(u.a),i.Pb(J,8),i.Pb(f.a,8))},t.\u0275dir=i.Kb({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Hb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),tt=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[w,u.b],w]}),t})(),et=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(f.a,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Hb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),nt=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[w]]}),t})();class it{}const rt=C(it);let st=0,ot=(()=>{class t extends rt{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+st++}}return t.\u0275fac=function(e){return at(e||t)},t.\u0275dir=i.Kb({type:t,inputs:{label:"label"},features:[i.Ab]}),t})();const at=i.Xb(ot),ct=new i.s("MatOptgroup");let lt=0;class ht{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const ut=new i.s("MAT_OPTION_PARENT_COMPONENT");let dt=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+lt++,this.onSelectionChange=new i.o,this._stateChanges=new l.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(c.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==p.e&&t.keyCode!==p.m||Object(p.r)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ht(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.h),i.Pb(void 0),i.Pb(ot))},t.\u0275dir=i.Kb({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),ft=(()=>{class t extends dt{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(i.h),i.Pb(ut,8),i.Pb(ct,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.dc("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Yb("id",e.id),i.Eb("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Hb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.Ab],ngContentSelectors:m,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(i.nc(),i.Ic(0,b,1,2,"mat-pseudo-checkbox",0),i.Vb(1,"span",1),i.mc(2),i.Ub(),i.Qb(3,"div",2)),2&t&&(i.oc("ngIf",e.multiple),i.Db(3),i.oc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.o,$,et],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function pt(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===r[s]&&s++;return s}return 0}function bt(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}let mt=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[tt,a.c,w,nt]]}),t})()},Ujlg:function(t,e,n){var i=n("hwdV").Buffer;function r(t,e,n){for(var i,r,o=-1,a=0;++o<8;)a+=(128&(r=t._cipher.encryptBlock(t._prev)[0]^(i=e&1<<7-o?128:0)))>>o%8,t._prev=s(t._prev,n?i:r);return a}function s(t,e){var n=t.length,r=-1,s=i.allocUnsafe(t.length);for(t=i.concat([t,i.from([e])]);++r<n;)s[r]=t[r]<<1|t[r+1]>>7;return s}e.encrypt=function(t,e,n){for(var s=e.length,o=i.allocUnsafe(s),a=-1;++a<s;)o[a]=r(t,e[a],n);return o}},"UpF+":function(t,e,n){var i=n("N+aw"),r=n("hwdV").Buffer;t.exports=function(t,e){return r.from(t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed().toArray())}},"V+K4":function(t,e,n){"use strict";var i;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n("QqdZ"),o=Symbol("lastResolve"),a=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),h=Symbol("lastPromise"),u=Symbol("handlePromise"),d=Symbol("stream");function f(t,e){return{value:t,done:e}}function p(t){var e=t[o];if(null!==e){var n=t[d].read();null!==n&&(t[h]=null,t[o]=null,t[a]=null,e(f(n,!1)))}}function b(t){process.nextTick(p,t)}var m=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((r(i={get stream(){return this[d]},next:function(){var t=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[l])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(e,n){process.nextTick(function(){t[c]?n(t[c]):e(f(void 0,!0))})});var n,i=this[h];if(i)n=new Promise(function(t,e){return function(n,i){t.then(function(){e[l]?n(f(void 0,!0)):e[u](n,i)},i)}}(i,this));else{var r=this[d].read();if(null!==r)return Promise.resolve(f(r,!1));n=new Promise(this[u])}return this[h]=n,n}},Symbol.asyncIterator,function(){return this}),r(i,"return",function(){var t=this;return new Promise(function(e,n){t[d].destroy(null,function(t){t?n(t):e(f(void 0,!0))})})}),i),m);t.exports=function(t){var e,n=Object.create(g,(r(e={},d,{value:t,writable:!0}),r(e,o,{value:null,writable:!0}),r(e,a,{value:null,writable:!0}),r(e,c,{value:null,writable:!0}),r(e,l,{value:t._readableState.endEmitted,writable:!0}),r(e,u,{value:function(t,e){var i=n[d].read();i?(n[h]=null,n[o]=null,n[a]=null,t(f(i,!1))):(n[o]=t,n[a]=e)},writable:!0}),e));return n[h]=null,s(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[a];return null!==e&&(n[h]=null,n[o]=null,n[a]=null,e(t)),void(n[c]=t)}var i=n[o];null!==i&&(n[h]=null,n[o]=null,n[a]=null,i(f(void 0,!0))),n[l]=!0}),t.on("readable",b.bind(null,n)),n}},V35J:function(t,e,n){var i=n("Wogr");function r(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new i(t*t),this.data.fill(0),this.reservedBit=new i(t*t),this.reservedBit.fill(0)}r.prototype.set=function(t,e,n,i){var r=t*this.size+e;this.data[r]=n,i&&(this.reservedBit[r]=!0)},r.prototype.get=function(t,e){return this.data[t*this.size+e]},r.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},r.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=r},V8Fa:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("iELJ"),r=n("8Y7J"),s=n("cpEJ"),o=n("VDRc"),a=n("PDjf"),c=n("Dxy4"),l=n("SVse"),h=n("BSbQ"),u=n("O4ig");function d(t,e){if(1&t&&(r.Vb(0,"p",14),r.Kc(1),r.Ub()),2&t){const t=r.hc();r.Db(1),r.Lc(t.data.titleMessage)}}let f=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this.data=e,this.logger=n,this.errorMessage=""}ngOnInit(){this.errorMessage="object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message.message,this.data.message||this.data.titleMessage||this.data.message||(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(i.f),r.Pb(i.a),r.Pb(s.b))},t.\u0275cmp=r.Jb({type:t,selectors:[["rtl-error-message"]],decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"mt-5px","mb-0","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-flat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(t,e){1&t&&(r.Vb(0,"div",0),r.Vb(1,"div",1),r.Vb(2,"mat-card-header",2),r.Vb(3,"div",3),r.Vb(4,"span",4),r.Kc(5),r.Ub(),r.Ub(),r.Vb(6,"button",5),r.dc("click",function(){return e.onClose()}),r.Kc(7,"X"),r.Ub(),r.Ub(),r.Vb(8,"mat-card-content",6),r.Vb(9,"div",7),r.Ic(10,d,2,1,"p",8),r.Vb(11,"h4",9),r.Kc(12,"Error Code"),r.Ub(),r.Vb(13,"span"),r.Kc(14),r.Ub(),r.Qb(15,"mat-divider",10),r.Vb(16,"h4",9),r.Kc(17,"Error Message"),r.Ub(),r.Vb(18,"span",11),r.Kc(19),r.Ub(),r.Qb(20,"mat-divider",10),r.Vb(21,"h4",9),r.Kc(22,"API URL"),r.Ub(),r.Vb(23,"span",11),r.Kc(24),r.Ub(),r.Qb(25,"mat-divider",10),r.Vb(26,"div",12),r.Vb(27,"button",13),r.Kc(28,"OK"),r.Ub(),r.Ub(),r.Ub(),r.Ub(),r.Ub(),r.Ub()),2&t&&(r.Db(5),r.Lc(e.data.alertTitle||"ERROR"),r.Db(5),r.oc("ngIf",e.data.titleMessage),r.Db(4),r.Lc(e.data.message.code),r.Db(5),r.Lc(e.errorMessage),r.Db(5),r.Lc(e.data.message.URL),r.Db(3),r.oc("mat-dialog-close",!1))},directives:[o.c,o.a,a.c,o.b,c.a,a.b,l.o,h.a,u.a,i.d],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}),t})()},VDRc:function(t,e,n){"use strict";n.d(e,"d",function(){return H}),n.d(e,"a",function(){return x}),n.d(e,"c",function(){return m}),n.d(e,"b",function(){return T});var i=n("8Y7J"),r=n("/q54"),s=n("9gLZ"),o=(n("XNiG"),n("1G5W"));const a="inline",c=["row","column","row-reverse","column-reverse"];function l(t){t=t?t.toLowerCase():"";let[e,n,i]=t.split(" ");return c.find(t=>t===e)||(e=c[0]),n===a&&(n=i!==a?i:"",i=a),[e,u(n),!!i]}function h(t){let[e]=l(t);return e.indexOf("row")>-1}function u(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let d=(()=>{class t extends r.h{buildStyles(t){return function(t){let[e,n,i]=l(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,i)}(t)}}return t.\u0275fac=function(e){return f(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const f=i.Xb(d),p=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let b=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY="layout",this.styleCache=y,this.init()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(r.i),i.Pb(d),i.Pb(r.f))},t.\u0275dir=i.Kb({type:t,features:[i.Ab]}),t})(),m=(()=>{class t extends b{constructor(){super(...arguments),this.inputs=p}}return t.\u0275fac=function(e){return g(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[i.Ab]}),t})();const g=i.Xb(m),y=new Map;function v(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}new Map,new Map,new Map,new Map;let _=(()=>{class t extends r.h{constructor(t){super(),this.layoutConfig=t}buildStyles(t,e){let[n,i,...r]=t.split(" "),s=r.join(" ");const o=e.direction.indexOf("column")>-1?"column":"row",a=h(o)?"max-width":"max-height",c=h(o)?"min-width":"min-height",l=String(s).indexOf("calc")>-1,u=l||"auto"===s,d=String(s).indexOf("%")>-1&&!l,f=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let p=l||f;n="0"==n?0:n,i="0"==i?0:i;const b=!n&&!i;let m={};const g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const t=!1!==this.layoutConfig.useColumnBasisZero;s="row"===o?"0%":t?"0.000000001px":"auto";break;case"initial":case"nogrow":n=0,s="auto";break;case"grow":s="100%";break;case"noshrink":i=0,s="auto";break;case"auto":break;case"none":n=0,i=0,s="auto";break;default:p||d||isNaN(s)||(s+="%"),"0%"===s&&(p=!0),"0px"===s&&(s="0%"),m=v(g,l?{"flex-grow":n,"flex-shrink":i,"flex-basis":p?s:"100%"}:{flex:`${n} ${i} ${p?s:"100%"}`})}return m.flex||m["flex-grow"]||(m=v(g,l?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(m[c]=b||p&&n?s:null,m[a]=b||!u&&i?s:null),m[c]||m[a]?e.hasWrap&&(m[l?"flex-basis":"flex"]=m[a]?l?m[a]:`${n} ${i} ${m[a]}`:l?m[c]:`${n} ${i} ${m[c]}`):m=v(g,l?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`}),v(m,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(r.e))},t.\u0275prov=Object(i.Lb)({factory:function(){return new t(Object(i.Zb)(r.e))},token:t,providedIn:"root"}),t})();const w=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let C=(()=>{class t extends r.b{constructor(t,e,n,i,r){super(t,i,e,r),this.layoutConfig=n,this.marshal=r,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Object(o.a)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(t){const e=t.value.split(" ");this.direction=e[0],this.wrap=void 0!==e[1]&&"wrap"===e[1],this.triggerUpdate()}updateWithValue(t){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const e=this.direction,n=e.startsWith("row"),i=this.wrap;n&&i?this.styleCache=k:n&&!i?this.styleCache=O:!n&&i?this.styleCache=E:n||i||(this.styleCache=A);const s=String(t).replace(";",""),o=Object(r.j)(s,this.flexGrow,this.flexShrink);this.addStyles(o.join(" "),{direction:e,hasWrap:i})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const e=Object(r.j)(t+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(r.i),i.Pb(r.e),i.Pb(_),i.Pb(r.f))},t.\u0275dir=i.Kb({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[i.Ab]}),t})(),x=(()=>{class t extends C{constructor(){super(...arguments),this.inputs=w}}return t.\u0275fac=function(e){return S(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[i.Ab]}),t})();const S=i.Xb(x),O=new Map,A=new Map,k=new Map,E=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map;let L=(()=>{class t extends r.h{buildStyles(t,e){const n={},[i,r]=t.split(" ");switch(i){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(r){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return v(n,{display:e.inline?"inline-flex":"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===r?h(e.layout)?null:"100%":null,"max-height":"stretch"===r&&h(e.layout)?"100%":null})}}return t.\u0275fac=function(e){return D(e||t)},t.\u0275prov=Object(i.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const D=i.Xb(L),I=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let P=(()=>{class t extends r.b{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Object(o.a)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||"row",n=this.inline;"row"===e&&n?this.styleCache=U:"row"!==e||n?"row-reverse"===e&&n?this.styleCache=B:"row-reverse"!==e||n?"column"===e&&n?this.styleCache=V:"column"!==e||n?"column-reverse"===e&&n?this.styleCache=z:"column-reverse"!==e||n||(this.styleCache=N):this.styleCache=j:this.styleCache=F:this.styleCache=M,this.addStyles(t,{layout:e,inline:n})}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],this.inline=t.value.includes("inline"),c.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(r.i),i.Pb(L),i.Pb(r.f))},t.\u0275dir=i.Kb({type:t,features:[i.Ab]}),t})(),T=(()=>{class t extends P{constructor(){super(...arguments),this.inputs=I}}return t.\u0275fac=function(e){return R(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[i.Ab]}),t})();const R=i.Xb(T),M=new Map,j=new Map,F=new Map,N=new Map,U=new Map,V=new Map,B=new Map,z=new Map;let H=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.c,s.a]]}),t})()},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(r.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(o.a)(t,n))}},Vh22:function(t,e,n){var i=n("N+aw"),r=new(n("ehAg")),s=new i(24),o=new i(11),a=new i(10),c=new i(3),l=new i(7),h=n("WKKt"),u=n("Edxu");function d(t,e){return e=e||"utf8",Buffer.isBuffer(t)||(t=new Buffer(t,e)),this._pub=new i(t),this}function f(t,e){return e=e||"utf8",Buffer.isBuffer(t)||(t=new Buffer(t,e)),this._priv=new i(t),this}t.exports=b;var p={};function b(t,e,n){this.setGenerator(e),this.__prime=new i(t),this._prime=i.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=f):this._primeCode=8}function m(t,e){var n=new Buffer(t.toArray());return e?n.toString(e):n}Object.defineProperty(b.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),i=[n,t.toString(16)].join("_");if(i in p)return p[i];var u,d=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!r.test(t))return d+=1,p[i]=d+="02"===n||"05"===n?8:4,d;switch(r.test(t.shrn(1))||(d+=2),n){case"02":t.mod(s).cmp(o)&&(d+=8);break;case"05":(u=t.mod(a)).cmp(c)&&u.cmp(l)&&(d+=8);break;default:d+=4}return p[i]=d,d}(this.__prime,this.__gen)),this._primeCode}}),b.prototype.generateKeys=function(){return this._priv||(this._priv=new i(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},b.prototype.computeSecret=function(t){var e=(t=(t=new i(t)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new Buffer(e.toArray()),r=this.getPrime();if(n.length<r.length){var s=new Buffer(r.length-n.length);s.fill(0),n=Buffer.concat([s,n])}return n},b.prototype.getPublicKey=function(t){return m(this._pub,t)},b.prototype.getPrivateKey=function(t){return m(this._priv,t)},b.prototype.getPrime=function(t){return m(this.__prime,t)},b.prototype.getGenerator=function(t){return m(this._gen,t)},b.prototype.setGenerator=function(t,e){return e=e||"utf8",Buffer.isBuffer(t)||(t=new Buffer(t,e)),this.__gen=t,this._gen=new i(t),this}},VrUr:function(t,e,n){"use strict";var i=n("f3pb"),r=i.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),s=i.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),a=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),c=i.define("RelativeDistinguishedName",function(){this.setof(s)}),l=i.define("RDNSequence",function(){this.seqof(c)}),h=i.define("Name",function(){this.choice({rdnSequence:this.use(l)})}),u=i.define("Validity",function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))}),d=i.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),f=i.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(h),this.key("validity").use(u),this.key("subject").use(h),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())}),p=i.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});t.exports=p},W7oF:function(t,e,n){"use strict";n.d(e,"a",function(){return O});var i=n("mrSG"),r=n("7bNT"),s=n("XNiG"),o=n("LRne"),a=n("zp1y"),c=n("5+tZ"),l=n("1G5W"),h=n("lJxs"),u=n("JIr8"),d=n("AytR"),f=n("V8Fa"),p=n("4r19"),b=n("/uX3"),m=n("LvnZ"),g=n("8Y7J"),y=n("IheW"),v=n("tqRt"),_=n("mZtN"),w=n("cpEJ"),C=n("7o2P"),x=n("iInd"),S=n("SVse");let O=(()=>{class t{constructor(t,e,n,i,f,g,y,v){this.actions$=t,this.httpClient=e,this.store=n,this.sessionService=i,this.logger=f,this.commonService=g,this.router=y,this.location=v,this.CHILD_API_URL=d.a+"/cl",this.unSubs=[new s.a,new s.a],this.infoFetchCL=this.actions$.pipe(Object(r.d)(m.u),Object(a.a)(this.store.select("root")),Object(c.a)(([t,e])=>(this.store.dispatch(new m.g("FetchInfo")),this.httpClient.get(this.CHILD_API_URL+d.b.GETINFO_API).pipe(Object(l.a)(this.actions$.pipe(Object(r.d)(b.Q))),Object(h.a)(e=>(this.logger.info(e),this.initializeRemainingData(e,t.payload.loadPage),{type:m.mb,payload:e||{}})),Object(u.a)(t=>(this.router.navigate(["/error"],{state:{errorCode:t.error&&t.error.error&&t.error.error.message&&t.error.error.message.code?t.error.error.message.code:t.error&&t.error.error&&t.error.error.code?t.error.error.code:t.status?t.status:"",errorMessage:(t.error&&t.error.message?t.error.message+" ":"")+(t.error&&t.error.error&&t.error.error.error&&"string"==typeof t.error.error.error?t.error.error.error:t.error&&t.error.error&&t.error.error.errno&&"string"==typeof t.error.error.errno?t.error.error.errno:t.error&&t.error.error&&"string"==typeof t.error.error?t.error.error:t.error&&"string"==typeof t.error?t.error:"Unknown Error")}}),this.handleErrorWithoutAlert("FetchInfo","Fetching Node Info Failed.",t),Object(o.a)({type:b.fb}))))))),this.fetchFeesCL=this.actions$.pipe(Object(r.d)(m.s),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchFees")),this.httpClient.get(this.CHILD_API_URL+d.b.FEES_API))),Object(h.a)(t=>(this.logger.info(t),{type:m.jb,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchFees","Fetching Fees Failed.",t),Object(o.a)({type:b.fb})))),this.fetchFeeRatesCL=this.actions$.pipe(Object(r.d)(m.t),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchFeeRates")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/feeRates/"+t.payload))),Object(h.a)(t=>(this.logger.info(t),{type:m.kb,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchFeeRates","Fetching Fee Rates Failed.",t),Object(o.a)({type:b.fb})))),this.fetchBalanceCL=this.actions$.pipe(Object(r.d)(m.q),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchBalance")),this.httpClient.get(this.CHILD_API_URL+d.b.BALANCE_API))),Object(h.a)(t=>(this.logger.info(t),{type:m.db,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchBalance","Fetching Balances Failed.",t),Object(o.a)({type:b.fb})))),this.fetchLocalRemoteBalanceCL=this.actions$.pipe(Object(r.d)(m.w),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchLocalRemoteBalance")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API+"/localremotebalance"))),Object(h.a)(t=>(this.logger.info(t),{type:m.ob,payload:t||{}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance","Fetching Balances Failed.",t),Object(o.a)({type:b.fb})))),this.getNewAddressCL=this.actions$.pipe(Object(r.d)(m.L),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.ON_CHAIN_API+"?type="+t.payload.addressCode).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:m.qb,payload:t&&t.address?t.address:{}})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Generate New Address Failed",this.CHILD_API_URL+d.b.ON_CHAIN_API+"?type="+t.payload.addressId,e),Object(o.a)({type:b.fb})))))),this.setNewAddressCL=this.actions$.pipe(Object(r.d)(m.qb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.peersFetchCL=this.actions$.pipe(Object(r.d)(m.y),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchPeers")),this.httpClient.get(this.CHILD_API_URL+d.b.PEERS_API).pipe(Object(h.a)(t=>(this.logger.info(t),{type:m.sb,payload:t||[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchPeers","Fetching Peers Failed.",t),Object(o.a)({type:b.fb}))))))),this.saveNewPeerCL=this.actions$.pipe(Object(r.d)(m.ab),Object(a.a)(this.store.select("cl")),Object(c.a)(([t,e])=>(this.store.dispatch(new m.g("SaveNewPeer")),this.httpClient.post(this.CHILD_API_URL+d.b.PEERS_API,{id:t.payload.id}).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),this.store.dispatch(new m.Fb(e&&e.length>0?e:[])),{type:m.R,payload:{peer:e.find(e=>0===t.payload.id.indexOf(e.id))}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewPeer","Peer Connection Failed.",t),Object(o.a)({type:b.fb}))))))),this.detachPeerCL=this.actions$.pipe(Object(r.d)(m.k),Object(c.a)(t=>this.httpClient.delete(this.CHILD_API_URL+d.b.PEERS_API+"/"+t.payload.id+"?force="+t.payload.force).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),this.store.dispatch(new b.F("Peer Disconnected Successfully!")),{type:m.V,payload:{id:t.payload.id}})),Object(u.a)(e=>(this.handleErrorWithAlert("ERROR","Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.b.PEERS_API+"/"+t.payload.id,e),Object(o.a)({type:b.fb})))))),this.channelsFetchCL=this.actions$.pipe(Object(r.d)(m.r),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchChannels")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API+"/listChannels").pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.N),{type:m.eb,payload:t&&t.length>0?t:[]}),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchChannels","Fetching Channels Failed.",t),Object(o.a)({type:b.fb})))))))),this.openNewChannelCL=this.actions$.pipe(Object(r.d)(m.Y),Object(c.a)(t=>{this.store.dispatch(new m.g("SaveNewChannel"));let e={id:t.payload.peerId,satoshis:t.payload.satoshis,feeRate:t.payload.feeRate,announce:t.payload.announce,minconf:t.payload.minconf?t.payload.minconf:null};return t.payload.utxos&&(e.utxos=t.payload.utxos),this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API,e).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),this.store.dispatch(new b.F("Channel Added Successfully!")),this.store.dispatch(new m.A),this.store.dispatch(new m.J),{type:m.r})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewChannel","Opening Channel Failed.",t),Object(o.a)({type:b.fb}))))})),this.updateChannelCL=this.actions$.pipe(Object(r.d)(m.Ib),Object(c.a)(t=>this.httpClient.post(this.CHILD_API_URL+d.b.CHANNELS_API+"/setChannelFee",{id:t.payload.channelId,base:t.payload.baseFeeMsat,ppm:t.payload.feeRate}).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),this.store.dispatch(new b.F("all"===t.payload.channelId?"All Channels Updated Successfully.":"Channel Updated Successfully!")),{type:m.r})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Update Channel Failed",this.CHILD_API_URL+d.b.CHANNELS_API,t),Object(o.a)({type:b.fb})))))),this.closeChannelCL=this.actions$.pipe(Object(r.d)(m.e),Object(c.a)(t=>this.httpClient.delete(this.CHILD_API_URL+d.b.CHANNELS_API+"/"+t.payload.channelId+(t.payload.force?"?force="+t.payload.force:"")).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),this.store.dispatch(new m.B),this.store.dispatch(new b.F("Channel Closed Successfully!")),{type:m.U,payload:{channelId:t.payload.channelId}})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.b.CHANNELS_API,t),Object(o.a)({type:b.fb})))))),this.paymentsFetchCL=this.actions$.pipe(Object(r.d)(m.x),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchPayments")),this.httpClient.get(this.CHILD_API_URL+d.b.PAYMENTS_API))),Object(h.a)(t=>(this.logger.info(t),{type:m.rb,payload:t||[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchPayments","Fetching Payments Failed.",t),Object(o.a)({type:b.fb})))),this.decodePaymentCL=this.actions$.pipe(Object(r.d)(m.i),Object(c.a)(t=>(this.store.dispatch(new m.g("DecodePayment")),this.httpClient.get(this.CHILD_API_URL+d.b.PAYMENTS_API+"/"+t.payload.routeParam).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:m.ib,payload:t||{}})),Object(u.a)(e=>(t.payload.fromDialog?this.handleErrorWithoutAlert("DecodePayment","Decode Payment Failed.",e):this.handleErrorWithAlert("ERROR","Decode Payment Failed",this.CHILD_API_URL+d.b.PAYMENTS_API+"/"+t.payload,e),Object(o.a)({type:b.fb}))))))),this.setDecodedPaymentCL=this.actions$.pipe(Object(r.d)(m.ib),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.sendPaymentCL=this.actions$.pipe(Object(r.d)(m.bb),Object(a.a)(this.store.select("root")),Object(c.a)(([t,e])=>(this.store.dispatch(new m.g("SendPayment")),this.httpClient.post(t.payload.pubkey&&""!==t.payload.pubkey?this.CHILD_API_URL+d.b.PAYMENTS_API+"/keysend":this.CHILD_API_URL+d.b.PAYMENTS_API+"/invoice",t.payload).pipe(Object(h.a)(e=>{if(this.logger.info(e),this.store.dispatch(new b.j),e.error){this.logger.error("Error: "+e.payment_error);const n={status:e.payment_error.status,error:e.payment_error.error&&e.payment_error.error.error&&"object"==typeof e.payment_error.error.error?e.payment_error.error.error:{error:e.payment_error.error&&e.payment_error.error.error?e.payment_error.error.error:"Unknown Error"}};return t.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment","Send Payment Failed.",n):this.handleErrorWithAlert("ERROR","Send Payment Failed",this.CHILD_API_URL+d.b.PAYMENTS_API,n),Object(o.a)({type:b.fb})}return this.store.dispatch(new b.F("Payment Sent Successfully!")),this.store.dispatch(new m.B),this.store.dispatch(new m.A),this.store.dispatch(new m.H),this.store.dispatch(new m.Cb({})),{type:m.cb,payload:e}}),Object(u.a)(e=>{this.logger.error("Error: "+JSON.stringify(e));const n={status:e.status,error:e.error&&e.error.error&&"object"==typeof e.error.error?e.error.error:{error:e.error&&e.error.error?e.error.error:"Unknown Error"}};return t.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment","Send Payment Failed.",n):this.handleErrorWithAlert("ERROR","Send Payment Failed",this.CHILD_API_URL+d.b.PAYMENTS_API,n),Object(o.a)({type:b.fb})}))))),this.queryRoutesFetchCL=this.actions$.pipe(Object(r.d)(m.M),Object(c.a)(t=>this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/getRoute/"+t.payload.destPubkey+"/"+t.payload.amount).pipe(Object(h.a)(t=>(this.logger.info(t),{type:m.tb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new m.Gb({routes:[]})),this.handleErrorWithAlert("ERROR","Get Query Routes Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/getRoute/"+t.payload.destPubkey+"/"+t.payload.amount,e),Object(o.a)({type:b.fb})))))),this.setQueryRoutesCL=this.actions$.pipe(Object(r.d)(m.tb),Object(h.a)(t=>t.payload)),this.peerLookupCL=this.actions$.pipe(Object(r.d)(m.S),Object(c.a)(t=>(this.store.dispatch(new m.g("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/listNode/"+t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:m.pb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new m.p({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Peer Lookup Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/listNode/"+t.payload,e),Object(o.a)({type:b.fb}))))))),this.channelLookupCL=this.actions$.pipe(Object(r.d)(m.c),Object(c.a)(t=>(this.store.dispatch(new m.g("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.NETWORK_API+"/listChannel/"+t.payload.shortChannelID).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:m.pb,payload:t})),Object(u.a)(e=>(t.payload.showError?(this.store.dispatch(new m.p({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Channel Lookup Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/listChannel/"+t.payload.shortChannelID,e)):this.store.dispatch(new b.j),this.store.dispatch(new m.Eb([])),Object(o.a)({type:b.fb}))))))),this.invoiceLookupCL=this.actions$.pipe(Object(r.d)(m.Q),Object(c.a)(t=>(this.store.dispatch(new m.g("Lookup")),this.httpClient.get(this.CHILD_API_URL+d.b.INVOICES_API+"/listInvoice?label="+t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),{type:m.pb,payload:t})),Object(u.a)(e=>(this.store.dispatch(new m.p({action:"Lookup",code:e.status,message:e.error.message})),this.handleErrorWithAlert("ERROR","Invoice Lookup Failed",this.CHILD_API_URL+d.b.NETWORK_API+"/listInvoice?label="+t.payload,e),Object(o.a)({type:b.fb}))))))),this.setLookupCL=this.actions$.pipe(Object(r.d)(m.pb),Object(h.a)(t=>(this.logger.info(t.payload),t.payload))),this.fetchForwardingHistoryCL=this.actions$.pipe(Object(r.d)(m.K),Object(c.a)(t=>(this.store.dispatch(new m.g("GetForwardingHistory")),this.httpClient.get(this.CHILD_API_URL+d.b.CHANNELS_API+"/listForwards").pipe(Object(h.a)(t=>(this.logger.info(t),{type:m.lb,payload:t})),Object(u.a)(t=>(this.store.dispatch(new m.p({action:"GetForwardingHistory",code:t.status,message:t.error.error})),this.handleErrorWithAlert("ERROR","Get Forwarding History Failed",this.CHILD_API_URL+d.b.CHANNELS_API+"/listForwards",t),Object(o.a)({type:b.fb}))))))),this.deleteExpiredInvoiceCL=this.actions$.pipe(Object(r.d)(m.j),Object(c.a)(t=>this.httpClient.delete(this.CHILD_API_URL+d.b.INVOICES_API+(t.payload?"?maxexpiry="+t.payload:"")).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),this.store.dispatch(new b.F("Invoices Deleted Successfully!")),{type:m.v,payload:{num_max_invoices:100,reversed:!0}})),Object(u.a)(t=>(this.handleErrorWithAlert("ERROR","Delete Invoice Failed",this.CHILD_API_URL+d.b.INVOICES_API,t),Object(o.a)({type:b.fb})))))),this.saveNewInvoiceCL=this.actions$.pipe(Object(r.d)(m.Z),Object(c.a)(t=>(this.store.dispatch(new m.g("SaveNewInvoice")),this.httpClient.post(this.CHILD_API_URL+d.b.INVOICES_API,{label:t.payload.label,amount:t.payload.amount,description:t.payload.description,expiry:t.payload.expiry,private:t.payload.private}).pipe(Object(h.a)(e=>(this.logger.info(e),this.store.dispatch(new b.j),e.msatoshi=t.payload.amount,e.label=t.payload.label,e.expires_at=Math.round((new Date).getTime()/1e3+t.payload.expiry),e.expires_at_str=this.commonService.convertTimestampToDate(+e.expires_at),e.description=t.payload.description,e.status="unpaid",this.store.dispatch(new b.D({data:{invoice:e,newlyAdded:!1,component:p.a}})),{type:m.v,payload:{num_max_invoices:100,reversed:!0}})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SaveNewInvoice","Add Invoice Failed.",t),Object(o.a)({type:b.fb}))))))),this.invoicesFetchCL=this.actions$.pipe(Object(r.d)(m.v),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchInvoices")),this.httpClient.get(this.CHILD_API_URL+d.b.INVOICES_API+"?num_max_invoices="+(t.payload.num_max_invoices?t.payload.num_max_invoices:100)+"&index_offset="+(t.payload.index_offset?t.payload.index_offset:0)+"&reversed="+(!!t.payload.reversed&&t.payload.reversed)).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new m.Hb(t.invoices?t.invoices.length:0)),{type:m.nb,payload:t})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchInvoices","Fetching Invoices Failed.",t),Object(o.a)({type:b.fb}))))))),this.SetChannelTransactionCL=this.actions$.pipe(Object(r.d)(m.fb),Object(c.a)(t=>(this.store.dispatch(new m.g("SetChannelTransaction")),this.httpClient.post(this.CHILD_API_URL+d.b.ON_CHAIN_API,t.payload).pipe(Object(h.a)(t=>(this.logger.info(t),this.store.dispatch(new b.j),this.store.dispatch(new m.A),this.store.dispatch(new m.J),{type:m.gb,payload:t})),Object(u.a)(t=>(this.handleErrorWithoutAlert("SetChannelTransaction","Sending Fund Failed.",t),Object(o.a)({type:b.fb}))))))),this.utxosFetch=this.actions$.pipe(Object(r.d)(m.z),Object(c.a)(t=>(this.store.dispatch(new m.g("FetchUTXOs")),this.httpClient.get(this.CHILD_API_URL+d.b.ON_CHAIN_API+"/utxos"))),Object(h.a)(t=>(this.logger.info(t),{type:m.vb,payload:t&&t.outputs&&t.outputs.length>0?t.outputs:[]})),Object(u.a)(t=>(this.handleErrorWithoutAlert("FetchUTXOs","Fetching UTXOs Failed.",t),Object(o.a)({type:b.fb})))),this.store.select("cl").pipe(Object(l.a)(this.unSubs[0])).subscribe(t=>{"INCOMPLETE"===t.initialAPIResponseStatus[0]&&t.initialAPIResponseStatus.length>9&&(t.initialAPIResponseStatus[0]="COMPLETE",this.store.dispatch(new b.j))})}initializeRemainingData(t,e){this.sessionService.setItem("clUnlocked","true");const n={identity_pubkey:t.id,alias:t.alias,testnet:"testnet"===t.network||"litecoin-testnet"===t.network,chains:t.chains,uris:t.uris,version:t.version,api_version:t.api_version,currency_unit:"BTC",smaller_currency_unit:"Sats",numberOfPendingChannels:t.num_pending_channels};this.store.dispatch(new b.G("Initializing Node Data...")),this.store.dispatch(new b.V(n)),this.store.dispatch(new m.D),this.store.dispatch(new m.B),this.store.dispatch(new m.A),this.store.dispatch(new m.G),this.store.dispatch(new m.C("perkw")),this.store.dispatch(new m.C("perkb")),this.store.dispatch(new m.I),this.store.dispatch(new m.J),this.store.dispatch(new m.H);let i=this.location.path();i.includes("/lnd/")?i=i.replace("/lnd/","/cl/"):i.includes("/ecl/")&&(i=i.replace("/ecl/","/cl/")),(i.includes("/login")||i.includes("/error")||""===i||"HOME"===e||i.includes("?access-key="))&&(i="/cl/home"),this.router.navigate([i])}handleErrorWithoutAlert(t,e,n){this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new b.h),this.store.dispatch(new b.y),this.store.dispatch(new b.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new b.j),this.store.dispatch(new m.p({action:t,code:n.status.toString(),message:n.error.error&&n.error.error.error&&n.error.error.error.error&&n.error.error.error.error.message&&"string"==typeof n.error.error.error.error.message?n.error.error.error.error.message:n.error.error&&n.error.error.error&&n.error.error.error.message&&"string"==typeof n.error.error.error.message?n.error.error.error.message:n.error.error&&n.error.error.message&&"string"==typeof n.error.error.message?n.error.error.message:n.error.message&&"string"==typeof n.error.message?n.error.message:"string"==typeof n.error?n.error:e})))}handleErrorWithAlert(t,e,n,i){this.logger.error(i),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new b.h),this.store.dispatch(new b.y),this.store.dispatch(new b.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new b.j),this.store.dispatch(new b.D({data:{type:t,alertTitle:e,message:{code:i.status,message:i.error.error&&i.error.error.error&&i.error.error.error.error&&i.error.error.error.error.message&&"string"==typeof i.error.error.error.error.message?i.error.error.error.error.message:i.error.error&&i.error.error.error&&i.error.error.error.message&&"string"==typeof i.error.error.error.message?i.error.error.error.message:i.error.error&&i.error.error.message&&"string"==typeof i.error.error.message?i.error.error.message:i.error.message&&"string"==typeof i.error.message?i.error.message:"string"==typeof i.error?i.error:"Unknown Error",URL:n},component:f.a}})))}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(g.Zb(r.a),g.Zb(y.b),g.Zb(v.h),g.Zb(_.a),g.Zb(w.b),g.Zb(C.a),g.Zb(x.g),g.Zb(S.j))},t.\u0275prov=g.Lb({token:t,factory:t.\u0275fac}),Object(i.a)([Object(r.b)()],t.prototype,"infoFetchCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchFeesCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchFeeRatesCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchBalanceCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchLocalRemoteBalanceCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"getNewAddressCL",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setNewAddressCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"peersFetchCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"saveNewPeerCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"detachPeerCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelsFetchCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"openNewChannelCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"updateChannelCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"closeChannelCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"paymentsFetchCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"decodePaymentCL",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setDecodedPaymentCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"sendPaymentCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"queryRoutesFetchCL",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setQueryRoutesCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"peerLookupCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"channelLookupCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"invoiceLookupCL",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"setLookupCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchForwardingHistoryCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"deleteExpiredInvoiceCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"saveNewInvoiceCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"invoicesFetchCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"SetChannelTransactionCL",void 0),Object(i.a)([Object(r.b)()],t.prototype,"utxosFetch",void 0),t})()},WKKt:function(t,e,n){var i=n("Edxu");t.exports=y,y.simpleSieve=m,y.fermatTest=g;var r=n("N+aw"),s=new r(24),o=new(n("ehAg")),a=new r(1),c=new r(2),l=new r(5),h=(new r(16),new r(8),new r(10)),u=new r(3),d=(new r(7),new r(11)),f=new r(4),p=(new r(12),null);function b(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var i=Math.ceil(Math.sqrt(n)),r=0;r<e&&t[r]<=i&&n%t[r]!=0;r++);e!==r&&t[r]<=i||(t[e++]=n)}return p=t,t}function m(t){for(var e=b(),n=0;n<e.length;n++)if(0===t.modn(e[n]))return 0===t.cmpn(e[n]);return!0}function g(t){var e=r.mont(t);return 0===c.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function y(t,e){if(t<16)return new r(2===e||5===e?[140,123]:[140,39]);var n,p;for(e=new r(e);;){for(n=new r(i(Math.ceil(t/8)));n.bitLength()>t;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(c),e.cmp(c)){if(!e.cmp(l))for(;n.mod(h).cmp(u);)n.iadd(f)}else for(;n.mod(s).cmp(d);)n.iadd(f);if(m(p=n.shrn(1))&&m(n)&&g(p)&&g(n)&&o.test(p)&&o.test(n))return n}}},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("EY2u"),r=n("LRne"),s=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WRkp:function(t,e,n){"use strict";e.sha1=n("E+IA"),e.sha224=n("B/J0"),e.sha256=n("bu2F"),e.sha384=n("i5UE"),e.sha512=n("tSWc")},"WnY+":function(t,e,n){var i=n("9XZ3");t.exports=function(t){return(new i).update(t).digest()}},Wogr:function(t,e,n){"use strict";var i=n("49sm"),r=(s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(e){return!1}}())?2147483647:1073741823;function s(t,e,n){return s.TYPED_ARRAY_SUPPORT||this instanceof s?"number"==typeof t?c(this,t):function(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");var r;return r=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),s.TYPED_ARRAY_SUPPORT?r.__proto__=s.prototype:r=l(t,r),r}(t,e,n,i):"string"==typeof e?function(t,e){var n=0|u(e),i=a(t,n),r=i.write(e);return r!==n&&(i=i.slice(0,r)),i}(t,e):function(t,e){if(s.isBuffer(e)){var n=0|o(e.length),i=a(t,n);return 0===i.length||e.copy(i,0,0,n),i}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):l(t,e);if("Buffer"===e.type&&Array.isArray(e.data))return l(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}(this,t,e,n):new s(t,e,n)}function o(t){if(t>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|t}function a(t,e){var n;return s.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(e)).__proto__=s.prototype:(null===(n=t)&&(n=new s(e)),n.length=e),n}function c(t,e){var n=a(t,e<0?0:0|o(e));if(!s.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)n[i]=0;return n}function l(t,e){for(var n=e.length<0?0:0|o(e.length),i=a(t,n),r=0;r<n;r+=1)i[r]=255&e[r];return i}function h(t,e){var n;e=e||1/0;for(var i=t.length,r=null,s=[],o=0;o<i;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&s.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function u(t){return s.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:h(t).length)}s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),s.prototype.write=function(t,e,n){void 0===e||void 0===n&&"string"==typeof e?(n=this.length,e=0):isFinite(e)&&(e|=0,isFinite(n)?n|=0:n=void 0);var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,n,i){return function(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}(h(e,t.length-n),t,n,i)}(this,t,e,n)},s.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),s.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=s.prototype;else{var r=e-t;n=new s(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+t]}return n},s.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,o=i-n;if(this===t&&n<e&&e<i)for(r=o-1;r>=0;--r)t[r+e]=this[r+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},s.prototype.fill=function(t,e,n){if("string"==typeof t){if("string"==typeof e?(e=0,n=this.length):"string"==typeof n&&(n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var r;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(r=e;r<n;++r)this[r]=t;else{var o=s.isBuffer(t)?t:new s(t),a=o.length;for(r=0;r<n-e;++r)this[r+e]=o[r%a]}return this},s.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a(null,0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=c(null,e),o=0;for(n=0;n<t.length;++n){var l=t[n];if(!s.isBuffer(l))throw new TypeError('"list" argument must be an Array of Buffers');l.copy(r,o),o+=l.length}return r},s.byteLength=u,s.prototype._isBuffer=!0,s.isBuffer=function(t){return!(null==t||!t._isBuffer)},t.exports=s},X9mX:function(t,e,n){"use strict";n.d(e,"a",function(){return ie});var i=n("mrSG"),r=n("7bNT"),s=n("XNiG"),o=n("LRne"),a=n("cp0P"),c=n("lJxs"),l=n("IzEk"),h=n("zp1y"),u=n("5+tZ"),d=n("JIr8"),f=n("AytR"),p=n("7nzP"),b=n("iELJ"),m=n("8Y7J"),g=n("VDRc"),y=n("pu8Q");let v=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(m.Pb(b.f),m.Pb(b.a))},t.\u0275cmp=m.Jb({type:t,selectors:[["rtl-spinner-dialog"]],decls:5,vars:1,consts:[[1,"spinner-container"],["fxLayout","column","fxLayoutAlign","center center",1,"spinner-circle"]],template:function(t,e){1&t&&(m.Vb(0,"div",0),m.Vb(1,"div",1),m.Qb(2,"mat-spinner"),m.Vb(3,"h1"),m.Kc(4),m.Ub(),m.Ub(),m.Ub()),2&t&&(m.Db(4),m.Lc(e.data.titleMessage))},directives:[g.c,g.b,y.b],styles:[".spinner-container[_ngcontent-%COMP%]{position:absolute;left:40%;top:35%}"]}),t})();var _=n("cpEJ"),w=n("zHaW"),C=n("7o2P"),x=n("SVse"),S=n("ura0"),O=n("PDjf"),A=n("Dxy4"),k=n("bwdU"),E=n("aLe/"),L=n("Tj54"),D=n("O4ig"),I=n("dEYt"),P=n("BSbQ");const T=["scrollContainer"];function R(t,e){if(1&t&&m.Qb(0,"qrcode",15),2&t){const t=m.hc();m.oc("qrdata",t.showQRField)("margin",2)("width",240)("errorCorrectionLevel","L")("allowEmptyString",!0)}}function M(t,e){1&t&&m.Rb(0)}const j=function(t){return{"h-40":t}};function F(t,e){if(1&t&&(m.Tb(0),m.Vb(1,"mat-card-content",16,17),m.Ic(3,M,1,0,"ng-container",18),m.Ub(),m.Sb()),2&t){const t=m.hc(),e=m.wc(20);m.Db(1),m.oc("ngClass",m.sc(2,j,t.data.scrollable)),m.Db(2),m.oc("ngTemplateOutlet",e)}}function N(t,e){1&t&&m.Rb(0)}function U(t,e){if(1&t&&(m.Tb(0),m.Vb(1,"mat-card-content",19),m.Ic(2,N,1,0,"ng-container",18),m.Ub(),m.Sb()),2&t){m.hc();const t=m.wc(20);m.Db(2),m.oc("ngTemplateOutlet",t)}}function V(t,e){1&t&&(m.Vb(0,"mat-icon",23),m.Kc(1,"arrow_downward"),m.Ub())}function B(t,e){1&t&&(m.Vb(0,"mat-icon",23),m.Kc(1,"arrow_upward"),m.Ub())}function z(t,e){if(1&t){const t=m.Wb();m.Vb(0,"div",20),m.Vb(1,"button",21),m.dc("click",function(){return m.zc(t),m.hc().onScroll()}),m.Ic(2,V,2,0,"mat-icon",22),m.Ic(3,B,2,0,"mat-icon",22),m.Ub(),m.Ub()}if(2&t){const t=m.hc();m.Db(2),m.oc("ngIf","DOWN"==t.scrollDirection),m.Db(1),m.oc("ngIf","UP"==t.scrollDirection)}}function H(t,e){1&t&&(m.Vb(0,"button",24),m.Kc(1,"OK"),m.Ub()),2&t&&m.oc("mat-dialog-close",!1)}function W(t,e){1&t&&(m.Vb(0,"button",25),m.Kc(1,"Close"),m.Ub()),2&t&&m.oc("mat-dialog-close",!1)}function Q(t,e){if(1&t){const t=m.Wb();m.Vb(0,"button",26),m.dc("copied",function(e){return m.zc(t),m.hc().onCopyField(e)}),m.Kc(1),m.Ub()}if(2&t){const t=m.hc();m.oc("payload",t.showCopyField),m.Db(1),m.Mc("Copy ",t.showCopyName,"")}}function K(t,e){1&t&&(m.Vb(0,"button",25),m.Kc(1,"Close"),m.Ub()),2&t&&m.oc("mat-dialog-close",!1)}function q(t,e){if(1&t){const t=m.Wb();m.Vb(0,"button",26),m.dc("copied",function(e){return m.zc(t),m.hc().onCopyField(e)}),m.Kc(1),m.Ub()}if(2&t){const t=m.hc();m.oc("payload",t.showQRField),m.Db(1),m.Mc("Copy ",t.showQRName,"")}}function Y(t,e){if(1&t&&m.Qb(0,"qrcode",15),2&t){const t=m.hc(2);m.oc("qrdata",t.showQRField)("margin",2)("width",240)("errorCorrectionLevel","L")("allowEmptyString",!0)}}function G(t,e){if(1&t&&(m.Vb(0,"p",32),m.Kc(1),m.Ub()),2&t){const t=m.hc(2);m.Db(1),m.Lc(t.data.titleMessage)}}function Z(t,e){1&t&&m.Qb(0,"span",46),2&t&&m.oc("innerHTML",e.$implicit,m.Ac)}function X(t,e){if(1&t&&(m.Tb(0),m.Ic(1,Z,1,1,"span",45),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.oc("ngForOf",t.value)}}function J(t,e){if(1&t&&(m.Tb(0),m.Kc(1),m.ic(2,"number"),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.Lc(m.kc(2,1,t.value,"1.0-3"))}}function $(t,e){if(1&t&&(m.Tb(0),m.Kc(1),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.Lc(t.value?"True":"False")}}function tt(t,e){1&t&&(m.Vb(0,"mat-icon",51),m.Kc(1,"info"),m.Ub())}const et=function(t){return{"failed-status":t}};function nt(t,e){if(1&t&&(m.Vb(0,"p",49),m.Kc(1),m.Ic(2,tt,2,0,"mat-icon",50),m.Ub()),2&t){const t=m.hc(3).$implicit,e=m.hc(4);m.oc("ngClass",m.sc(3,et,t.value===e.LoopStateEnum.FAILED)),m.Db(1),m.Mc(" ",t.value," "),m.Db(1),m.oc("ngIf",t.value===e.LoopStateEnum.FAILED)}}function it(t,e){if(1&t&&m.Kc(0),2&t){const t=m.hc(3).$implicit;m.Lc(t.value)}}function rt(t,e){if(1&t&&(m.Tb(0),m.Ic(1,nt,3,5,"p",47),m.Ic(2,it,1,1,"ng-template",null,48,m.Jc),m.Sb()),2&t){const t=m.wc(3),e=m.hc(2).$implicit,n=m.hc(4);m.Db(1),m.oc("ngIf","SWAP"===n.data.openedBy&&"state"===e.key)("ngIfElse",t)}}function st(t,e){if(1&t&&(m.Vb(0,"span"),m.Vb(1,"span",42),m.Ic(2,X,2,1,"ng-container",43),m.Ic(3,J,3,4,"ng-container",43),m.Ic(4,$,2,1,"ng-container",43),m.Ic(5,rt,4,2,"ng-container",44),m.Ub(),m.Ub()),2&t){const t=m.hc().$implicit,e=m.hc(4);m.Db(1),m.oc("ngSwitch",t.type),m.Db(1),m.oc("ngSwitchCase",e.dataTypeEnum.ARRAY),m.Db(1),m.oc("ngSwitchCase",e.dataTypeEnum.NUMBER),m.Db(1),m.oc("ngSwitchCase",e.dataTypeEnum.BOOLEAN)}}function ot(t,e){1&t&&(m.Vb(0,"span",52),m.Kc(1,"\xa0"),m.Ub())}function at(t,e){if(1&t&&(m.Vb(0,"div",37),m.Vb(1,"h4",38),m.Kc(2),m.Ub(),m.Ic(3,st,6,4,"span",39),m.Ic(4,ot,2,0,"ng-template",null,40,m.Jc),m.Qb(6,"mat-divider",41),m.Ub()),2&t){const t=e.$implicit,n=m.wc(5);m.pc("fxFlex.gt-md",t.width),m.Db(2),m.Lc(t.title),m.Db(1),m.oc("ngIf",t&&(!!t.value||0===t.value))("ngIfElse",n)}}function ct(t,e){if(1&t&&(m.Vb(0,"div"),m.Vb(1,"div",35),m.Ic(2,at,7,4,"div",36),m.Ub(),m.Ub()),2&t){const t=e.$implicit;m.Db(2),m.oc("ngForOf",t)}}function lt(t,e){if(1&t&&(m.Vb(0,"div",33),m.Ic(1,ct,3,1,"div",34),m.Ub()),2&t){const t=m.hc(2);m.Db(1),m.oc("ngForOf",t.messageObjs)}}const ht=function(t){return{"display-none":t}};function ut(t,e){if(1&t&&(m.Vb(0,"div",27),m.Vb(1,"div",28),m.Ic(2,Y,1,5,"qrcode",2),m.Ub(),m.Vb(3,"div",29),m.Ic(4,G,2,1,"p",30),m.Ic(5,lt,2,1,"div",31),m.Ub(),m.Ub()),2&t){const t=m.hc();m.Db(1),m.oc("ngClass",m.sc(4,ht,""===t.showQRField||t.screenSize!==t.screenSizeEnum.XS&&t.screenSize!==t.screenSizeEnum.SM)),m.Db(1),m.oc("ngIf",""!==t.showQRField),m.Db(2),m.oc("ngIf",t.data.titleMessage),m.Db(1),m.oc("ngIf",(null==t.messageObjs?null:t.messageObjs.length)>0)}}let dt=(()=>{class t{constructor(t,e,n,i,r,s){this.dialogRef=t,this.data=e,this.logger=n,this.snackBar=i,this.commonService=r,this.renderer=s,this.LoopStateEnum=p.l,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=p.b,this.dataTypeEnum=p.h,this.screenSize="",this.screenSizeEnum=p.s,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(t){t&&(this.scrollContainer=t,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",t=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",t=>{this.scrollDirection="DOWN"})))}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message,this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===p.b.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs)}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")})}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(t){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+t)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}return t.\u0275fac=function(e){return new(e||t)(m.Pb(b.f),m.Pb(b.a),m.Pb(_.b),m.Pb(w.b),m.Pb(C.a),m.Pb(m.G))},t.\u0275cmp=m.Jb({type:t,selectors:[["rtl-alert-message"]],viewQuery:function(t,e){if(1&t&&m.Pc(T,!0),2&t){let t;m.vc(t=m.ec())&&(e.container=t.first)}},decls:21,vars:14,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString",4,"ngIf"],[1,"padding-gap-large","pl-3",3,"fxFlex"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-1"],["tabindex","1","autoFocus","","mat-flat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-stroked-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["contentBlock",""],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],[1,"mt-5px","mb-0","pr-2",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[4,"ngTemplateOutlet"],[1,"mt-5px","mb-0","pr-2"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-flat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-stroked-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","row","fxFlex","100"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(t,e){1&t&&(m.Vb(0,"div",0),m.Vb(1,"div",1),m.Ic(2,R,1,5,"qrcode",2),m.Ub(),m.Vb(3,"div",3),m.Vb(4,"mat-card-header",4),m.Vb(5,"div",5),m.Vb(6,"span",6),m.Kc(7),m.Ub(),m.Ub(),m.Vb(8,"button",7),m.dc("click",function(){return e.onClose()}),m.Kc(9,"X"),m.Ub(),m.Ub(),m.Ic(10,F,4,4,"ng-container",8),m.Ic(11,U,3,1,"ng-container",8),m.Ic(12,z,4,2,"div",9),m.Vb(13,"div",10),m.Ic(14,H,2,1,"button",11),m.Ic(15,W,2,1,"button",12),m.Ic(16,Q,2,2,"button",13),m.Ic(17,K,2,1,"button",12),m.Ic(18,q,2,2,"button",13),m.Ub(),m.Ub(),m.Ub(),m.Ic(19,ut,6,6,"ng-template",null,14,m.Jc)),2&t&&(m.Db(1),m.oc("ngClass",m.sc(12,ht,""===e.showQRField||e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM)),m.Db(1),m.oc("ngIf",""!==e.showQRField),m.Db(1),m.oc("fxFlex",""===e.showQRField||e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM?"100":"70"),m.Db(4),m.Lc(e.data.alertTitle||e.alertTypeEnum[e.data.type]),m.Db(3),m.oc("ngIf",e.data.scrollable),m.Db(1),m.oc("ngIf",!e.data.scrollable),m.Db(1),m.oc("ngIf",e.data.scrollable&&e.shouldScroll),m.Db(2),m.oc("ngIf",(!e.showQRField||""==e.showQRField)&&""===e.showCopyName),m.Db(1),m.oc("ngIf",""!==e.showCopyName),m.Db(1),m.oc("ngIf",""!==e.showCopyName),m.Db(1),m.oc("ngIf",""!==e.showQRField),m.Db(1),m.oc("ngIf",""!==e.showQRField))},directives:[g.c,g.b,g.a,x.m,S.a,x.o,O.c,A.a,k.a,O.b,E.b,x.t,L.a,D.a,b.d,I.a,x.n,P.a,x.q,x.r,x.s],pipes:[x.f],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}),t})();var ft=n("wHSu"),pt=n("/uX3"),bt=n("tqRt"),mt=n("s7LF"),gt=n("Nv++"),yt=n("Q2Ze"),vt=n("e6WT"),_t=n("B0X+");function wt(t,e){if(1&t&&(m.Vb(0,"div",17),m.Qb(1,"fa-icon",18),m.Vb(2,"span"),m.Kc(3),m.Ub(),m.Ub()),2&t){const t=m.hc();m.Db(1),m.oc("icon",t.faExclamationTriangle),m.Db(2),m.Lc(t.warningMessage)}}function Ct(t,e){if(1&t&&(m.Vb(0,"div",19),m.Qb(1,"fa-icon",18),m.Vb(2,"span"),m.Kc(3),m.Ub(),m.Ub()),2&t){const t=m.hc();m.Db(1),m.oc("icon",t.faInfoCircle),m.Db(2),m.Lc(t.informationMessage)}}function xt(t,e){if(1&t&&(m.Vb(0,"p",20),m.Kc(1),m.Ub()),2&t){const t=m.hc();m.Db(1),m.Lc(t.data.titleMessage)}}function St(t,e){if(1&t&&(m.Vb(0,"span",33),m.Kc(1),m.Ub()),2&t){const t=e.$implicit;m.Db(1),m.Lc(t)}}function Ot(t,e){if(1&t&&(m.Tb(0),m.Ic(1,St,2,1,"span",32),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.oc("ngForOf",t.value)}}function At(t,e){if(1&t&&(m.Tb(0),m.Kc(1),m.ic(2,"number"),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.Lc(m.kc(2,1,t.value,"1.0-3"))}}function kt(t,e){if(1&t&&(m.Tb(0),m.Kc(1),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.Lc(!0===t.value?"True":"False")}}function Et(t,e){if(1&t&&(m.Tb(0),m.Kc(1),m.Sb()),2&t){const t=m.hc(2).$implicit;m.Db(1),m.Lc(t.value)}}function Lt(t,e){if(1&t&&(m.Vb(0,"span"),m.Vb(1,"span",29),m.Ic(2,Ot,2,1,"ng-container",30),m.Ic(3,At,3,4,"ng-container",30),m.Ic(4,kt,2,1,"ng-container",30),m.Ic(5,Et,2,1,"ng-container",31),m.Ub(),m.Ub()),2&t){const t=m.hc().$implicit,e=m.hc(3);m.Db(1),m.oc("ngSwitch",t.type),m.Db(1),m.oc("ngSwitchCase",e.dataTypeEnum.ARRAY),m.Db(1),m.oc("ngSwitchCase",e.dataTypeEnum.NUMBER),m.Db(1),m.oc("ngSwitchCase",e.dataTypeEnum.BOOLEAN)}}function Dt(t,e){1&t&&(m.Vb(0,"span",34),m.Kc(1,"\xa0"),m.Ub())}function It(t,e){if(1&t&&(m.Vb(0,"div",24),m.Vb(1,"h4",25),m.Kc(2),m.Ub(),m.Ic(3,Lt,6,4,"span",26),m.Ic(4,Dt,2,0,"ng-template",null,27,m.Jc),m.Qb(6,"mat-divider",28),m.Ub()),2&t){const t=e.$implicit,n=m.wc(5);m.pc("fxFlex.gt-md",t.width),m.Db(2),m.Lc(t.title),m.Db(1),m.oc("ngIf",t&&t.value)("ngIfElse",n)}}function Pt(t,e){if(1&t&&(m.Vb(0,"div"),m.Vb(1,"div",22),m.Ic(2,It,7,4,"div",23),m.Ub(),m.Ub()),2&t){const t=e.$implicit;m.Db(2),m.oc("ngForOf",t)}}function Tt(t,e){if(1&t&&(m.Vb(0,"div"),m.Ic(1,Pt,3,1,"div",21),m.Ub()),2&t){const t=m.hc();m.Db(1),m.oc("ngForOf",t.messageObjs)}}function Rt(t,e){if(1&t&&(m.Vb(0,"p",20),m.Kc(1),m.Ub()),2&t){const t=m.hc(2);m.Db(1),m.Lc(t.data.titleMessage)}}function Mt(t,e){if(1&t){const t=m.Wb();m.Vb(0,"input",41),m.dc("ngModelChange",function(e){return m.zc(t),m.hc().$implicit.inputValue=e}),m.ic(1,"lowercase"),m.Ub()}if(2&t){const t=m.hc(),e=t.index,n=t.$implicit;m.qc("name","input",e,""),m.oc("placeholder",n.placeholder)("min",n.min)("step",n.step)("type",m.jc(1,7,n.inputType))("ngModel",n.inputValue)("tabindex",e+1)}}function jt(t,e){if(1&t){const t=m.Wb();m.Vb(0,"input",42),m.dc("ngModelChange",function(e){return m.zc(t),m.hc().$implicit.inputValue=e}),m.ic(1,"lowercase"),m.Ub()}if(2&t){const t=m.hc(),e=t.index,n=t.$implicit;m.qc("name","input",e,""),m.oc("placeholder",n.placeholder)("min",n.min)("step",n.step)("type",m.jc(1,7,n.inputType))("ngModel",n.inputValue)("tabindex",e+1)}}function Ft(t,e){if(1&t&&(m.Vb(0,"mat-error"),m.Kc(1),m.Ub()),2&t){const t=m.hc().$implicit;m.Db(1),m.Mc("",t.placeholder," is required.")}}function Nt(t,e){if(1&t&&(m.Vb(0,"mat-form-field",38),m.Ic(1,Mt,2,9,"input",39),m.Ic(2,jt,2,9,"input",40),m.Ic(3,Ft,2,1,"mat-error",11),m.Ub()),2&t){const t=e.$implicit,n=e.index;m.oc("fxFlex",t.width),m.Db(1),m.oc("ngIf",0===n),m.Db(1),m.oc("ngIf",0!==n),m.Db(1),m.oc("ngIf",!t.inputValue)}}function Ut(t,e){if(1&t&&(m.Vb(0,"div",35),m.Ic(1,Rt,2,1,"p",10),m.Vb(2,"div",36),m.Ic(3,Nt,4,4,"mat-form-field",37),m.Ub(),m.Ub()),2&t){const t=m.hc();m.Db(1),m.oc("ngIf",t.data.titleMessage),m.Db(2),m.oc("ngForOf",t.getInputs)}}function Vt(t,e){if(1&t){const t=m.Wb();m.Vb(0,"button",43),m.dc("click",function(){m.zc(t);const e=m.hc();return e.onClose(e.getInputs)}),m.Kc(1),m.Ub()}if(2&t){const t=m.hc();m.Db(1),m.Lc(t.yesBtnText)}}function Bt(t,e){if(1&t){const t=m.Wb();m.Vb(0,"button",44),m.dc("click",function(){return m.zc(t),m.hc().onClose(!0)}),m.Kc(1),m.Ub()}if(2&t){const t=m.hc();m.Db(1),m.Lc(t.yesBtnText)}}let zt=(()=>{class t{constructor(t,e,n,i){this.dialogRef=t,this.data=e,this.logger=n,this.store=i,this.faInfoCircle=ft.t,this.faExclamationTriangle=ft.o,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.alertTypeEnum=p.b,this.dataTypeEnum=p.h,this.getInputs=[{placeholder:"",inputType:"text",inputValue:""}]}ngOnInit(){this.informationMessage=this.data.informationMessage,this.warningMessage=this.data.warningMessage,this.flgShowInput=this.data.flgShowInput,this.getInputs=this.data.getInputs,this.noBtnText=this.data.noBtnText?this.data.noBtnText:"No",this.yesBtnText=this.data.yesBtnText?this.data.yesBtnText:"Yes",this.messageObjs=this.data.message,this.data.type===p.b.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onClose(t){if(t&&this.getInputs&&this.getInputs.some(t=>!t.inputValue))return!0;this.store.dispatch(new pt.i(t))}}return t.\u0275fac=function(e){return new(e||t)(m.Pb(b.f),m.Pb(b.a),m.Pb(_.b),m.Pb(bt.h))},t.\u0275cmp=m.Jb({type:t,selectors:[["rtl-confirmation-message"]],decls:20,vars:9,consts:[["fxLayout","row"],["fxFlex","100",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","8","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"mt-5px"],["fxLayout","column"],["fxFlex","100","class","alert alert-warn",4,"ngIf"],["fxFlex","100","class","alert alert-info",4,"ngIf"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],[4,"ngIf"],["fxLayout","column","class","bordered-box my-2 p-2",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","reset","tabindex","2",1,"mr-1",3,"click"],["autoFocus","","mat-flat-button","","color","primary","type","submit","tabindex","3","default","",3,"click",4,"ngIf"],["autoFocus","","mat-flat-button","","color","primary","type","submit","tabindex","4","default","",3,"click",4,"ngIf"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["fxFlex","100",1,"alert","alert-info"],["fxLayoutAlign","start center",1,"pb-1"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],[1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block",4,"ngFor","ngForOf"],[1,"display-block"],["fxFlex","100",1,"foreground-secondary-text"],["fxLayout","column",1,"bordered-box","my-2","p-2"],["fxLayoutAlign","space-between center"],[3,"fxFlex",4,"ngFor","ngForOf"],[3,"fxFlex"],["autoFocus","","matInput","","required","",3,"placeholder","name","min","step","type","ngModel","tabindex","ngModelChange",4,"ngIf"],["matInput","","required","",3,"placeholder","name","min","step","type","ngModel","tabindex","ngModelChange",4,"ngIf"],["autoFocus","","matInput","","required","",3,"placeholder","name","min","step","type","ngModel","tabindex","ngModelChange"],["matInput","","required","",3,"placeholder","name","min","step","type","ngModel","tabindex","ngModelChange"],["autoFocus","","mat-flat-button","","color","primary","type","submit","tabindex","3","default","",3,"click"],["autoFocus","","mat-flat-button","","color","primary","type","submit","tabindex","4","default","",3,"click"]],template:function(t,e){1&t&&(m.Vb(0,"div",0),m.Vb(1,"div",1),m.Vb(2,"mat-card-header",2),m.Vb(3,"div",3),m.Vb(4,"span",4),m.Kc(5),m.Ub(),m.Ub(),m.Vb(6,"button",5),m.dc("click",function(){return e.onClose(!1)}),m.Kc(7,"X"),m.Ub(),m.Ub(),m.Vb(8,"mat-card-content",6),m.Vb(9,"form",7),m.Ic(10,wt,4,2,"div",8),m.Ic(11,Ct,4,2,"div",9),m.Ic(12,xt,2,1,"p",10),m.Ic(13,Tt,2,1,"div",11),m.Ic(14,Ut,4,2,"div",12),m.Vb(15,"div",13),m.Vb(16,"button",14),m.dc("click",function(){return e.onClose(!1)}),m.Kc(17),m.Ub(),m.Ic(18,Vt,2,1,"button",15),m.Ic(19,Bt,2,1,"button",16),m.Ub(),m.Ub(),m.Ub(),m.Ub(),m.Ub()),2&t&&(m.Db(5),m.Lc(e.data.alertTitle||e.alertTypeEnum[e.data.type]),m.Db(5),m.oc("ngIf",e.warningMessage&&""!=e.warningMessage),m.Db(1),m.oc("ngIf",e.informationMessage&&""!=e.informationMessage),m.Db(1),m.oc("ngIf",e.data.titleMessage&&!e.flgShowInput),m.Db(1),m.oc("ngIf",(null==e.messageObjs?null:e.messageObjs.length)>0),m.Db(1),m.oc("ngIf",e.flgShowInput),m.Db(3),m.Lc(e.noBtnText),m.Db(1),m.oc("ngIf",e.flgShowInput),m.Db(1),m.oc("ngIf",!e.flgShowInput))},directives:[g.c,g.a,O.c,g.b,A.a,O.b,mt.u,mt.n,mt.o,x.o,gt.a,x.n,P.a,x.q,x.r,x.s,yt.c,vt.b,_t.a,mt.c,D.a,mt.s,mt.m,mt.p,yt.b],pipes:[x.f,x.l],styles:[""]}),t})();var Ht=n("V8Fa"),Wt=n("ZTz/"),Qt=n("UhP/");function Kt(t,e){if(1&t&&(m.Vb(0,"mat-option",23),m.Kc(1),m.Ub()),2&t){const t=e.$implicit;m.oc("value",t),m.Db(1),m.Mc(" ",t.infoName," ")}}function qt(t,e){if(1&t){const t=m.Wb();m.Vb(0,"div",13),m.Vb(1,"mat-form-field",20),m.Vb(2,"mat-select",21),m.dc("valueChange",function(e){return m.zc(t),m.hc().selInfoType=e}),m.Ic(3,Kt,2,2,"mat-option",22),m.Ub(),m.Ub(),m.Ub()}if(2&t){const t=m.hc();m.Db(2),m.oc("value",t.selInfoType),m.Db(1),m.oc("ngForOf",t.infoTypes)}}const Yt=function(t){return{"display-none":t}};let Gt=(()=>{class t{constructor(t,e,n,i,r){this.dialogRef=t,this.data=e,this.logger=n,this.snackBar=i,this.commonService=r,this.faReceipt=ft.H,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=p.s}ngOnInit(){this.information=this.data.information,this.information.uris&&(1===this.information.uris.length?this.infoTypes.push({infoID:1,infoKey:"node URI",infoName:"Node URI"}):this.information.uris.length>1&&this.information.uris.forEach((t,e)=>{this.infoTypes.push({infoID:e+1,infoKey:"node URI "+(e+1),infoName:"Node URI "+(e+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(t){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+t)}}return t.\u0275fac=function(e){return new(e||t)(m.Pb(b.f),m.Pb(b.a),m.Pb(_.b),m.Pb(w.b),m.Pb(C.a))},t.\u0275cmp=m.Jb({type:t,selectors:[["rtl-show-pubkey"]],decls:26,vars:23,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxFlex","100","fxFlex.gt-sm","70",1,"padding-gap-large","pl-3"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-2"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"pr-1"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(m.Vb(0,"div",0),m.Vb(1,"div",1),m.Qb(2,"qrcode",2),m.Ub(),m.Vb(3,"div",3),m.Vb(4,"mat-card-header",4),m.Vb(5,"div",5),m.Qb(6,"fa-icon",6),m.Vb(7,"span",7),m.Kc(8),m.Ub(),m.Ub(),m.Vb(9,"button",8),m.dc("click",function(){return e.onClose()}),m.Kc(10,"X"),m.Ub(),m.Ub(),m.Vb(11,"mat-card-content",9),m.Vb(12,"div",10),m.Vb(13,"div",11),m.Qb(14,"qrcode",2),m.Ub(),m.Ic(15,qt,4,2,"div",12),m.Vb(16,"div",13),m.Vb(17,"div",14),m.Vb(18,"h4",15),m.Kc(19),m.Ub(),m.Vb(20,"span",16),m.Kc(21),m.Ub(),m.Ub(),m.Ub(),m.Qb(22,"mat-divider",17),m.Vb(23,"div",18),m.Vb(24,"button",19),m.dc("copied",function(t){return e.onCopyPubkey(t)}),m.Kc(25),m.Ub(),m.Ub(),m.Ub(),m.Ub(),m.Ub(),m.Ub()),2&t&&(m.Db(1),m.oc("ngClass",m.sc(19,Yt,e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM)),m.Db(1),m.pc("qrdata",0===e.selInfoType.infoID?e.information.identity_pubkey:e.information.uris[e.selInfoType.infoID-1]),m.oc("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),m.Db(4),m.oc("icon",e.faReceipt),m.Db(2),m.Lc(e.selInfoType.infoName),m.Db(5),m.oc("ngClass",m.sc(21,Yt,e.screenSize!==e.screenSizeEnum.XS&&e.screenSize!==e.screenSizeEnum.SM)),m.Db(1),m.pc("qrdata",0===e.selInfoType.infoID?e.information.identity_pubkey:e.information.uris[e.selInfoType.infoID-1]),m.oc("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),m.Db(1),m.oc("ngIf",e.information.uris&&e.information.uris.length>0),m.Db(4),m.Lc(e.selInfoType.infoName),m.Db(2),m.Lc(0===e.selInfoType.infoID?e.information.identity_pubkey:e.information.uris[e.selInfoType.infoID-1]),m.Db(3),m.pc("payload",0===e.selInfoType.infoID?e.information.identity_pubkey:e.information.uris[e.selInfoType.infoID-1]),m.Db(1),m.Mc("Copy ",e.selInfoType.infoKey,""))},directives:[g.c,g.b,g.a,x.m,S.a,k.a,O.c,gt.a,A.a,O.b,x.o,P.a,D.a,I.a,yt.c,Wt.a,x.n,Qt.m],styles:[""]}),t})();var Zt=n("lF6s"),Xt=n("LvnZ"),Jt=n("MCVq"),$t=n("IheW"),te=n("mZtN"),ee=n("iiaH"),ne=n("iInd");let ie=(()=>{class t{constructor(t,e,n,i,b,m,g,y,_,w){this.actions$=t,this.httpClient=e,this.store=n,this.logger=i,this.sessionService=b,this.commonService=m,this.dataService=g,this.dialog=y,this.snackBar=_,this.router=w,this.CHILD_API_URL=f.a+"/lnd",this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new s.a,new s.a],this.closeAllDialogs=this.actions$.pipe(Object(r.d)(pt.c),Object(c.a)(t=>{this.dialog.closeAll()})),this.openSnackBar=this.actions$.pipe(Object(r.d)(pt.B),Object(c.a)(t=>{this.snackBar.open(t.payload)})),this.openSpinner=this.actions$.pipe(Object(r.d)(pt.C),Object(c.a)(t=>{this.dialogRef=this.dialog.open(v,{data:{titleMessage:t.payload}})})),this.closeSpinner=this.actions$.pipe(Object(r.d)(pt.e),Object(c.a)(t=>{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage.includes("...")&&this.dialogRef.close();try{this.dialog.openDialogs.forEach(t=>{t.componentInstance&&t.componentInstance.data&&t.componentInstance.data.titleMessage&&t.componentInstance.data.titleMessage.includes("...")&&t.close()})}catch(e){this.logger.error(e)}})),this.openAlert=this.actions$.pipe(Object(r.d)(pt.z),Object(c.a)(t=>{t.payload.width=this.alertWidth,this.dialogRef=this.dialog.open(t.payload.data.component?t.payload.data.component:dt,t.payload)})),this.closeAlert=this.actions$.pipe(Object(r.d)(pt.b),Object(c.a)(t=>(this.dialogRef&&this.dialogRef.close(),t.payload))),this.openConfirm=this.actions$.pipe(Object(r.d)(pt.A),Object(c.a)(t=>{t.payload.width=this.confirmWidth,this.dialogRef=this.dialog.open(zt,t.payload)})),this.closeConfirm=this.actions$.pipe(Object(r.d)(pt.d),Object(l.a)(1),Object(c.a)(t=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(t.payload),t.payload))),this.showNodePubkey=this.actions$.pipe(Object(r.d)(pt.T),Object(h.a)(this.store.select("root")),Object(u.a)(([t,e])=>(this.sessionService.getItem("token")&&e.nodeData.identity_pubkey?this.store.dispatch(new pt.D({width:"70%",data:{information:e.nodeData,component:Gt}})):this.snackBar.open("Node Pubkey does not exist."),Object(o.a)({type:pt.fb})))),this.appConfigFetch=this.actions$.pipe(Object(r.d)(pt.o),Object(u.a)(t=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===p.s.XS||this.screenSize===p.s.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===p.s.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="55%",this.confirmWidth="60%"),this.store.dispatch(new pt.f("FetchRTLConfig")),this.httpClient.get(f.b.CONF_API+"/rtlconf"))),Object(c.a)(t=>{let e;return this.logger.info(t),t.nodes.forEach(n=>{n.settings.currencyUnits=[...p.e,n.settings.currencyUnit],+n.index===t.selectedNodeIndex&&(e=n)}),e?(this.store.dispatch(new pt.W({lnNode:e,isInitialSetup:!0})),{type:pt.P,payload:t}):{type:pt.fb}},Object(d.a)(t=>(this.handleErrorWithoutAlert("FetchRTLConfig",t),Object(o.a)({type:pt.fb}))))),this.settingSave=this.actions$.pipe(Object(r.d)(pt.M),Object(u.a)(t=>{if(this.store.dispatch(new pt.f("UpdateSettings")),t.payload.settings&&t.payload.defaultNodeIndex){let e=this.httpClient.post(f.b.CONF_API,{updatedSettings:t.payload.settings}),n=this.httpClient.post(f.b.CONF_API+"/updateDefaultNode",{defaultNodeIndex:t.payload.defaultNodeIndex});return Object(a.a)([e,n])}return t.payload.settings&&!t.payload.defaultNodeIndex?this.httpClient.post(f.b.CONF_API,{updatedSettings:t.payload.settings}):!t.payload.settings&&t.payload.defaultNodeIndex?this.httpClient.post(f.b.CONF_API+"/updateDefaultNode",{defaultNodeIndex:t.payload.defaultNodeIndex}):Object(o.a)({type:pt.fb})}),Object(c.a)(t=>(this.store.dispatch(new pt.j),this.logger.info(t),{type:pt.B,payload:t.length?t[0].message+".":t.message+"."}),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"UpdateSettings",code:t.length?t[0].status:t.status,message:t.length?t[0].error.error:t.error.error})),this.handleErrorWithAlert("ERROR","Update Settings Failed!",f.b.CONF_API,t.length?t[0]:t),Object(o.a)({type:pt.fb}))))),this.updateServicesettings=this.actions$.pipe(Object(r.d)(pt.bb),Object(u.a)(t=>(this.store.dispatch(new pt.f("UpdateServiceSettings")),this.httpClient.post(f.b.CONF_API+"/updateServiceSettings",t.payload))),Object(c.a)(t=>(this.store.dispatch(new pt.j),this.logger.info(t),{type:pt.B,payload:t.message+"."}),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"UpdateServiceSettings",code:t.status,message:t.error.error})),this.handleErrorWithAlert("ERROR","Update Service Settings Failed!",f.b.CONF_API,t),Object(o.a)({type:pt.fb}))))),this.ssoSave=this.actions$.pipe(Object(r.d)(pt.N),Object(u.a)(t=>(this.store.dispatch(new pt.f("UpdateSSO")),this.httpClient.post(f.b.CONF_API+"/updateSSO",{SSO:t.payload}))),Object(c.a)(t=>(this.store.dispatch(new pt.j),this.logger.info(t),{type:pt.B,payload:t.message+"."}),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"UpdateSSO",code:t.status,message:t.error.error})),this.handleErrorWithAlert("ERROR","Update SSO Failed!",f.b.CONF_API,t),Object(o.a)({type:pt.fb}))))),this.twoFASettingSave=this.actions$.pipe(Object(r.d)(pt.Y),Object(u.a)(t=>(this.store.dispatch(new pt.f("Update2FASettings")),this.httpClient.post(f.b.CONF_API+"/update2FA",{secret2fa:t.payload.secret2fa}))),Object(c.a)(t=>(this.store.dispatch(new pt.j),this.logger.info(t),{type:pt.fb}),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"Update2FASettings",code:t.status,message:t.error.error})),this.handleErrorWithAlert("ERROR","Update 2FA Settings Failed!",f.b.CONF_API,t),Object(o.a)({type:pt.fb}))))),this.configFetch=this.actions$.pipe(Object(r.d)(pt.m),Object(u.a)(t=>(this.store.dispatch(new pt.f("fetchConfig")),this.httpClient.get(f.b.CONF_API+"/config/"+t.payload).pipe(Object(c.a)(t=>(this.store.dispatch(new pt.j),{type:pt.R,payload:t})),Object(d.a)(e=>(this.store.dispatch(new pt.l({action:"fetchConfig",code:e.status,message:e.error.error})),this.handleErrorWithAlert("ERROR","Fetch Config Failed!",f.b.CONF_API+"/config/"+t.payload,e),Object(o.a)({type:pt.fb}))))))),this.showLnConfig=this.actions$.pipe(Object(r.d)(pt.R),Object(c.a)(t=>t.payload)),this.isAuthorized=this.actions$.pipe(Object(r.d)(pt.s),Object(h.a)(this.store.select("root")),Object(u.a)(([t,e])=>(this.store.dispatch(new pt.f("IsAuthorized")),this.httpClient.post(f.b.AUTHENTICATE_API,{authenticateWith:t.payload&&""!==t.payload.trim()?p.c.PASSWORD:p.c.JWT,authenticationValue:t.payload&&""!==t.payload.trim()?t.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe(Object(c.a)(t=>(this.logger.info(t),this.logger.info("Successfully Authorized!"),{type:pt.t,payload:t})),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"IsAuthorized",code:t.status,message:t.error.message})),this.handleErrorWithAlert("ERROR","Authorization Failed",f.b.AUTHENTICATE_API,t),Object(o.a)({type:pt.t,payload:"ERROR"}))))))),this.isAuthorizedRes=this.actions$.pipe(Object(r.d)(pt.t),Object(c.a)(t=>t.payload)),this.authLogin=this.actions$.pipe(Object(r.d)(pt.v),Object(h.a)(this.store.select("root")),Object(u.a)(([t,e])=>(this.store.dispatch(new Jt.i("FetchInfo")),this.store.dispatch(new Xt.g("FetchInfo")),this.store.dispatch(new Zt.e("FetchInfo")),this.store.dispatch(new pt.f("Login")),this.httpClient.post(f.b.AUTHENTICATE_API,{authenticateWith:t.payload.password?p.c.PASSWORD:p.c.JWT,authenticationValue:t.payload.password?t.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:t.payload.twoFAToken?t.payload.twoFAToken:""}).pipe(Object(c.a)(n=>{this.logger.info(n),this.setLoggedInDetails(t.payload.defaultPassword,n,e)}),Object(d.a)(t=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("ERROR",t),this.store.dispatch(new pt.l({action:"Login",code:t.status,message:t.error.error})),+e.appConfig.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),Object(o.a)({type:pt.fb}))))))),this.tokenVerify=this.actions$.pipe(Object(r.d)(pt.eb),Object(h.a)(this.store.select("root")),Object(u.a)(([t,e])=>(this.store.dispatch(new pt.f("VerifyToken")),this.httpClient.post(f.b.AUTHENTICATE_API+"/token",{authentication2FA:t.payload.token}).pipe(Object(c.a)(n=>{this.logger.info(n),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,t.payload.authResponse,e)}),Object(d.a)(t=>(this.handleErrorWithAlert("ERROR","Authorization Failed!",f.b.AUTHENTICATE_API+"/token",t),this.store.dispatch(new pt.l({action:"VerifyToken",code:t.status,message:t.error.error})),Object(o.a)({type:pt.fb}))))))),this.logOut=this.actions$.pipe(Object(r.d)(pt.w),Object(h.a)(this.store.select("root")),Object(u.a)(([t,e])=>(+e.appConfig.sso.rtlSSO?window.location.href=e.appConfig.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.removeItem("eclUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"),this.store.dispatch(new pt.V({})),this.logger.warn("LOGGED OUT"),Object(o.a)()))),this.resetPassword=this.actions$.pipe(Object(r.d)(pt.H),Object(h.a)(this.store.select("root")),Object(u.a)(([t,e])=>(this.store.dispatch(new pt.f("ResetPassword")),this.httpClient.post(f.b.AUTHENTICATE_API+"/reset",{currPassword:t.payload.currPassword,newPassword:t.payload.newPassword}).pipe(Object(c.a)(t=>(this.logger.info(t),this.logger.info("Password Reset Successful!"),this.store.dispatch(new pt.F("Password Reset Successful!")),this.SetToken(t.token),{type:pt.I,payload:t.token})),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"ResetPassword",code:t.status,message:t.error.message})),this.handleErrorWithAlert("ERROR","Password Reset Failed!",f.b.AUTHENTICATE_API+"/reset",t),Object(o.a)({type:pt.fb}))))))),this.setSelectedNode=this.actions$.pipe(Object(r.d)(pt.Q),Object(u.a)(t=>(this.store.dispatch(new pt.f("UpdateSelNode")),this.httpClient.post(f.b.CONF_API+"/updateSelNode",{selNodeIndex:t.payload.lnNode.index}).pipe(Object(c.a)(e=>(this.logger.info(e),this.store.dispatch(new pt.j),this.initializeNode(t.payload.lnNode,t.payload.isInitialSetup),{type:pt.fb})),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"UpdateSelNode",code:t.status,message:t.error.message})),this.handleErrorWithAlert("ERROR","Update Selected Node Failed!",f.b.CONF_API+"/updateSelNode",t),Object(o.a)({type:pt.fb}))))))),this.fetchFile=this.actions$.pipe(Object(r.d)(pt.n),Object(u.a)(t=>{this.store.dispatch(new pt.f("fetchFile"));let e="?channel="+t.payload.channelPoint+(t.payload.path?"&path="+t.payload.path:"");return this.httpClient.get(f.b.CONF_API+"/file"+e).pipe(Object(c.a)(t=>(this.store.dispatch(new pt.j),{type:pt.S,payload:t})),Object(d.a)(t=>(this.store.dispatch(new pt.l({action:"fetchFile",code:t.status,message:t.error.error})),this.handleErrorWithAlert("ERROR",t.error.message,f.b.CONF_API+"/file"+e,{status:t.error.error.errno,error:t.error.error.code}),Object(o.a)({type:pt.fb}))))})),this.showFile=this.actions$.pipe(Object(r.d)(pt.S),Object(c.a)(t=>t.payload))}setLoggedInDetails(t,e,n){this.logger.info("Successfully Authorized!"),this.SetToken(e.token),n.selNode.settings.currencyUnits=[...p.e,n.selNode.settings.currencyUnit],t?(this.store.dispatch(new pt.F("Reset your password.")),this.router.navigate(["/settings/auth"],{state:{initial:!0}})):this.store.dispatch(new pt.W({lnNode:n.selNode,isInitialSetup:!0}))}initializeNode(t,e){const n=e?"":"HOME";let i={};if(i=t.settings.fiatConversion&&t.settings.currencyUnit?{userPersona:t.settings.userPersona,channelBackupPath:t.settings.channelBackupPath,selCurrencyUnit:t.settings.currencyUnit,currencyUnits:[...p.e,t.settings.currencyUnit],fiatConversion:t.settings.fiatConversion,lnImplementation:t.lnImplementation,swapServerUrl:t.settings.swapServerUrl,boltzServerUrl:t.settings.boltzServerUrl}:{userPersona:t.settings.userPersona,channelBackupPath:t.settings.channelBackupPath,selCurrencyUnit:t.settings.currencyUnit,currencyUnits:p.e,fiatConversion:t.settings.fiatConversion,lnImplementation:t.lnImplementation,swapServerUrl:t.settings.swapServerUrl,boltzServerUrl:t.settings.boltzServerUrl},this.store.dispatch(new pt.L(t)),this.store.dispatch(new Jt.lb(i)),this.store.dispatch(new Xt.X(i)),this.store.dispatch(new Zt.M(i)),this.sessionService.getItem("token"))switch(t.lnImplementation=t.lnImplementation.toUpperCase(),this.dataService.setChildAPIUrl(t.lnImplementation),t.lnImplementation){case"CLT":this.CHILD_API_URL=f.a+"/cl",this.store.dispatch(new Xt.E({loadPage:n}));break;case"ECL":this.CHILD_API_URL=f.a+"/ecl",this.store.dispatch(new Zt.w({loadPage:n}));break;default:this.CHILD_API_URL=f.a+"/lnd",this.store.dispatch(new Jt.G({loadPage:n}))}}SetToken(t){t?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",t)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}handleErrorWithoutAlert(t,e){this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(e)),401===e.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new pt.h),this.store.dispatch(new pt.y),this.store.dispatch(new pt.F("Authentication Failed. Redirecting to Login."))):this.store.dispatch(new pt.l({action:t,code:e.status.toString(),message:e.error.error}))}handleErrorWithAlert(t,e,n,i){this.logger.error(i),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new pt.h),this.store.dispatch(new pt.y),this.store.dispatch(new pt.F("Authentication Failed. Redirecting to Login."))):(this.store.dispatch(new pt.j),this.store.dispatch(new pt.D({data:{type:t,alertTitle:e,message:{code:i.status?i.status:"Unknown Error",message:i.error.error&&i.error.error.error&&i.error.error.error.error&&i.error.error.error.error.error&&"string"==typeof i.error.error.error.error.error?i.error.error.error.error.error:i.error.error&&i.error.error.error&&i.error.error.error.error&&"string"==typeof i.error.error.error.error?i.error.error.error.error:i.error.error&&i.error.error.error&&"string"==typeof i.error.error.error?i.error.error.error:i.error.error&&"string"==typeof i.error.error?i.error.error:"string"==typeof i.error?i.error:"Unknown Error",URL:n},component:Ht.a}})))}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(m.Zb(r.a),m.Zb($t.b),m.Zb(bt.h),m.Zb(_.b),m.Zb(te.a),m.Zb(C.a),m.Zb(ee.a),m.Zb(b.c),m.Zb(w.b),m.Zb(ne.g))},t.\u0275prov=m.Lb({token:t,factory:t.\u0275fac}),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"closeAllDialogs",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"openSnackBar",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"openSpinner",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"closeSpinner",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"openAlert",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"closeAlert",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"openConfirm",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"closeConfirm",void 0),Object(i.a)([Object(r.b)()],t.prototype,"showNodePubkey",void 0),Object(i.a)([Object(r.b)()],t.prototype,"appConfigFetch",void 0),Object(i.a)([Object(r.b)()],t.prototype,"settingSave",void 0),Object(i.a)([Object(r.b)()],t.prototype,"updateServicesettings",void 0),Object(i.a)([Object(r.b)()],t.prototype,"ssoSave",void 0),Object(i.a)([Object(r.b)()],t.prototype,"twoFASettingSave",void 0),Object(i.a)([Object(r.b)()],t.prototype,"configFetch",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"showLnConfig",void 0),Object(i.a)([Object(r.b)()],t.prototype,"isAuthorized",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"isAuthorizedRes",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"authLogin",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"tokenVerify",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"logOut",void 0),Object(i.a)([Object(r.b)()],t.prototype,"resetPassword",void 0),Object(i.a)([Object(r.b)()],t.prototype,"setSelectedNode",void 0),Object(i.a)([Object(r.b)()],t.prototype,"fetchFile",void 0),Object(i.a)([Object(r.b)({dispatch:!1})],t.prototype,"showFile",void 0),t})()},XDbj:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("sVev"),r=n("7o/Q");function s(t=c){return e=>e.lift(new o(t))}class o{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends r.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function c(){return new i.a}},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return h});var i=n("HDdC"),r=n("7o/Q"),s=n("quSY"),o=n("9ppp"),a=n("Ylt2"),c=n("2QA8");class l extends r.a{constructor(t){super(t),this.destination=t}}let h=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(t){const e=new u(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),s.a.EMPTY):this.isStopped?(t.complete(),s.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new i.a;return t.source=this,t}}return t.create=(t,e)=>new u(t,e),t})();class u extends h{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.a.EMPTY}}},Xhqo:function(t,e,n){"use strict";var i=n("hwdV").Buffer,r=n(4);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e=i.allocUnsafe(t>>>0),n=this.head,r=0;n;)n.data.copy(e,r),r+=n.data.length,n=n.next;return e},t}(),r&&r.inspect&&r.inspect.custom&&(t.exports.prototype[r.inspect.custom]=function(){var t=r.inspect({length:this.length});return this.constructor.name+" "+t})},Xn1i:function(t,e,n){"use strict";var i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=l;var r=n("zzXz"),s=n("Sc7j");n("2q5Q")(l,r);for(var o=i(s.prototype),a=0;a<o.length;a++){var c=o[a];l.prototype[c]||(l.prototype[c]=s.prototype[c])}function l(t){if(!(this instanceof l))return new l(t);r.call(this,t),s.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||process.nextTick(u,this)}function u(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},Xudb:function(t,e,n){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,i){for(var r=0,s=0,o=6;o>=0;o-=2){for(var a=0;a<=24;a+=8)r<<=1,r|=e>>>a+o&1;for(a=0;a<=24;a+=8)r<<=1,r|=t>>>a+o&1}for(o=6;o>=0;o-=2){for(a=1;a<=25;a+=8)s<<=1,s|=e>>>a+o&1;for(a=1;a<=25;a+=8)s<<=1,s|=t>>>a+o&1}n[i+0]=r>>>0,n[i+1]=s>>>0},e.rip=function(t,e,n,i){for(var r=0,s=0,o=0;o<4;o++)for(var a=24;a>=0;a-=8)r<<=1,r|=e>>>a+o&1,r<<=1,r|=t>>>a+o&1;for(o=4;o<8;o++)for(a=24;a>=0;a-=8)s<<=1,s|=e>>>a+o&1,s<<=1,s|=t>>>a+o&1;n[i+0]=r>>>0,n[i+1]=s>>>0},e.pc1=function(t,e,n,i){for(var r=0,s=0,o=7;o>=5;o--){for(var a=0;a<=24;a+=8)r<<=1,r|=e>>a+o&1;for(a=0;a<=24;a+=8)r<<=1,r|=t>>a+o&1}for(a=0;a<=24;a+=8)r<<=1,r|=e>>a+o&1;for(o=1;o<=3;o++){for(a=0;a<=24;a+=8)s<<=1,s|=e>>a+o&1;for(a=0;a<=24;a+=8)s<<=1,s|=t>>a+o&1}for(a=0;a<=24;a+=8)s<<=1,s|=t>>a+o&1;n[i+0]=r>>>0,n[i+1]=s>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var i=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,r){for(var s=0,o=0,a=i.length>>>1,c=0;c<a;c++)s<<=1,s|=t>>>i[c]&1;for(c=a;c<i.length;c++)o<<=1,o|=e>>>i[c]&1;n[r+0]=s>>>0,n[r+1]=o>>>0},e.expand=function(t,e,n){var i=0,r=0;i=(1&t)<<5|t>>>27;for(var s=23;s>=15;s-=4)i<<=6,i|=t>>>s&63;for(s=11;s>=3;s-=4)r|=t>>>s&63,r<<=6;r|=(31&t)<<1|t>>>31,e[n+0]=i>>>0,e[n+1]=r>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,i=0;i<4;i++)n<<=4,n|=r[64*i+(t>>>18-6*i&63)];for(i=0;i<4;i++)n<<=4,n|=r[256+64*i+(e>>>18-6*i&63)];return n>>>0};var s=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n<s.length;n++)e<<=1,e|=t>>>s[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var i=t.toString(2);i.length<e;)i="0"+i;for(var r=[],s=0;s<e;s+=n)r.push(i.slice(s,s+n));return r.join(" ")}},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},YEUz:function(t,e,n){"use strict";n.d(e,"a",function(){return q}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return x}),n.d(e,"d",function(){return j}),n.d(e,"e",function(){return z}),n.d(e,"f",function(){return P}),n.d(e,"g",function(){return A}),n.d(e,"h",function(){return V}),n.d(e,"i",function(){return I}),n.d(e,"j",function(){return K}),n.d(e,"k",function(){return M}),n.d(e,"l",function(){return F});var i=n("SVse"),r=n("8Y7J"),s=n("SCoL"),o=n("XNiG"),a=n("quSY"),c=n("LRne"),l=n("Ht+U"),h=n("vkgz"),u=n("Kj3r"),d=n("pLZG"),f=n("lJxs"),p=n("IzEk"),b=n("8LU1"),m=n("9b/N");function g(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const y="cdk-describedby-message-container",v="cdk-describedby-host";let _=0;const w=new Map;let C=null,x=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),w.set(e,{messageElement:e,referenceCount:0})):w.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(e&&this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=w.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}C&&0===C.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(v);C&&this._deleteMessagesContainer(),w.clear()}_createMessageElement(t){const e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),C.appendChild(e),w.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id="cdk-describedby-message-"+_++)}_deleteMessageElement(t){const e=w.get(t),n=e&&e.messageElement;C&&n&&C.removeChild(n),w.delete(t)}_createMessagesContainer(){if(!C){const t=!this._platform||!this._platform.EDGE&&!this._platform.TRIDENT,e=this._document.getElementById(y);e&&e.parentNode&&e.parentNode.removeChild(e),C=this._document.createElement("div"),C.id=y,C.classList.add("cdk-visually-hidden"),C.setAttribute("aria-hidden",t+""),this._document.body.appendChild(C)}}_deleteMessagesContainer(){C&&C.parentNode&&(C.parentNode.removeChild(C),C=null)}_removeCdkDescribedByReferenceIds(t){const e=g(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=w.get(e);!function(t,e,n){const i=g(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute(v,""),n.referenceCount++}_removeMessageReference(t,e){const n=w.get(e);n.referenceCount--,function(t,e,n){const i=g(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(v)}_isElementDescribedByMessage(t,e){const n=g(t,"aria-describedby"),i=w.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":(""+e).trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.d),r.Zb(s.a))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(i.d),Object(r.Zb)(s.a))},token:t,providedIn:"root"}),t})();class S{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,t instanceof r.F&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(h.a)(t=>this._pressedLetters.push(t)),Object(u.a)(t),Object(d.a)(()=>this._pressedLetters.length>0),Object(f.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,r=e[i];if(!this._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.n:return void this.tabOut.next();case l.c:if(this._vertical&&n){this.setNextItemActive();break}return;case l.o:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.l:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.h:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.g:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.d:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(l.r)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.p||e>=l.q&&e<=l.i)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.F?this._items.toArray():this._items}}class O extends S{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class A extends S{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let k=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===L(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=L(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||E(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.a))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(s.a))},token:t,providedIn:"root"}),t})();function E(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function L(t){if(!E(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class D{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){const e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(t)}}let I=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new D(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(k),r.Zb(r.B),r.Zb(i.d))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(k),Object(r.Zb)(r.B),Object(r.Zb)(i.d))},token:t,providedIn:"root"}),t})(),P=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(b.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(b.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(I),r.Pb(i.d))},t.\u0275dir=r.Kb({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.Bb]}),t})();"undefined"!=typeof Element&&Element;const T=new r.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),R=new r.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let M=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(T,8),r.Zb(r.B),r.Zb(i.d),r.Zb(R,8))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(T,8),Object(r.Zb)(r.B),Object(r.Zb)(i.d),Object(r.Zb)(R,8))},token:t,providedIn:"root"}),t})(),j=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(M),r.Pb(m.b),r.Pb(r.B))},t.\u0275dir=r.Kb({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function F(t){return 0===t.buttons}const N=new r.s("cdk-focus-monitor-default-options"),U=Object(s.f)({passive:!0,capture:!0});let V=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=F(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=B(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=B(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Object(b.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(c.a)(null);const i=Object(s.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;const a={checkChildren:e,subject:new o.a,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const e=Object(b.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Object(b.e)(t);i===this._getDocument().activeElement&&this._elementInfo.has(i)?this._originChanged(i,e,this._elementInfo.get(i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=B(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===B(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,U),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,U)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,U),t.addEventListener("mousedown",this._documentMousedownListener,U),t.addEventListener("touchstart",this._documentTouchstartListener,U),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,U),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,U),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,U),t.removeEventListener("mousedown",this._documentMousedownListener,U),t.removeEventListener("touchstart",this._documentTouchstartListener,U),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(r.B),r.Zb(s.a),r.Zb(i.d,8),r.Zb(N,8))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(r.B),Object(r.Zb)(s.a),Object(r.Zb)(i.d,8),Object(r.Zb)(N,8))},token:t,providedIn:"root"}),t})();function B(t){return t.composedPath?t.composedPath()[0]:t.target}let z=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new r.o}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(V))},t.\u0275dir=r.Kb({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const H="cdk-high-contrast-black-on-white",W="cdk-high-contrast-white-on-black",Q="cdk-high-contrast-active";let K=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Q),t.remove(H),t.remove(W);const e=this.getHighContrastMode();1===e?(t.add(Q),t.add(H)):2===e&&(t.add(Q),t.add(W))}}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.a),r.Zb(i.d))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(s.a),Object(r.Zb)(i.d))},token:t,providedIn:"root"}),t})(),q=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)(r.Zb(K))},imports:[[s.b,m.c]]}),t})()},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("quSY");class r extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},"YoN+":function(t,e,n){"use strict";const i=n("P7XM"),r=n("0cit").Reporter,s=n("xZGU").Buffer;function o(t,e){r.call(this,e),s.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function a(t,e){if(Array.isArray(t))this.length=0,this.value=t.map(function(t){return a.isEncoderBuffer(t)||(t=new a(t,e)),this.length+=t.length,t},this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=s.byteLength(t);else{if(!s.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}i(o,r),e.DecoderBuffer=o,o.isDecoderBuffer=function(t){return t instanceof o||"object"==typeof t&&s.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},o.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},o.prototype.restore=function(t){const e=new o(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,r.prototype.restore.call(this,t.reporter),e},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},o.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");const n=new o(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},o.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=a,a.isEncoderBuffer=function(t){return t instanceof a||"object"==typeof t&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},a.prototype.join=function(t,e){return t||(t=s.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(n){n.join(t,e),e+=n.length}):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):s.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},YskG:function(t,e,n){var i=n("hwdV").Buffer;function r(t,e,n){var r=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=i.concat([t._prev.slice(1),i.from([n?e:r])]),r}e.encrypt=function(t,e,n){for(var s=e.length,o=i.allocUnsafe(s),a=-1;++a<s;)o[a]=r(t,e[a],n);return o}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"Z2+3":function(t,e,n){"use strict";var i=n("N+aw"),r=n("P7XM"),s=n("6lN/"),o=n("86MQ");function a(t){s.call(this,"mont",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,n){s.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(e,16),this.z=new i(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(a,s),t.exports=a,a.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),i=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===i.redSqrt().redSqr().cmp(i)},r(c,s.BasePoint),a.prototype.decodePoint=function(t,e){return this.point(o.toArray(t,e),1)},a.prototype.point=function(t,e){return new c(this,t,e)},a.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),i=t.redMul(e),r=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,r)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),r=t.x.redAdd(t.z),s=t.x.redSub(t.z).redMul(n),o=r.redMul(i),a=e.z.redMul(s.redAdd(o).redSqr()),c=e.x.redMul(s.redISub(o).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(t){for(var e=t.clone(),n=this,i=this.curve.point(null,null),r=[];0!==e.cmpn(0);e.iushrn(1))r.push(e.andln(1));for(var s=r.length-1;s>=0;s--)0===r[s]?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},Z92M:function(t,e){t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZDAU:function(t,e,n){var i=n("hwdV").Buffer,r=n("1IWx").Transform,s=n("fXKp").StringDecoder;function o(t){r.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("P7XM")(o,r),o.prototype.update=function(t,e,n){"string"==typeof t&&(t=i.from(t,e));var r=this._update(t);return this.hashMode?this:(n&&(r=this._toString(r,n)),r)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(t,e,n){var i;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(r){i=r}finally{n(i)}},o.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(n){e=n}t(e)},o.prototype._finalOrDigest=function(t){var e=this.__final()||i.alloc(0);return t&&(e=this._toString(e,t,!0)),e},o.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new s(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var i=this._decoder.write(t);return n&&(i+=this._decoder.end()),i},t.exports=o},ZEK9:function(t,e,n){e.publicEncrypt=n("rSVQ"),e.privateDecrypt=n("DyzK"),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},"ZFy/":function(t,e,n){"use strict";n.d(e,"a",function(){return S}),n.d(e,"b",function(){return A});var i=n("1O3W"),r=n("YEUz"),s=n("SVse"),o=n("8Y7J"),a=n("UhP/"),c=n("7KAL"),l=n("8LU1"),h=n("Ht+U"),u=n("HeVh"),d=n("SCoL"),f=n("1z/I"),p=n("XNiG"),b=n("1G5W"),m=n("IzEk"),g=n("GS7A"),y=n("9gLZ");const v={tooltipState:Object(g.n)("state",[Object(g.k)("initial, void, hidden",Object(g.l)({opacity:0,transform:"scale(0)"})),Object(g.k)("visible",Object(g.l)({transform:"scale(1)"})),Object(g.m)("* => visible",Object(g.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(g.h)([Object(g.l)({opacity:0,transform:"scale(0)",offset:0}),Object(g.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(g.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(g.m)("* => hidden",Object(g.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(g.l)({opacity:0})))])},_=Object(d.f)({passive:!0}),w=new o.s("mat-tooltip-scroll-strategy"),C={provide:w,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},x=new o.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let S=(()=>{class t{constructor(t,e,n,i,r,s,o,a,c,l,u){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=o,this._focusMonitor=a,this._dir=l,this._defaultOptions=u,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new p.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===h.f&&!Object(h.r)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,u&&(u.position&&(this.position=u.position),u.touchGestures&&(this.touchGestures=u.touchGestures)),r.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(b.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,_)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new f.d(O,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(b.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(b.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(b.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(m.a)(1),Object(b.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,_)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(i.c),o.Pb(o.l),o.Pb(c.c),o.Pb(o.S),o.Pb(o.B),o.Pb(d.a),o.Pb(r.c),o.Pb(r.h),o.Pb(w),o.Pb(y.b,8),o.Pb(x,8))},t.\u0275dir=o.Kb({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),O=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new p.a,this._isHandset=this._breakpointObserver.observe(u.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.h),o.Pb(u.a))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.dc("click",function(){return e._handleBodyInteraction()},!1,o.xc),2&t&&o.Fc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.Vb(0,"div",0),o.dc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),o.ic(1,"async"),o.Kc(2),o.Ub()),2&t){let t=null;o.Hb("mat-tooltip-handset",null==(t=o.jc(1,5,e._isHandset))?null:t.matches),o.oc("ngClass",e.tooltipClass)("@state",e._visibility),o.Db(2),o.Lc(e.message)}},directives:[s.m],pipes:[s.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[v.tooltipState]},changeDetection:0}),t})(),A=(()=>{class t{}return t.\u0275mod=o.Nb({type:t}),t.\u0275inj=o.Mb({factory:function(e){return new(e||t)},providers:[C],imports:[[r.a,s.c,i.f,a.i],a.i,c.b]}),t})()},"ZTz/":function(t,e,n){"use strict";n.d(e,"a",function(){return q}),n.d(e,"b",function(){return G}),n.d(e,"c",function(){return Q});var i=n("1O3W"),r=n("SVse"),s=n("8Y7J"),o=n("UhP/"),a=n("Q2Ze"),c=n("7KAL"),l=n("YEUz"),h=n("8LU1"),u=n("CtHx"),d=n("Ht+U"),f=n("XNiG"),p=n("NXyV"),b=n("VRyK"),m=n("JX91"),g=n("eIep"),y=n("IzEk"),v=n("pLZG"),_=n("lJxs"),w=n("/uUt"),C=n("1G5W"),x=n("GS7A"),S=n("9gLZ"),O=n("s7LF");const A=["trigger"],k=["panel"];function E(t,e){if(1&t&&(s.Vb(0,"span",8),s.Kc(1),s.Ub()),2&t){const t=s.hc();s.Db(1),s.Lc(t.placeholder||"\xa0")}}function L(t,e){if(1&t&&(s.Vb(0,"span"),s.Kc(1),s.Ub()),2&t){const t=s.hc(2);s.Db(1),s.Lc(t.triggerValue||"\xa0")}}function D(t,e){1&t&&s.mc(0,0,["*ngSwitchCase","true"])}function I(t,e){if(1&t&&(s.Vb(0,"span",9),s.Ic(1,L,2,1,"span",10),s.Ic(2,D,1,0,"ng-content",11),s.Ub()),2&t){const t=s.hc();s.oc("ngSwitch",!!t.customTrigger),s.Db(2),s.oc("ngSwitchCase",!0)}}function P(t,e){if(1&t){const t=s.Wb();s.Vb(0,"div",12),s.Vb(1,"div",13,14),s.dc("@transformPanel.done",function(e){return s.zc(t),s.hc()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return s.zc(t),s.hc()._handleKeydown(e)}),s.mc(3,1),s.Ub(),s.Ub()}if(2&t){const t=s.hc();s.oc("@transformPanelWrap",void 0),s.Db(1),s.Gb("mat-select-panel ",t._getPanelTheme(),""),s.Fc("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),s.oc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),s.Eb("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const T=[[["mat-select-trigger"]],"*"],R=["mat-select-trigger","*"],M={transformPanelWrap:Object(x.n)("transformPanelWrap",[Object(x.m)("* => void",Object(x.i)("@transformPanel",[Object(x.f)()],{optional:!0}))]),transformPanel:Object(x.n)("transformPanel",[Object(x.k)("void",Object(x.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(x.k)("showing",Object(x.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(x.k)("showing-multiple",Object(x.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(x.m)("void => *",Object(x.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(x.m)("* => void",Object(x.e)("100ms 25ms linear",Object(x.l)({opacity:0})))])};let j=0;const F=256,N=new s.s("mat-select-scroll-strategy"),U=new s.s("MAT_SELECT_CONFIG"),V={provide:N,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class B{constructor(t,e){this.source=t,this.value=e}}class z{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const H=Object(o.y)(Object(o.C)(Object(o.z)(Object(o.A)(z)))),W=new s.s("MatSelectTrigger");let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-select-trigger"]],features:[s.Cb([{provide:W,useExisting:t}])]}),t})(),K=(()=>{class t extends H{constructor(t,e,n,i,r,o,a,c,l,h,u,d,w,C){var x,S,O;super(r,i,a,c,h),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=l,this.ngControl=h,this._liveAnnouncer=w,this._defaultOptions=C,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+j++,this._triggerAriaLabelledBy=null,this._destroy=new f.a,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+j++,this._panelDoneAnimatingStream=new f.a,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(O=null===(S=this._defaultOptions)||void 0===S?void 0:S.disableOptionCentering)&&void 0!==O&&O,this.ariaLabel="",this.optionSelectionChanges=Object(p.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(m.a)(t),Object(g.a)(()=>Object(b.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(Object(y.a)(1),Object(g.a)(()=>this.optionSelectionChanges))}),this.openedChange=new s.o,this._openedStream=this.openedChange.pipe(Object(v.a)(t=>t),Object(_.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(v.a)(t=>!t),Object(_.a)(()=>{})),this.selectionChange=new s.o,this.valueChange=new s.o,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==C?void 0:C.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(u)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(h.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(h.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(h.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(h.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new u.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(w.a)(),Object(C.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(C.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(m.a)(null),Object(C.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.c||e===d.o||e===d.h||e===d.l,i=e===d.e||e===d.m,r=this._keyManager;if(!r.isTyping()&&i&&!Object(d.r)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;r.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.c||n===d.o,r=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==d.e&&n!==d.m||!e.activeItem||Object(d.r)(t))if(!r&&this._multiple&&n===d.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(y.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new l.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(C.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(C.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(b.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(C.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(b.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(C.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(c.e),s.Pb(s.h),s.Pb(s.B),s.Pb(o.d),s.Pb(s.l),s.Pb(S.b,8),s.Pb(O.o,8),s.Pb(O.h,8),s.Pb(a.a,8),s.Pb(O.l,10),s.ac("tabindex"),s.Pb(N),s.Pb(l.k),s.Pb(U,8))},t.\u0275dir=s.Kb({type:t,viewQuery:function(t,e){if(1&t&&(s.Pc(A,!0),s.Pc(k,!0),s.Pc(i.a,!0)),2&t){let t;s.vc(t=s.ec())&&(e.trigger=t.first),s.vc(t=s.ec())&&(e.panel=t.first),s.vc(t=s.ec())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[s.Ab,s.Bb]}),t})(),q=(()=>{class t extends K{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Object(C.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(y.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}_scrollOptionIntoView(t){const e=Object(o.v)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(o.w)((t+e)*n,n,this.panel.nativeElement.scrollTop,F)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new B(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),o=t.right+r-e.width+(n?0:i);s>0?r+=s+8:o>0&&(r-=o+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(F/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-F)%i):e-i/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,F)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,F),i=e*t-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=Object(o.v)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(e){return Y(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(s.Ib(n,W,!0),s.Ib(n,o.m,!0),s.Ib(n,o.f,!0)),2&t){let t;s.vc(t=s.ec())&&(e.customTrigger=t.first),s.vc(t=s.ec())&&(e.options=t),s.vc(t=s.ec())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&s.dc("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(s.Eb("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),s.Hb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[s.Cb([{provide:a.d,useExisting:t},{provide:o.g,useExisting:t}]),s.Ab],ngContentSelectors:R,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(s.nc(T),s.Vb(0,"div",0,1),s.dc("click",function(){return e.toggle()}),s.Vb(3,"div",2),s.Ic(4,E,2,1,"span",3),s.Ic(5,I,3,2,"span",4),s.Ub(),s.Vb(6,"div",5),s.Qb(7,"div",6),s.Ub(),s.Ub(),s.Ic(8,P,4,14,"ng-template",7),s.dc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=s.wc(1);s.Eb("aria-owns",e.panelOpen?e.id+"-panel":null),s.Db(3),s.oc("ngSwitch",e.empty),s.Eb("id",e._valueId),s.Db(1),s.oc("ngSwitchCase",!0),s.Db(1),s.oc("ngSwitchCase",!1),s.Db(3),s.oc("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.b,r.q,r.r,i.a,r.s,r.m],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[M.transformPanelWrap,M.transformPanel]},changeDetection:0}),t})();const Y=s.Xb(q);let G=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},providers:[V],imports:[[r.c,i.f,o.n,o.i],c.b,a.e,o.n,o.i]}),t})()},ZUHj:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");class r extends i.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var s=n("SeVD"),o=n("HDdC");function a(t,e,n,i,a=new r(t,n,i)){if(!a.closed)return e instanceof o.a?e.subscribe(a):Object(s.a)(e)(a)}},"aLe/":function(t,e,n){"use strict";n.d(e,"a",function(){return st}),n.d(e,"b",function(){return ht}),n.d(e,"c",function(){return ut});var i=n("XNiG"),r=n("xgIS"),s=(n("VRyK"),n("3UWI")),o=n("1G5W"),a=(n("/uUt"),n("CqXF"),n("8Y7J")),c=n("SVse");function l(t){return getComputedStyle(t)}function h(t,e){for(var n in e){var i=e[n];"number"==typeof i&&(i+="px"),t.style[n]=i}return t}function u(t){var e=document.createElement("div");return e.className=t,e}var d="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function f(t,e){if(!d)throw new Error("No element matching method supported");return d.call(t,e)}function p(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function b(t,e){return Array.prototype.filter.call(t.children,function(t){return f(t,e)})}var m=function(t){return"ps__thumb-"+t},g=function(t){return"ps__rail-"+t},y="ps__child--consume",v="ps--focus",_="ps--clicking",w=function(t){return"ps--active-"+t},C=function(t){return"ps--scrolling-"+t},x={x:null,y:null};function S(t,e){var n=t.element.classList,i=C(e);n.contains(i)?clearTimeout(x[e]):n.add(i)}function O(t,e){x[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(C(e))},t.settings.scrollingThreshold)}var A=function(t){this.element=t,this.handlers={}},k={isEmpty:{configurable:!0}};A.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},A.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter(function(i){return!(!e||i===e)||(n.element.removeEventListener(t,i,!1),!1)})},A.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},k.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(A.prototype,k);var E=function(){this.eventElements=[]};function L(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function D(t,e,n,i,r){var s;if(void 0===i&&(i=!0),void 0===r&&(r=!1),"top"===e)s=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");s=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,i,r){var s=n[0],o=n[1],a=n[2],c=n[3],l=n[4],h=n[5];void 0===i&&(i=!0),void 0===r&&(r=!1);var u=t.element;t.reach[c]=null,u[a]<1&&(t.reach[c]="start"),u[a]>t[s]-t[o]-1&&(t.reach[c]="end"),e&&(u.dispatchEvent(L("ps-scroll-"+c)),e<0?u.dispatchEvent(L("ps-scroll-"+l)):e>0&&u.dispatchEvent(L("ps-scroll-"+h)),i&&function(t,e){S(t,e),O(t,e)}(t,c)),t.reach[c]&&(e||r)&&u.dispatchEvent(L("ps-"+c+"-reach-"+t.reach[c]))}(t,n,s,i,r)}function I(t){return parseInt(t,10)||0}E.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new A(t),this.eventElements.push(e)),e},E.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},E.prototype.unbind=function(t,e,n){var i=this.eventElement(t);i.unbind(e,n),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)},E.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},E.prototype.once=function(t,e,n){var i=this.eventElement(t),r=function(t){i.unbind(e,r),n(t)};i.bind(e,r)};var P={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function T(t){var e=t.element,n=Math.floor(e.scrollTop),i=e.getBoundingClientRect();t.containerWidth=Math.ceil(i.width),t.containerHeight=Math.ceil(i.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(b(e,g("x")).forEach(function(t){return p(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(b(e,g("y")).forEach(function(t){return p(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=R(t,I(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=I((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=R(t,I(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=I(n*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth},i=Math.floor(t.scrollTop);n.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:t.scrollLeft,e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-i:n.top=e.scrollbarXTop+i,h(e.scrollbarXRail,n);var r={top:i,height:e.railYHeight};e.isScrollbarYUsingRight?r.right=e.isRtl?e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:e.scrollbarYRight-t.scrollLeft:r.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:e.scrollbarYLeft+t.scrollLeft,h(e.scrollbarYRail,r),h(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),h(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(w("x")):(e.classList.remove(w("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(w("y")):(e.classList.remove(w("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function R(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function M(t,e){var n=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],c=e[6],l=e[7],h=e[8],u=t.element,d=null,f=null,p=null;function b(e){e.touches&&e.touches[0]&&(e[r]=e.touches[0].pageY),u[c]=d+p*(e[r]-f),S(t,l),T(t),e.stopPropagation(),e.preventDefault()}function m(){O(t,l),t[h].classList.remove(_),t.event.unbind(t.ownerDocument,"mousemove",b)}function g(e,o){d=u[c],o&&e.touches&&(e[r]=e.touches[0].pageY),f=e[r],p=(t[i]-t[n])/(t[s]-t[a]),o?t.event.bind(t.ownerDocument,"touchmove",b):(t.event.bind(t.ownerDocument,"mousemove",b),t.event.once(t.ownerDocument,"mouseup",m),e.preventDefault()),t[h].classList.add(_),e.stopPropagation()}t.event.bind(t[o],"mousedown",function(t){g(t)}),t.event.bind(t[o],"touchstart",function(t){g(t,!0)})}var j={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top;t.element.scrollTop+=(n>t.scrollbarYTop?1:-1)*t.containerHeight,T(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left;t.element.scrollLeft+=(n>t.scrollbarXLeft?1:-1)*t.containerWidth,T(t),e.stopPropagation()})},"drag-thumb":function(t){M(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),M(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(f(e,":hover")||f(t.scrollbarX,":focus")||f(t.scrollbarY,":focus"))){var i,r=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(r){if("IFRAME"===r.tagName)r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(f(i=r,"input,[contenteditable]")||f(i,"select,[contenteditable]")||f(i,"textarea,[contenteditable]")||f(i,"button,[contenteditable]"))return}var s=0,o=0;switch(n.which){case 37:s=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:o=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:s=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:o=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:o=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:o=t.containerHeight;break;case 34:o=-t.containerHeight;break;case 36:o=t.contentHeight;break;case 35:o=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==s||t.settings.suppressScrollY&&0!==o||(e.scrollTop-=o,e.scrollLeft+=s,T(t),function(n,i){var r=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===r&&i>0||r>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var s=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===s&&n<0||s>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(s,o)&&n.preventDefault())}})},wheel:function(t){var e=t.element;function n(n){var i=function(t){var e=t.deltaX,n=-1*t.deltaY;return void 0!==e&&void 0!==n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),r=i[0],s=i[1];if(!function(t,n,i){if(!P.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(y))return!0;var s=l(r);if(i&&s.overflowY.match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&(r.scrollTop>0&&i<0||r.scrollTop<o&&i>0))return!0}if(n&&s.overflowX.match(/(scroll|auto)/)){var a=r.scrollWidth-r.clientWidth;if(a>0&&(r.scrollLeft>0&&n<0||r.scrollLeft<a&&n>0))return!0}r=r.parentNode}return!1}(n.target,r,s)){var o=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(s?e.scrollTop-=s*t.settings.wheelSpeed:e.scrollTop+=r*t.settings.wheelSpeed,o=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(r?e.scrollLeft+=r*t.settings.wheelSpeed:e.scrollLeft-=s*t.settings.wheelSpeed,o=!0):(e.scrollTop-=s*t.settings.wheelSpeed,e.scrollLeft+=r*t.settings.wheelSpeed),T(t),(o=o||function(n,i){var r=Math.floor(e.scrollTop),s=0===e.scrollTop,o=r+e.offsetHeight===e.scrollHeight,a=0===e.scrollLeft,c=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(i)>Math.abs(n)?s||o:a||c)||!t.settings.wheelPropagation}(r,s))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",n):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(P.supportsTouch||P.supportsIePointer){var e=t.element,n={},i=0,r={},s=null;P.supportsTouch?(t.event.bind(e,"touchstart",h),t.event.bind(e,"touchmove",u),t.event.bind(e,"touchend",d)):P.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",h),t.event.bind(e,"pointermove",u),t.event.bind(e,"pointerup",d)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",h),t.event.bind(e,"MSPointerMove",u),t.event.bind(e,"MSPointerUp",d)))}function o(n,i){e.scrollTop-=i,e.scrollLeft-=n,T(t)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||(!t.targetTouches||1!==t.targetTouches.length)&&(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function h(t){if(c(t)){var e=a(t);n.pageX=e.pageX,n.pageY=e.pageY,i=(new Date).getTime(),null!==s&&clearInterval(s)}}function u(s){if(c(s)){var h=a(s),u={pageX:h.pageX,pageY:h.pageY},d=u.pageX-n.pageX,f=u.pageY-n.pageY;if(function(t,n,i){if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(y))return!0;var s=l(r);if(i&&s.overflowY.match(/(scroll|auto)/)){var o=r.scrollHeight-r.clientHeight;if(o>0&&(r.scrollTop>0&&i<0||r.scrollTop<o&&i>0))return!0}if(n&&s.overflowX.match(/(scroll|auto)/)){var a=r.scrollWidth-r.clientWidth;if(a>0&&(r.scrollLeft>0&&n<0||r.scrollLeft<a&&n>0))return!0}r=r.parentNode}return!1}(s.target,d,f))return;o(d,f),n=u;var p=(new Date).getTime(),b=p-i;b>0&&(r.x=d/b,r.y=f/b,i=p),function(n,i){var r=Math.floor(e.scrollTop),s=e.scrollLeft,o=Math.abs(n),a=Math.abs(i);if(a>o){if(i<0&&r===t.contentHeight-t.containerHeight||i>0&&0===r)return 0===window.scrollY&&i>0&&P.isChrome}else if(o>a&&(n<0&&s===t.contentWidth-t.containerWidth||n>0&&0===s))return!0;return!0}(d,f)&&s.preventDefault()}}function d(){t.settings.swipeEasing&&(clearInterval(s),s=setInterval(function(){t.isInitialized?clearInterval(s):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(s):(o(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(s)},10))}}},F=function(t,e){var n=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var i in this.element=t,t.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r,s,o=function(){return t.classList.add(v)},a=function(){return t.classList.remove(v)};this.isRtl="rtl"===l(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(s=t.scrollLeft,t.scrollLeft=-1,r=t.scrollLeft<0,t.scrollLeft=s,r),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new E,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=u(g("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=u(m("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=l(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=I(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=I(c.borderLeftWidth)+I(c.borderRightWidth),h(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=I(c.marginLeft)+I(c.marginRight),h(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=u(g("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=u(m("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var d=l(this.scrollbarYRail);this.scrollbarYRight=parseInt(d.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=I(d.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=l(t);return I(e.width)+I(e.paddingLeft)+I(e.paddingRight)+I(e.borderLeftWidth)+I(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=I(d.borderTopWidth)+I(d.borderBottomWidth),h(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=I(d.marginTop)+I(d.marginBottom),h(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return j[t](n)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return n.onScroll(t)}),T(this)};F.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,h(this.scrollbarXRail,{display:"block"}),h(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=I(l(this.scrollbarXRail).marginLeft)+I(l(this.scrollbarXRail).marginRight),this.railYMarginHeight=I(l(this.scrollbarYRail).marginTop)+I(l(this.scrollbarYRail).marginBottom),h(this.scrollbarXRail,{display:"none"}),h(this.scrollbarYRail,{display:"none"}),T(this),D(this,"top",0,!1,!0),D(this,"left",0,!1,!0),h(this.scrollbarXRail,{display:""}),h(this.scrollbarYRail,{display:""}))},F.prototype.onScroll=function(t){this.isAlive&&(T(this),D(this,"top",this.element.scrollTop-this.lastScrollTop),D(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},F.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),p(this.scrollbarX),p(this.scrollbarY),p(this.scrollbarXRail),p(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},F.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};var N=F,U=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,i){return t[0]===e&&(n=i,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),i=this.__entries__[n];return i&&i[1]},e.prototype.set=function(e,n){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,i=t(n,e);~i&&n.splice(i,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];t.call(e,r[1],r[0])}},e}()}(),V="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,B="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),z="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(B):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},H=["top","right","bottom","left","width","height","size","weight"],W="undefined"!=typeof MutationObserver,Q=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,i=!1,r=0;function s(){n&&(n=!1,t()),i&&a()}function o(){z(s)}function a(){var t=Date.now();if(n){if(t-r<2)return;i=!0}else n=!0,i=!1,setTimeout(o,20);r=t}return a}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){V&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),W?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){V&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;H.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),K=function(t,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},q=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||B},Y=J(0,0,0,0);function G(t){return parseFloat(t)||0}function Z(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+G(t["border-"+n+"-width"])},0)}var X="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof q(t).SVGGraphicsElement}:function(t){return t instanceof q(t).SVGElement&&"function"==typeof t.getBBox};function J(t,e,n,i){return{x:t,y:e,width:n,height:i}}var $=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=J(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t,e=(t=this.target,V?X(t)?function(t){var e=t.getBBox();return J(0,0,e.width,e.height)}(t):function(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return Y;var i=q(t).getComputedStyle(t),r=function(t){for(var e={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n];e[r]=G(t["padding-"+r])}return e}(i),s=r.left+r.right,o=r.top+r.bottom,a=G(i.width),c=G(i.height);if("border-box"===i.boxSizing&&(Math.round(a+s)!==e&&(a-=Z(i,"left","right")+s),Math.round(c+o)!==n&&(c-=Z(i,"top","bottom")+o)),!function(t){return t===q(t).document.documentElement}(t)){var l=Math.round(a+s)-e,h=Math.round(c+o)-n;1!==Math.abs(l)&&(a-=l),1!==Math.abs(h)&&(c-=h)}return J(r.left,r.top,a,c)}(t):Y);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),tt=function(t,e){var n,i,r,s,o,a,c,l=(i=(n=e).x,r=n.y,s=n.width,o=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),K(c,{x:i,y:r,width:s,height:o,top:r,right:i+s,bottom:o+r,left:i}),c);K(this,{target:t,contentRect:l})},et=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new U,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof q(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new $(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof q(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new tt(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),nt="undefined"!=typeof WeakMap?new WeakMap:new U,it=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Q.getInstance(),i=new et(e,n,this);nt.set(this,i)};["observe","unobserve","disconnect"].forEach(function(t){it.prototype[t]=function(){var e;return(e=nt.get(this))[t].apply(e,arguments)}});var rt=void 0!==B.ResizeObserver?B.ResizeObserver:it;const st=new a.s("PERFECT_SCROLLBAR_CONFIG");class ot{constructor(t,e,n,i){this.x=t,this.y=e,this.w=n,this.h=i}}class at{constructor(t,e){this.x=t,this.y=e}}const ct=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class lt{constructor(t={}){this.assign(t)}assign(t={}){for(const e in t)this[e]=t[e]}}let ht=(()=>{class t{constructor(t,e,n,r,s){this.zone=t,this.differs=e,this.elementRef=n,this.platformId=r,this.defaults=s,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new i.a,this.disabled=!1,this.psScrollY=new a.o,this.psScrollX=new a.o,this.psScrollUp=new a.o,this.psScrollDown=new a.o,this.psScrollLeft=new a.o,this.psScrollRight=new a.o,this.psYReachEnd=new a.o,this.psYReachStart=new a.o,this.psXReachEnd=new a.o,this.psXReachStart=new a.o}ngOnInit(){if(!this.disabled&&Object(c.A)(this.platformId)){const t=new lt(this.defaults);t.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new N(this.elementRef.nativeElement,t)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new rt(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ct.forEach(t=>{const e=t.replace(/([A-Z])/g,t=>"-"+t.toLowerCase());Object(r.a)(this.elementRef.nativeElement,e).pipe(Object(s.a)(20),Object(o.a)(this.ngDestroy)).subscribe(e=>{this[t].emit(e)})})})}}ngOnDestroy(){Object(c.A)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&Object(c.A)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(t){t.disabled&&!t.disabled.isFirstChange()&&Object(c.A)(this.platformId)&&t.disabled.currentValue!==t.disabled.previousValue&&(!0===t.disabled.currentValue?this.ngOnDestroy():!1===t.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(t){}},0))}geometry(t="scroll"){return new ot(this.elementRef.nativeElement[t+"Left"],this.elementRef.nativeElement[t+"Top"],this.elementRef.nativeElement[t+"Width"],this.elementRef.nativeElement[t+"Height"])}position(t=!1){return!t&&this.instance?new at(this.instance.reach.x||0,this.instance.reach.y||0):new at(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(t="any"){const e=this.elementRef.nativeElement;return"any"===t?e.classList.contains("ps--active-x")||e.classList.contains("ps--active-y"):"both"===t?e.classList.contains("ps--active-x")&&e.classList.contains("ps--active-y"):e.classList.contains("ps--active-"+t)}scrollTo(t,e,n){this.disabled||(null==e&&null==n?this.animateScrolling("scrollTop",t,n):(null!=t&&this.animateScrolling("scrollLeft",t,n),null!=e&&this.animateScrolling("scrollTop",e,n)))}scrollToX(t,e){this.animateScrolling("scrollLeft",t,e)}scrollToY(t,e){this.animateScrolling("scrollTop",t,e)}scrollToTop(t,e){this.animateScrolling("scrollTop",t||0,e)}scrollToLeft(t,e){this.animateScrolling("scrollLeft",t||0,e)}scrollToRight(t,e){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(t||0),e)}scrollToBottom(t,e){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(t||0),e)}scrollToElement(t,e,n){const i=this.elementRef.nativeElement.querySelector(t);if(i){const t=i.getBoundingClientRect(),r=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",t.left-r.left+this.elementRef.nativeElement.scrollLeft+(e||0),n),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",t.top-r.top+this.elementRef.nativeElement.scrollTop+(e||0),n)}}animateScrolling(t,e,n){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),n&&"undefined"!=typeof window){if(e!==this.elementRef.nativeElement[t]){let i=0,r=0,s=performance.now(),o=this.elementRef.nativeElement[t];const a=(o-e)/2,c=l=>{r+=Math.PI/(n/(l-s)),i=Math.round(e+a+a*Math.cos(r)),this.elementRef.nativeElement[t]===o&&(r>=Math.PI?this.animateScrolling(t,e,0):(this.elementRef.nativeElement[t]=i,o=this.elementRef.nativeElement[t],s=l,this.animation=window.requestAnimationFrame(c)))};window.requestAnimationFrame(c)}}else this.elementRef.nativeElement[t]=e}}return t.\u0275fac=function(e){return new(e||t)(a.Pb(a.B),a.Pb(a.v),a.Pb(a.l),a.Pb(a.D),a.Pb(st,8))},t.\u0275dir=a.Kb({type:t,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[a.Bb]}),t})(),ut=(()=>{class t{}return t.\u0275mod=a.Nb({type:t}),t.\u0275inj=a.Mb({factory:function(e){return new(e||t)},imports:[[c.c],c.c]}),t})()},aZ40:function(t,e,n){var i,r,s=n("Wogr");s.alloc?(i=s.alloc(512),r=s.alloc(256)):(i=new s(512),r=new s(256)),function(){for(var t=1,e=0;e<255;e++)i[e]=t,r[t]=e,256&(t<<=1)&&(t^=285);for(e=255;e<512;e++)i[e]=i[e-255]}(),e.log=function(t){if(t<1)throw new Error("log("+t+")");return r[t]},e.exp=function(t){return i[t]},e.mul=function(t,e){return 0===t||0===e?0:i[r[t]+r[e]]}},afKu:function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n("CH9F"),e.sha1=n("fnjI"),e.sha224=n("cqoG"),e.sha256=n("olUY"),e.sha384=n("uDfV"),e.sha512=n("T9HO")},"aqI/":function(t,e,n){"use strict";var i=n("fZJM"),r=n("dlgc"),s=n("2j6C");function o(t){if(!(this instanceof o))return new o(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=r.toArray(t.entropy,t.entropyEnc||"hex"),n=r.toArray(t.nonce,t.nonceEnc||"hex"),i=r.toArray(t.pers,t.persEnc||"hex");s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,i)}t.exports=o,o.prototype._init=function(t,e,n){var i=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r<this.V.length;r++)this.K[r]=0,this.V[r]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},o.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(t,e,n,i){"string"!=typeof e&&(i=n,n=e,e=null),t=r.toArray(t,e),n=r.toArray(n,i),s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},o.prototype.generate=function(t,e,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(i=n,n=e,e=null),n&&(n=r.toArray(n,i||"hex"),this._update(n));for(var s=[];s.length<t;)this.V=this._hmac().update(this.V).digest(),s=s.concat(this.V);var o=s.slice(0,t);return this._update(n),this._reseed++,r.encode(o,e)}},at63:function(t,e,n){var i=n("jIre"),r=n("hwdV").Buffer,s=n("vZ2G");function o(t){var e=t._cipher.encryptBlockRaw(t._prev);return s(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),s=t._cache.length;t._cache=r.concat([t._cache,r.allocUnsafe(16*n)]);for(var a=0;a<n;a++){var c=o(t),l=s+16*a;t._cache.writeUInt32BE(c[0],l+0),t._cache.writeUInt32BE(c[1],l+4),t._cache.writeUInt32BE(c[2],l+8),t._cache.writeUInt32BE(c[3],l+12)}var h=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),i(e,h)}},"b+dc":function(t,e,n){var i=n("Oaki").Buffer,r=n("Giow"),s=n("qVij"),o=n("MzeL").ec,a=n("OZ/i"),c=n("Ku4m"),l=n("zZGF");function h(t,e,n,s){if((t=i.from(t.toArray())).length<e.byteLength()){var o=i.alloc(e.byteLength()-t.length);t=i.concat([o,t])}var a=n.length,c=function(t,e){t=(t=u(t,e)).mod(e);var n=i.from(t.toArray());if(n.length<e.byteLength()){var r=i.alloc(e.byteLength()-n.length);n=i.concat([r,n])}return n}(n,e),l=i.alloc(a);l.fill(1);var h=i.alloc(a);return h=r(s,h).update(l).update(i.from([0])).update(t).update(c).digest(),l=r(s,h).update(l).digest(),{k:h=r(s,h).update(l).update(i.from([1])).update(t).update(c).digest(),v:l=r(s,h).update(l).digest()}}function u(t,e){var n=new a(t),i=(t.length<<3)-e.bitLength();return i>0&&n.ishrn(i),n}function d(t,e,n){var s,o;do{for(s=i.alloc(0);8*s.length<t.bitLength();)e.v=r(n,e.k).update(e.v).digest(),s=i.concat([s,e.v]);o=u(s,t),e.k=r(n,e.k).update(e.v).update(i.from([0])).digest(),e.v=r(n,e.k).update(e.v).digest()}while(-1!==o.cmp(t));return o}function f(t,e,n,i){return t.toRed(a.mont(n)).redPow(e).fromRed().mod(i)}t.exports=function(t,e,n,r,p){var b=c(e);if(b.curve){if("ecdsa"!==r&&"ecdsa/rsa"!==r)throw new Error("wrong private key type");return function(t,e){var n=l[e.curve.join(".")];if(!n)throw new Error("unknown curve "+e.curve.join("."));var r=new o(n).keyFromPrivate(e.privateKey).sign(t);return i.from(r.toDER())}(t,b)}if("dsa"===b.type){if("dsa"!==r)throw new Error("wrong private key type");return function(t,e,n){for(var r,s=e.params.priv_key,o=e.params.p,c=e.params.q,l=e.params.g,p=new a(0),b=u(t,c).mod(c),m=!1,g=h(s,c,t,n);!1===m;)p=f(l,r=d(c,g,n),o,c),0===(m=r.invm(c).imul(b.add(s.mul(p))).mod(c)).cmpn(0)&&(m=!1,p=new a(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e));var n=[48,t.length+e.length+4,2,t.length];return n=n.concat(t,[2,e.length],e),i.from(n)}(p,m)}(t,b,n)}if("rsa"!==r&&"ecdsa/rsa"!==r)throw new Error("wrong private key type");t=i.concat([p,t]);for(var m=b.modulus.byteLength(),g=[0,1];t.length+g.length+1<m;)g.push(255);g.push(0);for(var y=-1;++y<t.length;)g.push(t[y]);return s(g,b)},t.exports.getKey=h,t.exports.makeKey=d},bCQu:function(t,e,n){!function(e){"use strict";var n={bytesToHex:function(t){return function(t){return t.map(function(t){return(e=t.toString(16)).length>2?e:Array(2-e.length+1).join("0")+e;var e}).join("")}(t)},hexToBytes:function(t){if(t.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===t.indexOf("0x")&&(t=t.slice(2)),t.match(/../g).map(function(t){return parseInt(t,16)})}};t.exports?t.exports=n:e.convertHex=n}(this)},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("5+tZ"),r=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("5+tZ");function r(t,e){return Object(i.a)(t,e,1)}},bdpe:function(t,e,n){"use strict";n.d(e,"a",function(){return L});var i=n("iELJ"),r=n("wHSu"),s=n("7nzP"),o=n("8Y7J"),a=n("cpEJ"),c=n("7o2P"),l=n("zHaW"),h=n("VDRc"),u=n("SVse"),d=n("ura0"),f=n("bwdU"),p=n("PDjf"),b=n("Nv++"),m=n("Dxy4"),g=n("BSbQ"),y=n("O4ig"),v=n("dEYt");function _(t,e){1&t&&(o.Tb(0),o.Kc(1," (zero amount) "),o.Sb())}function w(t,e){if(1&t&&(o.Tb(0),o.Kc(1),o.ic(2,"number"),o.Sb()),2&t){const t=o.hc();o.Db(1),o.Mc("",o.jc(2,1,t.invoice.amountSettled)," Sats")}}function C(t,e){1&t&&(o.Tb(0),o.Kc(1,"-"),o.Sb())}function x(t,e){if(1&t&&(o.Vb(0,"div"),o.Qb(1,"mat-divider",17),o.Vb(2,"div",12),o.Vb(3,"div",25),o.Vb(4,"h4",14),o.Kc(5,"Date Expiry"),o.Ub(),o.Vb(6,"span",15),o.Kc(7),o.Ub(),o.Ub(),o.Vb(8,"div",26),o.Vb(9,"h4",14),o.Kc(10,"Date Settled"),o.Ub(),o.Vb(11,"span",18),o.Kc(12),o.Ub(),o.Ub(),o.Ub(),o.Qb(13,"mat-divider",17),o.Vb(14,"div",12),o.Vb(15,"div",19),o.Vb(16,"h4",14),o.Kc(17,"Payment Hash"),o.Ub(),o.Vb(18,"span",18),o.Kc(19),o.Ub(),o.Ub(),o.Ub(),o.Qb(20,"mat-divider",17),o.Vb(21,"div",12),o.Vb(22,"div",19),o.Vb(23,"h4",14),o.Kc(24,"Node Id"),o.Ub(),o.Vb(25,"span",18),o.Kc(26),o.Ub(),o.Ub(),o.Ub(),o.Qb(27,"mat-divider",17),o.Ub()),2&t){const t=o.hc();o.Db(7),o.Lc(t.invoice.expiresAtStr),o.Db(5),o.Lc(t.invoice.receivedAtStr),o.Db(7),o.Lc(t.invoice.paymentHash),o.Db(7),o.Lc(t.invoice.nodeId)}}function S(t,e){1&t&&(o.Vb(0,"p"),o.Kc(1,"Show Advanced"),o.Ub())}function O(t,e){1&t&&(o.Vb(0,"p"),o.Kc(1,"Hide Advanced"),o.Ub())}const A=function(t){return{"display-none":t}},k=function(t){return{"xs-scroll-y":t}},E=function(t,e){return{"mt-2":t,"mt-1":e}};let L=(()=>{class t{constructor(t,e,n,i,o){this.dialogRef=t,this.data=e,this.logger=n,this.commonService=i,this.snackBar=o,this.faReceipt=r.H,this.faExclamationTriangle=r.o,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.s}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===s.s.XS&&(this.qrWidth=220)}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(t){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+t)}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(i.f),o.Pb(i.a),o.Pb(a.b),o.Pb(c.a),o.Pb(l.b))},t.\u0275cmp=o.Jb({type:t,selectors:[["rtl-ecl-invoice-information"]],decls:64,vars:41,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxFlex","65",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-1"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[3,"ngClass"],["fxLayout","column"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap",3,"ngClass"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],[1,"overflow-wrap","foreground-secondary-text"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-stroked-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxFlex","40"],["fxFlex","60"]],template:function(t,e){if(1&t&&(o.Vb(0,"div",0),o.Vb(1,"div",1),o.Qb(2,"qrcode",2),o.Ub(),o.Vb(3,"div",3),o.Vb(4,"mat-card-header",4),o.Vb(5,"div",5),o.Qb(6,"fa-icon",6),o.Vb(7,"span",7),o.Kc(8),o.Ub(),o.Ub(),o.Vb(9,"button",8),o.dc("click",function(){return e.onClose()}),o.Kc(10,"X"),o.Ub(),o.Ub(),o.Vb(11,"mat-card-content",9),o.Vb(12,"div",10),o.Vb(13,"div",11),o.Qb(14,"qrcode",2),o.Ub(),o.Vb(15,"div",12),o.Vb(16,"div",13),o.Vb(17,"h4",14),o.Kc(18,"Amount Requested"),o.Ub(),o.Vb(19,"span",15),o.Kc(20),o.ic(21,"number"),o.Ic(22,_,2,0,"ng-container",16),o.Ub(),o.Ub(),o.Vb(23,"div",13),o.Vb(24,"h4",14),o.Kc(25,"Amount Settled"),o.Ub(),o.Vb(26,"span",15),o.Ic(27,w,3,3,"ng-container",16),o.Ic(28,C,2,0,"ng-container",16),o.Ub(),o.Ub(),o.Ub(),o.Qb(29,"mat-divider",17),o.Vb(30,"div",12),o.Vb(31,"div",13),o.Vb(32,"h4",14),o.Kc(33,"Date Created"),o.Ub(),o.Vb(34,"span",18),o.Kc(35),o.Ub(),o.Ub(),o.Vb(36,"div",13),o.Vb(37,"h4",14),o.Kc(38,"Status"),o.Ub(),o.Vb(39,"span",18),o.Kc(40),o.ic(41,"titlecase"),o.Ub(),o.Ub(),o.Ub(),o.Qb(42,"mat-divider",17),o.Vb(43,"div",12),o.Vb(44,"div",19),o.Vb(45,"h4",14),o.Kc(46,"Description"),o.Ub(),o.Vb(47,"span",15),o.Kc(48),o.Ub(),o.Ub(),o.Ub(),o.Qb(49,"mat-divider",17),o.Vb(50,"div",12),o.Vb(51,"div",19),o.Vb(52,"h4",14),o.Kc(53,"Invoice"),o.Ub(),o.Vb(54,"span",18),o.Kc(55),o.Ub(),o.Ub(),o.Ub(),o.Ic(56,x,28,4,"div",16),o.Vb(57,"div",20),o.Vb(58,"button",21),o.dc("click",function(){return e.onShowAdvanced()}),o.Ic(59,S,2,0,"p",22),o.Ic(60,O,2,0,"ng-template",null,23,o.Jc),o.Ub(),o.Vb(62,"button",24),o.dc("copied",function(t){return e.onCopyPayment(t)}),o.Kc(63,"Copy Invoice"),o.Ub(),o.Ub(),o.Ub(),o.Ub(),o.Ub(),o.Ub()),2&t){const t=o.wc(61);o.Db(1),o.oc("ngClass",o.sc(32,A,e.screenSize===e.screenSizeEnum.XS||e.screenSize===e.screenSizeEnum.SM)),o.Db(1),o.oc("qrdata",e.invoice.serialized)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),o.Db(4),o.oc("icon",e.faReceipt),o.Db(2),o.Lc(e.screenSize===e.screenSizeEnum.XS?e.newlyAdded?"Created":"Invoice":e.newlyAdded?"Invoice Created":"Invoice Information"),o.Db(3),o.oc("ngClass",o.sc(34,k,e.screenSize===e.screenSizeEnum.XS)),o.Db(2),o.oc("ngClass",o.sc(36,A,e.screenSize!==e.screenSizeEnum.XS&&e.screenSize!==e.screenSizeEnum.SM)),o.Db(1),o.oc("qrdata",e.invoice.serialized)("margin",2)("width",e.qrWidth)("errorCorrectionLevel","L")("allowEmptyString",!0),o.Db(6),o.Mc("",o.jc(21,28,e.invoice.amount||0)," Sats"),o.Db(2),o.oc("ngIf",!e.invoice.amount),o.Db(5),o.oc("ngIf",e.invoice.amountSettled),o.Db(1),o.oc("ngIf",!e.invoice.amountSettled),o.Db(7),o.Lc(e.invoice.timestampStr),o.Db(5),o.Lc(o.jc(41,30,e.invoice.status)),o.Db(8),o.Lc(e.invoice.description||"-"),o.Db(7),o.Lc(e.invoice.serialized),o.Db(1),o.oc("ngIf",e.showAdvanced),o.Db(1),o.oc("ngClass",o.tc(38,E,!e.showAdvanced,e.showAdvanced)),o.Db(2),o.oc("ngIf",!e.showAdvanced)("ngIfElse",t),o.Db(3),o.oc("payload",e.invoice.serialized)}},directives:[h.c,h.b,h.a,u.m,d.a,f.a,p.c,b.a,m.a,p.b,u.o,g.a,y.a,v.a],pipes:[u.f,u.x],styles:[""]}),t})()},bu2F:function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),s=n("qlaj"),o=n("2j6C"),a=i.sum32,c=i.sum32_4,l=i.sum32_5,h=s.ch32,u=s.maj32,d=s.s0_256,f=s.s1_256,p=s.g0_256,b=s.g1_256,m=r.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}i.inherits(y,m),t.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(t,e){for(var n=this.W,i=0;i<16;i++)n[i]=t[e+i];for(;i<n.length;i++)n[i]=c(b(n[i-2]),n[i-7],p(n[i-15]),n[i-16]);var r=this.h[0],s=this.h[1],m=this.h[2],g=this.h[3],y=this.h[4],v=this.h[5],_=this.h[6],w=this.h[7];for(o(this.k.length===n.length),i=0;i<n.length;i++){var C=l(w,f(y),h(y,v,_),this.k[i],n[i]),x=a(d(r),u(r,s,m));w=_,_=v,v=y,y=a(g,C),g=m,m=s,s=r,r=a(C,x)}this.h[0]=a(this.h[0],r),this.h[1]=a(this.h[1],s),this.h[2]=a(this.h[2],m),this.h[3]=a(this.h[3],g),this.h[4]=a(this.h[4],y),this.h[5]=a(this.h[5],v),this.h[6]=a(this.h[6],_),this.h[7]=a(this.h[7],w)},y.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},bwdU:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var i=n("8Y7J"),r=n("0FX9");const s=["qrcElement"];let o=(()=>{class t{constructor(t,e){this.renderer=t,this.platformId=e,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'svg'\".")}ngOnChanges(){this.createQRCode()}isValidQrCodeText(t){return!1===this.allowEmptyString?!(void 0===t||""===t||"null"===t||null===t):!(void 0===t)}toDataURL(){return new Promise((t,e)=>{Object(r.toDataURL)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},(n,i)=>{n?e(n):t(i)})})}toCanvas(t){return new Promise((e,n)=>{Object(r.toCanvas)(t,this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},t=>{t?n(t):e("success")})})}toSVG(){return new Promise((t,e)=>{Object(r.toString)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,type:"svg",version:this.version,width:this.width},(n,i)=>{n?e(n):t(i)})})}renderElement(t){for(const e of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,e);this.renderer.appendChild(this.qrcElement.nativeElement,t)}createQRCode(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error('[angularx-qrcode] Field `qrdata` is empty, set`allowEmptyString="true"` to overwrite this behaviour.');let t;switch(this.elementType){case"canvas":t=this.renderer.createElement("canvas"),this.toCanvas(t).then(()=>{this.renderElement(t)}).catch(t=>{console.error("[angularx-qrcode] canvas error: ",t)});break;case"svg":t=this.renderer.createElement("svg","svg"),this.toSVG().then(e=>{t.innerHTML=e,this.renderer.setAttribute(t,"height",""+this.width),this.renderer.setAttribute(t,"width",""+this.width),this.renderElement(t)}).catch(t=>{console.error("[angularx-qrcode] svg error: ",t)});break;case"url":case"img":default:t=this.renderer.createElement("img"),this.toDataURL().then(e=>{t.setAttribute("src",e),this.renderElement(t)}).catch(t=>{console.error("[angularx-qrcode] img/url error: ",t)})}}catch(t){console.error("[angularx-qrcode] Error generating QR Code: ",t.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.D))},t.\u0275cmp=i.Jb({type:t,selectors:[["qrcode"]],viewQuery:function(t,e){if(1&t&&i.Ec(s,!0),2&t){let t;i.vc(t=i.ec())&&(e.qrcElement=t.first)}},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[i.Bb],decls:2,vars:2,consts:[["qrcElement",""]],template:function(t,e){1&t&&i.Qb(0,"div",null,0),2&t&&i.Fb(e.cssClass)},encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[]}),t})()},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},cO3p:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Kz+i");Object.keys(i).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})})},cUpR:function(t,e,n){"use strict";n.d(e,"a",function(){return H}),n.d(e,"b",function(){return F}),n.d(e,"c",function(){return I}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return w});var i=n("SVse"),r=n("8Y7J");class s extends i.C{constructor(){super()}supportsDOMEvents(){return!0}}class o extends s{static makeCurrent(){Object(i.G)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==e?null:(n=e,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.F)(document.cookie,t)}}let a,c=null;const l=new r.s("TRANSITION_ID"),h=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.E)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[l,i.d,r.t],multi:!0}];class u{static init(){Object(r.bb)(new u)}addToWindow(t){r.sb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.sb.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.sb.getAllAngularRootElements=()=>t.getAllRootElements(),r.sb.frameworkStabilizers||(r.sb.frameworkStabilizers=[]),r.sb.frameworkStabilizers.push(t=>{const e=r.sb.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(i.E)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new r.s("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(d),r.Zb(r.B))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();class p{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Object(i.E)().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let b=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends b{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.E)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.d))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();const g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},y=/%COMP%/g;function v(t,e,n){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?v(t,r,n):(r=r.replace(y,t),n.push(r))}return n}function _(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.T.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case r.T.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=v(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(f),r.Zb(m),r.Zb(r.c))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(g[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=g[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=g[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(r.I.DashCase|r.I.Important)?t.style.setProperty(e,n,i&r.I.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.I.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,_(n)):this.eventManager.addEventListener(t,e,_(n))}}class x extends C{constructor(t,e,n,i){super(t),this.component=n;const r=v(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(y,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class S extends C{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=v(i.id,i.styles,[]);for(let s=0;s<r.length;s++){const t=document.createElement("style");t.textContent=r[s],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let O=(()=>{class t extends p{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.d))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();const A={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},k=new r.s("HammerGestureConfig"),E=new r.s("HammerLoader");let L=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();const D=[{provide:d,useClass:(()=>{class t extends p{constructor(t,e,n,i){super(t),this._config=e,this.console=n,this.loader=i}supports(t){return!(!A.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(t,e,n){const i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let i=!1,r=()=>{i=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(r=()=>{});i||(r=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom Hammer.JS loader failed.`),r=()=>{}}),()=>{r()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(t),s=function(t){i.runGuarded(function(){n(t)})};return r.on(e,s),()=>{r.off(e,s),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.d),r.Zb(k),r.Zb(r.cb),r.Zb(E,8))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})(),multi:!0,deps:[i.d,k,r.cb,[new r.C,E]]},{provide:k,useClass:L,deps:[]}];let I=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},providers:D}),t})();const P=["alt","control","meta","shift"],T={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},R={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},M={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let j=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.E)().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let s="";if(P.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&R.hasOwnProperty(e)&&(e=R[e]))}return T[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach(i=>{i!=n&&(0,M[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.d))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Lb)({factory:function(){return Object(r.Zb)(U)},token:t,providedIn:"root"}),t})();function N(t){return new U(t.get(i.d))}let U=(()=>{class t extends F{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.K.NONE:return e;case r.K.HTML:return Object(r.hb)(e,"HTML")?Object(r.zb)(e):Object(r.fb)(this._doc,String(e));case r.K.STYLE:return Object(r.hb)(e,"Style")?Object(r.zb)(e):e;case r.K.SCRIPT:if(Object(r.hb)(e,"Script"))return Object(r.zb)(e);throw new Error("unsafe value used in a script context");case r.K.URL:return Object(r.rb)(e),Object(r.hb)(e,"URL")?Object(r.zb)(e):Object(r.gb)(String(e));case r.K.RESOURCE_URL:if(Object(r.hb)(e,"ResourceURL"))return Object(r.zb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(r.ib)(t)}bypassSecurityTrustStyle(t){return Object(r.lb)(t)}bypassSecurityTrustScript(t){return Object(r.kb)(t)}bypassSecurityTrustUrl(t){return Object(r.mb)(t)}bypassSecurityTrustResourceUrl(t){return Object(r.jb)(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.d))},t.\u0275prov=Object(r.Lb)({factory:function(){return N(Object(r.Zb)(r.p))},token:t,providedIn:"root"}),t})();const V=[{provide:r.D,useValue:i.D},{provide:r.E,useValue:function(){o.makeCurrent(),u.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(r.xb)(document),document},deps:[]}],B=Object(r.U)(r.ab,"browser",V),z=[[],{provide:r.db,useValue:"root"},{provide:r.n,useFactory:function(){return new r.n},deps:[]},{provide:d,useClass:O,multi:!0,deps:[i.d,r.B,r.D]},{provide:d,useClass:j,multi:!0,deps:[i.d]},[],{provide:w,useClass:w,deps:[f,m,r.c]},{provide:r.H,useExisting:w},{provide:b,useExisting:m},{provide:m,useClass:m,deps:[i.d]},{provide:r.P,useClass:r.P,deps:[r.B]},{provide:f,useClass:f,deps:[d,r.B]},[]];let H=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.c,useValue:e.appId},{provide:l,useExisting:r.c},h]}}}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)(r.Zb(t,12))},providers:z,imports:[i.c,r.f]}),t})();"undefined"!=typeof window&&window},cp0P:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("HDdC"),r=n("DH7j"),s=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function c(...t){if(1===t.length){const e=t[0];if(Object(r.a)(e))return l(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return l(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return l(t=1===t.length&&Object(r.a)(t[0])?t[0]:t,null).pipe(Object(s.a)(t=>e(...t)))}return l(t,null)}function l(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let c=0;c<i;c++){const l=Object(a.a)(t[c]);let h=!1;n.add(l.subscribe({next:t=>{h||(h=!0,o++),r[c]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&h||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}},cpEJ:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return c});var i=n("AytR"),r=n("8Y7J");let s=i.b.isDebugMode;const o=()=>{};let a=(()=>{class t{invokeConsoleMethod(t,e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})(),c=(()=>{class t{get info(){return s?console.log.bind(console):o}get warn(){return s?console.warn.bind(console):o}get error(){return s?console.error.bind(console):o}invokeConsoleMethod(t,e){(console[t]||console.log||o).apply(console,[e])}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})()},cqoG:function(t,e,n){var i=n("P7XM"),r=n("olUY"),s=n("tnIz"),o=n("hwdV").Buffer,a=new Array(64);function c(){this.init(),this._w=a,s.call(this,64,56)}i(c,r),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var t=o.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=c},dEYt:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("8Y7J");let r=(()=>{class t{constructor(){this.copied=new i.o}onClick(t){if(t.preventDefault(),!this.payload)return;const e=t=>{(t.clipboardData||window.clipboardData).setData("text",this.payload.toString()),t.preventDefault(),this.copied.emit(this.payload)};document.addEventListener("copy",e,!1),document.execCommand("copy"),document.removeEventListener("copy",e,!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","rtlClipboard",""]],hostBindings:function(t,e){1&t&&i.dc("click",function(t){return e.onClick(t)})},inputs:{payload:"payload"},outputs:{copied:"copied"}}),t})()},dcwN:function(t,e,n){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var r=n("hwdV"),s=n("Edxu"),o=r.Buffer,a=r.kMaxLength,c=global.crypto||global.msCrypto,l=Math.pow(2,32)-1;function h(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>a||t>e)throw new RangeError("offset out of range")}function u(t,e,n){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>a)throw new RangeError("buffer too small")}function d(t,e,n,i){if(process.browser){var r=new Uint8Array(t.buffer,e,n);return c.getRandomValues(r),i?void process.nextTick(function(){i(null,t)}):t}if(!i)return s(n).copy(t,e),t;s(n,function(n,r){if(n)return i(n);r.copy(t,e),i(null,t)})}c&&c.getRandomValues||!process.browser?(e.randomFill=function(t,e,n,i){if(!(o.isBuffer(t)||t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof e)i=e,e=0,n=t.length;else if("function"==typeof n)i=n,n=t.length-e;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return h(e,t.length),u(n,e,t.length),d(t,e,n,i)},e.randomFillSync=function(t,e,n){if(void 0===e&&(e=0),!(o.isBuffer(t)||t instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(e,t.length),void 0===n&&(n=t.length-e),u(n,e,t.length),d(t,e,n)}):(e.randomFill=i,e.randomFillSync=i)},dlgc:function(t,e,n){"use strict";var i=e;function r(t){return 1===t.length?"0"+t:t}function s(t){for(var e="",n=0;n<t.length;n++)e+=r(t[n].toString(16));return e}i.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var i=0;i<t.length;i++)n[i]=0|t[i];return n}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16));else for(i=0;i<t.length;i++){var r=t.charCodeAt(i),s=r>>8,o=255&r;s?n.push(s,o):n.push(o)}return n},i.zero2=r,i.toHex=s,i.encode=function(t,e){return"hex"===e?s(t):t}},"e/Dd":function(t,e){var n,i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return i[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return void 0!==n},e.toSJIS=function(t){return n(t)}},e6BP:function(t,e){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=n},e6WT:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return A}),n.d(e,"c",function(){return k}),n.d(e,"d",function(){return v});var i=n("SCoL"),r=n("8Y7J"),s=n("8LU1"),o=n("EY2u"),a=n("XNiG"),c=n("xgIS"),l=n("3UWI"),h=n("1G5W"),u=n("SVse");const d=Object(i.f)({passive:!0});let f=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(s.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new a.a,r="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,d),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,d)}}),i}stopMonitoring(t){const e=Object(s.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(i.a),r.Zb(r.B))},t.\u0275prov=Object(r.Lb)({factory:function(){return new t(Object(r.Zb)(i.a),Object(r.Zb)(r.B))},token:t,providedIn:"root"}),t})(),p=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new a.a,this._enabled=!0,this._previousMinRows=-1,this._document=i,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=e.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(t){this._minRows=Object(s.f)(t),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(t){this._maxRows=Object(s.f)(t),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(t){t=Object(s.c)(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.minHeight=t)}_setMaxHeight(){const t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&(this._textareaElement.style.maxHeight=t)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();Object(c.a)(t,"resize").pipe(Object(l.a)(16),Object(h.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let t=this._textareaElement.cloneNode(!1);t.rows=1,t.style.position="absolute",t.style.visibility="hidden",t.style.border="none",t.style.padding="0",t.style.height="",t.style.minHeight="",t.style.maxHeight="",t.style.overflow="hidden",this._textareaElement.parentNode.appendChild(t),this._cachedLineHeight=t.clientHeight,this._textareaElement.parentNode.removeChild(t),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(t=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const e=this._elementRef.nativeElement,n=e.value;if(!t&&this._minRows===this._previousMinRows&&n===this._previousValue)return;const i=e.placeholder;e.classList.add(this._measuringClass),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove(this._measuringClass),e.placeholder=i,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(e)):setTimeout(()=>this._scrollToCaretPosition(e))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(t){const{selectionStart:e,selectionEnd:n}=t,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==t||t.setSelectionRange(e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(i.a),r.Pb(r.B),r.Pb(u.d,8))},t.\u0275dir=r.Kb({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&r.dc("input",function(){return e._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t})(),b=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})();var m=n("UhP/"),g=n("Q2Ze"),y=n("s7LF");let v=(()=>{class t extends p{get matAutosizeMinRows(){return this.minRows}set matAutosizeMinRows(t){this.minRows=t}get matAutosizeMaxRows(){return this.maxRows}set matAutosizeMaxRows(t){this.maxRows=t}get matAutosize(){return this.enabled}set matAutosize(t){this.enabled=t}get matTextareaAutosize(){return this.enabled}set matTextareaAutosize(t){this.enabled=t}}return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=r.Kb({type:t,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[r.Ab]}),t})();const _=r.Xb(v),w=new r.s("MAT_INPUT_VALUE_ACCESSOR"),C=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let x=0;class S{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const O=Object(m.A)(S);let A=(()=>{class t extends O{constructor(t,e,n,r,s,o,c,l,h,u){super(o,r,s,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=l,this._formField=u,this._uid="mat-input-"+x++,this.focused=!1,this.stateChanges=new a.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(i.e)().has(t));const d=this._elementRef.nativeElement,f=d.nodeName.toLowerCase();this._inputValueAccessor=c||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&h.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===f,this._isTextarea="textarea"===f,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(s.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(s.c)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){C.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(i.a),r.Pb(y.l,10),r.Pb(y.o,8),r.Pb(y.h,8),r.Pb(m.d),r.Pb(w,10),r.Pb(f),r.Pb(r.B),r.Pb(g.a,8))},t.\u0275dir=r.Kb({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&r.dc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(r.Yb("disabled",e.disabled)("required",e.required),r.Eb("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),r.Hb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r.Cb([{provide:g.d,useExisting:t}]),r.Ab,r.Bb]}),t})(),k=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},providers:[m.d],imports:[[b,g.e,m.i],b,g.e]}),t})()},"eA/Y":function(t,e,n){"use strict";t.exports=s;var i=n("J78i"),r=Object.create(n("Onz0"));function s(t){if(!(this instanceof s))return new s(t);i.call(this,t)}r.inherits=n("P7XM"),r.inherits(s,i),s.prototype._transform=function(t,e,n){n(null,t)}},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),s=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,s)=>Object(r.a)(t(n,s)).pipe(Object(i.a)((t,i)=>e(n,t,s,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new c(t,this.project))}}class c extends s.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new s.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(s.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eQOe:function(t,e){function n(t,n,i){switch(t){case e.Patterns.PATTERN000:return(n+i)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return i%3==0;case e.Patterns.PATTERN011:return(n+i)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(i/3))%2==0;case e.Patterns.PATTERN101:return n*i%2+n*i%3==0;case e.Patterns.PATTERN110:return(n*i%2+n*i%3)%2==0;case e.Patterns.PATTERN111:return(n*i%3+(n+i)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,i=0,r=0,s=null,o=null,a=0;a<e;a++){i=r=0,s=o=null;for(var c=0;c<e;c++){var l=t.get(a,c);l===s?i++:(i>=5&&(n+=i-5+3),s=l,i=1),(l=t.get(c,a))===o?r++:(r>=5&&(n+=r-5+3),o=l,r=1)}i>=5&&(n+=i-5+3),r>=5&&(n+=r-5+3)}return n},e.getPenaltyN2=function(t){for(var e=t.size,n=0,i=0;i<e-1;i++)for(var r=0;r<e-1;r++){var s=t.get(i,r)+t.get(i,r+1)+t.get(i+1,r)+t.get(i+1,r+1);4!==s&&0!==s||n++}return 3*n},e.getPenaltyN3=function(t){for(var e=t.size,n=0,i=0,r=0,s=0;s<e;s++){i=r=0;for(var o=0;o<e;o++)i=i<<1&2047|t.get(s,o),o>=10&&(1488===i||93===i)&&n++,r=r<<1&2047|t.get(o,s),o>=10&&(1488===r||93===r)&&n++}return 40*n},e.getPenaltyN4=function(t){for(var e=0,n=t.data.length,i=0;i<n;i++)e+=t.data[i];return 10*Math.abs(Math.ceil(100*e/n/5)-10)},e.applyMask=function(t,e){for(var i=e.size,r=0;r<i;r++)for(var s=0;s<i;s++)e.isReserved(s,r)||e.xor(s,r,n(t,s,r))},e.getBestMask=function(t,n){for(var i=Object.keys(e.Patterns).length,r=0,s=1/0,o=0;o<i;o++){n(o),e.applyMask(o,t);var a=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),a<s&&(s=a,r=o)}return r}},ehAg:function(t,e,n){var i=n("N+aw"),r=n("/ayr");function s(t){this.rand=t||new r.Rand}t.exports=s,s.create=function(t){return new s(t)},s.prototype._randbelow=function(t){var e=t.bitLength(),n=Math.ceil(e/8);do{var r=new i(this.rand.generate(n))}while(r.cmp(t)>=0);return r},s.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},s.prototype.test=function(t,e,n){var r=t.bitLength(),s=i.mont(t),o=new i(1).toRed(s);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),c=0;!a.testn(c);c++);for(var l=t.shrn(c),h=a.toRed(s);e>0;e--){var u=this._randrange(new i(2),a);n&&n(u);var d=u.toRed(s).redPow(l);if(0!==d.cmp(o)&&0!==d.cmp(h)){for(var f=1;f<c;f++){if(0===(d=d.redSqr()).cmp(o))return!1;if(0===d.cmp(h))break}if(f===c)return!1}}return!0},s.prototype.getDivisor=function(t,e){var n=t.bitLength(),r=i.mont(t),s=new i(1).toRed(r);e||(e=Math.max(1,n/48|0));for(var o=t.subn(1),a=0;!o.testn(a);a++);for(var c=t.shrn(a),l=o.toRed(r);e>0;e--){var h=this._randrange(new i(2),o),u=t.gcd(h);if(0!==u.cmpn(1))return u;var d=h.toRed(r).redPow(c);if(0!==d.cmp(s)&&0!==d.cmp(l)){for(var f=1;f<a;f++){if(0===(d=d.redSqr()).cmp(s))return d.fromRed().subn(1).gcd(t);if(0===d.cmp(l))break}if(f===a)return(d=d.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},ekOh:function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(i){return n}}},f3pb:function(t,e,n){"use strict";const i=e;i.bignum=n("N+aw"),i.define=n("7zrB").define,i.base=n("Qd/k"),i.constants=n("AhHn"),i.decoders=n("IPZY"),i.encoders=n("ND7S")},fSpj:function(t,e){var n=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!=e)throw new TypeError("Bad key length")}},fXKp:function(t,e,n){"use strict";var i=n("hwdV").Buffer,r=i.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(i.isEncoding===r||!r(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=l,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=h,this.end=u,e=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(e)}function o(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):e}function h(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}e.StringDecoder=s,s.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},s.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},s.prototype.text=function(t,e){var n=function(t,e,n){var i=e.length-1;if(i<n)return 0;var r=o(e[i]);return r>=0?(r>0&&(t.lastNeed=r-1),r):--i<n||-2===r?0:(r=o(e[i]))>=0?(r>0&&(t.lastNeed=r-2),r):--i<n||-2===r?0:(r=o(e[i]))>=0?(r>0&&(2===r?r=0:t.lastNeed=r-3),r):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)},s.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},fZJM:function(t,e,n){var i=e;i.utils=n("w8CP"),i.common=n("7ckf"),i.sha=n("WRkp"),i.ripemd=n("u0Sq"),i.hmac=n("ITfd"),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},fkiA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=(i=n("rE9v"))&&"object"==typeof i&&"default"in i?i.default:i;e.keyDecoder=(t,e)=>r.decode(t).toString(e),e.keyEncoder=(t,e)=>r.encode(Buffer.from(t,e).toString("ascii")).toString().replace(/=/g,"")},fnjI:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),s=n("hwdV").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,r.call(this,64,56)}function l(t){return t<<5|t>>>27}function h(t){return t<<30|t>>>2}function u(t,e,n,i){return 0===t?e&n|~e&i:2===t?e&n|e&i|n&i:e^n^i}i(c,r),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,n=this._w,i=0|this._a,r=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var f=0;f<80;++f){var p=~~(f/20),b=l(i)+u(p,r,s,a)+c+n[f]+o[p]|0;c=a,a=s,s=h(r),r=i,i=b}this._a=i+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=s.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},g2Dh:function(t,e,n){"use strict";const i=n("0cit").Reporter,r=n("YoN+").EncoderBuffer,s=n("YoN+").DecoderBuffer,o=n("2j6C"),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function l(t,e,n){const i={};this._baseState=i,i.name=n,i.enc=t,i.parent=e||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}t.exports=l;const h=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){const t=this._baseState,e={};h.forEach(function(n){e[n]=t[n]});const n=new this.constructor(e.parent);return n._baseState=e,n},l.prototype._wrap=function(){const t=this._baseState;c.forEach(function(e){this[e]=function(){const n=new this.constructor(this);return t.children.push(n),n[e].apply(n,arguments)}},this)},l.prototype._init=function(t){const e=this._baseState;o(null===e.parent),t.call(this),e.children=e.children.filter(function(t){return t._baseState.parent===this},this),o.equal(e.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(t){const e=this._baseState,n=t.filter(function(t){return t instanceof this.constructor},this);t=t.filter(function(t){return!(t instanceof this.constructor)},this),0!==n.length&&(o(null===e.children),e.children=n,n.forEach(function(t){t._baseState.parent=this},this)),0!==t.length&&(o(null===e.args),e.args=t,e.reverseArgs=t.map(function(t){if("object"!=typeof t||t.constructor!==Object)return t;const e={};return Object.keys(t).forEach(function(n){n==(0|n)&&(n|=0),e[t[n]]=n}),e}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(t){l.prototype[t]=function(){throw new Error(t+" not implemented for encoding: "+this._baseState.enc)}}),a.forEach(function(t){l.prototype[t]=function(){const e=this._baseState,n=Array.prototype.slice.call(arguments);return o(null===e.tag),e.tag=t,this._useArgs(n),this}}),l.prototype.use=function(t){o(t);const e=this._baseState;return o(null===e.use),e.use=t,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(t){const e=this._baseState;return o(null===e.default),e.default=t,e.optional=!0,this},l.prototype.explicit=function(t){const e=this._baseState;return o(null===e.explicit&&null===e.implicit),e.explicit=t,this},l.prototype.implicit=function(t){const e=this._baseState;return o(null===e.explicit&&null===e.implicit),e.implicit=t,this},l.prototype.obj=function(){const t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},l.prototype.key=function(t){const e=this._baseState;return o(null===e.key),e.key=t,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(t){const e=this._baseState;return o(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map(function(e){return t[e]})),this},l.prototype.contains=function(t){const e=this._baseState;return o(null===e.use),e.contains=t,this},l.prototype._decode=function(t,e){const n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,e));let i,r=n.default,o=!0,a=null;if(null!==n.key&&(a=t.enterKey(n.key)),n.optional){let i=null;if(null!==n.explicit?i=n.explicit:null!==n.implicit?i=n.implicit:null!==n.tag&&(i=n.tag),null!==i||n.any){if(o=this._peekTag(t,i,n.any),t.isError(o))return o}else{const i=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e),o=!0}catch(c){o=!1}t.restore(i)}}if(n.obj&&o&&(i=t.enterObject()),o){if(null!==n.explicit){const e=this._decodeTag(t,n.explicit);if(t.isError(e))return e;t=e}const i=t.offset;if(null===n.use&&null===n.choice){let e;n.any&&(e=t.save());const i=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(i))return i;n.any?r=t.raw(e):t=i}if(e&&e.track&&null!==n.tag&&e.track(t.path(),i,t.length,"tagged"),e&&e.track&&null!==n.tag&&e.track(t.path(),t.offset,t.length,"content"),n.any||(r=null===n.choice?this._decodeGeneric(n.tag,t,e):this._decodeChoice(t,e)),t.isError(r))return r;if(n.any||null!==n.choice||null===n.children||n.children.forEach(function(n){n._decode(t,e)}),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const i=new s(r);r=this._getUse(n.contains,t._reporterState.obj)._decode(i,e)}}return n.obj&&o&&(r=t.leaveObject(i)),null===n.key||null===r&&!0!==o?null!==a&&t.exitKey(a):t.leaveKey(a,n.key,r),r},l.prototype._decodeGeneric=function(t,e,n){const i=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,i.args[0],n):/str$/.test(t)?this._decodeStr(e,t,n):"objid"===t&&i.args?this._decodeObjid(e,i.args[0],i.args[1],n):"objid"===t?this._decodeObjid(e,null,null,n):"gentime"===t||"utctime"===t?this._decodeTime(e,t,n):"null_"===t?this._decodeNull(e,n):"bool"===t?this._decodeBool(e,n):"objDesc"===t?this._decodeStr(e,t,n):"int"===t||"enum"===t?this._decodeInt(e,i.args&&i.args[0],n):null!==i.use?this._getUse(i.use,e._reporterState.obj)._decode(e,n):e.error("unknown tag: "+t)},l.prototype._getUse=function(t,e){const n=this._baseState;return n.useDecoder=this._use(t,e),o(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(t,e){const n=this._baseState;let i=null,r=!1;return Object.keys(n.choice).some(function(s){const o=t.save(),a=n.choice[s];try{const n=a._decode(t,e);if(t.isError(n))return!1;i={type:s,value:n},r=!0}catch(c){return t.restore(o),!1}return!0},this),r?i:t.error("Choice not matched")},l.prototype._createEncoderBuffer=function(t){return new r(t,this.reporter)},l.prototype._encode=function(t,e,n){const i=this._baseState;if(null!==i.default&&i.default===t)return;const r=this._encodeValue(t,e,n);return void 0===r||this._skipDefault(r,e,n)?void 0:r},l.prototype._encodeValue=function(t,e,n){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(t,e||new i);let s=null;if(this.reporter=e,r.optional&&void 0===t){if(null===r.default)return;t=r.default}let o=null,a=!1;if(r.any)s=this._createEncoderBuffer(t);else if(r.choice)s=this._encodeChoice(t,e);else if(r.contains)o=this._getUse(r.contains,n)._encode(t,e),a=!0;else if(r.children)o=r.children.map(function(n){if("null_"===n._baseState.tag)return n._encode(null,e,t);if(null===n._baseState.key)return e.error("Child should have a key");const i=e.enterKey(n._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");const r=n._encode(t[n._baseState.key],e,t);return e.leaveKey(i),r},this).filter(function(t){return t}),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return e.error("Too many args for : "+r.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,o=this._createEncoderBuffer(t.map(function(n){return this._getUse(this._baseState.args[0],t)._encode(n,e)},n))}else null!==r.use?s=this._getUse(r.use,n)._encode(t,e):(o=this._encodePrimitive(r.tag,t),a=!0);if(!r.any&&null===r.choice){const t=null!==r.implicit?r.implicit:r.tag,n=null===r.implicit?"universal":"context";null===t?null===r.use&&e.error("Tag could be omitted only for .use()"):null===r.use&&(s=this._encodeComposite(t,a,n,o))}return null!==r.explicit&&(s=this._encodeComposite(r.explicit,!1,"context",s)),s},l.prototype._encodeChoice=function(t,e){const n=this._baseState,i=n.choice[t.type];return i||o(!1,t.type+" not found in "+JSON.stringify(Object.keys(n.choice))),i._encode(t.value,e)},l.prototype._encodePrimitive=function(t,e){const n=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&n.args)return this._encodeObjid(e,n.reverseArgs[0],n.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,n.args&&n.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},l.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},l.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},g9U9:function(t,e){t.exports=function(t,e){for(var n=t.length,i=-1;++i<n;)t[i]^=e[i];return t}},g9mE:function(t,e,n){"use strict";function i(t){return Object.keys(t).map(e=>t[e])}var r;Object.defineProperty(e,"__esModule",{value:!0}),(r=e.HashAlgorithms||(e.HashAlgorithms={})).SHA1="sha1",r.SHA256="sha256",r.SHA512="sha512";const s=i(e.HashAlgorithms);var o;(o=e.KeyEncodings||(e.KeyEncodings={})).ASCII="ascii",o.BASE64="base64",o.HEX="hex",o.LATIN1="latin1",o.UTF8="utf8";const a=i(e.KeyEncodings);var c;(c=e.Strategy||(e.Strategy={})).HOTP="hotp",c.TOTP="totp";const l=i(e.Strategy),h=()=>{throw new Error("Please provide an options.createDigest implementation.")};function u(t){return/^(\d+)$/.test(t)}function d(t,e,n){return t.length>=e?t:`${Array(e+1).join(n)}${t}`.slice(-1*e)}function f(t){const e=`otpauth://${t.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,n=[];if(l.indexOf(t.type)<0)throw new Error(`Expecting options.type to be one of ${l.join(", ")}. Received ${t.type}.`);if("hotp"===t.type){if(null==t.counter||"number"!=typeof t.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');n.push("&counter="+t.counter)}return"totp"===t.type&&t.step&&n.push("&period="+t.step),t.digits&&n.push("&digits="+t.digits),t.algorithm&&n.push("&algorithm="+t.algorithm.toUpperCase()),t.issuer&&n.push("&issuer="+encodeURIComponent(t.issuer)),e.replace("{labelPrefix}",encodeURIComponent(t.issuer||t.accountName)).replace("{accountName}",encodeURIComponent(t.accountName)).replace("{secret}",t.secret).replace("{query}",n.join(""))}class p{constructor(t={}){this._defaultOptions=Object.freeze({...t}),this._options=Object.freeze({})}create(t={}){return new p(t)}clone(t={}){const e=this.create({...this._defaultOptions,...t});return e.options=this._options,e}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(t){this._options=Object.freeze({...this._options,...t})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function b(t){if("function"!=typeof t.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof t.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof t.digits)throw new Error("Expecting options.digits to be a number.");if(!t.algorithm||s.indexOf(t.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${s.join(", ")}. Received ${t.algorithm}.`);if(!t.encoding||a.indexOf(t.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${a.join(", ")}. Received ${t.encoding}.`)}const m=(t,e,n)=>Buffer.from(e,n).toString("hex");function g(){return{algorithm:e.HashAlgorithms.SHA1,createHmacKey:m,createDigest:h,digits:6,encoding:e.KeyEncodings.ASCII}}function y(t){const e={...g(),...t};return b(e),Object.freeze(e)}function v(t){return d(t.toString(16),16,"0")}function _(t,e){const n=Buffer.from(t,"hex"),i=15&n[n.length-1],r=((127&n[i])<<24|(255&n[i+1])<<16|(255&n[i+2])<<8|255&n[i+3])%Math.pow(10,e);return d(String(r),e,"0")}function w(t,e,n){return _(n.digest||function(t,e,n){const i=v(e),r=n.createHmacKey(n.algorithm,t,n.encoding);return n.createDigest(n.algorithm,r,i)}(t,e,n),n.digits)}function C(t,e,n,i){return!!u(t)&&t===w(e,n,i)}function x(t,n,i,r,s){return f({algorithm:s.algorithm,digits:s.digits,type:e.Strategy.HOTP,accountName:t,counter:r,issuer:n,secret:i})}class S extends p{create(t={}){return new S(t)}allOptions(){return y(this.options)}generate(t,e){return w(t,e,this.allOptions())}check(t,e,n){return C(t,e,n,this.allOptions())}verify(t){if("object"!=typeof t)throw new Error("Expecting argument 0 of verify to be an object");return this.check(t.token,t.secret,t.counter)}keyuri(t,e,n,i){return x(t,e,n,i,this.allOptions())}}function O(t){if("number"==typeof t)return[Math.abs(t),Math.abs(t)];if(Array.isArray(t)){const[e,n]=t;if("number"==typeof e&&"number"==typeof n)return[Math.abs(e),Math.abs(n)]}throw new Error("Expecting options.window to be an number or [number, number].")}function A(t){if(b(t),O(t.window),"number"!=typeof t.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof t.step)throw new Error("Expecting options.step to be a number.")}const k=(t,e,n)=>{const i=t.length,r=Buffer.from(t,e).toString("hex");if(i<n){const t=new Array(n-i+1).join(r);return Buffer.from(t,"hex").slice(0,n).toString("hex")}return r},E=(t,n,i)=>{switch(t){case e.HashAlgorithms.SHA1:return k(n,i,20);case e.HashAlgorithms.SHA256:return k(n,i,32);case e.HashAlgorithms.SHA512:return k(n,i,64);default:throw new Error(`Expecting algorithm to be one of ${s.join(", ")}. Received ${t}.`)}};function L(){return{algorithm:e.HashAlgorithms.SHA1,createDigest:h,createHmacKey:E,digits:6,encoding:e.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function D(t){const e={...L(),...t};return A(e),Object.freeze(e)}function I(t,e){return Math.floor(t/e/1e3)}function P(t,e){return w(t,I(e.epoch,e.step),e)}function T(t,e,n,i){const r=[];if(0===i)return r;for(let s=1;s<=i;s++)r.push(t+e*s*n);return r}function R(t,e,n){const i=O(n),r=1e3*e;return{current:t,past:T(t,-1,r,i[0]),future:T(t,1,r,i[1])}}function M(t,e,n){return!!u(t)&&t===P(e,n)}function j(t,e,n,i){let r=null;return t.some((t,s)=>!!M(e,n,{...i,epoch:t})&&(r=s+1,!0)),r}function F(t,e,n){if(M(t,e,n))return 0;const i=R(n.epoch,n.step,n.window),r=j(i.past,t,e,n);return null!==r?-1*r:j(i.future,t,e,n)}function N(t,e){return Math.floor(t/1e3)%e}function U(t,e){return e-N(t,e)}function V(t,n,i,r){return f({algorithm:r.algorithm,digits:r.digits,step:r.step,type:e.Strategy.TOTP,accountName:t,issuer:n,secret:i})}class B extends S{create(t={}){return new B(t)}allOptions(){return D(this.options)}generate(t){return P(t,this.allOptions())}checkDelta(t,e){return F(t,e,this.allOptions())}check(t,e){return"number"==typeof this.checkDelta(t,e)}verify(t){if("object"!=typeof t)throw new Error("Expecting argument 0 of verify to be an object");return this.check(t.token,t.secret)}timeRemaining(){const t=this.allOptions();return U(t.epoch,t.step)}timeUsed(){const t=this.allOptions();return N(t.epoch,t.step)}keyuri(t,e,n){return V(t,e,n,this.allOptions())}}function z(t){if(A(t),"function"!=typeof t.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(t.keyEncoder&&"function"!=typeof t.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function H(){return{algorithm:e.HashAlgorithms.SHA1,createDigest:h,createHmacKey:E,digits:6,encoding:e.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function W(t){const e={...H(),...t};return z(e),Object.freeze(e)}function Q(t,e){return e.keyEncoder(t,e.encoding)}function K(t,e){return e.keyDecoder(t,e.encoding)}function q(t,e){return Q(e.createRandomBytes(t,e.encoding),e)}function Y(t,e){return P(K(t,e),e)}function G(t,e,n){return F(t,K(e,n),n)}class Z extends B{create(t={}){return new Z(t)}allOptions(){return W(this.options)}generate(t){return Y(t,this.allOptions())}checkDelta(t,e){return G(t,e,this.allOptions())}encode(t){return Q(t,this.allOptions())}decode(t){return K(t,this.allOptions())}generateSecret(t=10){return q(t,this.allOptions())}}e.Authenticator=Z,e.HASH_ALGORITHMS=s,e.HOTP=S,e.KEY_ENCODINGS=a,e.OTP=p,e.STRATEGY=l,e.TOTP=B,e.authenticatorCheckWithWindow=G,e.authenticatorDecoder=K,e.authenticatorDefaultOptions=H,e.authenticatorEncoder=Q,e.authenticatorGenerateSecret=q,e.authenticatorOptionValidator=z,e.authenticatorOptions=W,e.authenticatorToken=Y,e.createDigestPlaceholder=h,e.hotpCheck=C,e.hotpCounter=v,e.hotpCreateHmacKey=m,e.hotpDefaultOptions=g,e.hotpDigestToToken=_,e.hotpKeyuri=x,e.hotpOptions=y,e.hotpOptionsValidator=b,e.hotpToken=w,e.isTokenValid=u,e.keyuri=f,e.objectValues=i,e.padStart=d,e.totpCheck=M,e.totpCheckByEpoch=j,e.totpCheckWithWindow=F,e.totpCounter=I,e.totpCreateHmacKey=E,e.totpDefaultOptions=L,e.totpEpochAvailable=R,e.totpKeyuri=V,e.totpOptions=D,e.totpOptionsValidator=A,e.totpPadSecret=k,e.totpTimeRemaining=U,e.totpTimeUsed=N,e.totpToken=P},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("2fFW"),r=n("NJ4a");const s={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},gvAe:function(t,e,n){var i=n("OfWw"),r=n("hwdV").Buffer,s=n("ZDAU"),o=n("P7XM"),a=n("P2KE"),c=n("jIre"),l=n("vZ2G");function h(t,e,n,o){s.call(this);var c=r.alloc(4,0);this._cipher=new i.AES(e);var h=this._cipher.encryptBlock(c);this._ghash=new a(h),n=function(t,e,n){if(12===e.length)return t._finID=r.concat([e,r.from([0,0,0,1])]),r.concat([e,r.from([0,0,0,2])]);var i=new a(n),s=e.length,o=s%16;i.update(e),o&&i.update(r.alloc(o=16-o,0)),i.update(r.alloc(8,0));var c=8*s,h=r.alloc(8);h.writeUIntBE(c,0,8),i.update(h),t._finID=i.state;var u=r.from(t._finID);return l(u),u}(this,n,h),this._prev=r.from(n),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}o(h,s),h.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=r.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._ghash.update(this._decrypt?t:n),this._len+=t.length,n},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var i=Math.min(t.length,e.length),r=0;r<i;++r)n+=t[r]^e[r];return n}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},h.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=h},hBQm:function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=n("IheW"),r=n("2Vo4"),s=n("XNiG"),o=n("z6cu"),a=n("1G5W"),c=n("JIr8"),l=n("AytR"),h=n("V8Fa"),u=n("7nzP"),d=n("/uX3"),f=n("8Y7J"),p=n("cpEJ"),b=n("tqRt");let m=(()=>{class t{constructor(t,e,n){this.httpClient=t,this.logger=e,this.store=n,this.CHILD_API_URL=l.a+"/lnd",this.loopUrl="",this.swaps=[],this.swapsChanged=new r.a([]),this.unSubs=[new s.a,new s.a,new s.a]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch(new d.G("Getting List Swaps...")),this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe(Object(a.a)(this.unSubs[0])).subscribe(t=>{this.store.dispatch(new d.j),this.swaps=t,this.swapsChanged.next(this.swaps)},t=>this.handleErrorWithAlert("Loop Swaps",t))}loopOut(t,e,n,i,r,s,o,a,h,u){let d={amount:t,targetConf:n,swapRoutingFee:i,minerFee:r,prepayRoutingFee:s,prepayAmt:o,swapFee:a,swapPublicationDeadline:h,destAddress:u};return""!==e&&(d.chanId=e),this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/out",this.httpClient.post(this.loopUrl,d).pipe(Object(c.a)(t=>this.handleErrorWithoutAlert("Loop Out for Channel: "+e,t)))}getLoopOutTerms(){return this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe(Object(c.a)(t=>this.handleErrorWithoutAlert("Loop Out Terms",t)))}getLoopOutQuote(t,e,n){let r=new i.d;return r=r.append("targetConf",e.toString()),r=r.append("swapPublicationDeadline",n.toString()),this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/out/quote/"+t,this.httpClient.get(this.loopUrl,{params:r}).pipe(Object(c.a)(t=>this.handleErrorWithoutAlert("Loop Out Quote",t)))}getLoopOutTermsAndQuotes(t){let e=new i.d;return e=e.append("targetConf",t.toString()),e=e.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/out/termsAndQuotes",this.httpClient.get(this.loopUrl,{params:e}).pipe(Object(c.a)(t=>this.handleErrorWithAlert(this.loopUrl,t)))}loopIn(t,e,n,i,r){const s={amount:t,swapFee:e,minerFee:n,lastHop:i,externalHtlc:r};return this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/in",this.httpClient.post(this.loopUrl,s).pipe(Object(c.a)(t=>this.handleErrorWithoutAlert("Loop In",t)))}getLoopInTerms(){return this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe(Object(c.a)(t=>this.handleErrorWithoutAlert("Loop In Terms",t)))}getLoopInQuote(t,e,n){let r=new i.d;return r=r.append("targetConf",e.toString()),r=r.append("swapPublicationDeadline",n.toString()),this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/in/quote/"+t,this.httpClient.get(this.loopUrl,{params:r}).pipe(Object(c.a)(t=>this.handleErrorWithoutAlert("Loop In Qoute",t)))}getLoopInTermsAndQuotes(t){let e=new i.d;return e=e.append("targetConf",t.toString()),e=e.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/in/termsAndQuotes",this.httpClient.get(this.loopUrl,{params:e}).pipe(Object(c.a)(t=>this.handleErrorWithAlert(this.loopUrl,t)))}getSwap(t){return this.loopUrl=this.CHILD_API_URL+l.b.LOOP_API+"/swap/"+t,this.httpClient.get(this.loopUrl).pipe(Object(c.a)(e=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+t,e)))}handleErrorWithoutAlert(t,e){return this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(e)),this.store.dispatch(new d.j),401===e.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new d.y)):"ECONNREFUSED"!==e.error.errno&&"ECONNREFUSED"!==e.error.error.errno||this.store.dispatch(new d.D({data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:"ECONNREFUSED",message:"Unable to Connect to Loop Server",URL:t},component:h.a}})),Object(o.a)(e)}handleErrorWithAlert(t,e){return 401===e.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch(new d.y)),e.message=e.error&&e.error.error&&e.error.error.error&&"string"==typeof e.error.error.error?e.error.error.error:e.error&&e.error.error&&"string"==typeof e.error.error?e.error.error:e.error&&"string"==typeof e.error?e.error:"Unknown Error",this.logger.error(e),this.store.dispatch(new d.j),401===e.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new d.y)):this.store.dispatch(new d.D("ECONNREFUSED"===e.error.errno||"ECONNREFUSED"===e.error.error.errno?{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:"ECONNREFUSED",message:"Unable to Connect to Loop Server",URL:t},component:h.a}}:{data:{type:u.b.ERROR,alertTitle:"ERROR",message:{code:e.code?e.code:e.status,message:e.message?e.message:"Unknown Error",URL:t},component:h.a}})),Object(o.a)(e)}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(f.Zb(i.b),f.Zb(p.b),f.Zb(b.h))},t.\u0275prov=f.Lb({token:t,factory:t.\u0275fac}),t})()},hbMA:function(t,e,n){"use strict";const i=n("P7XM"),r=n("N2jm");function s(t){r.call(this,t),this.enc="pem"}i(s,r),t.exports=s,s.prototype.encode=function(t,e){const n=r.prototype.encode.call(this,t).toString("base64"),i=["-----BEGIN "+e.label+"-----"];for(let r=0;r<n.length;r+=64)i.push(n.slice(r,r+64));return i.push("-----END "+e.label+"-----"),i.join("\n")}},hwdV:function(t,e,n){var i=n("tjlA"),r=i.Buffer;function s(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=i:(s(i,e),e.Buffer=o),s(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},hzfI:function(t,e,n){"use strict";n.d(e,"a",function(){return j}),n.d(e,"b",function(){return k}),n.d(e,"c",function(){return F}),n.d(e,"d",function(){return M}),n.d(e,"e",function(){return W}),n.d(e,"f",function(){return V}),n.d(e,"g",function(){return z}),n.d(e,"h",function(){return U});var i=n("1z/I"),r=n("q59W"),s=n("SVse"),o=n("8Y7J"),a=n("Dxy4"),c=n("UhP/"),l=n("Tj54"),h=n("XNiG"),u=n("1G5W"),d=n("/uUt"),f=n("GS7A"),p=n("YEUz"),b=n("9gLZ");function m(t,e){if(1&t&&o.Rb(0,8),2&t){const t=o.hc();o.oc("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function g(t,e){if(1&t&&(o.Vb(0,"span"),o.Kc(1),o.Ub()),2&t){const t=o.hc(2);o.Db(1),o.Lc(t._getDefaultTextForState(t.state))}}function y(t,e){if(1&t&&(o.Vb(0,"mat-icon"),o.Kc(1),o.Ub()),2&t){const t=o.hc(2);o.Db(1),o.Lc(t._getDefaultTextForState(t.state))}}function v(t,e){if(1&t&&(o.Tb(0,9),o.Ic(1,g,2,1,"span",10),o.Ic(2,y,2,1,"mat-icon",11),o.Sb()),2&t){const t=o.hc();o.oc("ngSwitch",t.state),o.Db(1),o.oc("ngSwitchCase","number")}}function _(t,e){if(1&t&&(o.Vb(0,"div",12),o.Rb(1,13),o.Ub()),2&t){const t=o.hc();o.Db(1),o.oc("ngTemplateOutlet",t._templateLabel().template)}}function w(t,e){if(1&t&&(o.Vb(0,"div",12),o.Kc(1),o.Ub()),2&t){const t=o.hc();o.Db(1),o.Lc(t.label)}}function C(t,e){if(1&t&&(o.Vb(0,"div",14),o.Kc(1),o.Ub()),2&t){const t=o.hc();o.Db(1),o.Lc(t._intl.optionalLabel)}}function x(t,e){if(1&t&&(o.Vb(0,"div",15),o.Kc(1),o.Ub()),2&t){const t=o.hc();o.Db(1),o.Lc(t.errorMessage)}}function S(t,e){1&t&&o.mc(0)}const O=["*"];function A(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",1),o.Vb(1,"mat-step-header",2),o.dc("click",function(){return e.$implicit.select()})("keydown",function(e){return o.zc(t),o.hc()._onKeydown(e)}),o.Ub(),o.Vb(2,"div",3),o.Vb(3,"div",4),o.dc("@stepTransition.done",function(e){return o.zc(t),o.hc()._animationDone.next(e)}),o.Vb(4,"div",5),o.Rb(5,6),o.Ub(),o.Ub(),o.Ub(),o.Ub()}if(2&t){const t=e.$implicit,n=e.index,i=e.last,r=o.hc();o.Db(1),o.oc("tabIndex",r._getFocusIndex()==n?0:-1)("id",r._getStepLabelId(n))("index",n)("state",r._getIndicatorType(n,t.state))("label",t.stepLabel||t.label)("selected",r.selectedIndex===n)("active",t.completed||r.selectedIndex===n||!r.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple)("color",t.color||r.color),o.Eb("aria-posinset",n+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(n))("aria-selected",r.selectedIndex===n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),o.Db(1),o.Hb("mat-stepper-vertical-line",!i),o.Db(1),o.oc("@stepTransition",r._getAnimationDirection(n))("id",r._getStepContentId(n)),o.Eb("aria-labelledby",r._getStepLabelId(n))("aria-expanded",r.selectedIndex===n),o.Db(2),o.oc("ngTemplateOutlet",t.content)}}let k=(()=>{class t extends r.c{}return t.\u0275fac=function(e){return E(e||t)},t.\u0275dir=o.Kb({type:t,selectors:[["","matStepLabel",""]],features:[o.Ab]}),t})();const E=o.Xb(k);let L=(()=>{class t{constructor(){this.changes=new h.a,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o.Lb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const D={provide:L,deps:[[new o.C,new o.M,L]],useFactory:function(t){return t||new L}};class I extends r.b{constructor(t){super(t)}}const P=Object(c.x)(I,"primary");let T=(()=>{class t extends P{constructor(t,e,n,i){super(n),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>i.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(){this._focusMonitor.focusVia(this._elementRef,"program")}_stringLabel(){return this.label instanceof k?null:this.label}_templateLabel(){return this.label instanceof k?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?""+(this.index+1):"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(L),o.Pb(p.h),o.Pb(o.l),o.Pb(o.h))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header","mat-focus-indicator"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[o.Ab],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(o.Qb(0,"div",0),o.Vb(1,"div"),o.Vb(2,"div",1),o.Ic(3,m,1,2,"ng-container",2),o.Ic(4,v,3,2,"ng-container",3),o.Ub(),o.Ub(),o.Vb(5,"div",4),o.Ic(6,_,2,1,"div",5),o.Ic(7,w,2,1,"div",5),o.Ic(8,C,2,1,"div",6),o.Ic(9,x,2,1,"div",7),o.Ub()),2&t&&(o.oc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),o.Db(1),o.Gb("mat-step-icon-state-",e.state," mat-step-icon"),o.Hb("mat-step-icon-selected",e.selected),o.Db(1),o.oc("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),o.Db(1),o.oc("ngSwitchCase",!0),o.Db(2),o.Hb("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),o.Db(1),o.oc("ngIf",e._templateLabel()),o.Db(1),o.oc("ngIf",e._stringLabel()),o.Db(1),o.oc("ngIf",e.optional&&"error"!=e.state),o.Db(1),o.oc("ngIf","error"==e.state))},directives:[c.r,s.q,s.r,s.s,s.o,s.t,l.a],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})();const R={horizontalStepTransition:Object(f.n)("stepTransition",[Object(f.k)("previous",Object(f.l)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Object(f.k)("current",Object(f.l)({transform:"none",visibility:"visible"})),Object(f.k)("next",Object(f.l)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Object(f.m)("* => *",Object(f.e)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Object(f.n)("stepTransition",[Object(f.k)("previous",Object(f.l)({height:"0px",visibility:"hidden"})),Object(f.k)("next",Object(f.l)({height:"0px",visibility:"hidden"})),Object(f.k)("current",Object(f.l)({height:"*",visibility:"visible"})),Object(f.m)("* <=> current",Object(f.e)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let M=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.O))},t.\u0275dir=o.Kb({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),j=(()=>{class t extends r.a{constructor(t,e,n){super(t,n),this._errorStateMatcher=e}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(Object(o.X)(()=>F)),o.Pb(c.d,4),o.Pb(r.h,8))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,n){if(1&t&&o.Ib(n,k,!0),2&t){let t;o.vc(t=o.ec())&&(e.stepLabel=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[o.Cb([{provide:c.d,useExisting:t},{provide:r.a,useExisting:t}]),o.Ab],ngContentSelectors:O,decls:1,vars:0,template:function(t,e){1&t&&(o.nc(),o.Ic(0,S,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t extends r.d{constructor(){super(...arguments),this.steps=new o.F,this.animationDone=new o.o,this._iconOverrides={},this._animationDone=new h.a}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe(Object(u.a)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Object(d.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),Object(u.a)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(e){return N(e||t)},t.\u0275dir=o.Kb({type:t,selectors:[["","matStepper",""]],contentQueries:function(t,e,n){if(1&t&&(o.Ib(n,j,!0),o.Ib(n,M,!0)),2&t){let t;o.vc(t=o.ec())&&(e._steps=t),o.vc(t=o.ec())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&o.Pc(T,!0),2&t){let t;o.vc(t=o.ec())&&(e._stepHeader=t)}},inputs:{disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},features:[o.Cb([{provide:r.d,useExisting:t}]),o.Ab]}),t})();const N=o.Xb(F);let U=(()=>{class t extends F{constructor(t,e,n,i){super(t,e,n,i),this._orientation="vertical"}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(b.b,8),o.Pb(o.h),o.Pb(o.l),o.Pb(s.d))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-vertical-stepper"]],hostAttrs:["aria-orientation","vertical","role","tablist",1,"mat-stepper-vertical"],inputs:{selectedIndex:"selectedIndex"},exportAs:["matVerticalStepper"],features:[o.Cb([{provide:F,useExisting:t},{provide:r.d,useExisting:t}]),o.Ab],decls:1,vars:1,consts:[["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&o.Ic(0,A,6,25,"div",0),2&t&&o.oc("ngForOf",e.steps)},directives:[s.n,T,s.t],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[R.verticalStepTransition]},changeDetection:0}),t})(),V=(()=>{class t extends r.f{}return t.\u0275fac=function(e){return B(e||t)},t.\u0275dir=o.Kb({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&o.Yb("type",e.type)},inputs:{type:"type"},features:[o.Ab]}),t})();const B=o.Xb(V);let z=(()=>{class t extends r.g{}return t.\u0275fac=function(e){return H(e||t)},t.\u0275dir=o.Kb({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&o.Yb("type",e.type)},inputs:{type:"type"},features:[o.Ab]}),t})();const H=o.Xb(z);let W=(()=>{class t{}return t.\u0275mod=o.Nb({type:t}),t.\u0275inj=o.Mb({factory:function(e){return new(e||t)},providers:[D,c.d],imports:[[c.i,s.c,i.h,a.b,r.e,l.b,c.s],c.i]}),t})()},"i+bA":function(t,e,n){var i=n("hwdV").Buffer;t.exports=function(t,e,n){if(i.isBuffer(t))return t;if("string"==typeof t)return i.from(t,e);if(ArrayBuffer.isView(t))return i.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},i3FT:function(t,e,n){"use strict";function i(t){const e={};return Object.keys(t).forEach(function(n){(0|n)==n&&(n|=0),e[t[n]]=n}),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=i(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=i(e.tag)},i5UE:function(t,e,n){"use strict";var i=n("w8CP"),r=n("tSWc");function s(){if(!(this instanceof s))return new s;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(s,r),t.exports=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},iELJ:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return E}),n.d(e,"c",function(){return P}),n.d(e,"d",function(){return T}),n.d(e,"e",function(){return R}),n.d(e,"f",function(){return O});var i=n("1O3W"),r=n("1z/I"),s=n("8Y7J"),o=n("UhP/"),a=n("9gLZ"),c=n("SVse"),l=n("XNiG"),h=n("NXyV"),u=n("LRne"),d=n("pLZG"),f=n("IzEk"),p=n("JX91"),b=n("GS7A"),m=n("Ht+U"),g=n("YEUz");function y(t,e){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const _={dialogContainer:Object(b.n)("dialogContainer",[Object(b.k)("void, exit",Object(b.l)({opacity:0,transform:"scale(0.7)"})),Object(b.k)("enter",Object(b.l)({transform:"none"})),Object(b.m)("* => enter",Object(b.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(b.l)({transform:"none",opacity:1}))),Object(b.m)("* => void, * => exit",Object(b.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(b.l)({opacity:0})))])};let w=(()=>{class t extends r.a{constructor(t,e,n,i,r,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=r,this._focusMonitor=o,this._animationStateChanged=new s.o,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.l),s.Pb(g.i),s.Pb(s.h),s.Pb(c.d,8),s.Pb(v),s.Pb(g.h))},t.\u0275dir=s.Kb({type:t,viewQuery:function(t,e){if(1&t&&s.Ec(r.c,!0),2&t){let t;s.vc(t=s.ec())&&(e._portalOutlet=t.first)}},features:[s.Ab]}),t})(),C=(()=>{class t extends w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return x(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&s.Gc("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(s.Yb("id",e._id),s.Eb("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),s.Hc("@dialogContainer",e._state))},features:[s.Ab],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&s.Ic(0,y,0,0,"ng-template",0)},directives:[r.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[_.dialogContainer]}}),t})();const x=s.Xb(C);let S=0;class O{constructor(t,e,n="mat-dialog-"+S++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.a,this._afterClosed=new l.a,this._beforeClosed=new l.a,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(d.a)(t=>"opened"===t.state),Object(f.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(d.a)(t=>"closed"===t.state),Object(f.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(d.a)(t=>t.keyCode===m.f&&!this.disableClose&&!Object(m.r)(t))).subscribe(t=>{t.preventDefault(),A(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():A(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(d.a)(t=>"closing"===t.state),Object(f.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function A(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const k=new s.s("MatDialogData"),E=new s.s("mat-dialog-default-options"),L=new s.s("mat-dialog-scroll-strategy"),D={provide:L,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let I=(()=>{class t{constructor(t,e,n,i,r,s,o,a,c){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.a,this._afterOpenedAtThisLevel=new l.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(h.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(p.a)(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=s.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new r.d(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof s.O)e.attachTemplatePortal(new r.i(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),s=e.attachComponentPortal(new r.d(t,i.viewContainerRef,n));o.componentInstance=s.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(a.b,null)||r.push({provide:a.b,useValue:{value:t.direction,change:Object(u.a)()}}),s.t.create({parent:i||this._injector,providers:r})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(i.c),s.Pb(s.t),s.Pb(void 0),s.Pb(void 0),s.Pb(i.e),s.Pb(void 0),s.Pb(s.Q),s.Pb(s.Q),s.Pb(s.s))},t.\u0275dir=s.Kb({type:t}),t})(),P=(()=>{class t extends I{constructor(t,e,n,i,r,s,o){super(t,e,i,s,o,r,O,C,k)}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(i.c),s.Zb(s.t),s.Zb(c.j,8),s.Zb(E,8),s.Zb(L),s.Zb(t,12),s.Zb(i.e))},t.\u0275prov=s.Lb({token:t,factory:t.\u0275fac}),t})(),T=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){A(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(O,8),s.Pb(s.l),s.Pb(P))},t.\u0275dir=s.Kb({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.dc("click",function(t){return e._onButtonClick(t)}),2&t&&s.Eb("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[s.Bb]}),t})(),R=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},providers:[P,D],imports:[[i.f,r.h,o.i],o.i]}),t})()},iInd:function(t,e,n){"use strict";n.d(e,"a",function(){return zt}),n.d(e,"b",function(){return U}),n.d(e,"c",function(){return N}),n.d(e,"d",function(){return V}),n.d(e,"e",function(){return F}),n.d(e,"f",function(){return Q}),n.d(e,"g",function(){return an}),n.d(e,"h",function(){return cn}),n.d(e,"i",function(){return un}),n.d(e,"j",function(){return ln}),n.d(e,"k",function(){return Cn}),n.d(e,"l",function(){return dn});var i=n("SVse"),r=n("8Y7J"),s=n("LRne"),o=n("Cfvw"),a=n("2Vo4"),c=n("itXk"),l=n("HDdC"),h=n("sVev"),u=n("NXyV"),d=n("EY2u"),f=n("XNiG"),p=n("lJxs"),b=n("0EUg"),m=n("pLZG"),g=n("7o/Q"),y=n("4I5i");function v(t){return function(e){return 0===t?Object(d.b)():e.lift(new _(t))}}class _{constructor(t){if(this.total=t,this.total<0)throw new y.a}call(t,e){return e.subscribe(new w(t,this.total))}}class w extends g.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=e++%n;t.next(i[r])}}t.complete()}}var C=n("XDbj"),x=n("xbPD"),S=n("SpAZ"),O=n("eIep"),A=n("IzEk"),k=n("JX91"),E=n("Kqap"),L=n("JIr8"),D=n("bOdf"),I=n("SxV6"),P=n("5+tZ"),T=n("vkgz"),R=n("nYR2"),M=n("bHdf");class j{constructor(t,e){this.id=t,this.url=e}}class F extends j{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class N extends j{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class U extends j{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class V extends j{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class B extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class z extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H extends j{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class W extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Q extends j{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class q{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Y{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const $="primary";class tt{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function et(t){return new tt(t)}function nt(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function it(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const r={};for(let s=0;s<i.length;s++){const e=i[s],n=t[s];if(e.startsWith(":"))r[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function rt(t,e){const n=Object.keys(t),i=Object.keys(e);if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!st(t[r],e[r]))return!1;return!0}function st(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function ot(t){return Array.prototype.concat.apply([],t)}function at(t){return t.length>0?t[t.length-1]:null}function ct(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function lt(t){return Object(r.ub)(t)?t:Object(r.vb)(t)?Object(o.a)(Promise.resolve(t)):Object(s.a)(t)}function ht(t,e,n){return n?function(t,e){return rt(t,e)}(t.queryParams,e.queryParams)&&ut(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>st(t[n],e[n]))}(t.queryParams,e.queryParams)&&dt(t.root,e.root)}function ut(t,e){if(!gt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!ut(t.children[n],e.children[n]))return!1}return!0}function dt(t,e){return ft(t,e,e.segments)}function ft(t,e,n){if(t.segments.length>n.length)return!!gt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!gt(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!dt(t.children[n],e.children[n]))return!1}return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!gt(t.segments,i)&&!!t.children.primary&&ft(t.children.primary,e,r)}}class pt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=et(this.queryParams)),this._queryParamMap}toString(){return wt.serialize(this)}}class bt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ct(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ct(this)}}class mt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=et(this.parameters)),this._parameterMap}toString(){return Lt(this)}}function gt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function yt(t,e){let n=[];return ct(t.children,(t,i)=>{i===$&&(n=n.concat(e(t,i)))}),ct(t.children,(t,i)=>{i!==$&&(n=n.concat(e(t,i)))}),n}class vt{}class _t{parse(t){const e=new Rt(t);return new pt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+xt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ot(e)}=${Ot(t)}`).join("&"):`${Ot(e)}=${Ot(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const wt=new _t;function Ct(t){return t.segments.map(t=>Lt(t)).join("/")}function xt(t,e){if(!t.hasChildren())return Ct(t);if(e){const e=t.children.primary?xt(t.children.primary,!1):"",n=[];return ct(t.children,(t,e)=>{e!==$&&n.push(`${e}:${xt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=yt(t,(e,n)=>n===$?[xt(t.children.primary,!1)]:[`${n}:${xt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Ct(t)}/${e[0]}`:`${Ct(t)}/(${e.join("//")})`}}function St(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ot(t){return St(t).replace(/%3B/gi,";")}function At(t){return St(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kt(t){return decodeURIComponent(t)}function Et(t){return kt(t.replace(/\+/g,"%20"))}function Lt(t){return`${At(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${At(t)}=${At(e[t])}`).join("")}`;var e}const Dt=/^[^\/()?;=#]+/;function It(t){const e=t.match(Dt);return e?e[0]:""}const Pt=/^[^=?&#]+/,Tt=/^[^?&#]+/;class Rt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new bt(t,e)),n}parseSegment(){const t=It(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new mt(kt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=It(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=It(this.remaining);t&&(n=t,this.capture(n))}t[kt(e)]=kt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Pt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Tt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Et(e),r=Et(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=It(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=$);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new bt([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Mt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=jt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=jt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Ft(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Ft(t,this._root).map(t=>t.value)}}function jt(t,e){if(t===e.value)return e;for(const n of e.children){const e=jt(t,n);if(e)return e}return null}function Ft(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Ft(t,n);if(i.length)return i.unshift(e),i}return[]}class Nt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ut(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Vt extends Mt{constructor(t,e){super(t),this.snapshot=e,Kt(this,t)}toString(){return this.snapshot.toString()}}function Bt(t,e){const n=function(t,e){const n=new Wt([],{},{},"",{},$,e,null,t.root,-1,{});return new Qt("",new Nt(n,[]))}(t,e),i=new a.a([new mt("",{})]),r=new a.a({}),s=new a.a({}),o=new a.a({}),c=new a.a(""),l=new zt(i,r,o,c,s,$,e,n.root);return l.snapshot=n.root,new Vt(new Nt(l,[]),n)}class zt{constructor(t,e,n,i,r,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(p.a)(t=>et(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)(t=>et(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ht(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Wt{constructor(t,e,n,i,r,s,o,a,c,l,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=et(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=et(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qt extends Mt{constructor(t,e){super(e),this.url=t,Kt(this,e)}toString(){return qt(this._root)}}function Kt(t,e){e.value._routerState=t,e.children.forEach(e=>Kt(t,e))}function qt(t){const e=t.children.length>0?` { ${t.children.map(qt).join(", ")} } `:"";return`${t.value}${e}`}function Yt(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,rt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),rt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!rt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),rt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Gt(t,e){var n,i;return rt(t.params,e.params)&&gt(n=t.url,i=e.url)&&n.every((t,e)=>rt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Gt(t.parent,e.parent))}function Zt(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return Zt(t,e,i);return Zt(t,e)})}(t,e,n);return new Nt(i,r)}{const n=t.retrieve(e.value);if(n){const t=n.route;return Xt(e,t),t}{const n=new zt(new a.a((i=e.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=e.children.map(e=>Zt(t,e));return new Nt(n,r)}}var i}function Xt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)Xt(t.children[n],e.children[n])}function Jt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function $t(t){return"object"==typeof t&&null!=t&&t.outlets}function te(t,e,n,i,r){let s={};return i&&ct(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new pt(n.root===t?e:ee(n.root,t,e),s,r)}function ee(t,e,n){const i={};return ct(t.children,(t,r)=>{i[r]=t===e?n:ee(t,e,n)}),new bt(t.segments,i)}class ne{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Jt(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find($t);if(i&&i!==at(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ie{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function re(t,e,n){if(t||(t=new bt([],{})),0===t.segments.length&&t.hasChildren())return se(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=n.length)return s;const e=t.segments[r],o=n[i];if($t(o))break;const a=""+o,c=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!le(a,c,e))return s;i+=2}else{if(!le(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new bt(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new bt(t.segments.slice(i.pathIndex),t.children),se(e,0,r)}return i.match&&0===r.length?new bt(t.segments,{}):i.match&&!t.hasChildren()?oe(t,e,n):i.match?se(t,0,r):oe(t,e,n)}function se(t,e,n){if(0===n.length)return new bt(t.segments,{});{const i=function(t){return $t(t[0])?t[0].outlets:{[$]:t}}(n),r={};return ct(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=re(t.children[i],e,n))}),ct(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new bt(t.segments,r)}}function oe(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r<n.length;){const s=n[r];if($t(s)){const t=ae(s.outlets);return new bt(i,t)}if(0===r&&Jt(n[0])){i.push(new mt(t.segments[e].path,n[0])),r++;continue}const o=$t(s)?s.outlets.primary:""+s,a=r<n.length-1?n[r+1]:null;o&&a&&Jt(a)?(i.push(new mt(o,ce(a))),r+=2):(i.push(new mt(o,{})),r++)}return new bt(i,{})}function ae(t){const e={};return ct(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=oe(new bt([],{}),0,t))}),e}function ce(t){const e={};return ct(t,(t,n)=>e[n]=""+t),e}function le(t,e,n){return t==n.path&&rt(e,n.parameters)}class he{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Yt(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Ut(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),ct(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=Ut(t),r=t.value.component?n.children:e;ct(i,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=Ut(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new X(t.value.snapshot))}),t.children.length&&this.forwardEvent(new G(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Yt(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ue(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ue(t){Yt(t.value),t.children.forEach(ue)}class de{constructor(t,e){this.routes=t,this.module=e}}function fe(t){return"function"==typeof t}function pe(t){return t instanceof pt}const be=Symbol("INITIAL_VALUE");function me(){return Object(O.a)(t=>Object(c.b)(...t.map(t=>t.pipe(Object(A.a)(1),Object(k.a)(be)))).pipe(Object(E.a)((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==be)return t;if(i===be&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||pe(i))return i}return t},t)},be),Object(m.a)(t=>t!==be),Object(p.a)(t=>pe(t)?t:!0===t),Object(A.a)(1)))}let ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Jb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r.Qb(0,"router-outlet")},directives:function(){return[dn]},encapsulation:2}),t})();function ye(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];ve(i,_e(e,i))}}function ve(t,e){t.children&&ye(t.children,e)}function _e(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function we(t){const e=t.children&&t.children.map(we),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==$&&(n.component=ge),n}function Ce(t){return t.outlet||$}class xe{constructor(t){this.segmentGroup=t||null}}class Se{constructor(t){this.urlTree=t}}function Oe(t){return new l.a(e=>e.error(new xe(t)))}function Ae(t){return new l.a(e=>e.error(new Se(t)))}function ke(t){return new l.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ee{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.z)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,$).pipe(Object(p.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(L.a)(t=>{if(t instanceof Se)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof xe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,$).pipe(Object(p.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(L.a)(t=>{if(t instanceof xe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new bt([],{[$]:t}):t;return new pt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(p.a)(t=>new bt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(s.a)({});const n=[],i=[],r={};return ct(t,(t,s)=>{const o=e(s,t).pipe(Object(p.a)(t=>r[s]=t));s===$?n.push(o):i.push(o)}),s.a.apply(null,n.concat(i)).pipe(Object(b.a)(),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(m.a)((e,n)=>t(e,n,i)):S.a,v(1),n?Object(x.a)(e):Object(C.a)(()=>new h.a))}(),Object(p.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,r,a){const l=function(t){return t.reduce((t,e)=>{const n=Ce(e);return t.has(n)?t.get(n).push(e):t.set(n,[e]),t},new Map)}(n);l.has(r)||l.set(r,[]);const u=n=>Object(o.a)(n).pipe(Object(D.a)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,a).pipe(Object(L.a)(t=>{if(t instanceof xe)return Object(s.a)(null);throw t}))),Object(I.a)(t=>null!==t),Object(L.a)(t=>{if(t instanceof h.a||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,i,r))return Object(s.a)(new bt([],{}));throw new xe(e)}throw t})),d=Array.from(l.entries()).map(([t,e])=>{const n=u(e);return t===r?n:n.pipe(Object(p.a)(()=>null),Object(L.a)(()=>Object(s.a)(null)))});return Object(o.a)(d).pipe(t=>t.lift(new c.a(void 0)),Object(I.a)(),Object(p.a)(t=>t.find(t=>null!==t)))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return Ce(i)!==s&&""!==i.path?Oe(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Oe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ae(r):this.lineralizeSegments(n,r).pipe(Object(P.a)(n=>{const r=new bt(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Le(e,i,r);if(!o)return Oe(e);const h=this.applyRedirectCommands(a,i.redirectTo,l);return i.redirectTo.startsWith("/")?Ae(h):this.lineralizeSegments(i,h).pipe(Object(P.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(c)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(p.a)(t=>(n._loadedConfig=t,new bt(i,{})))):Object(s.a)(new bt(i,{}));const{matched:r,consumedSegments:o,lastChild:a}=Le(e,n,i);if(!r)return Oe(e);const c=i.slice(a);return this.getChildConfig(t,n,i).pipe(Object(P.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:r,slicedSegments:a}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>Ie(t,e,n)&&Ce(n)!==$)}(t,n,i)?{segmentGroup:De(new bt(e,function(t,e){const n={};n.primary=e;for(const i of t)""===i.path&&Ce(i)!==$&&(n[Ce(i)]=new bt([],{}));return n}(i,new bt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ie(t,e,n))}(t,n,i)?{segmentGroup:De(new bt(t.segments,function(t,e,n,i){const r={};for(const s of n)Ie(t,e,s)&&!i[Ce(s)]&&(r[Ce(s)]=new bt([],{}));return Object.assign(Object.assign({},i),r)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,c,i);return 0===a.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(p.a)(t=>new bt(o,t))):0===i.length&&0===a.length?Object(s.a)(new bt(o,{})):this.expandSegment(n,r,i,a,$,!0).pipe(Object(p.a)(t=>new bt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(s.a)(new de(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(s.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(P.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(p.a)(t=>(e._loadedConfig=t,t))):function(t){return new l.a(e=>e.error(nt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(s.a)(new de([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>{const r=t.get(i);let s;if(function(t){return t&&fe(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!fe(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return lt(s)});return Object(s.a)(r).pipe(me(),Object(T.a)(t=>{if(!pe(t))return;const e=nt(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(p.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children.primary)return ke(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new pt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return ct(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return ct(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new bt(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Le(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(e.matcher||it)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function De(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new bt(t.segments.concat(e.segments),e.children)}return t}function Ie(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}class Pe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Te{constructor(t,e){this.component=t,this.route=e}}function Re(t,e,n){const i=t._root;return je(i,e?e._root:null,n,[i.value])}function Me(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function je(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ut(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!gt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!gt(t.url,e.url)||!rt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gt(t,e)||!rt(t.queryParams,e.queryParams);case"paramsChange":default:return!Gt(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Pe(i)):(s.data=o.data,s._resolvedData=o._resolvedData),je(t,e,s.component?a?a.children:null:n,i,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Te(a.outlet.component,o))}else o&&Fe(e,a,r),r.canActivateChecks.push(new Pe(i)),je(t,null,s.component?a?a.children:null:n,i,r)}(t,s[t.value.outlet],n,i.concat([t.value]),r),delete s[t.value.outlet]}),ct(s,(t,e)=>Fe(t,n.getContext(e),r)),r}function Fe(t,e,n){const i=Ut(t),r=t.value;ct(i,(t,i)=>{Fe(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Te(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Ne(t,e){return null!==t&&e&&e(new Z(t)),Object(s.a)(!0)}function Ue(t,e){return null!==t&&e&&e(new Y(t)),Object(s.a)(!0)}function Ve(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(u.a)(()=>{const r=Me(i,e,n);let s;if(function(t){return t&&fe(t.canActivate)}(r))s=lt(r.canActivate(e,t));else{if(!fe(r))throw new Error("Invalid CanActivate guard");s=lt(r(e,t))}return s.pipe(Object(I.a)())}));return Object(s.a)(r).pipe(me())}function Be(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(u.a)(()=>{const r=e.guards.map(r=>{const s=Me(r,e.node,n);let o;if(function(t){return t&&fe(t.canActivateChild)}(s))o=lt(s.canActivateChild(i,t));else{if(!fe(s))throw new Error("Invalid CanActivateChild guard");o=lt(s(i,t))}return o.pipe(Object(I.a)())});return Object(s.a)(r).pipe(me())}));return Object(s.a)(r).pipe(me())}class ze{}class He{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const t=Ke(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,$),n=new Wt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Nt(n,e),r=new Qt(this.url,i);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(t){return new l.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Ht(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=yt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),i=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===$?-1:e.value.outlet===$?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,i)}catch(r){if(!(r instanceof ze))throw r}if(this.noLeftoversInUrl(e,n,i))return[];throw new ze}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new ze;if((t.outlet||$)!==i)throw new ze;let r,s=[],o=[];if("**"===t.path){const s=n.length>0?at(n).parameters:{};r=new Wt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ye(t),i,t.component,t,We(e),Qe(e)+n.length,Ge(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new ze;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||it)(n,t,e);if(!i)throw new ze;const r={};ct(i.posParams,(t,e)=>{r[e]=t.path});const s=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,o=n.slice(a.lastChild),r=new Wt(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ye(t),i,t.component,t,We(e),Qe(e)+s.length,Ge(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:l}=Ke(e,s,o,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new Nt(r,t)]}if(0===a.length&&0===l.length)return[new Nt(r,[])];const h=this.processSegment(a,c,l,$);return[new Nt(r,h)]}}function We(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Qe(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Ke(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some(n=>qe(t,e,n)&&Ce(n)!==$)}(t,n,i)){const r=new bt(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&Ce(s)!==$){const n=new bt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[Ce(s)]=n}return r}(t,e,i,new bt(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>qe(t,e,n))}(t,n,i)){const s=new bt(t.segments,function(t,e,n,i,r,s){const o={};for(const a of i)if(qe(t,n,a)&&!r[Ce(a)]){const n=new bt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[Ce(a)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new bt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function qe(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ye(t){return t.data||{}}function Ge(t){return t.resolve||{}}function Ze(t){return function(e){return e.pipe(Object(O.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(p.a)(()=>e)):Object(o.a)([e])}))}}class Xe extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Je=new r.s("ROUTES");class $e{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(p.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new de(ot(i.injector.get(Je)).map(we),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):lt(t()).pipe(Object(P.a)(t=>t instanceof r.x?Object(s.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class tn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new en,this.attachRef=null}}class en{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new tn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class nn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function rn(t){throw t}function sn(t,e,n){return e.parse("/")}function on(t,e){return Object(s.a)(null)}let an=(()=>{class t{constructor(t,e,n,i,s,o,c,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=rn,this.malformedUriErrorHandler=sn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:on,afterPreactivation:on},this.urlHandlingStrategy=new nn,this.routeReuseStrategy=new Xe,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(r.z),this.console=s.get(r.cb);const h=s.get(r.B);this.isNgZoneEnabled=h instanceof r.B,this.resetConfig(l),this.currentUrlTree=new pt(new bt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new $e(o,c,t=>this.triggerEvent(new K(t)),t=>this.triggerEvent(new q(t))),this.routerState=Bt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(m.a)(t=>0!==t.id),Object(p.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(O.a)(t=>{let n=!1,i=!1;return Object(s.a)(t).pipe(Object(T.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(O.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(s.a)(t).pipe(Object(O.a)(t=>{const n=this.transitions.getValue();return e.next(new F(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?d.a:[t]}),Object(O.a)(t=>Promise.resolve(t)),(i=this.ngModule.injector,r=this.configLoader,o=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(O.a)(t=>function(t,e,n,i,r){return new Ee(t,e,n,i,r).apply()}(i,r,o,t.extractedUrl,a).pipe(Object(p.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(T.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(s){return s.pipe(Object(P.a)(s=>function(t,e,n,i,r="emptyOnly",s="legacy"){return new He(t,e,n,i,r,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(p.a)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(T.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(T.a)(t=>{const n=new B(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:a}=t,c=new F(n,this.serializeUrl(i),r,o);e.next(c);const l=Bt(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),d.a}),Ze(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(T.a)(t=>{const e=new z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(p.a)(t=>Object.assign(Object.assign({},t),{guards:Re(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(P.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(o.a)(t).pipe(Object(P.a)(t=>function(t,e,n,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const a=o.map(s=>{const o=Me(s,e,r);let a;if(function(t){return t&&fe(t.canDeactivate)}(o))a=lt(o.canDeactivate(t,e,n,i));else{if(!fe(o))throw new Error("Invalid CanDeactivate guard");a=lt(o(t,e,n,i))}return a.pipe(Object(I.a)())});return Object(s.a)(a).pipe(me())}(t.component,t.route,n,e,i)),Object(I.a)(t=>!0!==t,!0))}(c,i,r,t).pipe(Object(P.a)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(o.a)(e).pipe(Object(D.a)(e=>Object(o.a)([Ue(e.route.parent,i),Ne(e.route,i),Be(t,e.path,n),Ve(t,e.route,n)]).pipe(Object(b.a)(),Object(I.a)(t=>!0!==t,!0))),Object(I.a)(t=>!0!==t,!0))}(i,a,t,e):Object(s.a)(n)),Object(p.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(T.a)(t=>{if(pe(t.guardsResult)){const e=nt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(T.a)(t=>{const e=new H(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(m.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new U(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Ze(t=>{if(t.guards.canActivateChecks.length)return Object(s.a)(t).pipe(Object(T.a)(t=>{const e=new W(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(O.a)(t=>{let n=!1;return Object(s.a)(t).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,function(t){return t.pipe(Object(P.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(s.a)(t);let a=0;return Object(o.a)(n).pipe(Object(D.a)(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(s.a)({});const a={};return Object(o.a)(r).pipe(Object(P.a)(r=>function(t,e,n,i){const r=Me(t,e,i);return lt(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Object(T.a)(t=>{a[r]=t}))),v(1),Object(P.a)(()=>Object.keys(a).length===r.length?Object(s.a)(a):d.a))}(t._resolve,t,e,i).pipe(Object(p.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Ht(t,n).resolve),null)))}(t.route,e,i,r)),Object(T.a)(()=>a++),v(1),Object(P.a)(e=>a===n.length?Object(s.a)(t):d.a))}))}),Object(T.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new U(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,r}),Object(T.a)(t=>{const e=new Q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Ze(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(p.a)(t=>{const e=function(t,e,n){const i=Zt(t,e._root,n?n._root:void 0);return new Vt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(T.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,a=this.routeReuseStrategy,c=t=>this.triggerEvent(t),Object(p.a)(t=>(new he(a,t.targetRouterState,t.currentRouterState,c).activate(r),t))),Object(T.a)({next(){n=!0},complete(){n=!0}}),Object(R.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new U(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(L.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=pe(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new U(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new V(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return d.a}));var r,a,c}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ye(t),this.config=t.map(we),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=e,a=n||this.routerState.root,c=o?this.currentUrlTree.fragment:r;let l=null;switch(s){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,n,i,r){if(0===n.length)return te(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ne(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return ct(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ne(n,e,i)}(n);if(s.toRoot())return te(e.root,new bt([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new ie(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ie(t,t===e.root,0)}const i=Jt(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new ie(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?se(o.segmentGroup,o.index,s.commands):re(o.segmentGroup,o.index,s.commands);return te(o.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,l,c)}navigateByUrl(t,e={skipLocationChange:!1}){const n=pe(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(pe(t))return ht(this.currentUrlTree,t,e);const n=this.parseUrl(t);return ht(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new N(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){const s=this.getTransition(),o="imperative"!==e&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let c,l,h;r?(c=r.resolve,l=r.reject,h=r.promise):h=new Promise((t,e)=>{c=t,l=e});const u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:c,reject:l,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(r.Q),r.Zb(vt),r.Zb(en),r.Zb(i.j),r.Zb(r.t),r.Zb(r.y),r.Zb(r.i),r.Zb(void 0))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})(),cn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new f.a,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:hn(this.skipLocationChange),replaceUrl:hn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:hn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(an),r.Pb(zt),r.ac("tabindex"),r.Pb(r.G),r.Pb(r.l))},t.\u0275dir=r.Kb({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r.dc("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.Bb]}),t})(),ln=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new f.a,this.subscription=t.events.subscribe(t=>{t instanceof N&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:hn(this.skipLocationChange),replaceUrl:hn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:hn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(an),r.Pb(zt),r.Pb(i.k))},t.\u0275dir=r.Kb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.dc("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r.Yb("href",e.href,r.Bc),r.Eb("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.Bb]}),t})();function hn(t){return""===t||!!t}let un=(()=>{class t{constructor(t,e,n,i,r,s){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof N&&this.update()})}ngAfterContentInit(){Object(o.a)([this.links.changes,this.linksWithHrefs.changes,Object(s.a)(null)]).pipe(Object(M.a)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Object(o.a)(e).pipe(Object(M.a)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(an),r.Pb(r.l),r.Pb(r.G),r.Pb(r.h),r.Pb(cn,8),r.Pb(ln,8))},t.\u0275dir=r.Kb({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(r.Ib(n,cn,!0),r.Ib(n,ln,!0)),2&t){let t;r.vc(t=r.ec())&&(e.links=t),r.vc(t=r.ec())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.Bb]}),t})(),dn=(()=>{class t{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.o,this.deactivateEvents=new r.o,this.name=i||$,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new fn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(en),r.Pb(r.S),r.Pb(r.j),r.ac("name"),r.Pb(r.h))},t.\u0275dir=r.Kb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class fn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===zt?this.route:t===en?this.childContexts:this.parent.get(t,e)}}class pn{}class bn{preload(t,e){return Object(s.a)(null)}}let mn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new $e(e,n,e=>t.triggerEvent(new K(e)),e=>t.triggerEvent(new q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(m.a)(t=>t instanceof N),Object(D.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.z);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(o.a)(n).pipe(Object(M.a)(),Object(p.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(P.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(an),r.Zb(r.y),r.Zb(r.i),r.Zb(r.t),r.Zb(pn))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})(),gn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof F?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof N&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof J&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new J(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(an),r.Zb(i.z),r.Zb(void 0))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();const yn=new r.s("ROUTER_CONFIGURATION"),vn=new r.s("ROUTER_FORROOT_GUARD"),_n=[i.j,{provide:vt,useClass:_t},{provide:an,useFactory:function(t,e,n,r,s,o,a,c={},l,h){const u=new an(null,t,e,n,r,s,o,ot(a));if(l&&(u.urlHandlingStrategy=l),h&&(u.routeReuseStrategy=h),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(c,u),c.enableTracing){const t=Object(i.E)();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[vt,en,i.j,r.t,r.y,r.i,Je,yn,[class{},new r.C],[class{},new r.C]]},en,{provide:zt,useFactory:function(t){return t.routerState.root},deps:[an]},{provide:r.y,useClass:r.N},mn,bn,class{preload(t,e){return e().pipe(Object(L.a)(()=>Object(s.a)(null)))}},{provide:yn,useValue:{enableTracing:!1}}];function wn(){return new r.A("Router",an)}let Cn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[_n,An(e),{provide:vn,useFactory:On,deps:[[an,new r.C,new r.M]]},{provide:yn,useValue:n||{}},{provide:i.k,useFactory:Sn,deps:[i.v,[new r.q(i.a),new r.C],yn]},{provide:gn,useFactory:xn,deps:[an,i.z,yn]},{provide:pn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bn},{provide:r.A,multi:!0,useFactory:wn},[kn,{provide:r.d,multi:!0,useFactory:En,deps:[kn]},{provide:Dn,useFactory:Ln,deps:[kn]},{provide:r.b,multi:!0,useExisting:Dn}]]}}static forChild(e){return{ngModule:t,providers:[An(e)]}}}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)(r.Zb(vn,8),r.Zb(an,8))}}),t})();function xn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new gn(t,e,n)}function Sn(t,e,n={}){return n.useHash?new i.g(t,e):new i.u(t,e)}function On(t){return"guarded"}function An(t){return[{provide:r.a,multi:!0,useValue:t},{provide:Je,multi:!0,useValue:t}]}let kn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(i.i,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(an),i=this.injector.get(yn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(yn),n=this.injector.get(mn),i=this.injector.get(gn),s=this.injector.get(an),o=this.injector.get(r.g);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(r.t))},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})();function En(t){return t.appInitializer.bind(t)}function Ln(t){return t.bootstrapListener.bind(t)}const Dn=new r.s("Router Initializer")},iUdu:function(t,e,n){var i=n("usKN"),r=n("gvAe"),s=n("hwdV").Buffer,o=n("CfXC"),a=n("ZDAU"),c=n("OfWw"),l=n("roQf");function h(t,e,n){a.call(this),this._cache=new d,this._cipher=new c.AES(e),this._prev=s.from(n),this._mode=t,this._autopadding=!0}n("P7XM")(h,a),h.prototype._update=function(t){var e,n;this._cache.add(t);for(var i=[];e=this._cache.get();)n=this._mode.encrypt(this,e),i.push(n);return s.concat(i)};var u=s.alloc(16,16);function d(){this.cache=s.allocUnsafe(0)}function f(t,e,n){var a=i[t.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=s.from(e)),e.length!==a.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof n&&(n=s.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new o(a.module,e,n):"auth"===a.type?new r(a.module,e,n):new h(a.module,e,n)}h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},d.prototype.add=function(t){this.cache=s.concat([this.cache,t])},d.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},d.prototype.flush=function(){for(var t=16-this.cache.length,e=s.allocUnsafe(t),n=-1;++n<t;)e.writeUInt8(t,n);return s.concat([this.cache,e])},e.createCipheriv=f,e.createCipher=function(t,e){var n=i[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=l(e,!1,n.key,n.iv);return f(t,r.key,r.iv)}},iiaH:function(t,e,n){"use strict";n.d(e,"a",function(){return _});var i=n("IheW"),r=n("XNiG"),s=n("z6cu"),o=n("LRne"),a=n("1G5W"),c=n("lJxs"),l=n("JIr8"),h=n("zp1y"),u=n("5+tZ"),d=n("AytR"),f=n("V8Fa"),p=n("/uX3"),b=n("MCVq"),m=n("8Y7J"),g=n("tqRt"),y=n("cpEJ"),v=n("zHaW");let _=(()=>{class t{constructor(t,e,n,i){this.httpClient=t,this.store=e,this.logger=n,this.snackBar=i,this.lnImplementation="LND",this.childAPIUrl=d.a,this.unSubs=[new r.a,new r.a,new r.a,new r.a,new r.a,new r.a,new r.a,new r.a,new r.a,new r.a,new r.a]}ngOnInit(){}getChildAPIUrl(){return this.childAPIUrl}getLnImplementation(){return this.lnImplementation}setChildAPIUrl(t){switch(this.lnImplementation=t,t){case"CLT":this.childAPIUrl=d.a+"/cl";break;case"ECL":this.childAPIUrl=d.a+"/ecl";break;default:this.childAPIUrl=d.a+"/lnd"}}getFiatRates(){return this.httpClient.get(d.b.CONF_API+"/rates")}decodePayment(t,e){let n=this.childAPIUrl+d.b.PAYREQUEST_API+"/"+t;return"ECL"===this.getLnImplementation()&&(n=this.childAPIUrl+d.b.PAYMENTS_API+"/"+t),this.store.dispatch(new p.G("Decoding Payment...")),this.httpClient.get(n).pipe(Object(a.a)(this.unSubs[0]),Object(c.a)(t=>(this.store.dispatch(new p.j),t)),Object(l.a)(t=>(e?this.handleErrorWithoutAlert("Decode Payment",t):this.handleErrorWithAlert("ERROR","Decode Payment Failed",this.childAPIUrl+d.b.PAYREQUEST_API,t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}decodePayments(t){let e=this.childAPIUrl+d.b.PAYREQUEST_API,n="Decoding Payments";return"ECL"===this.getLnImplementation()&&(e=this.childAPIUrl+d.b.PAYMENTS_API+"/getsentinfos",n="Getting Sent Payments"),this.store.dispatch(new p.G(n+"...")),this.httpClient.post(e,{payments:t}).pipe(Object(a.a)(this.unSubs[1]),Object(c.a)(t=>(this.store.dispatch(new p.j),t)),Object(l.a)(t=>(this.handleErrorWithAlert("ERROR",n+" Failed",e,t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}getAliasesFromPubkeys(t,e){if(e){let e=(new i.d).set("pubkeys",t);return this.httpClient.get(this.childAPIUrl+d.b.NETWORK_API+"/nodes",{params:e})}return this.httpClient.get(this.childAPIUrl+d.b.NETWORK_API+"/node/"+t)}signMessage(t){return this.store.dispatch(new p.G("Signing Message...")),this.httpClient.post(this.childAPIUrl+d.b.MESSAGE_API+"/sign",{message:t}).pipe(Object(a.a)(this.unSubs[2]),Object(c.a)(t=>(this.store.dispatch(new p.j),t)),Object(l.a)(t=>(this.handleErrorWithAlert("ERROR","Sign Message Failed",this.childAPIUrl+d.b.MESSAGE_API+"/sign",t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}verifyMessage(t,e){return this.store.dispatch(new p.G("Verifying Message...")),this.httpClient.post(this.childAPIUrl+d.b.MESSAGE_API+"/verify",{message:t,signature:e}).pipe(Object(a.a)(this.unSubs[3]),Object(c.a)(t=>(this.store.dispatch(new p.j),t)),Object(l.a)(t=>(this.handleErrorWithAlert("ERROR","Verify Message Failed",this.childAPIUrl+d.b.MESSAGE_API+"/verify",t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}bumpFee(t,e,n,i){let r={txid:t,outputIndex:e};return n&&(r.targetConf=n),i&&(r.satPerByte=i),this.store.dispatch(new p.G("Bumping Fee...")),this.httpClient.post(this.childAPIUrl+d.b.WALLET_API+"/bumpfee",r).pipe(Object(a.a)(this.unSubs[4]),Object(c.a)(t=>(this.store.dispatch(new p.j),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),t)),Object(l.a)(t=>(this.handleErrorWithoutAlert("Bump Fee",t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}labelUTXO(t,e,n=!0){return this.httpClient.post(this.childAPIUrl+d.b.WALLET_API+"/label",{txid:t,label:e,overwrite:n})}leaseUTXO(t,e){let n={txid:t,outputIndex:e};return this.store.dispatch(new p.G("Leasing UTXO...")),this.httpClient.post(this.childAPIUrl+d.b.WALLET_API+"/lease",n).pipe(Object(a.a)(this.unSubs[7])).subscribe(t=>{this.store.dispatch(new p.j),this.store.dispatch(new b.M),this.store.dispatch(new b.N);const e=new Date(1e3*t.expiration),n=Math.round(e.getTime())-60*e.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(n).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")},t=>(this.handleErrorWithoutAlert("Lease UTXO",t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t)))}getForwardingHistory(t,e){return this.httpClient.post(this.childAPIUrl+d.b.SWITCH_API,{end_time:e,start_time:t}).pipe(Object(a.a)(this.unSubs[5]),Object(h.a)(this.store.select("lnd")),Object(u.a)(([t,e])=>{if(t.forwarding_events){const n=[...e.allChannels,...e.closedChannels];t.forwarding_events.forEach(t=>{if(n&&n.length>0)for(let e=0;e<n.length;e++){if(n[e].chan_id.toString()===t.chan_id_in&&(t.alias_in=n[e].remote_alias?n[e].remote_alias:t.chan_id_in,t.alias_out))return;if(n[e].chan_id.toString()===t.chan_id_out&&(t.alias_out=n[e].remote_alias?n[e].remote_alias:t.chan_id_out,t.alias_in))return;e===n.length-1&&(t.alias_in||(t.alias_in=t.chan_id_in),t.alias_out||(t.alias_out=t.chan_id_out))}else t.alias_in=t.chan_id_in,t.alias_out=t.chan_id_out})}else t={};return Object(o.a)(t)}),Object(l.a)(t=>(this.handleErrorWithAlert("ERROR","Forwarding History Failed",this.childAPIUrl+d.b.SWITCH_API,t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}getTransactionsForReport(){return this.httpClient.get(this.childAPIUrl+d.b.INVOICES_API+"?num_max_invoices=100000&index_offset=0&reversed=true").pipe(Object(a.a)(this.unSubs[6]),Object(h.a)(this.store.select("CLT"===this.lnImplementation?"cl":"ECL"===this.lnImplementation?"ecl":"lnd")),Object(u.a)(([t,e])=>Object(o.a)({payments:e.payments,invoices:t.invoices&&t.invoices.length&&t.invoices.length>0?t.invoices:t.length&&t.length>0?t:[]})),Object(l.a)(t=>(this.handleErrorWithAlert("ERROR","Invoice List Failed",this.childAPIUrl+d.b.INVOICES_API,t),Object(s.a)(t.error&&t.error.error?t.error.error:t.error?t.error:t))))}handleErrorWithoutAlert(t,e){this.store.dispatch(new p.j),this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(e)),401===e.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch(new p.y))}handleErrorWithAlert(t,e,n,i){this.logger.error(i),this.store.dispatch(new p.j),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch(new p.y)):this.store.dispatch(new p.D({data:{type:t,alertTitle:e,message:{code:i.status,message:i.error.error,URL:n},component:f.a}}))}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(m.Zb(i.b),m.Zb(g.h),m.Zb(y.b),m.Zb(v.b))},t.\u0275prov=m.Lb({token:t,factory:t.\u0275fac}),t})()},itXk:function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return h});var i=n("z+Ro"),r=n("DH7j"),s=n("l7GE"),o=n("ZUHj"),a=n("yCtX");const c={};function l(...t){let e=void 0,n=void 0;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(a.a)(t,n).lift(new h(e))}class h{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new u(t,this.resultSelector))}}class u extends s.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(c),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(Object(o.a)(this,e,void 0,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,r=this.toRespond?i[n]===c?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},jIre:function(t,e){t.exports=function(t,e){for(var n=Math.min(t.length,e.length),i=new Buffer(n),r=0;r<n;++r)i[r]=t[r]^e[r];return i}},jMqV:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return x});var i=n("9b/N"),r=n("8Y7J"),s=n("UhP/"),o=n("8LU1"),a=n("s7LF"),c=n("omvX"),l=n("YEUz");const h=["thumbContainer"],u=["toggleBar"],d=["input"],f=function(){return{enterDuration:150}},p=["*"],b=new r.s("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let m=0;const g={provide:a.k,useExisting:Object(r.X)(()=>w),multi:!0};class y{constructor(t,e){this.source=t,this.checked=e}}class v{constructor(t){this._elementRef=t}}const _=Object(s.C)(Object(s.x)(Object(s.y)(Object(s.z)(v)),"accent"));let w=(()=>{class t extends _{constructor(t,e,n,i,s,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=s,this._animationMode=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++m,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.o,this.toggleChange=new r.o,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(o.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(o.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new y(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(l.h),r.Pb(r.h),r.ac("tabindex"),r.Pb(b),r.Pb(c.a,8))},t.\u0275cmp=r.Jb({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(r.Pc(h,!0),r.Pc(u,!0),r.Pc(d,!0)),2&t){let t;r.vc(t=r.ec())&&(e._thumbEl=t.first),r.vc(t=r.ec())&&(e._thumbBarEl=t.first),r.vc(t=r.ec())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Yb("id",e.id),r.Eb("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.Hb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[r.Cb([g]),r.Ab],ngContentSelectors:p,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.nc(),r.Vb(0,"label",0,1),r.Vb(2,"div",2,3),r.Vb(4,"input",4,5),r.dc("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),r.Ub(),r.Vb(6,"div",6,7),r.Qb(8,"div",8),r.Vb(9,"div",9),r.Qb(10,"div",10),r.Ub(),r.Ub(),r.Ub(),r.Vb(11,"span",11,12),r.dc("cdkObserveContent",function(){return e._onLabelTextChange()}),r.Vb(13,"span",13),r.Kc(14,"\xa0"),r.Ub(),r.mc(15),r.Ub(),r.Ub()),2&t){const t=r.wc(1),n=r.wc(12);r.Eb("for",e.inputId),r.Db(2),r.Hb("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),r.Db(2),r.oc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),r.Eb("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),r.Db(5),r.oc("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.rc(17,f))}},directives:[s.r,i.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},imports:[[C,s.s,s.i,i.c],C,s.i]}),t})()},jSPq:function(t,e,n){var i=n("Wogr"),r=n("JzKC");function s(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}s.prototype.initialize=function(t){this.degree=t,this.genPoly=r.generateECPolynomial(this.degree)},s.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");var e=new i(this.degree);e.fill(0);var n=i.concat([t,e],t.length+this.degree),s=r.mod(n,this.genPoly),o=this.degree-s.length;if(o>0){var a=new i(this.degree);return a.fill(0),s.copy(a,o),a}return s},t.exports=s},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("quSY");function s(t,e){return new i.a(n=>{const i=new r.a;let s=0;return i.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfd1:function(t,e,n){"use strict";const i=n("P7XM"),r=n("xZGU").Buffer,s=n("z71Z");function o(t){s.call(this,t),this.enc="pem"}i(o,s),t.exports=o,o.prototype.decode=function(t,e){const n=t.toString().split(/[\r\n]+/g),i=e.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/;let a=-1,c=-1;for(let r=0;r<n.length;r++){const t=n[r].match(o);if(null!==t&&t[2]===i){if(-1!==a){if("END"!==t[1])break;c=r;break}if("BEGIN"!==t[1])break;a=r}}if(-1===a||-1===c)throw new Error("PEM section not found for: "+i);const l=n.slice(a+1,c).join("");l.replace(/[^a-z0-9+/=]+/gi,"");const h=r.from(l,"base64");return s.prototype.decode.call(this,h,e)}},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("XNiG"),r=n("qgXg"),s=n("quSY"),o=n("pxpQ"),a=n("9ppp"),c=n("Ylt2");class l extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new h(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let l;if(this.closed)throw new a.a;if(this.isStopped||this.hasError?l=s.a.EMPTY:(this.observers.push(t),l=new c.a(this,t)),i&&t.add(t=new o.a(t,i)),e)for(let s=0;s<r&&!t.closed;s++)t.next(n[s]);else for(let s=0;s<r&&!t.closed;s++)t.next(n[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),l}_getNow(){return(this.scheduler||r.a).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let s=0;for(;s<r&&!(t-i[s].time<n);)s++;return r>e&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i}}class h{constructor(t,e){this.time=t,this.value=e}}},"k+aG":function(t,e,n){"use strict";var i=n("Oaki").Buffer,r=n("NNVn").Transform;function s(t){r.call(this),this._block=i.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("2q5Q")(s,r),s.prototype._transform=function(t,e,n){var i=null;try{this.update(t,e)}catch(r){i=r}n(i)},s.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(n){e=n}t(e)},s.prototype.update=function(t,e){if(function(t,e){if(!i.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");i.isBuffer(t)||(t=i.from(t,e));for(var n=this._block,r=0;this._blockOffset+t.length-r>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)n[s++]=t[r++];this._update(),this._blockOffset=0}for(;r<t.length;)n[this._blockOffset++]=t[r++];for(var o=0,a=8*t.length;a>0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},s.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=s},kBkV:function(t,e,n){"use strict";function i(t,e){s(t,e),r(t)}function r(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function s(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(s,this,t)):process.nextTick(s,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?n._writableState?n._writableState.errorEmitted?process.nextTick(r,n):(n._writableState.errorEmitted=!0,process.nextTick(i,n,t)):process.nextTick(i,n,t):e?(process.nextTick(r,n),e(t)):process.nextTick(r,n)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}}},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},"kVK+":function(t,e){e.read=function(t,e,n,i,r){var s,o,a=8*r-i-1,c=(1<<a)-1,l=c>>1,h=-7,u=n?r-1:0,d=n?-1:1,f=t[e+u];for(u+=d,s=f&(1<<-h)-1,f>>=-h,h+=a;h>0;s=256*s+t[e+u],u+=d,h-=8);for(o=s&(1<<-h)-1,s>>=-h,h+=i;h>0;o=256*o+t[e+u],u+=d,h-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,i),s-=l}return(f?-1:1)*o*Math.pow(2,s-i)},e.write=function(t,e,n,i,r,s){var o,a,c,l=8*s-r-1,h=(1<<l)-1,u=h>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:s-1,p=i?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+u>=1?d/c:d*Math.pow(2,1-u))*c>=2&&(o++,c/=2),o+u>=h?(a=0,o=h):o+u>=1?(a=(e*c-1)*Math.pow(2,r),o+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,r),o=0));r>=8;t[n+f]=255&a,f+=p,a/=256,r-=8);for(o=o<<r|a,l+=r;l>0;t[n+f]=255&o,f+=p,o/=256,l-=8);t[n+f-p]|=128*b}},"kk9/":function(t,e,n){var i=n("e/Dd").getSymbolSize;e.getPositions=function(t){var e=i(t);return[[0,0],[e-7,0],[0,e-7]]}},l0rg:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return f});var i=n("UhP/"),r=n("SVse"),s=n("8Y7J"),o=n("SCoL");const a=["*",[["mat-toolbar-row"]]],c=["*","mat-toolbar-row"];class l{constructor(t){this._elementRef=t}}const h=Object(i.x)(l);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),d=(()=>{class t extends h{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.l),s.Pb(o.a),s.Pb(r.d))},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&s.Ib(n,u,!0),2&t){let t;s.vc(t=s.ec())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&s.Hb("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.Ab],ngContentSelectors:c,decls:2,vars:0,template:function(t,e){1&t&&(s.nc(a),s.mc(0),s.mc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},imports:[[i.i],i.i]}),t})()},l7GE:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");class r extends i.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lF1L:function(t,e,n){"use strict";var i=n("fZJM"),r=n("DLvh"),s=n("86MQ"),o=s.assert,a=s.parseBytes,c=n("OA+I"),l=n("RKMU");function h(t){if(o("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof h))return new h(t);this.curve=t=r[t].curve,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=i.sha512}t.exports=h,h.prototype.sign=function(t,e){t=a(t);var n=this.keyFromSecret(e),i=this.hashInt(n.messagePrefix(),t),r=this.g.mul(i),s=this.encodePoint(r),o=this.hashInt(s,n.pubBytes(),t).mul(n.priv()),c=i.add(o).umod(this.curve.n);return this.makeSignature({R:r,S:c,Rencoded:s})},h.prototype.verify=function(t,e,n){t=a(t),e=this.makeSignature(e);var i=this.keyFromPublic(n),r=this.hashInt(e.Rencoded(),i.pubBytes(),t),s=this.g.mul(e.S());return e.R().add(i.pub().mul(r)).eq(s)},h.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return s.intFromLE(t.digest()).umod(this.curve.n)},h.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},h.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},h.prototype.makeSignature=function(t){return t instanceof l?t:new l(this,t)},h.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},h.prototype.decodePoint=function(t){var e=(t=s.parseBytes(t)).length-1,n=t.slice(0,e).concat(-129&t[e]),i=0!=(128&t[e]),r=s.intFromLE(n);return this.curve.pointFromY(r,i)},h.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},h.prototype.decodeInt=function(t){return s.intFromLE(t)},h.prototype.isPoint=function(t){return t instanceof this.pointClass}},lF6s:function(t,e,n){"use strict";n.d(e,"L",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"j",function(){return s}),n.d(e,"W",function(){return o}),n.d(e,"o",function(){return a}),n.d(e,"Z",function(){return c}),n.d(e,"n",function(){return l}),n.d(e,"X",function(){return h}),n.d(e,"l",function(){return u}),n.d(e,"T",function(){return d}),n.d(e,"hb",function(){return f}),n.d(e,"Y",function(){return p}),n.d(e,"m",function(){return b}),n.d(e,"V",function(){return m}),n.d(e,"q",function(){return g}),n.d(e,"eb",function(){return y}),n.d(e,"bb",function(){return v}),n.d(e,"U",function(){return _}),n.d(e,"s",function(){return w}),n.d(e,"gb",function(){return C}),n.d(e,"O",function(){return x}),n.d(e,"G",function(){return S}),n.d(e,"h",function(){return O}),n.d(e,"K",function(){return A}),n.d(e,"C",function(){return k}),n.d(e,"db",function(){return E}),n.d(e,"N",function(){return L}),n.d(e,"wb",function(){return D}),n.d(e,"c",function(){return I}),n.d(e,"J",function(){return P}),n.d(e,"r",function(){return T}),n.d(e,"fb",function(){return R}),n.d(e,"D",function(){return M}),n.d(e,"ib",function(){return j}),n.d(e,"R",function(){return F}),n.d(e,"S",function(){return N}),n.d(e,"t",function(){return U}),n.d(e,"jb",function(){return V}),n.d(e,"P",function(){return B}),n.d(e,"Q",function(){return z}),n.d(e,"p",function(){return H}),n.d(e,"ab",function(){return W}),n.d(e,"d",function(){return Q}),n.d(e,"a",function(){return K}),n.d(e,"H",function(){return q}),n.d(e,"cb",function(){return Y}),n.d(e,"e",function(){return G}),n.d(e,"k",function(){return Z}),n.d(e,"M",function(){return X}),n.d(e,"qb",function(){return J}),n.d(e,"w",function(){return $}),n.d(e,"v",function(){return tt}),n.d(e,"u",function(){return et}),n.d(e,"pb",function(){return nt}),n.d(e,"ub",function(){return it}),n.d(e,"rb",function(){return rt}),n.d(e,"y",function(){return st}),n.d(e,"sb",function(){return ot}),n.d(e,"A",function(){return at}),n.d(e,"tb",function(){return ct}),n.d(e,"lb",function(){return lt}),n.d(e,"i",function(){return ht}),n.d(e,"E",function(){return ut}),n.d(e,"kb",function(){return dt}),n.d(e,"xb",function(){return ft}),n.d(e,"f",function(){return pt}),n.d(e,"z",function(){return bt}),n.d(e,"F",function(){return mt}),n.d(e,"vb",function(){return gt}),n.d(e,"nb",function(){return yt}),n.d(e,"ob",function(){return vt}),n.d(e,"B",function(){return _t}),n.d(e,"mb",function(){return wt}),n.d(e,"x",function(){return Ct}),n.d(e,"g",function(){return xt}),n.d(e,"I",function(){return St});const i="RESET_ECL_STORE",r="CLEAR_EFFECT_ERROR_ECL",s="EFFECT_ERROR_ECL",o="SET_CHILD_NODE_SETTINGS_ECL",a="FETCH_INFO_ECL",c="SET_INFO_ECL",l="FETCH_FEES_ECL",h="SET_FEES_ECL",u="FETCH_CHANNELS_ECL",d="SET_ACTIVE_CHANNELS_ECL",f="SET_PENDING_CHANNELS_ECL",p="SET_INACTIVE_CHANNELS_ECL",b="FETCH_CHANNEL_STATS_ECL",m="SET_CHANNEL_STATS_ECL",g="FETCH_ONCHAIN_BALANCE_ECL",y="SET_ONCHAIN_BALANCE_ECL",v="SET_LIGHTNING_BALANCE_ECL",_="SET_CHANNELS_STATUS_ECL",w="FETCH_PEERS_ECL",C="SET_PEERS_ECL",x="SAVE_NEW_PEER_ECL",S="NEWLY_ADDED_PEER_ECL",O="DETACH_PEER_ECL",A="REMOVE_PEER_ECL",k="GET_NEW_ADDRESS_ECL",E="SET_NEW_ADDRESS_ECL",L="SAVE_NEW_CHANNEL_ECL",D="UPDATE_CHANNELS_ECL",I="CLOSE_CHANNEL_ECL",P="REMOVE_CHANNEL_ECL",T="FETCH_PAYMENTS_ECL",R="SET_PAYMENTS_ECL",M="GET_QUERY_ROUTES_ECL",j="SET_QUERY_ROUTES_ECL",F="SEND_PAYMENT_ECL",N="SEND_PAYMENT_STATUS_ECL",U="FETCH_TRANSACTIONS_ECL",V="SET_TRANSACTIONS_ECL",B="SEND_ONCHAIN_FUNDS_ECL",z="SEND_ONCHAIN_FUNDS_RES_ECL",H="FETCH_INVOICES_ECL",W="SET_INVOICES_ECL",Q="CREATE_INVOICE_ECL",K="ADD_INVOICE_ECL",q="PEER_LOOKUP_ECL",Y="SET_LOOKUP_ECL";class G{constructor(t){this.payload=t,this.type=r}}class Z{constructor(t){this.payload=t,this.type=s}}class X{constructor(t){this.payload=t,this.type=i}}class J{constructor(t){this.payload=t,this.type=o}}class ${constructor(t){this.payload=t,this.type=a}}class tt{constructor(){this.type=l}}class et{constructor(t){this.payload=t,this.type=u}}class nt{constructor(t){this.payload=t,this.type=d}}class it{constructor(t){this.payload=t,this.type=f}}class rt{constructor(t){this.payload=t,this.type=p}}class st{constructor(){this.type=g}}class ot{constructor(t){this.payload=t,this.type=v}}class at{constructor(){this.type=w}}class ct{constructor(t){this.payload=t,this.type=C}}class lt{constructor(t){this.payload=t,this.type=x}}class ht{constructor(t){this.payload=t,this.type=O}}class ut{constructor(){this.type=k}}class dt{constructor(t){this.payload=t,this.type=L}}class ft{constructor(t){this.payload=t,this.type=D}}class pt{constructor(t){this.payload=t,this.type=I}}class bt{constructor(){this.type=T}}class mt{constructor(t){this.payload=t,this.type=M}}class gt{constructor(t){this.payload=t,this.type=j}}class yt{constructor(t){this.payload=t,this.type=F}}class vt{constructor(t){this.payload=t,this.type=N}}class _t{constructor(){this.type=U}}class wt{constructor(t){this.payload=t,this.type=B}}class Ct{constructor(){this.type=H}}class xt{constructor(t){this.payload=t,this.type=Q}}class St{constructor(t){this.payload=t,this.type=q}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lWpZ:function(t,e,n){var i=n("Hjy1"),r=n("/ab2"),s=n("usKN"),o=n("C+gy"),a=n("roQf");function c(t,e,n){if(t=t.toLowerCase(),s[t])return r.createCipheriv(t,e,n);if(o[t])return new i({key:e,iv:n,mode:t});throw new TypeError("invalid suite type")}function l(t,e,n){if(t=t.toLowerCase(),s[t])return r.createDecipheriv(t,e,n);if(o[t])return new i({key:e,iv:n,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var n,i;if(t=t.toLowerCase(),s[t])n=s[t].key,i=s[t].iv;else{if(!o[t])throw new TypeError("invalid suite type");n=8*o[t].key,i=o[t].iv}var r=a(e,!1,n,i);return c(t,r.key,r.iv)},e.createCipheriv=e.Cipheriv=c,e.createDecipher=e.Decipher=function(t,e){var n,i;if(t=t.toLowerCase(),s[t])n=s[t].key,i=s[t].iv;else{if(!o[t])throw new TypeError("invalid suite type");n=8*o[t].key,i=o[t].iv}var r=a(e,!1,n,i);return l(t,r.key,r.iv)},e.createDecipheriv=e.Decipheriv=l,e.listCiphers=e.getCiphers=function(){return Object.keys(o).concat(r.getCiphers())}},lYJp:function(t,e,n){var i=n("e/Dd"),r=i.getBCHDigit(1335);e.getEncodedBits=function(t,e){for(var n=t.bit<<3|e,s=n<<10;i.getBCHDigit(s)-r>=0;)s^=1335<<i.getBCHDigit(s)-r;return 21522^(n<<10|s)}},lm0R:function(t,e,n){"use strict";t.exports="undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function(t,e,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var r,s,o=arguments.length;switch(o){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick(function(){t.call(null,e)});case 3:return process.nextTick(function(){t.call(null,e,n)});case 4:return process.nextTick(function(){t.call(null,e,n,i)});default:for(r=new Array(o-1),s=0;s<r.length;)r[s++]=arguments[s];return process.nextTick(function(){t.apply(null,r)})}}}:process},mAz1:function(t,e,n){var i=n("Oaki").Buffer,r=n("OZ/i"),s=n("MzeL").ec,o=n("Ku4m"),a=n("zZGF");function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,l,h){var u=o(n);if("ec"===u.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(t,e,n){var i=a[n.data.algorithm.curve.join(".")];if(!i)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));return new s(i).verify(e,t,n.data.subjectPrivateKey.data)}(t,e,u)}if("dsa"===u.type){if("dsa"!==l)throw new Error("wrong public key type");return function(t,e,n){var i=n.data.p,s=n.data.q,a=n.data.g,l=n.data.pub_key,h=o.signature.decode(t,"der"),u=h.s,d=h.r;c(u,s),c(d,s);var f=r.mont(i),p=u.invm(s);return 0===a.toRed(f).redPow(new r(e).mul(p).mod(s)).fromRed().mul(l.toRed(f).redPow(d.mul(p).mod(s)).fromRed()).mod(i).mod(s).cmp(d)}(t,e,u)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");e=i.concat([h,e]);for(var d=u.modulus.byteLength(),f=[1],p=0;e.length+f.length+2<d;)f.push(255),p++;f.push(0);for(var b=-1;++b<e.length;)f.push(e[b]);f=i.from(f);var m=r.mont(u.modulus);t=(t=new r(t).toRed(m)).redPow(new r(u.publicExponent)),t=i.from(t.fromRed().toArray());var g=p<8?1:0;for(d=Math.min(t.length,f.length),t.length!==f.length&&(g=1),b=-1;++b<d;)g|=t[b]^f[b];return 0===g}},mObS:function(t,e,n){"use strict";var i=n("P7XM"),r=n("9XZ3"),s=n("tcrS"),o=n("afKu"),a=n("ZDAU");function c(t){a.call(this,"digest"),this._hash=t}i(c,a),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new r:"rmd160"===t||"ripemd160"===t?new s:new c(o(t))}},mZtN:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("XNiG"),r=n("8Y7J");let s=(()=>{class t{constructor(){this.sessionSub=new i.a}watchSession(){return this.sessionSub.asObservable()}getItem(t){return sessionStorage.getItem(t)}setItem(t,e){sessionStorage.setItem(t,e),this.sessionSub.next(sessionStorage)}removeItem(t){sessionStorage.removeItem(t),this.sessionSub.next(sessionStorage)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Lb({token:t,factory:t.\u0275fac}),t})()},mlxB:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}n.d(e,"a",function(){return i})},mrSG:function(t,e,n){"use strict";function i(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o}n.d(e,"a",function(){return i})},n53Y:function(t,e){var n;n=process.browser?"utf-8":process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=n},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},nSiv:function(t,e,n){"use strict";t.exports=r;var i=n("8cin");function r(t){if(!(this instanceof r))return new r(t);i.call(this,t)}n("2q5Q")(r,i),r.prototype._transform=function(t,e,n){n(null,t)}},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("7o/Q"),r=n("quSY");function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.a{constructor(t,e){super(t),this.add(new r.a(e))}}},nZSm:function(t,e,n){var i=n("u/Db"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function s(t){this.mode=i.ALPHANUMERIC,this.data=t}s.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var n=45*r.indexOf(this.data[e]);n+=r.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(r.indexOf(this.data[e]),6)},t.exports=s},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},o4Yh:function(t,e,n){"use strict";n.d(e,"a",function(){return W}),n.d(e,"b",function(){return K}),n.d(e,"c",function(){return V}),n.d(e,"d",function(){return z}),n.d(e,"e",function(){return B}),n.d(e,"f",function(){return H});var i=n("8Y7J"),r=n("8LU1"),s=n("XNiG"),o=n("quSY"),a=n("CtHx");let c=0;const l=new i.s("CdkAccordion");let h=(()=>{class t{constructor(){this._stateChanges=new s.a,this._openCloseAllActions=new s.a,this.id="cdk-accordion-"+c++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(r.c)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i.Cb([{provide:l,useExisting:t}]),i.Bb]}),t})(),u=0,d=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.a.EMPTY,this.closed=new i.o,this.opened=new i.o,this.destroyed=new i.o,this.expandedChange=new i.o,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(r.c)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(l,12),i.Pb(i.h),i.Pb(a.d))},t.\u0275dir=i.Kb({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Cb([{provide:l,useValue:void 0}])]}),t})(),f=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})();var p=n("1z/I"),b=n("SVse"),m=n("UhP/"),g=n("YEUz"),y=n("/uUt"),v=n("JX91"),_=n("pLZG"),w=n("IzEk"),C=n("Ht+U"),x=n("omvX"),S=n("EY2u"),O=n("VRyK"),A=n("GS7A");const k=["body"];function E(t,e){}const L=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],D=["mat-expansion-panel-header","*","mat-action-row"];function I(t,e){if(1&t&&i.Qb(0,"span",2),2&t){const t=i.hc();i.oc("@indicatorRotate",t._getExpandedState())}}const P=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],T=["mat-panel-title","mat-panel-description","*"],R=new i.s("MAT_ACCORDION"),M="225ms cubic-bezier(0.4,0.0,0.2,1)",j={indicatorRotate:Object(A.n)("indicatorRotate",[Object(A.k)("collapsed, void",Object(A.l)({transform:"rotate(0deg)"})),Object(A.k)("expanded",Object(A.l)({transform:"rotate(180deg)"})),Object(A.m)("expanded <=> collapsed, void => collapsed",Object(A.e)(M))]),bodyExpansion:Object(A.n)("bodyExpansion",[Object(A.k)("collapsed, void",Object(A.l)({height:"0px",visibility:"hidden"})),Object(A.k)("expanded",Object(A.l)({height:"*",visibility:"visible"})),Object(A.m)("expanded <=> collapsed, void => collapsed",Object(A.e)(M))])};let F=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.O))},t.\u0275dir=i.Kb({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),N=0;const U=new i.s("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let V=(()=>{class t extends d{constructor(t,e,n,r,o,a,c){super(t,e,n),this._viewContainerRef=r,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new i.o,this.afterCollapse=new i.o,this._inputChanges=new s.a,this._headerId="mat-expansion-panel-header-"+N++,this._bodyAnimationDone=new s.a,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe(Object(y.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),c&&(this.hideToggle=c.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(v.a)(null),Object(_.a)(()=>this.expanded&&!this._portal),Object(w.a)(1)).subscribe(()=>{this._portal=new p.i(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(R,12),i.Pb(i.h),i.Pb(a.d),i.Pb(i.S),i.Pb(b.d),i.Pb(x.a,8),i.Pb(U,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&i.Ib(n,F,!0),2&t){let t;i.vc(t=i.ec())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Pc(k,!0),2&t){let t;i.vc(t=i.ec())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i.Hb("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Cb([{provide:R,useValue:void 0}]),i.Ab,i.Bb],ngContentSelectors:D,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i.nc(L),i.mc(0),i.Vb(1,"div",0,1),i.dc("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),i.Vb(3,"div",2),i.mc(4,1),i.Ic(5,E,0,0,"ng-template",3),i.Ub(),i.mc(6,2),i.Ub()),2&t&&(i.Db(1),i.oc("@bodyExpansion",e._getExpandedState())("id",e.id),i.Eb("aria-labelledby",e._headerId),i.Db(4),i.oc("cdkPortalOutlet",e._portal))},directives:[p.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[j.bodyExpansion]},changeDetection:0}),t})(),B=(()=>{class t{constructor(t,e,n,i,r,s){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=s,this._parentChangeSubscription=o.a.EMPTY;const a=t.accordion?t.accordion._stateChanges.pipe(Object(_.a)(t=>!(!t.hideToggle&&!t.togglePosition))):S.a;this._parentChangeSubscription=Object(O.a)(t.opened,t.closed,a,t._inputChanges.pipe(Object(_.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(_.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case C.m:case C.e:Object(C.r)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(V,1),i.Pb(i.l),i.Pb(g.h),i.Pb(i.h),i.Pb(U,8),i.Pb(x.a,8))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&i.dc("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(i.Eb("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i.Fc("height",e._getHeaderHeight()),i.Hb("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:T,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i.nc(P),i.Vb(0,"span",0),i.mc(1),i.mc(2,1),i.mc(3,2),i.Ub(),i.Ic(4,I,1,1,"span",1)),2&t&&(i.Db(4),i.oc("ngIf",e._showToggle()))},directives:[b.o],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[j.indicatorRotate]},changeDetection:0}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),W=(()=>{class t extends h{constructor(){super(...arguments),this._ownHeaders=new i.F,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(r.c)(t)}ngAfterContentInit(){this._headers.changes.pipe(Object(v.a)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new g.g(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(e){return Q(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Ib(n,B,!0),2&t){let t;i.vc(t=i.ec())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&i.Hb("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Cb([{provide:R,useExisting:t}]),i.Ab]}),t})();const Q=i.Xb(W);let K=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[b.c,m.i,f,p.h]]}),t})()},oJl4:function(t,e,n){e.pbkdf2=n("IG1u"),e.pbkdf2Sync=n("4Hv8")},olUY:function(t,e,n){var i=n("P7XM"),r=n("tnIz"),s=n("hwdV").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function c(){this.init(),this._w=a,r.call(this,64,56)}function l(t,e,n){return n^t&(e^n)}function h(t,e,n){return t&e|n&(t|e)}function u(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function d(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function f(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}i(c,r),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e,n=this._w,i=0|this._a,r=0|this._b,s=0|this._c,a=0|this._d,c=0|this._e,p=0|this._f,b=0|this._g,m=0|this._h,g=0;g<16;++g)n[g]=t.readInt32BE(4*g);for(;g<64;++g)n[g]=0|(((e=n[g-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[g-7]+f(n[g-15])+n[g-16];for(var y=0;y<64;++y){var v=m+d(c)+l(c,p,b)+o[y]+n[y]|0,_=u(i)+h(i,r,s)|0;m=b,b=p,p=c,c=a+v|0,a=s,s=r,r=i,i=v+_|0}this._a=i+this._a|0,this._b=r+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var t=s.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=c},omvX:function(t,e,n){"use strict";n.d(e,"a",function(){return Ie}),n.d(e,"b",function(){return Te});var i=n("8Y7J"),r=n("cUpR"),s=n("GS7A");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new s.d;case 1:return t[0];default:return new s.o(t)}}function c(t,e,n,i,r={},o={}){const a=[],c=[];let l=-1,h=null;if(i.forEach(t=>{const n=t.offset,i=n==l,u=i&&h||{};Object.keys(t).forEach(n=>{let i=n,c=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),c){case s.p:c=r[n];break;case s.a:c=o[n];break;default:c=e.normalizeStyleValue(n,i,c,a)}u[i]=c}),i||c.push(u),h=u,l=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function l(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,r=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function u(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function d(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let p=(t,e)=>!1,b=(t,e)=>!1,m=(t,e,n)=>[];const g=o();(g||"undefined"!=typeof Element)&&(p=(t,e)=>t.contains(e),b=(()=>{if(g||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):b}})(),m=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let y=null,v=!1;function _(t){y||(y=("undefined"!=typeof document?document.body:null)||{},v=!!y.style&&"WebkitAppearance"in y.style);let e=!0;return y.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in y.style,!e&&v)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in y.style),e}const w=b,C=p,x=m;function S(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let O=(()=>{class t{validateStyleProperty(t){return _(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],a){return new s.d(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{}return t.NOOP=new O,t})();const k="ng-enter",E="ng-leave",L="ng-trigger",D=".ng-trigger",I="ng-animating",P=".ng-animating";function T(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:R(parseFloat(e[1]),e[2])}function R(t,e){switch(e){case"s":return 1e3*t;default:return t}}function M(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=R(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=R(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function j(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function F(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else j(t,n);return n}function N(t,e,n){return n?e+":"+n+";":""}function U(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=N(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=N(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function V(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const r=Y(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),o()&&U(t))}function B(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Y(e);t.style[n]=""}),o()&&U(t))}function z(t){return Array.isArray(t)?1==t.length?t[0]:Object(s.j)(t):t}const H=new RegExp("{{\\s*(.+?)\\s*}}","g");function W(t){let e=[];if("string"==typeof t){let n;for(;n=H.exec(t);)e.push(n[1]);H.lastIndex=0}return e}function Q(t,e,n){const i=t.toString(),r=i.replace(H,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?t:r}function K(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const q=/-+([a-z0-9])/g;function Y(t){return t.replace(q,(...t)=>t[1].toUpperCase())}function G(t,e){return 0===t||0===e}function Z(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;r<e.length;r++){let n=e[r];o.forEach(function(e){n[e]=J(t,e)})}}return e}function X(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function J(t,e){return window.getComputedStyle(t)[e]}const $="*";function tt(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(it(r,o)),"<"!=s[0]||r==$&&o==$||e.push(it(o,r))}(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function it(t,e){const n=et.has(t)||nt.has(t),i=et.has(e)||nt.has(e);return(r,s)=>{let o=t==$||t==r,a=e==$||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?et.has(t):nt.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?et.has(e):nt.has(e)),o&&a}}const rt=new RegExp("s*:selfs*,?","g");function st(t,e,n){return new ot(t).build(e,n)}class ot{constructor(t){this._driver=t}build(t,e){const n=new at(e);return this._resetContextStyleTimingState(n),X(this,z(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(ct(t)){const e=t;Object.keys(e).forEach(t=>{W(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=K(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=X(this,z(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:lt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>X(this,t,e)),options:lt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=X(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:lt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ht(M(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ht(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||M(i,e),ht(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(s.l)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(s.l)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==s.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(ct(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=W(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,o=!1,a=0;const c=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let c=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),l=0;return null!=c&&(i++,l=n.offset=c),o=o||l<0||l>1,s=s||l<a,a=l,r.push(l),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const l=t.steps.length;let h=0;i>0&&i<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(l-1));const u=l-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return c.forEach((t,i)=>{const s=h>0?i==u?1:h*i:r[i],o=s*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:X(this,z(t.animation),e),options:lt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:lt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:lt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),[t=t.replace(/@\*/g,D).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,P),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,d(e.collectedStyles,e.currentQuerySelector,{});const o=X(this,z(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:lt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:M(t.timings,e.errors,!0);return{type:12,animation:X(this,z(t.animation),e),timings:n,options:null}}}class at{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ct(t){return!Array.isArray(t)&&"object"==typeof t}function lt(t){var e;return t?(t=j(t)).params&&(t.params=(e=t.params)?j(e):null):t={},t}function ht(t,e,n){return{duration:t,delay:e,easing:n}}function ut(t,e,n,i,r,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class dt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ft=new RegExp(":enter","g"),pt=new RegExp(":leave","g");function bt(t,e,n,i,r,s={},o={},a,c,l=[]){return(new mt).buildKeyframes(t,e,n,i,r,s,o,a,c,l)}class mt{buildKeyframes(t,e,n,i,r,s,o,a,c,l=[]){c=c||new dt;const h=new yt(t,e,c,i,r,l,[]);h.options=a,h.currentTimeline.setStyles([s],null,h.errors,a),X(this,n,h);const u=h.timelines.filter(t=>t.containsAnimation());if(u.length&&Object.keys(o).length){const t=u[u.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,h.errors,a)}return u.length?u.map(t=>t.buildKeyframes()):[ut(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?T(n.duration):null,s=null!=n.delay?T(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),X(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=gt);const t=T(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>X(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?T(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),X(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return M(e.params?Q(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?T(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=gt);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(a=o.currentTimeline),X(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;X(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}const gt={};class yt{constructor(t,e,n,i,r,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new vt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=T(n.duration)),null!=n.delay&&(i.delay=T(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=Q(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new yt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=gt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new _t(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ft,"."+this._enterClassName)).replace(pt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class vt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new vt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||s.a,this._currentKeyframe[t]=s.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=s.a})):F(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=Q(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:s.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=F(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==s.p?t.add(n):i==s.a&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=t.size?K(t.values()):[],o=e.size?K(e.values()):[];if(n){const t=i[0],e=j(t);t.offset=0,e.offset=1,i=[t,e]}return ut(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class _t extends vt{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,a=F(t[0],!1);a.offset=0,r.push(a);const c=F(t[0],!1);c.offset=wt(o),r.push(c);const l=t.length-1;for(let i=1;i<=l;i++){let o=F(t[i],!1);o.offset=wt((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return ut(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function wt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ct{}class xt extends Ct{normalizePropertyName(t,e){return Y(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(St[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const St=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Ot(t,e,n,i,r,s,o,a,c,l,h,u,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:h,totalTime:u,errors:d}}const At={};class kt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,a,c,l){const h=[],u=this.ast.options&&this.ast.options.params||At,f=this.buildStyles(n,o&&o.params||At,h),p=a&&a.params||At,b=this.buildStyles(i,p,h),m=new Set,g=new Map,y=new Map,v="void"===i,_={params:Object.assign(Object.assign({},u),p)},w=l?[]:bt(t,e,this.ast.animation,r,s,f,b,_,c,h);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),h.length)return Ot(e,this._triggerName,n,i,v,f,b,[],[],g,y,C,h);w.forEach(t=>{const n=t.element,i=d(g,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=d(y,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&m.add(n)});const x=K(m.values());return Ot(e,this._triggerName,n,i,v,f,b,w,x,g,y,C)}}class Et{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=j(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=Q(s,i,e)),n[t]=s})}}),n}}class Lt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Et(t.style,t.options&&t.options.params||{})}),Dt(this.states,"true","1"),Dt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new kt(t,e,this.states))}),this.fallbackTransition=new kt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Dt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const It=new dt;class Pt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=st(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let o;const c=new Map;if(r?(o=bt(this._driver,e,r,k,E,{},{},n,It,i),o.forEach(t=>{const e=d(c,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));c.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,s.a)})});const l=a(o.map(t=>{const e=c.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Tt="ng-animate-queued",Rt="ng-animate-disabled",Mt=".ng-animate-disabled",jt=[],Ft={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Nt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ut{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=j(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Vt="void",Bt=new Ut(Vt);class zt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Gt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=d(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Gt(t,L),Gt(t,"ng-trigger-"+e),a[e]=Bt),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new Wt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Gt(t,L),Gt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new Ut(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=Bt),c.value!==Vt&&a.value===c.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,c.params)){const e=[],n=r.matchStyles(a.value,a.params,e),i=r.matchStyles(c.value,c.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{B(t,n),V(t,i)})}return}const l=d(this._engine.playersByElement,t,[]);l.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=r.matchTransition(a.value,c.value,t,c.params),u=!1;if(!h){if(!i)return;h=r.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:a,toState:c,player:s,isFallbackTransition:u}),u||(Gt(t,Tt),s.onStart(()=>{Zt(t,Tt)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),l.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,D,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Vt,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(t)[i]||Bt,o=new Ut(Vt),a=new Wt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:s,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Ft||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Gt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Ht{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new zt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=n[t[i]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(Qt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Qt(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Gt(t,Rt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zt(t,Rt))}removeNode(t,e,n,i){if(Qt(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Qt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,D,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,P,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Ft,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Mt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Mt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Gt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new dt,i=[],r=new Map,o=[],c=new Map,l=new Map,h=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)u.add(e[n])});const f=this.bodyNode,p=Array.from(this.statesByElement.keys()),b=Yt(p,this.collectedEnterElements),m=new Map;let g=0;b.forEach((t,e)=>{const n=k+g++;m.set(e,n),t.forEach(t=>Gt(t,n))});const y=[],v=new Set,_=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const t=this.collectedLeaveElements[s],e=t.__ng_removed;e&&e.setForRemoval&&(y.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):_.add(t))}const w=new Map,C=Yt(p,Array.from(v));C.forEach((t,e)=>{const n=E+g++;w.set(e,n),t.forEach(t=>Gt(t,n))}),t.push(()=>{b.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Zt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Zt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const x=[],S=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(x.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const s=!f||!this.driver.containsElement(f,r),a=w.get(r),u=m.get(r),p=this._buildInstruction(t,n,u,a,s);if(p.errors&&p.errors.length)S.push(p);else{if(s)return e.onStart(()=>B(r,p.fromStyles)),e.onDestroy(()=>V(r,p.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>B(r,p.fromStyles)),e.onDestroy(()=>V(r,p.toStyles)),void i.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,p.timelines),o.push({instruction:p,player:e,element:r}),p.queriedElements.forEach(t=>d(c,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=l.get(e);t||l.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=h.get(e);i||h.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(S.length){const t=[];S.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const O=new Map,A=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(A.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(O,e,[]).push(t),t.destroy()})});const L=y.filter(t=>$t(t,l,h)),D=new Map;qt(D,this.driver,_,h,s.a).forEach(t=>{$t(t,l,h)&&L.push(t)});const I=new Map;b.forEach((t,e)=>{qt(I,this.driver,new Set(t),l,s.p)}),L.forEach(t=>{const e=D.get(t),n=I.get(t);D.set(t,Object.assign(Object.assign({},e),n))});const T=[],R=[],M={};o.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(u.has(e))return s.onDestroy(()=>V(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let t=M;if(A.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=A.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>A.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,O,r,I,D);if(s.setRealPlayer(n),t===M)T.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=a(e)),i.push(s)}}else B(e,o.fromStyles),s.onDestroy(()=>V(e,o.toStyles)),R.push(s),u.has(e)&&i.push(s)}),R.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let s=0;s<y.length;s++){const t=y[s],e=t.__ng_removed;if(Zt(t,E),e&&e.hasAnimation)continue;let n=[];if(c.size){let e=c.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,P,!0);for(let t=0;t<i.length;t++){let e=c.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Xt(this,t,i):this.processLeaveNode(t)}return y.length=0,T.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),T}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Vt;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,c=d(n,t,[]);this._getPreviousPlayers(t,a,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}B(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,o){const l=e.triggerName,h=e.element,u=[],f=new Set,p=new Set,b=e.timelines.map(e=>{const a=e.element;f.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new s.d(e.duration,e.delay);const b=a!==h,m=function(t){const e=[];return Jt(t,e),e}((n.get(a)||jt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),g=r.get(a),y=o.get(a),v=c(0,this._normalizer,0,e.keyframes,g,y),_=this._buildPlayer(e,v,m);if(e.subTimeline&&i&&p.add(a),b){const e=new Wt(t,l,a);e.setRealPlayer(_),u.push(e)}return _});u.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),f.forEach(t=>Gt(t,I));const m=a(b);return m.onDestroy(()=>{f.forEach(t=>Zt(t,I)),V(h,e.toStyles)}),p.forEach(t=>{d(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new s.d(t.duration,t.delay)}}class Wt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new s.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>l(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Qt(t){return t&&1===t.nodeType}function Kt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function qt(t,e,n,i,r){const s=[];n.forEach(t=>s.push(Kt(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Nt,o.push(i))}),t.set(i,s)});let a=0;return n.forEach(t=>Kt(t,s[a++])),o}function Yt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function s(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:s(o),r.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}function Gt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Zt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Xt(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function Jt(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof s.o?Jt(i.players,e):e.push(i)}}function $t(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class te{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ht(t,e,n),this._timelineEngine=new Pt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=st(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Lt(t,e)}(i,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=f(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ee(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=ie(e[0]),e.length>1&&(i=ie(e[e.length-1]))):e&&(n=ie(e)),n||i?new ne(t,n,i):null}let ne=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&V(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(V(this._element,this._initialStyles),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(B(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),V(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ie(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const r=n[i];re(r)&&(e=e||{},e[r]=t[r])}return e}function re(t){return"display"===t||"position"===t}const se="animation",oe="animationend";class ae{constructor(t,e,n,i,r,s,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=fe(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),de(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),ue(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){ce(this._element,this._name,"paused")}resume(){ce(this._element,this._name,"running")}setPosition(t){const e=le(this._element,this._name);this._position=t*this._duration,de(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ue(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=fe(t,"").split(","),i=he(n,e);i>=0&&(n.splice(i,1),de(t,"",n.join(",")))}(this._element,this._name))}}function ce(t,e,n){de(t,"PlayState",n,le(t,e))}function le(t,e){const n=fe(t,"");return n.indexOf(",")>0?he(n.split(","),e):he([n],e)}function he(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function ue(t,e,n){n?t.removeEventListener(oe,e):t.addEventListener(oe,e)}function de(t,e,n,i){const r=se+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function fe(t,e){return t.style[se+e]||""}class pe{constructor(t,e,n,i,r,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ae(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:J(this.element,n))})}this.currentSnapshot=t}}class be extends s.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class me{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return _(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>S(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=r+"}\n"}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(t,e,n,i,r,s=[],o){const a=s.filter(t=>t instanceof pe),c={};G(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Z(t,e,c));if(0==n)return new be(t,l);const h="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(t,h,e);document.querySelector("head").appendChild(u);const d=ee(t,e),f=new pe(t,e,h,n,i,r,l,d);return f.onDestroy(()=>{var t;(t=u).parentNode.removeChild(t)}),f}}class ge{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:J(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ye{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ve().toString()),this._cssKeyframesDriver=new me}validateStyleProperty(t){return _(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const c={},l=s.filter(t=>t instanceof ge);G(n,i)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const h=ee(t,e=Z(t,e=e.map(t=>F(t,!1)),c));return new ge(t,e,a,h)}}function ve(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var _e=n("SVse");let we=(()=>{class t extends s.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.T.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(s.j)(t):t;return Se(this._renderer,null,e,"register",[n]),new Ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.H),i.Zb(_e.d))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();class Ce extends s.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new xe(this._id,t,e||{},this._renderer)}}class xe{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Se(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Se(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const Oe="@",Ae="@.disabled";let ke=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Ee("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new Le(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(i.H),i.Zb(te),i.Zb(i.B))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();class Ee{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Oe&&e==Ae?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Le extends Ee{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Oe?"."==e.charAt(1)&&e==Ae?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Oe){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=Oe&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let De=(()=>{class t extends te{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(_e.d),i.Zb(A),i.Zb(Ct))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const Ie=new i.s("AnimationModuleType"),Pe=[{provide:A,useFactory:function(){return"function"==typeof ve()?new ye:new me}},{provide:Ie,useValue:"BrowserAnimations"},{provide:s.b,useClass:we},{provide:Ct,useFactory:function(){return new xt}},{provide:te,useClass:De},{provide:i.H,useFactory:function(t,e,n){return new ke(t,e,n)},deps:[r.e,te,i.B]}];let Te=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:Pe,imports:[r.a]}),t})()},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pMoy:function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return x});var i=n("8LU1"),r=n("8Y7J"),s=n("s7LF"),o=n("UhP/"),a=n("omvX"),c=n("9b/N"),l=n("YEUz");const h=["input"],u=function(){return{enterDuration:150}},d=["*"],f=new r.s("mat-checkbox-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent",clickAction:"check-indeterminate"}}let b=0;const m=p(),g={provide:s.k,useExisting:Object(r.X)(()=>w),multi:!0};class y{}class v{constructor(t){this._elementRef=t}}const _=Object(o.C)(Object(o.x)(Object(o.y)(Object(o.z)(v))));let w=(()=>{class t extends _{constructor(t,e,n,i,s,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++b,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.o,this.indeterminateChange=new r.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||m,this.color=this.defaultColor=this._options.color||m.color,this.tabIndex=parseInt(s)||0}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new y;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(r.Pb(r.l),r.Pb(r.h),r.Pb(l.h),r.Pb(r.B),r.ac("tabindex"),r.Pb(a.a,8),r.Pb(f,8))},t.\u0275cmp=r.Jb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(r.Pc(h,!0),r.Pc(o.r,!0)),2&t){let t;r.vc(t=r.ec())&&(e._inputElement=t.first),r.vc(t=r.ec())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Yb("id",e.id),r.Eb("tabindex",null),r.Hb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r.Cb([g]),r.Ab],ngContentSelectors:d,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.nc(),r.Vb(0,"label",0,1),r.Vb(2,"span",2),r.Vb(3,"input",3,4),r.dc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r.Ub(),r.Vb(5,"span",5),r.Qb(6,"span",6),r.Ub(),r.Qb(7,"span",7),r.Vb(8,"span",8),r.gc(),r.Vb(9,"svg",9),r.Qb(10,"path",10),r.Ub(),r.fc(),r.Qb(11,"span",11),r.Ub(),r.Ub(),r.Vb(12,"span",12,13),r.dc("cdkObserveContent",function(){return e._onLabelTextChange()}),r.Vb(14,"span",14),r.Kc(15,"\xa0"),r.Ub(),r.mc(16),r.Ub(),r.Ub()),2&t){const t=r.wc(1),n=r.wc(13);r.Eb("for",e.inputId),r.Db(2),r.Hb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.Db(1),r.oc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Eb("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.Db(2),r.oc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.rc(19,u))}},directives:[o.r,c.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)}}),t})(),x=(()=>{class t{}return t.\u0275mod=r.Nb({type:t}),t.\u0275inj=r.Mb({factory:function(e){return new(e||t)},imports:[[o.s,o.i,c.c,C],o.i,C]}),t})()},pu8Q:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return y});var i=n("8Y7J"),r=n("SVse"),s=n("UhP/"),o=n("8LU1"),a=n("SCoL"),c=n("omvX");function l(t,e){if(1&t&&(i.gc(),i.Qb(0,"circle",3)),2&t){const t=i.hc();i.Fc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Eb("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(i.gc(),i.Qb(0,"circle",3)),2&t){const t=i.hc();i.Fc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Eb("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(i.gc(),i.Qb(0,"circle",3)),2&t){const t=i.hc();i.Fc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Eb("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(i.gc(),i.Qb(0,"circle",3)),2&t){const t=i.hc();i.Fc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Eb("r",t._getCircleRadius())}}const f=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class p{constructor(t){this._elementRef=t}}const b=Object(s.x)(p,"primary"),m=new i.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let g=(()=>{class t extends b{constructor(e,n,i,r,s){super(e),this._elementRef=e,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(i.head)||o.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(o.f)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(o.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(o.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Object(a.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,i=t._diameters;let r=i.get(e);if(!r||!r.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),r||(r=new Set,i.set(e,r)),r.add(n)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,""+this._spinnerAnimationLabel)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(a.a),i.Pb(r.d,8),i.Pb(c.a,8),i.Pb(m))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.Eb("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Fc("width",e.diameter,"px")("height",e.diameter,"px"),i.Hb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.Ab],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"svg",0),i.Ic(1,l,1,9,"circle",1),i.Ic(2,h,1,7,"circle",2),i.Ub()),2&t&&(i.Fc("width",e.diameter,"px")("height",e.diameter,"px"),i.oc("ngSwitch","indeterminate"===e.mode),i.Eb("viewBox",e._getViewBox()),i.Db(1),i.oc("ngSwitchCase",!0),i.Db(1),i.oc("ngSwitchCase",!1))},directives:[r.q,r.r],styles:[f],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),y=(()=>{class t extends g{constructor(t,e,n,i,r){super(t,e,n,i,r),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(a.a),i.Pb(r.d,8),i.Pb(c.a,8),i.Pb(m))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Fc("width",e.diameter,"px")("height",e.diameter,"px"),i.Hb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.Ab],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.gc(),i.Vb(0,"svg",0),i.Ic(1,u,1,9,"circle",1),i.Ic(2,d,1,7,"circle",2),i.Ub()),2&t&&(i.Fc("width",e.diameter,"px")("height",e.diameter,"px"),i.oc("ngSwitch","indeterminate"===e.mode),i.Eb("viewBox",e._getViewBox()),i.Db(1),i.oc("ngSwitchCase",!0),i.Db(1),i.oc("ngSwitchCase",!1))},directives:[r.q,r.r],styles:[f],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[s.i,r.c],s.i]}),t})()},pxpQ:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("WMd4");function s(t,e=0){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))}}class a extends i.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new c(t,this.destination)))}_next(t){this.scheduleMessage(r.a.createNext(t))}_error(t){this.scheduleMessage(r.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.notification=t,this.destination=e}}},q59W:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return b}),n.d(e,"c",function(){return m}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return A}),n.d(e,"f",function(){return S}),n.d(e,"g",function(){return O}),n.d(e,"h",function(){return w});var i=n("YEUz"),r=n("9gLZ"),s=n("8LU1"),o=n("Ht+U"),a=n("SVse"),c=n("8Y7J"),l=n("XNiG"),h=n("LRne"),u=n("JX91"),d=n("1G5W");function f(t,e){1&t&&c.mc(0)}const p=["*"];let b=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(c.Pb(c.l))},t.\u0275dir=c.Kb({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),m=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(c.Pb(c.O))},t.\u0275dir=c.Kb({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),g=0;const y="edit",v="done",_="error",w=new c.s("STEPPER_GLOBAL_OPTIONS");let C=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=Object(s.c)(t)}get optional(){return this._optional}set optional(t){this._optional=Object(s.c)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=Object(s.c)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=Object(s.c)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}}return t.\u0275fac=function(e){return new(e||t)(c.Pb(Object(c.X)(()=>x)),c.Pb(w,8))},t.\u0275cmp=c.Jb({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,n){if(1&t&&c.Ib(n,m,!0),2&t){let t;c.vc(t=c.ec())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&c.Ec(c.O,!0),2&t){let t;c.vc(t=c.ec())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},exportAs:["cdkStep"],features:[c.Bb],ngContentSelectors:p,decls:1,vars:0,template:function(t,e){1&t&&(c.nc(),c.Ic(0,f,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),x=(()=>{class t{constructor(t,e,n,i){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new l.a,this.steps=new c.F,this._linear=!1,this._selectedIndex=0,this.selectionChange=new c.o,this._orientation="horizontal",this._groupId=g++,this._document=i}get linear(){return this._linear}set linear(t){this._linear=Object(s.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=Object(s.f)(t);this.steps&&this._steps?(this._isValidIndex(t),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}ngAfterContentInit(){this._steps.changes.pipe(Object(u.a)(this._steps),Object(d.a)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new i.g(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(h.a)()).pipe(Object(u.a)(this._layoutDirection()),Object(d.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const n=this.steps.toArray()[t],i=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,i):this._getGuidelineLogic(n,i,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?_:!t.completed||e?"number":t.editable?y:v}_getGuidelineLogic(t,e,n="number"){return t._showError&&t.hasError&&!e?_:t.completed&&!e?v:t.completed&&e?n:t.editable&&e?y:n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=Object(o.r)(t),n=t.keyCode,i=this._keyManager;null==i.activeItemIndex||e||n!==o.m&&n!==o.e?i.onKeydown(t):(this.selectedIndex=i.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){const e=this.steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&t>=0)&&e.slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){if(!this._document||!this._elementRef)return!1;const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}}return t.\u0275fac=function(e){return new(e||t)(c.Pb(r.b,8),c.Pb(c.h),c.Pb(c.l),c.Pb(a.d))},t.\u0275dir=c.Kb({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(t,e,n){if(1&t&&(c.Ib(n,C,!0),c.Ib(n,b,!0)),2&t){let t;c.vc(t=c.ec())&&(e._steps=t),c.vc(t=c.ec())&&(e._stepHeader=t)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),t})(),S=(()=>{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(c.Pb(x))},t.\u0275dir=c.Kb({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&c.dc("click",function(){return e._handleClick()}),2&t&&c.Yb("type",e.type)},inputs:{type:"type"}}),t})(),O=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(c.Pb(x))},t.\u0275dir=c.Kb({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&c.dc("click",function(){return e._handleClick()}),2&t&&c.Yb("type",e.type)},inputs:{type:"type"}}),t})(),A=(()=>{class t{}return t.\u0275mod=c.Nb({type:t}),t.\u0275inj=c.Mb({factory:function(e){return new(e||t)},imports:[[r.a]]}),t})()},q7Ft:function(t,e,n){"use strict";n.d(e,"a",function(){return z}),n.d(e,"b",function(){return W}),n.d(e,"c",function(){return B}),n.d(e,"d",function(){return K});var i=n("SCoL"),r=n("7KAL"),s=n("SVse"),o=n("8Y7J"),a=n("UhP/"),c=n("8LU1"),l=n("Ht+U"),h=n("XNiG"),u=n("xgIS"),d=n("VRyK"),f=n("pLZG"),p=n("lJxs"),b=n("CqXF"),m=n("1G5W"),g=n("/uUt"),y=n("IzEk"),v=n("JX91"),_=n("Kj3r"),w=n("GS7A"),C=n("omvX"),x=n("YEUz"),S=n("9gLZ");const O=["*"];function A(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",2),o.dc("click",function(){return o.zc(t),o.hc()._onBackdropClicked()}),o.Ub()}if(2&t){const t=o.hc();o.Hb("mat-drawer-shown",t._isShowingBackdrop())}}function k(t,e){1&t&&(o.Vb(0,"mat-drawer-content"),o.mc(1,2),o.Ub())}const E=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],L=["mat-drawer","mat-drawer-content","*"];function D(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",2),o.dc("click",function(){return o.zc(t),o.hc()._onBackdropClicked()}),o.Ub()}if(2&t){const t=o.hc();o.Hb("mat-drawer-shown",t._isShowingBackdrop())}}function I(t,e){1&t&&(o.Vb(0,"mat-sidenav-content",3),o.mc(1,2),o.Ub())}const P=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],T=["mat-sidenav","mat-sidenav-content","*"],R=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",M={transformDrawer:Object(w.n)("transform",[Object(w.k)("open, open-instant",Object(w.l)({transform:"none",visibility:"visible"})),Object(w.k)("void",Object(w.l)({"box-shadow":"none",visibility:"hidden"})),Object(w.m)("void => open-instant",Object(w.e)("0ms")),Object(w.m)("void <=> open, open-instant => void",Object(w.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},j=new o.s("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),F=new o.s("MAT_DRAWER_CONTAINER");let N=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(n,i,r),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.h),o.Pb(Object(o.X)(()=>V)),o.Pb(o.l),o.Pb(r.c),o.Pb(o.B))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Fc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.Ab],ngContentSelectors:O,decls:1,vars:0,template:function(t,e){1&t&&(o.nc(),o.mc(0))},encapsulation:2,changeDetection:0}),t})(),U=(()=>{class t{constructor(t,e,n,i,r,s,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=s,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new h.a,this._animationEnd=new h.a,this._animationState="void",this.openedChange=new o.o(!0),this._openedStream=this.openedChange.pipe(Object(f.a)(t=>t),Object(p.a)(()=>{})),this.openedStart=this._animationStarted.pipe(Object(f.a)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),Object(b.a)(void 0)),this._closedStream=this.openedChange.pipe(Object(f.a)(t=>!t),Object(p.a)(()=>{})),this.closedStart=this._animationStarted.pipe(Object(f.a)(t=>t.fromState!==t.toState&&"void"===t.toState),Object(b.a)(void 0)),this._destroyed=new h.a,this.onPositionChanged=new o.o,this._modeChanged=new h.a,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Object(u.a)(this._elementRef.nativeElement,"keydown").pipe(Object(f.a)(t=>t.keyCode===l.f&&!this.disableClose&&!Object(l.r)(t)),Object(m.a)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Object(g.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Object(c.c)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Object(c.c)(t)}get opened(){return this._opened}set opened(t){this.toggle(Object(c.c)(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,n="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Object(y.a)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.l),o.Pb(x.i),o.Pb(x.h),o.Pb(i.a),o.Pb(o.B),o.Pb(s.d,8),o.Pb(F,8))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&o.Gc("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(o.Eb("align",null),o.Hc("@transform",e._animationState),o.Hb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:O,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.nc(),o.Vb(0,"div",0),o.mc(1),o.Ub())},encapsulation:2,data:{animation:[M.transformDrawer]},changeDetection:0}),t})(),V=(()=>{class t{constructor(t,e,n,i,r,s=!1,a){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=a,this._drawers=new o.F,this.backdropClick=new o.o,this._destroyed=new h.a,this._doCheckSubject=new h.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new h.a,t&&t.change.pipe(Object(m.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Object(c.c)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Object(c.c)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Object(v.a)(this._allDrawers),Object(m.a)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(v.a)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Object(_.a)(10),Object(m.a)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const n=this._left._getWidth();t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const n=this._right._getWidth();e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Object(f.a)(t=>t.fromState!==t.toState),Object(m.a)(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Object(m.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Object(m.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Object(y.a)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Object(m.a)(Object(d.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(S.b,8),o.Pb(o.l),o.Pb(o.B),o.Pb(o.h),o.Pb(r.e),o.Pb(j),o.Pb(C.a,8))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){if(1&t&&(o.Ib(n,N,!0),o.Ib(n,U,!0)),2&t){let t;o.vc(t=o.ec())&&(e._content=t.first),o.vc(t=o.ec())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&o.Pc(N,!0),2&t){let t;o.vc(t=o.ec())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.Hb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o.Cb([{provide:F,useExisting:t}])],ngContentSelectors:L,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(o.nc(E),o.Ic(0,A,1,2,"div",0),o.mc(1),o.mc(2,1),o.Ic(3,k,2,0,"mat-drawer-content",1)),2&t&&(o.oc("ngIf",e.hasBackdrop),o.Db(3),o.oc("ngIf",!e._content))},directives:[s.o,N],styles:[R],encapsulation:2,changeDetection:0}),t})(),B=(()=>{class t extends N{constructor(t,e,n,i,r){super(t,e,n,i,r)}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.h),o.Pb(Object(o.X)(()=>W)),o.Pb(o.l),o.Pb(r.c),o.Pb(o.B))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Fc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.Ab],ngContentSelectors:O,decls:1,vars:0,template:function(t,e){1&t&&(o.nc(),o.mc(0))},encapsulation:2,changeDetection:0}),t})(),z=(()=>{class t extends U{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Object(c.c)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Object(c.f)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Object(c.f)(t)}}return t.\u0275fac=function(e){return H(e||t)},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(o.Eb("align",null),o.Fc("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),o.Hb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[o.Ab],ngContentSelectors:O,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.nc(),o.Vb(0,"div",0),o.mc(1),o.Ub())},encapsulation:2,data:{animation:[M.transformDrawer]},changeDetection:0}),t})();const H=o.Xb(z);let W=(()=>{class t extends V{}return t.\u0275fac=function(e){return Q(e||t)},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){if(1&t&&(o.Ib(n,B,!0),o.Ib(n,z,!0)),2&t){let t;o.vc(t=o.ec())&&(e._content=t.first),o.vc(t=o.ec())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.Hb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[o.Cb([{provide:F,useExisting:t}]),o.Ab],ngContentSelectors:T,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(o.nc(P),o.Ic(0,D,1,2,"div",0),o.mc(1),o.mc(2,1),o.Ic(3,I,2,0,"mat-sidenav-content",1)),2&t&&(o.oc("ngIf",e.hasBackdrop),o.Db(3),o.oc("ngIf",!e._content))},directives:[s.o,B,r.a],styles:[R],encapsulation:2,changeDetection:0}),t})();const Q=o.Xb(W);let K=(()=>{class t{}return t.\u0275mod=o.Nb({type:t}),t.\u0275inj=o.Mb({factory:function(e){return new(e||t)},imports:[[s.c,a.i,i.b,r.b],r.b,a.i]}),t})()},qVij:function(t,e,n){var i=n("OZ/i"),r=n("Edxu");function s(t){var e,n=t.modulus.byteLength();do{e=new i(r(n))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function o(t,e){var n=function(t){var e=s(t);return{blinder:e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),r=e.modulus.byteLength(),o=new i(t).mul(n.blinder).umod(e.modulus),a=o.toRed(i.mont(e.prime1)),c=o.toRed(i.mont(e.prime2)),l=e.coefficient,h=e.prime1,u=e.prime2,d=a.redPow(e.exponent1).fromRed(),f=c.redPow(e.exponent2).fromRed(),p=d.isub(f).imul(l).umod(h).imul(u);return f.iadd(p).imul(n.unblinder).umod(e.modulus).toArrayLike(Buffer,"be",r)}o.getr=s,t.exports=o},qgXg:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return c});var i=n("3N8a");class r extends i.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var s=n("IjjT");class o extends s.a{}const a=new o(r),c=a},qlaj:function(t,e,n){"use strict";var i=n("w8CP").rotr32;function r(t,e,n){return t&e^~t&n}function s(t,e,n){return t&e^t&n^e&n}function o(t,e,n){return t^e^n}e.ft_1=function(t,e,n,i){return 0===t?r(e,n,i):1===t||3===t?o(e,n,i):2===t?s(e,n,i):void 0},e.ch32=r,e.maj32=s,e.p32=o,e.s0_256=function(t){return i(t,2)^i(t,13)^i(t,22)},e.s1_256=function(t){return i(t,6)^i(t,11)^i(t,25)},e.g0_256=function(t){return i(t,7)^i(t,18)^t>>>3},e.g1_256=function(t){return i(t,17)^i(t,19)^t>>>10}},qmMu:function(t,e,n){var i=n("Wogr"),r=n("e/Dd"),s=n("ekOh"),o=n("e6BP"),a=n("V35J"),c=n("1sBl"),l=n("kk9/"),h=n("eQOe"),u=n("NPxG"),d=n("jSPq"),f=n("yKow"),p=n("lYJp"),b=n("u/Db"),m=n("vvrf"),g=n("49sm");function y(t,e,n){var i,r,s=t.size,o=p.getEncodedBits(e,n);for(i=0;i<15;i++)t.set(i<6?i:i<8?i+1:s-15+i,8,r=1==(o>>i&1),!0),t.set(8,i<8?s-i-1:i<9?15-i-1+1:15-i-1,r,!0);t.set(s-8,8,1,!0)}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var n,p,v=s.M;return void 0!==e&&(v=s.from(e.errorCorrectionLevel,s.M),n=f.from(e.version),p=h.from(e.maskPattern),e.toSJISFunc&&r.setToSJISFunction(e.toSJISFunc)),function(t,e,n,s){var p;if(g(t))p=m.fromArray(t);else{if("string"!=typeof t)throw new Error("Invalid data");var v=e;if(!v){var _=m.rawSplit(t);v=f.getBestVersionForData(_,n)}p=m.fromString(t,v||40)}var w=f.getBestVersionForData(p,n);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<w)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+w+".\n")}else e=w;var C=function(t,e,n){var s=new o;n.forEach(function(e){s.put(e.mode.bit,4),s.put(e.getLength(),b.getCharCountIndicator(e.mode,t)),e.write(s)});var a=8*(r.getSymbolTotalCodewords(t)-u.getTotalCodewordsCount(t,e));for(s.getLengthInBits()+4<=a&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(0);for(var c=(a-s.getLengthInBits())/8,l=0;l<c;l++)s.put(l%2?17:236,8);return function(t,e,n){for(var s=r.getSymbolTotalCodewords(e),o=s-u.getTotalCodewordsCount(e,n),a=u.getBlocksCount(e,n),c=a-s%a,l=Math.floor(s/a),h=Math.floor(o/a),f=h+1,p=l-h,b=new d(p),m=0,g=new Array(a),y=new Array(a),v=0,_=new i(t.buffer),w=0;w<a;w++){var C=w<c?h:f;g[w]=_.slice(m,m+C),y[w]=b.encode(g[w]),m+=C,v=Math.max(v,C)}var x,S,O=new i(s),A=0;for(x=0;x<v;x++)for(S=0;S<a;S++)x<g[S].length&&(O[A++]=g[S][x]);for(x=0;x<p;x++)for(S=0;S<a;S++)O[A++]=y[S][x];return O}(s,t,e)}(e,n,p),x=r.getSymbolSize(e),S=new a(x);return function(t,e){for(var n=t.size,i=l.getPositions(e),r=0;r<i.length;r++)for(var s=i[r][0],o=i[r][1],a=-1;a<=7;a++)if(!(s+a<=-1||n<=s+a))for(var c=-1;c<=7;c++)o+c<=-1||n<=o+c||t.set(s+a,o+c,a>=0&&a<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===a||6===a)||a>=2&&a<=4&&c>=2&&c<=4,!0)}(S,e),function(t){for(var e=t.size,n=8;n<e-8;n++){var i=n%2==0;t.set(n,6,i,!0),t.set(6,n,i,!0)}}(S),function(t,e){for(var n=c.getPositions(e),i=0;i<n.length;i++)for(var r=n[i][0],s=n[i][1],o=-2;o<=2;o++)for(var a=-2;a<=2;a++)t.set(r+o,s+a,-2===o||2===o||-2===a||2===a||0===o&&0===a,!0)}(S,e),y(S,n,0),e>=7&&function(t,e){for(var n,i,r,s=t.size,o=f.getEncodedBits(e),a=0;a<18;a++)n=Math.floor(a/3),t.set(n,i=a%3+s-8-3,r=1==(o>>a&1),!0),t.set(i,n,r,!0)}(S,e),function(t,e){for(var n=t.size,i=-1,r=n-1,s=7,o=0,a=n-1;a>0;a-=2)for(6===a&&a--;;){for(var c=0;c<2;c++)if(!t.isReserved(r,a-c)){var l=!1;o<e.length&&(l=1==(e[o]>>>s&1)),t.set(r,a-c,l),-1==--s&&(o++,s=7)}if((r+=i)<0||n<=r){r-=i,i=-i;break}}}(S,C),isNaN(s)&&(s=h.getBestMask(S,y.bind(null,S,n))),h.applyMask(s,S),y(S,n,s),{modules:S,version:e,errorCorrectionLevel:n,maskPattern:s,segments:p}}(t,n,v,p)}},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("DH7j"),r=n("XoHu"),s=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:l,_subscriptions:h}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(s.a)(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(u){e=u instanceof o?c(u.errors):[u]}}if(Object(i.a)(h)){let t=-1,n=h.length;for(;++t<n;){const n=h[t];if(Object(r.a)(n))try{n.unsubscribe()}catch(u){e=e||[],u instanceof o?e=e.concat(c(u.errors)):e.push(u)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function c(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},"rE/R":function(t,e,n){"use strict";var i,r=n("0ROu").codes,s=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function a(t){if(t)throw t}function c(t,e,r,s){s=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(s);var a=!1;t.on("close",function(){a=!0}),void 0===i&&(i=n("QqdZ")),i(t,{readable:e,writable:r},function(t){if(t)return s(t);a=!0,s()});var c=!1;return function(e){if(!a&&!c)return c=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new o("pipe"))}}function l(t){t()}function h(t,e){return t.pipe(e)}function u(t){return t.length?"function"!=typeof t[t.length-1]?a:t.pop():a}t.exports=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=u(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new s("streams");var o=e.map(function(t,n){var s=n<e.length-1;return c(t,s,n>0,function(t){i||(i=t),t&&o.forEach(l),s||(o.forEach(l),r(i))})});return e.reduce(h)}},rE9v:function(t,e,n){var i=n("saaP");e.encode=i.encode,e.decode=i.decode},rJgo:function(t,e,n){"use strict";n.d(e,"a",function(){return N}),n.d(e,"b",function(){return R}),n.d(e,"c",function(){return W}),n.d(e,"d",function(){return z});var i=n("YEUz"),r=n("8LU1"),s=n("Ht+U"),o=n("8Y7J"),a=n("XNiG"),c=n("quSY"),l=n("VRyK"),h=n("LRne"),u=n("7Hc7"),d=n("JX91"),f=n("eIep"),p=n("IzEk"),b=n("pLZG"),m=n("1G5W"),g=n("3E0/"),y=n("GS7A"),v=n("1z/I"),_=n("SVse"),w=n("UhP/"),C=n("1O3W"),x=n("SCoL"),S=n("7KAL"),O=n("9gLZ");const A=["mat-menu-item",""],k=["*"];function E(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",0),o.dc("keydown",function(e){return o.zc(t),o.hc()._handleKeydown(e)})("click",function(){return o.zc(t),o.hc().closed.emit("click")})("@transformMenu.start",function(e){return o.zc(t),o.hc()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.zc(t),o.hc()._onAnimationDone(e)}),o.Vb(1,"div",1),o.mc(2),o.Ub(),o.Ub()}if(2&t){const t=o.hc();o.oc("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),o.Eb("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const L={transformMenu:Object(y.n)("transformMenu",[Object(y.k)("void",Object(y.l)({opacity:0,transform:"scale(0.8)"})),Object(y.m)("void => enter",Object(y.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(y.l)({opacity:1,transform:"scale(1)"}))),Object(y.m)("* => void",Object(y.e)("100ms 25ms linear",Object(y.l)({opacity:0})))]),fadeInItems:Object(y.n)("fadeInItems",[Object(y.k)("showing",Object(y.l)({opacity:1})),Object(y.m)("void => *",[Object(y.l)({opacity:0}),Object(y.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},D=new o.s("MatMenuContent"),I=new o.s("MAT_MENU_PANEL");class P{}const T=Object(w.y)(Object(w.z)(P));let R=(()=>{class t extends T{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new a.a,this._focused=new a.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<i.length;r++){const e=i[r];null===(t=e.parentNode)||void 0===t||t.removeChild(e)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.l),o.Pb(_.d),o.Pb(i.h),o.Pb(I,8))},t.\u0275cmp=o.Jb({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&o.dc("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(o.Eb("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),o.Hb("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.Ab],attrs:A,ngContentSelectors:k,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(t,e){1&t&&(o.nc(),o.mc(0),o.Qb(1,"div",0)),2&t&&(o.Db(1),o.oc("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()))},directives:[w.r],encapsulation:2,changeDetection:0}),t})();const M=new o.s("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let j=0,F=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.F,this._tabSubscription=c.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.o,this.close=this.closed,this.panelId="mat-menu-panel-"+j++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(r.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(r.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.g(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Object(d.a)(this._directDescendantItems),Object(f.a)(t=>Object(l.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(d.a)(this._directDescendantItems),Object(f.a)(t=>Object(l.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case s.f:Object(s.r)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case s.h:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case s.l:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==s.o&&e!==s.c||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e="mat-elevation-z"+Math.min(4+t,24),n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(d.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.l),o.Pb(o.B),o.Pb(M))},t.\u0275dir=o.Kb({type:t,contentQueries:function(t,e,n){if(1&t&&(o.Ib(n,D,!0),o.Ib(n,R,!0),o.Ib(n,R,!1)),2&t){let t;o.vc(t=o.ec())&&(e.lazyContent=t.first),o.vc(t=o.ec())&&(e._allItems=t),o.vc(t=o.ec())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&o.Pc(o.O,!0),2&t){let t;o.vc(t=o.ec())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),N=(()=>{class t extends F{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.l),o.Pb(o.B),o.Pb(M))},t.\u0275cmp=o.Jb({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&o.Eb("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o.Cb([{provide:I,useExisting:t}]),o.Ab],ngContentSelectors:k,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(o.nc(),o.Ic(0,E,3,6,"ng-template"))},directives:[_.m],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[L.transformMenu,L.fadeInItems]},changeDetection:0}),t})();const U=new o.s("mat-menu-scroll-strategy"),V={provide:U,deps:[C.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},B=Object(x.f)({passive:!0});let z=(()=>{class t{constructor(t,e,n,i,r,s,a,l){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=s,this._dir=a,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.a.EMPTY,this._hoverSubscription=c.a.EMPTY,this._menuCloseSubscription=c.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new o.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.o,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof F?r:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,B),s&&(s._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,B),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof F&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof F?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(b.a)(t=>"void"===t.toState),Object(p.a)(1),Object(m.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new C.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[i,r],[a,c]=[e,n],l=0;this.triggersSubmenu()?(c=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",l="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:s,overlayX:a,overlayY:i,offsetY:l},{originX:n,originY:s,overlayX:c,overlayY:i,offsetY:l},{originX:e,originY:o,overlayX:a,overlayY:r,offsetY:-l},{originX:n,originY:o,overlayX:c,overlayY:r,offsetY:-l}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(h.a)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Object(b.a)(t=>t!==this._menuItemInstance),Object(b.a)(()=>this._menuOpen)):Object(h.a)();return Object(l.a)(t,n,i,e)}_handleMousedown(t){Object(i.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===s.l&&"ltr"===this.dir||e===s.h&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Object(b.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(g.a)(0,u.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof F&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(p.a)(1),Object(g.a)(0,u.a),Object(m.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new v.i(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(C.c),o.Pb(o.l),o.Pb(o.S),o.Pb(U),o.Pb(I,8),o.Pb(R,10),o.Pb(O.b,8),o.Pb(i.h))},t.\u0275dir=o.Kb({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&o.dc("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&o.Eb("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),H=(()=>{class t{}return t.\u0275mod=o.Nb({type:t}),t.\u0275inj=o.Mb({factory:function(e){return new(e||t)},providers:[V],imports:[w.i]}),t})(),W=(()=>{class t{}return t.\u0275mod=o.Nb({type:t}),t.\u0275inj=o.Mb({factory:function(e){return new(e||t)},providers:[V],imports:[[_.c,w.i,w.s,C.f,H],S.b,w.i,H]}),t})()},rSVQ:function(t,e,n){var i=n("Ku4m"),r=n("Edxu"),s=n("mObS"),o=n("9GDS"),a=n("g9U9"),c=n("N+aw"),l=n("UpF+"),h=n("qVij"),u=n("hwdV").Buffer;t.exports=function(t,e,n){var d;d=t.padding?t.padding:n?1:4;var f,p=i(t);if(4===d)f=function(t,e){var n=t.modulus.byteLength(),i=e.length,l=s("sha1").update(u.alloc(0)).digest(),h=l.length,d=2*h;if(i>n-d-2)throw new Error("message too long");var f=u.alloc(n-i-d-2),p=n-h-1,b=r(h),m=a(u.concat([l,f,u.alloc(1,1),e],p),o(b,p)),g=a(b,o(m,h));return new c(u.concat([u.alloc(1),g,m],n))}(p,e);else if(1===d)f=function(t,e,n){var i,s=e.length,o=t.modulus.byteLength();if(s>o-11)throw new Error("message too long");return i=n?u.alloc(o-s-3,255):function(t){for(var e,n=u.allocUnsafe(t),i=0,s=r(2*t),o=0;i<t;)o===s.length&&(s=r(2*t),o=0),(e=s[o++])&&(n[i++]=e);return n}(o-s-3),new c(u.concat([u.from([0,n?1:2]),i,u.alloc(1),e],o))}(p,e,n);else{if(3!==d)throw new Error("unknown padding");if((f=new c(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?h(f,p):l(f,p)}},rXFu:function(t,e,n){"use strict";var i=n("lm0R");t.exports=y;var r,s=n("IzUq");y.ReadableState=g,n("+qE3");var o=function(t,e){return t.listeners(e).length},a=n("QpuX"),c=n("hwdV").Buffer,l=global.Uint8Array||function(){},h=Object.create(n("Onz0"));h.inherits=n("P7XM");var u=n(3),d=void 0;d=u&&u.debuglog?u.debuglog("stream"):function(){};var f,p=n("Xhqo"),b=n("RoFp");h.inherits(y,a);var m=["error","close","destroy","pause","resume"];function g(t,e){var i=e instanceof(r=r||n("sZro"));this.objectMode=!!(t=t||{}).objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var s=t.highWaterMark,o=t.readableHighWaterMark;this.highWaterMark=s||0===s?s:i&&(o||0===o)?o:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=n("fXKp").StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function y(t){if(r=r||n("sZro"),!(this instanceof y))return new y(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function v(t,e,n,i,r){var s,o=t._readableState;return null===e?(o.reading=!1,function(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,x(t)}}(t,o)):(r||(s=function(t,e){var n,i;return c.isBuffer(i=e)||i instanceof l||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(o,e)),s?t.emit("error",s):o.objectMode||e&&e.length>0?("string"==typeof e||o.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),i?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):_(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!n?(e=o.decoder.write(e),o.objectMode||0!==e.length?_(t,o,e,!1):O(t,o)):_(t,o,e,!1))):i||(o.reading=!1)),function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(o)}function _(t,e,n,i){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,i?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&x(t)),O(t,e)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=b.destroy,y.prototype._undestroy=b.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof t&&((e=e||i.defaultEncoding)!==i.encoding&&(t=c.from(t,e),e=""),n=!0),v(this,t,e,!1,n)},y.prototype.unshift=function(t){return v(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return f||(f=n("fXKp").StringDecoder),this._readableState.decoder=new f(t),this._readableState.encoding=t,this};var w=8388608;function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=w?t=w:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function x(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){d("emit readable"),t.emit("readable"),L(t)}function O(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(A,t,e))}function A(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(d("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function k(t){d("readable nexttick read 0"),t.read(0)}function E(t,e){e.reading||(d("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),L(t),e.flowing&&!e.reading&&t.read(0)}function L(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function D(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var i;return t<e.head.data.length?(i=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):i=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,i=1,r=n.data;for(t-=r.length;n=n.next;){var s=n.data,o=t>s.length?s.length:t;if(r+=o===s.length?s:s.slice(0,t),0==(t-=o)){o===s.length?(++i,e.head=n.next?n.next:e.tail=null):(e.head=n,n.data=s.slice(o));break}++i}return e.length-=i,r}(t,e):function(t,e){var n=c.allocUnsafe(t),i=e.head,r=1;for(i.data.copy(n),t-=i.data.length;i=i.next;){var s=i.data,o=t>s.length?s.length:t;if(s.copy(n,n.length-t,0,o),0==(t-=o)){o===s.length?(++r,e.head=i.next?i.next:e.tail=null):(e.head=i,i.data=s.slice(o));break}++r}return e.length-=r,n}(t,e),i}(t,e.buffer,e.decoder),n);var n}function I(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function T(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}y.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?I(this):x(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&I(this),null;var i,r=e.needReadable;return d("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",r=!0),e.ended||e.reading?d("reading or ended",r=!1):r&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(n,e))),null===(i=t>0?D(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&I(this)),null!==i&&this.emit("data",i),i},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=t;break;case 1:r.pipes=[r.pipes,t];break;default:r.pipes.push(t)}r.pipesCount+=1,d("pipe count=%d opts=%j",r.pipesCount,e);var a=e&&!1===e.end||t===process.stdout||t===process.stderr?g:c;function c(){d("onend"),t.end()}r.endEmitted?i.nextTick(a):n.once("end",a),t.on("unpipe",function e(i,s){d("onunpipe"),i===n&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,d("cleanup"),t.removeListener("close",b),t.removeListener("finish",m),t.removeListener("drain",l),t.removeListener("error",p),t.removeListener("unpipe",e),n.removeListener("end",c),n.removeListener("end",g),n.removeListener("data",f),h=!0,!r.awaitDrain||t._writableState&&!t._writableState.needDrain||l())});var l=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,L(t))}}(n);t.on("drain",l);var h=!1,u=!1;function f(e){d("ondata"),u=!1,!1!==t.write(e)||u||((1===r.pipesCount&&r.pipes===t||r.pipesCount>1&&-1!==T(r.pipes,t))&&!h&&(d("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function p(e){d("onerror",e),g(),t.removeListener("error",p),0===o(t,"error")&&t.emit("error",e)}function b(){t.removeListener("finish",m),g()}function m(){d("onfinish"),t.removeListener("close",b),g()}function g(){d("unpipe"),n.unpipe(t)}return n.on("data",f),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events.error?s(t._events.error)?t._events.error.unshift(n):t._events.error=[n,t._events.error]:t.on(e,n)}(t,"error",p),t.once("close",b),t.once("finish",m),t.emit("pipe",n),r.flowing||(d("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<r;s++)i[s].emit("unpipe",this,n);return this}var o=T(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},y.prototype.addListener=y.prototype.on=function(t,e){var n=a.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&x(this):i.nextTick(k,this))}return n},y.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(E,t,e))}(this,t)),this},y.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;for(var r in t.on("end",function(){if(d("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(r){d("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r||(n.objectMode||r&&r.length)&&(e.push(r)||(i=!0,t.pause()))}),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var s=0;s<m.length;s++)t.on(m[s],this.emit.bind(this,m[s]));return this._read=function(e){d("wrapped _read",e),i&&(i=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=D},roQf:function(t,e,n){var i=n("hwdV").Buffer,r=n("9XZ3");t.exports=function(t,e,n,s){if(i.isBuffer(t)||(t=i.from(t,"binary")),e&&(i.isBuffer(e)||(e=i.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=n/8,a=i.alloc(o),c=i.alloc(s||0),l=i.alloc(0);o>0||s>0;){var h=new r;h.update(l),h.update(t),e&&h.update(e),l=h.digest();var u=0;if(o>0){var d=a.length-o;u=Math.min(o,l.length),l.copy(a,d,0,u),o-=u}if(u<l.length&&s>0){var f=c.length-s,p=Math.min(s,l.length-u);l.copy(c,f,u,u+p),s-=p}}return l.fill(0),{key:a,iv:c}}},s7LF:function(t,e,n){"use strict";n.d(e,"a",function(){return jt}),n.d(e,"b",function(){return I}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return Ut}),n.d(e,"e",function(){return mt}),n.d(e,"f",function(){return Et}),n.d(e,"g",function(){return Pt}),n.d(e,"h",function(){return Dt}),n.d(e,"i",function(){return Vt}),n.d(e,"j",function(){return m}),n.d(e,"k",function(){return c}),n.d(e,"l",function(){return T}),n.d(e,"m",function(){return M}),n.d(e,"n",function(){return j}),n.d(e,"o",function(){return wt}),n.d(e,"p",function(){return St}),n.d(e,"q",function(){return N}),n.d(e,"r",function(){return Bt}),n.d(e,"s",function(){return Mt}),n.d(e,"t",function(){return v}),n.d(e,"u",function(){return Ot});var i=n("8Y7J"),r=n("SVse"),s=n("cp0P"),o=n("Cfvw"),a=n("lJxs");const c=new i.s("NgValueAccessor"),l={provide:c,useExisting:Object(i.X)(()=>h),multi:!0};let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l))},t.\u0275dir=i.Kb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.dc("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[i.Cb([l])]}),t})();const u={provide:c,useExisting:Object(i.X)(()=>f),multi:!0},d=new i.s("CompositionEventMode");let f=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(r.E)()?Object(r.E)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l),i.Pb(d,8))},t.\u0275dir=i.Kb({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.dc("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i.Cb([u])]}),t})();function p(t){return null==t||0===t.length}function b(t){return null!=t&&"number"==typeof t.length}const m=new i.s("NgValidators"),g=new i.s("NgAsyncValidators"),y=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class v{static min(t){return e=>{if(p(e.value)||p(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(p(e.value)||p(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return p(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return p(t.value)||y.test(t.value)?null:{email:!0}}static minLength(t){return e=>p(e.value)||!b(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>b(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return v.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(p(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(_);return 0==e.length?null:function(t){return C(x(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(_);return 0==e.length?null:function(t){const n=x(t,e).map(w);return Object(s.a)(n).pipe(Object(a.a)(C))}}}function _(t){return null!=t}function w(t){const e=Object(i.vb)(t)?Object(o.a)(t):t;return Object(i.ub)(e),e}function C(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function x(t,e){return e.map(e=>e(t))}function S(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function O(t){return null!=t?v.compose(S(t)):null}function A(t){return null!=t?v.composeAsync(S(t)):null}function k(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function E(t){return t._rawValidators}function L(t){return t._rawAsyncValidators}let D=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=O(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=A(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t}),t})(),I=(()=>{class t extends D{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return P(e||t)},t.\u0275dir=i.Kb({type:t,features:[i.Ab]}),t})();const P=i.Xb(I);class T extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class R{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let M=(()=>{class t extends R{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(T,2))},t.\u0275dir=i.Kb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Hb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.Ab]}),t})(),j=(()=>{class t extends R{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(I,2))},t.\u0275dir=i.Kb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Hb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.Ab]}),t})();const F={provide:c,useExisting:Object(i.X)(()=>N),multi:!0};let N=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l))},t.\u0275dir=i.Kb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.dc("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Cb([F])]}),t})();const U={provide:c,useExisting:Object(i.X)(()=>B),multi:!0};let V=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(T),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l),i.Pb(V),i.Pb(i.t))},t.\u0275dir=i.Kb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.dc("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Cb([U])]}),t})();const z={provide:c,useExisting:Object(i.X)(()=>H),multi:!0};let H=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l))},t.\u0275dir=i.Kb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.dc("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Cb([z])]}),t})();const W={provide:c,useExisting:Object(i.X)(()=>Q),multi:!0};let Q=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l))},t.\u0275dir=i.Kb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.dc("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Cb([W])]}),t})();const K={provide:c,useExisting:Object(i.X)(()=>q),multi:!0};let q=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),r=this._getOptionValue(i.value);n.push(r)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.G),i.Pb(i.l))},t.\u0275dir=i.Kb({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&i.dc("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Cb([K])]}),t})();function Y(t,e){return[...e.path,t]}function G(t,e){X(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&$(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&$(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Z(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function X(t,e,n){const i=E(t);null!==e.validator?t.setValidators(k(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const r=L(t);if(null!==e.asyncValidator?t.setAsyncValidators(k(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]),n){const n=()=>t.updateValueAndValidity();Z(e._rawValidators,n),Z(e._rawAsyncValidators,n)}}function J(t,e,n){if(null!==t){if(null!==e.validator){const n=E(t);Array.isArray(n)&&n.length>0&&t.setValidators(n.filter(t=>t!==e.validator))}if(null!==e.asyncValidator){const n=L(t);Array.isArray(n)&&n.length>0&&t.setAsyncValidators(n.filter(t=>t!==e.asyncValidator))}}if(n){const t=()=>{};Z(e._rawValidators,t),Z(e._rawAsyncValidators,t)}}function $(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){X(t,e,!1)}function et(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const nt=[h,H,N,Q,q,B];function it(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function rt(t,e){if(!e)return null;Array.isArray(e);let n=void 0,i=void 0,r=void 0;return e.forEach(t=>{var e;t.constructor===f?n=t:(e=t,nt.some(t=>e.constructor===t)?i=t:r=t)}),r||i||n||null}function st(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const ot="VALID",at="INVALID",ct="PENDING",lt="DISABLED";function ht(t){return(pt(t)?t.validators:t)||null}function ut(t){return Array.isArray(t)?O(t):t||null}function dt(t,e){return(pt(e)?e.asyncValidators:t)||null}function ft(t){return Array.isArray(t)?A(t):t||null}function pt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class bt{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=ut(this._rawValidators),this._composedAsyncValidatorFn=ft(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===ot}get invalid(){return this.status===at}get pending(){return this.status==ct}get disabled(){return this.status===lt}get enabled(){return this.status!==lt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=ut(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ft(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ct,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=lt,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ot,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ot&&this.status!==ct||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lt:ot}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ct,this._hasOwnPendingAsyncValidator=!0;const e=w(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof gt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof yt&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?lt:this.errors?at:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ct)?ct:this._anyControlsHaveStatus(at)?at:ot}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class mt extends bt{constructor(t=null,e,n){super(ht(e),dt(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){st(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){st(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class gt extends bt{constructor(t,e,n){super(ht(e),dt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof mt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class yt extends bt{constructor(t,e,n){super(ht(e),dt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof mt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const vt={provide:I,useExisting:Object(i.X)(()=>wt)},_t=(()=>Promise.resolve(null))();let wt=(()=>{class t extends I{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new gt({},O(t),A(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){_t.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),G(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){_t.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),st(this._directives,t)})}addFormGroup(t){_t.then(()=>{const e=this._findContainer(t.path),n=new gt({});tt(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){_t.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){_t.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,it(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(m,10),i.Pb(g,10))},t.\u0275dir=i.Kb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.dc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Cb([vt]),i.Ab]}),t})();const Ct={provide:T,useExisting:Object(i.X)(()=>St)},xt=(()=>Promise.resolve(null))();let St=(()=>{class t extends T{constructor(t,e,n,r){super(),this.control=new mt,this._registered=!1,this.update=new i.o,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),et(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Y(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){G(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){xt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;xt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(I,9),i.Pb(m,10),i.Pb(g,10),i.Pb(c,10))},t.\u0275dir=i.Kb({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Cb([Ct]),i.Ab,i.Bb]}),t})(),Ot=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const At=new i.s("NgModelWithFormControlWarning"),kt={provide:T,useExisting:Object(i.X)(()=>Et)};let Et=(()=>{class t extends T{constructor(t,e,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.o,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=rt(0,n)}set isDisabled(t){}ngOnChanges(t){this._isControlChanged(t)&&(G(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),et(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(m,10),i.Pb(g,10),i.Pb(c,10),i.Pb(At,8))},t.\u0275dir=i.Kb({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Cb([kt]),i.Ab,i.Bb]}),t._ngModelWarningSentOnce=!1,t})();const Lt={provide:I,useExisting:Object(i.X)(()=>Dt)};let Dt=(()=>{class t extends I{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.o,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return G(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){st(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,it(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){const n=()=>{};e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n),J(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}(t.control||null,t),e&&G(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){X(this.form,this,!1),this._oldForm&&J(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(m,10),i.Pb(g,10))},t.\u0275dir=i.Kb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.dc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Cb([Lt]),i.Ab,i.Bb]}),t})();const It={provide:T,useExisting:Object(i.X)(()=>Pt)};let Pt=(()=>{class t extends T{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),et(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Y(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(I,13),i.Pb(m,10),i.Pb(g,10),i.Pb(c,10),i.Pb(At,8))},t.\u0275dir=i.Kb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Cb([It]),i.Ab,i.Bb]}),t._ngModelWarningSentOnce=!1,t})();const Tt={provide:m,useExisting:Object(i.X)(()=>Mt),multi:!0},Rt={provide:m,useExisting:Object(i.X)(()=>jt),multi:!0};let Mt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?v.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb("required",e.required?"":null)},inputs:{required:"required"},features:[i.Cb([Tt])]}),t})(),jt=(()=>{class t extends Mt{validate(t){return this.required?v.requiredTrue(t):null}}return t.\u0275fac=function(e){return Ft(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Eb("required",e.required?"":null)},features:[i.Cb([Rt]),i.Ab]}),t})();const Ft=i.Xb(jt);let Nt=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})(),Ut=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i=null,r=null,s=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new gt(n,{asyncValidators:r,updateOn:s,validators:i})}control(t,e,n){return new mt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new yt(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof mt||t instanceof gt||t instanceof yt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})(),Vt=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[V],imports:[Nt]}),t})(),Bt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:At,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[Ut,V],imports:[Nt]}),t})()},sVev:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},sZro:function(t,e,n){"use strict";var i=n("lm0R"),r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=u;var s=Object.create(n("Onz0"));s.inherits=n("P7XM");var o=n("rXFu"),a=n("3BRs");s.inherits(u,o);for(var c=r(a.prototype),l=0;l<c.length;l++){var h=c[l];u.prototype[h]||(u.prototype[h]=a.prototype[h])}function u(t){if(!(this instanceof u))return new u(t);o.call(this,t),a.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||i.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),u.prototype._destroy=function(t,e){this.push(null),this.end(),i.nextTick(e,t)}},saaP:function(t,e,n){"use strict";var i=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];e.encode=function(t){Buffer.isBuffer(t)||(t=new Buffer(t));for(var e,n,i=0,r=0,s=0,o=0,a=new Buffer(8*(e=t,n=Math.floor(e.length/5),e.length%5==0?n:n+1));i<t.length;){var c=t[i];s>3?(o=(o=c&255>>s)<<(s=(s+5)%8)|(i+1<t.length?t[i+1]:0)>>8-s,i++):(o=c>>8-(s+5)&31,0==(s=(s+5)%8)&&i++),a[r]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(o),r++}for(i=r;i<a.length;i++)a[i]=61;return a},e.decode=function(t){var e,n=0,r=0,s=0;Buffer.isBuffer(t)||(t=new Buffer(t));for(var o=new Buffer(Math.ceil(5*t.length/8)),a=0;a<t.length&&61!==t[a];a++){var c=t[a]-48;if(!(c<i.length))throw new Error("Invalid input - it is not base32 encoded string");r=i[c],n<=3?0==(n=(n+5)%8)?(o[s]=e|=r,s++,e=0):e|=255&r<<8-n:(o[s]=e|=255&r>>>(n=(n+5)%8),s++,e=255&r<<8-n)}return o.slice(0,s)}},t9FE:function(t,e){function n(t){try{if(!global.localStorage)return!1}catch(n){return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var i=!1;return function(){if(!i){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),i=!0}return t.apply(this,arguments)}}},tOiH:function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},tS1D:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i=n("D0XW");const r=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})();var s=n("mlxB"),o=n("zx2A");class a{constructor(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}call(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class c extends o.b{constructor(t,e,n,i,r){super(t),this.absoluteTimeout=e,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add(Object(o.c)(e,new o.a(t)))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(c.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var l=n("z6cu");function h(t,e=i.a){return function(t,e,n=i.a){return i=>{let r=Object(s.a)(t),o=r?+t-n.now():Math.abs(t);return i.lift(new a(o,r,e,n))}}(t,Object(l.a)(new r),e)}},tSWc:function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),s=n("2j6C"),o=i.rotr64_hi,a=i.rotr64_lo,c=i.shr64_hi,l=i.shr64_lo,h=i.sum64,u=i.sum64_hi,d=i.sum64_lo,f=i.sum64_4_hi,p=i.sum64_4_lo,b=i.sum64_5_hi,m=i.sum64_5_lo,g=r.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function _(t,e,n,i,r){var s=t&n^~t&r;return s<0&&(s+=4294967296),s}function w(t,e,n,i,r,s){var o=e&i^~e&s;return o<0&&(o+=4294967296),o}function C(t,e,n,i,r){var s=t&n^t&r^n&r;return s<0&&(s+=4294967296),s}function x(t,e,n,i,r,s){var o=e&i^e&s^i&s;return o<0&&(o+=4294967296),o}function S(t,e){var n=o(t,e,28)^o(e,t,2)^o(e,t,7);return n<0&&(n+=4294967296),n}function O(t,e){var n=a(t,e,28)^a(e,t,2)^a(e,t,7);return n<0&&(n+=4294967296),n}function A(t,e){var n=a(t,e,14)^a(t,e,18)^a(e,t,9);return n<0&&(n+=4294967296),n}function k(t,e){var n=o(t,e,1)^o(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function E(t,e){var n=a(t,e,1)^a(t,e,8)^l(t,e,7);return n<0&&(n+=4294967296),n}function L(t,e){var n=a(t,e,19)^a(e,t,29)^l(t,e,6);return n<0&&(n+=4294967296),n}i.inherits(v,g),t.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(t,e){for(var n=this.W,i=0;i<32;i++)n[i]=t[e+i];for(;i<n.length;i+=2){var r=(y=void 0,(y=o(m=n[i-4],g=n[i-3],19)^o(g,m,29)^c(m,g,6))<0&&(y+=4294967296),y),s=L(n[i-4],n[i-3]),a=n[i-14],l=n[i-13],h=k(n[i-30],n[i-29]),u=E(n[i-30],n[i-29]),d=n[i-32],b=n[i-31];n[i]=f(r,s,a,l,h,u,d,b),n[i+1]=p(r,s,a,l,h,u,d,b)}var m,g,y},v.prototype._update=function(t,e){this._prepareBlock(t,e);var n,i,r,a=this.W,c=this.h[0],l=this.h[1],f=this.h[2],p=this.h[3],g=this.h[4],y=this.h[5],v=this.h[6],k=this.h[7],E=this.h[8],L=this.h[9],D=this.h[10],I=this.h[11],P=this.h[12],T=this.h[13],R=this.h[14],M=this.h[15];s(this.k.length===a.length);for(var j=0;j<a.length;j+=2){var F=R,N=M,U=(r=void 0,(r=o(n=E,i=L,14)^o(n,i,18)^o(i,n,9))<0&&(r+=4294967296),r),V=A(E,L),B=_(E,0,D,0,P),z=w(0,L,0,I,0,T),H=this.k[j],W=this.k[j+1],Q=a[j],K=a[j+1],q=b(F,N,U,V,B,z,H,W,Q,K),Y=m(F,N,U,V,B,z,H,W,Q,K);F=S(c,l),N=O(c,l),U=C(c,0,f,0,g),V=x(0,l,0,p,0,y);var G=u(F,N,U,V),Z=d(F,N,U,V);R=P,M=T,P=D,T=I,D=E,I=L,E=u(v,k,q,Y),L=d(k,k,q,Y),v=g,k=y,g=f,y=p,f=c,p=l,c=u(q,Y,G,Z),l=d(q,Y,G,Z)}h(this.h,0,c,l),h(this.h,2,f,p),h(this.h,4,g,y),h(this.h,6,v,k),h(this.h,8,E,L),h(this.h,10,D,I),h(this.h,12,P,T),h(this.h,14,R,M)},v.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},tcrS:function(t,e,n){"use strict";var i=n("tjlA").Buffer,r=n("P7XM"),s=n("k+aG"),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function f(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function b(t,e,n,i,r,s,o,a){return p(t+(e^n^i)+s+o|0,a)+r|0}function m(t,e,n,i,r,s,o,a){return p(t+(e&n|~e&i)+s+o|0,a)+r|0}function g(t,e,n,i,r,s,o,a){return p(t+((e|~n)^i)+s+o|0,a)+r|0}function y(t,e,n,i,r,s,o,a){return p(t+(e&i|n&~i)+s+o|0,a)+r|0}function v(t,e,n,i,r,s,o,a){return p(t+(e^(n|~i))+s+o|0,a)+r|0}r(f,s),f.prototype._update=function(){for(var t=o,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,i=0|this._b,r=0|this._c,s=0|this._d,f=0|this._e,_=0|this._a,w=0|this._b,C=0|this._c,x=0|this._d,S=0|this._e,O=0;O<80;O+=1){var A,k;O<16?(A=b(n,i,r,s,f,t[a[O]],u[0],l[O]),k=v(_,w,C,x,S,t[c[O]],d[0],h[O])):O<32?(A=m(n,i,r,s,f,t[a[O]],u[1],l[O]),k=y(_,w,C,x,S,t[c[O]],d[1],h[O])):O<48?(A=g(n,i,r,s,f,t[a[O]],u[2],l[O]),k=g(_,w,C,x,S,t[c[O]],d[2],h[O])):O<64?(A=y(n,i,r,s,f,t[a[O]],u[3],l[O]),k=m(_,w,C,x,S,t[c[O]],d[3],h[O])):(A=v(n,i,r,s,f,t[a[O]],u[4],l[O]),k=b(_,w,C,x,S,t[c[O]],d[4],h[O])),n=f,f=s,s=p(r,10),r=i,i=A,_=S,S=x,x=p(C,10),C=w,w=k}var E=this._b+r+x|0;this._b=this._c+s+S|0,this._c=this._d+f+_|0,this._d=this._e+n+w|0,this._e=this._a+i+C|0,this._a=E},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=i.alloc?i.alloc(20):new i(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=f},tjlA:function(t,e,n){"use strict";var i=n("H7XF"),r=n("kVK+"),s=n("IzUq");function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return u(this,t)}return l(this,t,e,n)}function l(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=d(t,e),t}(t,e,n,i):"string"==typeof e?function(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|p(e,n),r=(t=a(t,i)).write(e,n);return r!==i&&(t=t.slice(0,r)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|f(e.length);return 0===(t=a(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?a(t,0):d(t,e);if("Buffer"===e.type&&s(e.data))return d(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function u(t,e){if(h(e),t=a(t,e<0?0:0|f(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e){var n=e.length<0?0:0|f(e.length);t=a(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function f(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(t).length;default:if(i)return V(t).length;e=(""+e).toLowerCase(),i=!0}}function b(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return L(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function m(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function g(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:y(t,e,n,i,r);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,i,r){var s,o=1,a=t.length,c=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var h=-1;for(s=n;s<a;s++)if(l(t,s)===l(e,-1===h?0:s-h)){if(-1===h&&(h=s),s-h+1===c)return h*o}else-1!==h&&(s-=s-h),h=-1}else for(n+c>a&&(n=a-c),s=n;s>=0;s--){for(var u=!0,d=0;d<c;d++)if(l(t,s+d)!==l(e,d)){u=!1;break}if(u)return s}return-1}function v(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i))>r&&(i=r):i=r;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;o<i;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[n+o]=a}return o}function _(t,e,n,i){return z(V(e,t.length-n),t,n,i)}function w(t,e,n,i){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function C(t,e,n,i){return w(t,e,n,i)}function x(t,e,n,i){return z(B(e),t,n,i)}function S(t,e,n,i){return z(function(t,e){for(var n,i,r=[],s=0;s<t.length&&!((e-=2)<0);++s)i=(n=t.charCodeAt(s))>>8,r.push(n%256),r.push(i);return r}(e,t.length-n),t,n,i)}function O(t,e,n){return i.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r<n;){var s,o,a,c,l=t[r],h=null,u=l>239?4:l>223?3:l>191?2:1;if(r+u<=n)switch(u){case 1:l<128&&(h=l);break;case 2:128==(192&(s=t[r+1]))&&(c=(31&l)<<6|63&s)>127&&(h=c);break;case 3:o=t[r+2],128==(192&(s=t[r+1]))&&128==(192&o)&&(c=(15&l)<<12|(63&s)<<6|63&o)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:o=t[r+2],a=t[r+3],128==(192&(s=t[r+1]))&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(h=c)}null===h?(h=65533,u=1):h>65535&&(i.push((h-=65536)>>>10&1023|55296),h=56320|1023&h),i.push(h),r+=u}return function(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);for(var n="",i=0;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=k));return n}(i)}e.Buffer=c,e.SlowBuffer=function(t){return+t!=t&&(t=0),c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=o(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return l(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,i){return h(e),e<=0?a(t,e):void 0!==n?"string"==typeof i?a(t,e).fill(n,i):a(t,e).fill(n):a(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return u(null,t)},c.allocUnsafeSlow=function(t){return u(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,s=Math.min(n,i);r<s;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=c.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[n];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):b.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,i,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var s=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0),a=Math.min(s,o),l=this.slice(i,r),h=t.slice(e,n),u=0;u<a;++u)if(l[u]!==h[u]){s=l[u],o=h[u];break}return s<o?-1:o<s?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},c.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return v(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return x(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function E(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function L(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function D(t,e,n){var i,r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var s="",o=e;o<n;++o)s+=(i=t[o])<16?"0"+i.toString(16):i.toString(16);return s}function I(t,e,n){for(var i=t.slice(e,n),r="",s=0;s<i.length;s+=2)r+=String.fromCharCode(i[s]+256*i[s+1]);return r}function P(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function T(t,e,n,i,r,s){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<s)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function R(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,s=Math.min(t.length-n,2);r<s;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function M(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,s=Math.min(t.length-n,4);r<s;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function j(t,e,n,i,r,s){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(t,e,n,i,s){return s||j(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function N(t,e,n,i,s){return s||j(t,0,n,8),r.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var r=e-t;n=new c(r,void 0);for(var s=0;s<r;++s)n[s]=this[s+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var i=this[t],r=1,s=0;++s<e&&(r*=256);)i+=this[t+s]*r;return i},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},c.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var i=this[t],r=1,s=0;++s<e&&(r*=256);)i+=this[t+s]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var i=e,r=1,s=this[t+--i];i>0&&(r*=256);)s+=this[t+--i]*r;return s>=(r*=128)&&(s-=Math.pow(2,8*e)),s},c.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||T(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,s=0;for(this[e]=255&t;++s<n&&(r*=256);)this[e+s]=t/r&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,i){t=+t,e|=0,n|=0,i||T(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,s=1;for(this[e+r]=255&t;--r>=0&&(s*=256);)this[e+r]=t/s&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):M(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);T(this,t,e,n,r-1,-r)}var s=0,o=1,a=0;for(this[e]=255&t;++s<n&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);T(this,t,e,n,r-1,-r)}var s=n-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):M(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return F(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return F(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return N(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return N(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,s=i-n;if(this===t&&n<e&&e<i)for(r=s-1;r>=0;--r)t[r+e]=this[r+n];else if(s<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r<s;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+s),e);return s},c.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var s;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(s=e;s<n;++s)this[s]=t;else{var o=c.isBuffer(t)?t:V(new c(t,i).toString()),a=o.length;for(s=0;s<n-e;++s)this[s+e]=o[s%a]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function V(t,e){var n;e=e||1/0;for(var i=t.length,r=null,s=[],o=0;o<i;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&s.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function B(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(U,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}},tnIz:function(t,e,n){var i=n("hwdV").Buffer;function r(t,e){this._block=i.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}r.prototype.update=function(t,e){"string"==typeof t&&(t=i.from(t,e=e||"utf8"));for(var n=this._block,r=this._blockSize,s=t.length,o=this._len,a=0;a<s;){for(var c=o%r,l=Math.min(s-a,r-c),h=0;h<l;h++)n[c+h]=t[a+h];a+=l,(o+=l)%r==0&&this._update(n)}return this._len+=s,this},r.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var i=(4294967295&n)>>>0;this._block.writeUInt32BE((n-i)/4294967296,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var r=this._hash();return t?r.toString(t):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r},tpL1:function(t,e,n){var i=n("Oaki").Buffer,r=n("mObS"),s=n("NNVn"),o=n("2q5Q"),a=n("b+dc"),c=n("mAz1"),l=n("tOiH");function h(t){s.Writable.call(this);var e=l[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=r(e.hash),this._tag=e.id,this._signType=e.sign}function u(t){s.Writable.call(this);var e=l[t];if(!e)throw new Error("Unknown message digest");this._hash=r(e.hash),this._tag=e.id,this._signType=e.sign}function d(t){return new h(t)}function f(t){return new u(t)}Object.keys(l).forEach(function(t){l[t].id=i.from(l[t].id,"hex"),l[t.toLowerCase()]=l[t]}),o(h,s.Writable),h.prototype._write=function(t,e,n){this._hash.update(t),n()},h.prototype.update=function(t,e){return"string"==typeof t&&(t=i.from(t,e)),this._hash.update(t),this},h.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),i=a(n,t,this._hashType,this._signType,this._tag);return e?i.toString(e):i},o(u,s.Writable),u.prototype._write=function(t,e,n){this._hash.update(t),n()},u.prototype.update=function(t,e){return"string"==typeof t&&(t=i.from(t,e)),this._hash.update(t),this},u.prototype.verify=function(t,e,n){"string"==typeof e&&(e=i.from(e,n)),this.end();var r=this._hash.digest();return c(e,r,t,this._signType,this._tag)},t.exports={Sign:d,Verify:f,createSign:d,createVerify:f}},tqRt:function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return m}),n.d(e,"c",function(){return w}),n.d(e,"d",function(){return W}),n.d(e,"e",function(){return H}),n.d(e,"f",function(){return Y}),n.d(e,"g",function(){return X}),n.d(e,"h",function(){return et}),n.d(e,"i",function(){return Ct}),n.d(e,"j",function(){return xt}),n.d(e,"k",function(){return wt}),n.d(e,"l",function(){return Q}),n.d(e,"m",function(){return B}),n.d(e,"n",function(){return p});var i=n("8Y7J"),r=n("2Vo4"),s=n("HDdC"),o=n("XNiG"),a=n("qgXg"),c=n("pxpQ"),l=n("zp1y"),h=n("Kqap"),u=n("lJxs"),d=n("/uUt");const f={};function p(t,e){if(f[t]=(f[t]||0)+1,"function"==typeof e)return b(t,(...n)=>Object.assign(Object.assign({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return b(t,()=>({type:t}));case"props":return b(t,e=>Object.assign(Object.assign({},e),{type:t}));default:throw new Error("Unexpected config.")}}function b(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}const m="@ngrx/store/init";let g=(()=>{class t extends r.a{constructor(){super({type:m})}next(t){if("function"==typeof t)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(void 0===t)throw new TypeError("Actions must be objects");if(void 0===t.type)throw new TypeError("Actions must have a type property");super.next(t)}complete(){}ngOnDestroy(){super.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const y=[g],v=new i.s("@ngrx/store Internal Root Guard"),_=new i.s("@ngrx/store Internal Initial State"),w=new i.s("@ngrx/store Initial State"),C=new i.s("@ngrx/store Reducer Factory"),x=new i.s("@ngrx/store Internal Reducer Factory Provider"),S=new i.s("@ngrx/store Initial Reducers"),O=new i.s("@ngrx/store Internal Initial Reducers"),A=new i.s("@ngrx/store Store Features"),k=new i.s("@ngrx/store Internal Store Reducers"),E=new i.s("@ngrx/store Internal Feature Reducers"),L=new i.s("@ngrx/store Internal Feature Configs"),D=new i.s("@ngrx/store Internal Store Features"),I=new i.s("@ngrx/store Internal Feature Reducers Token"),P=new i.s("@ngrx/store Feature Reducers"),T=new i.s("@ngrx/store User Provided Meta Reducers"),R=new i.s("@ngrx/store Meta Reducers"),M=new i.s("@ngrx/store Internal Resolved Meta Reducers"),j=new i.s("@ngrx/store User Runtime Checks Config"),F=new i.s("@ngrx/store Internal User Runtime Checks Config"),N=new i.s("@ngrx/store Internal Runtime Checks"),U=new i.s("@ngrx/store Check if Action types are unique");function V(t,e={}){const n=Object.keys(t),i={};for(let s=0;s<n.length;s++){const e=n[s];"function"==typeof t[e]&&(i[e]=t[e])}const r=Object.keys(i);return function(t,n){t=void 0===t?e:t;let s=!1;const o={};for(let e=0;e<r.length;e++){const a=r[e],c=t[a],l=(0,i[a])(c,n);o[a]=l,s=s||l!==c}return s?o:t}}function B(...t){return function(e){if(0===t.length)return e;const n=t[t.length-1];return t.slice(0,-1).reduceRight((t,e)=>e(t),n(e))}}function z(t,e){return Array.isArray(e)&&e.length>0&&(t=B.apply(null,[...e,t])),(e,n)=>{const i=t(e);return(t,e)=>i(t=void 0===t?n:t,e)}}class H extends s.a{}class W extends g{}const Q="@ngrx/store/update-reducers";let K=(()=>{class t extends r.a{constructor(t,e,n,i){super(i(n,e)),this.dispatcher=t,this.initialState=e,this.reducers=n,this.reducerFactory=i}addFeature(t){this.addFeatures([t])}addFeatures(t){const e=t.reduce((t,{reducers:e,reducerFactory:n,metaReducers:i,initialState:r,key:s})=>{const o="function"==typeof e?function(t){const e=Array.isArray(t)&&t.length>0?B(...t):t=>t;return(t,n)=>(t=e(t),(e,i)=>t(e=void 0===e?n:e,i))}(i)(e,r):z(n,i)(e,r);return t[s]=o,t},{});this.addReducers(e)}removeFeature(t){this.removeFeatures([t])}removeFeatures(t){this.removeReducers(t.map(t=>t.key))}addReducer(t,e){this.addReducers({[t]:e})}addReducers(t){this.reducers=Object.assign(Object.assign({},this.reducers),t),this.updateReducers(Object.keys(t))}removeReducer(t){this.removeReducers([t])}removeReducers(t){t.forEach(t=>{var e,n;this.reducers=(e=this.reducers,n=t,Object.keys(e).filter(t=>t!==n).reduce((t,n)=>Object.assign(t,{[n]:e[n]}),{}))}),this.updateReducers(t)}updateReducers(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Q,features:t})}ngOnDestroy(){this.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(W),i.Zb(w),i.Zb(S),i.Zb(C))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const q=[K,{provide:H,useExisting:K},{provide:W,useExisting:g}];let Y=(()=>{class t extends o.a{ngOnDestroy(){this.complete()}}return t.\u0275fac=function(e){return G(e||t)},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const G=i.Xb(Y),Z=[Y];class X extends s.a{}let J=(()=>{class t extends r.a{constructor(t,e,n,i){super(i);const r={state:i},s=t.pipe(Object(c.b)(a.b)).pipe(Object(l.a)(e)).pipe(Object(h.a)($,r));this.stateSubscription=s.subscribe(({state:t,action:e})=>{this.next(t),n.next(e)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(g),i.Zb(H),i.Zb(Y),i.Zb(w))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t.INIT=m,t})();function $(t={state:void 0},[e,n]){const{state:i}=t;return{state:n(i,e),action:e}}const tt=[J,{provide:X,useExisting:J}];let et=(()=>{class t extends s.a{constructor(t,e,n){super(),this.actionsObserver=e,this.reducerManager=n,this.source=t}select(t,...e){return it.call(null,t,...e)(this)}lift(e){const n=new t(this,this.actionsObserver,this.reducerManager);return n.operator=e,n}dispatch(t){this.actionsObserver.next(t)}next(t){this.actionsObserver.next(t)}error(t){this.actionsObserver.error(t)}complete(){this.actionsObserver.complete()}addReducer(t,e){this.reducerManager.addReducer(t,e)}removeReducer(t){this.reducerManager.removeReducer(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(X),i.Zb(g),i.Zb(K))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();const nt=[et];function it(t,e,...n){return function(i){let r;if("string"==typeof t){const s=[e,...n].filter(Boolean);r=i.pipe(function(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>Object(u.a)(function(t,e){return n=>{let i=n;for(let r=0;r<e;r++){const e=null!=i?i[t[r]]:void 0;if(void 0===e)return;i=e}return i}}(t,e))(n)}(t,...s))}else{if("function"!=typeof t)throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);r=i.pipe(Object(u.a)(n=>t(n,e)))}return r.pipe(Object(d.a)())}}const rt="https://ngrx.io/guide/store/configuration/runtime-checks";function st(t){return void 0===t}function ot(t){return null===t}function at(t){return Array.isArray(t)}function ct(t){return"object"==typeof t&&null!==t}function lt(t){return"function"==typeof t}function ht(t){Object.freeze(t);const e=lt(t);return Object.getOwnPropertyNames(t).forEach(n=>{if(!n.startsWith("\u0275")&&function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}(t,n)&&(!e||"caller"!==n&&"callee"!==n&&"arguments"!==n)){const e=t[n];!ct(e)&&!lt(e)||Object.isFrozen(e)||ht(e)}}),t}function ut(t,e=[]){return(st(t)||ot(t))&&0===e.length?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;const r=t[i];return function(t){return lt(t)&&t.hasOwnProperty("\u0275cmp")}(r)?n:!(st(r)||ot(r)||function(t){return"number"==typeof t}(r)||function(t){return"boolean"==typeof t}(r)||function(t){return"string"==typeof t}(r)||at(r))&&(function(t){if(!function(t){return ct(t)&&!at(t)}(t))return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}(r)?ut(r,[...e,i]):{path:[...e,i],value:r})},!1)}function dt(t,e){if(!1===t)return;const n=t.path.join("."),i=new Error(`Detected unserializable ${e} at "${n}". ${rt}#strict${e}serializability`);throw i.value=t.value,i.unserializablePath=n,i}function ft(t){return Object(i.Z)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function pt({strictActionSerializability:t,strictStateSerializability:e}){return n=>t||e?function(t,e){return function(n,i){e.action(i)&&dt(ut(i),"action");const r=t(n,i);return e.state()&&dt(ut(r),"state"),r}}(n,{action:e=>t&&!mt(e),state:()=>e}):n}function bt({strictActionImmutability:t,strictStateImmutability:e}){return n=>t||e?function(t,e){return function(n,i){const r=e.action(i)?ht(i):i,s=t(n,r);return e.state()?ht(s):s}}(n,{action:e=>t&&!mt(e),state:()=>e}):n}function mt(t){return t.type.startsWith("@ngrx")}function gt({strictActionWithinNgZone:t}){return e=>t?function(t,e){return function(n,r){if(e.action(r)&&!i.B.isInAngularZone())throw new Error(`Action '${r.type}' running outside NgZone. ${rt}#strictactionwithinngzone`);return t(n,r)}}(e,{action:e=>t&&!mt(e)}):e}function yt(){return[{provide:U,multi:!0,deps:[N],useFactory:_t}]}function vt(t){return t}function _t(t){if(!t.strictActionTypeUniqueness)return;const e=Object.entries(f).filter(([,t])=>t>1).map(([t])=>t);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(t=>`"${t}"`).join(", ")}. ${rt}#strictactiontypeuniqueness`)}let wt=(()=>{class t{constructor(t,e,n,i,r,s){}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)(i.Zb(g),i.Zb(H),i.Zb(Y),i.Zb(et),i.Zb(v,8),i.Zb(U,8))}}),t})(),Ct=(()=>{class t{constructor(t,e,n,i,r){this.features=t,this.featureReducers=e,this.reducerManager=n;const s=t.map((t,n)=>{const i=e.shift()[n];return Object.assign(Object.assign({},t),{reducers:i,initialState:kt(t.initialState)})});n.addFeatures(s)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)(i.Zb(D),i.Zb(P),i.Zb(K),i.Zb(wt),i.Zb(U,8))}}),t})(),xt=(()=>{class t{static forRoot(t,e={}){return{ngModule:wt,providers:[{provide:v,useFactory:Lt,deps:[[et,new i.C,new i.M]]},{provide:_,useValue:e.initialState},{provide:w,useFactory:kt,deps:[_]},{provide:O,useValue:t},{provide:k,useExisting:t instanceof i.s?t:O},{provide:S,deps:[i.t,O,[new i.q(k)]],useFactory:St},{provide:T,useValue:e.metaReducers?e.metaReducers:[]},{provide:M,deps:[R,T],useFactory:Et},{provide:x,useValue:e.reducerFactory?e.reducerFactory:V},{provide:C,deps:[x,M],useFactory:z},y,q,Z,tt,nt,(n=e.runtimeChecks,[{provide:F,useValue:n},{provide:j,useFactory:vt,deps:[F]},{provide:N,deps:[j],useFactory:ft},{provide:R,multi:!0,deps:[N],useFactory:bt},{provide:R,multi:!0,deps:[N],useFactory:pt},{provide:R,multi:!0,deps:[N],useFactory:gt}]),yt()]};var n}static forFeature(t,e,n={}){return{ngModule:Ct,providers:[{provide:L,multi:!0,useValue:n},{provide:A,multi:!0,useValue:{key:t,reducerFactory:n instanceof i.s||!n.reducerFactory?V:n.reducerFactory,metaReducers:n instanceof i.s||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof i.s||!n.initialState?void 0:n.initialState}},{provide:D,deps:[i.t,L,A],useFactory:Ot},{provide:E,multi:!0,useValue:e},{provide:I,multi:!0,useExisting:e instanceof i.s?e:E},{provide:P,multi:!0,deps:[i.t,E,[new i.q(I)]],useFactory:At},yt()]}}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)}}),t})();function St(t,e){return e instanceof i.s?t.get(e):e}function Ot(t,e,n){return n.map((n,r)=>{if(e[r]instanceof i.s){const i=t.get(e[r]);return{key:n.key,reducerFactory:i.reducerFactory?i.reducerFactory:V,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return n})}function At(t,e){return e.map(e=>e instanceof i.s?t.get(e):e)}function kt(t){return"function"==typeof t?t():t}function Et(t,e){return t.concat(e)}function Lt(t){if(t)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}},"tz+M":function(t,e,n){"use strict";var i=n("N+aw"),r=n("86MQ"),s=r.assert;function o(t,e){if(t instanceof o)return t;this._importDER(t,e)||(s(t.r&&t.s,"Signature without r or s"),this.r=new i(t.r,16),this.s=new i(t.s,16),this.recoveryParam=void 0===t.recoveryParam?null:t.recoveryParam)}function a(){this.place=0}function c(t,e){var n=t[e.place++];if(!(128&n))return n;var i=15&n;if(0===i||i>4)return!1;for(var r=0,s=0,o=e.place;s<i;s++,o++)r<<=8,r|=t[o],r>>>=0;return!(r<=127)&&(e.place=o,r)}function l(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e<n;)e++;return 0===e?t:t.slice(e)}function h(t,e){if(e<128)t.push(e);else{var n=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=o,o.prototype._importDER=function(t,e){t=r.toArray(t,e);var n=new a;if(48!==t[n.place++])return!1;var s=c(t,n);if(!1===s)return!1;if(s+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var o=c(t,n);if(!1===o)return!1;var l=t.slice(n.place,o+n.place);if(n.place+=o,2!==t[n.place++])return!1;var h=c(t,n);if(!1===h)return!1;if(t.length!==h+n.place)return!1;var u=t.slice(n.place,h+n.place);if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}return this.r=new i(l),this.s=new i(u),this.recoveryParam=null,!0},o.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=l(e),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var i=[2];h(i,e.length),(i=i.concat(e)).push(2),h(i,n.length);var s=i.concat(n),o=[48];return h(o,s.length),o=o.concat(s),r.encode(o,t)}},"u/Db":function(t,e,n){var i=n("J6Nv"),r=n("BCVQ");e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!i.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return r.testNumeric(t)?e.NUMERIC:r.testAlphanumeric(t)?e.ALPHANUMERIC:r.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(i){return n}}},u0Sq:function(t,e,n){"use strict";var i=n("w8CP"),r=n("7ckf"),s=i.rotl32,o=i.sum32,a=i.sum32_3,c=i.sum32_4,l=r.BlockHash;function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(t,e,n,i){return t<=15?e^n^i:t<=31?e&n|~e&i:t<=47?(e|~n)^i:t<=63?e&i|n&~i:e^(n|~i)}function d(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function f(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}i.inherits(h,l),e.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(t,e){for(var n=this.h[0],i=this.h[1],r=this.h[2],l=this.h[3],h=this.h[4],y=n,v=i,_=r,w=l,C=h,x=0;x<80;x++){var S=o(s(c(n,u(x,i,r,l),t[p[x]+e],d(x)),m[x]),h);n=h,h=l,l=s(r,10),r=i,i=S,S=o(s(c(y,u(79-x,v,_,w),t[b[x]+e],f(x)),g[x]),C),y=C,C=w,w=s(_,10),_=v,v=S}S=a(this.h[1],r,w),this.h[1]=a(this.h[2],l,C),this.h[2]=a(this.h[3],h,y),this.h[3]=a(this.h[4],n,v),this.h[4]=a(this.h[0],i,_),this.h[0]=S},h.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],b=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},uDfV:function(t,e,n){var i=n("P7XM"),r=n("T9HO"),s=n("tnIz"),o=n("hwdV").Buffer,a=new Array(160);function c(){this.init(),this._w=a,s.call(this,128,112)}i(c,r),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var t=o.allocUnsafe(48);function e(e,n,i){t.writeInt32BE(e,i),t.writeInt32BE(n,i+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=c},uagp:function(t,e,n){"use strict";var i=n("N+aw"),r=n("aqI/"),s=n("86MQ"),o=n("DLvh"),a=n("/ayr"),c=s.assert,l=n("uzSA"),h=n("tz+M");function u(t){if(!(this instanceof u))return new u(t);"string"==typeof t&&(c(o.hasOwnProperty(t),"Unknown curve "+t),t=o[t]),t instanceof o.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=u,u.prototype.keyPair=function(t){return new l(this,t)},u.prototype.keyFromPrivate=function(t,e){return l.fromPrivate(this,t,e)},u.prototype.keyFromPublic=function(t,e){return l.fromPublic(this,t,e)},u.prototype.genKeyPair=function(t){t||(t={});for(var e=new r({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||a(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),s=this.n.sub(new i(2));;){var o=new i(e.generate(n));if(!(o.cmp(s)>0))return o.iaddn(1),this.keyFromPrivate(o)}},u.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},u.prototype.sign=function(t,e,n,s){"object"==typeof n&&(s=n,n=null),s||(s={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new i(t,16));for(var o=this.n.byteLength(),a=e.getPrivate().toArray("be",o),c=t.toArray("be",o),l=new r({hash:this.hash,entropy:a,nonce:c,pers:s.pers,persEnc:s.persEnc||"utf8"}),u=this.n.sub(new i(1)),d=0;;d++){var f=s.k?s.k(d):new i(l.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(u)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var b=p.getX(),m=b.umod(this.n);if(0!==m.cmpn(0)){var g=f.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(p.getY().isOdd()?1:0)|(0!==b.cmp(m)?2:0);return s.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new h({r:m,s:g,recoveryParam:y})}}}}}},u.prototype.verify=function(t,e,n,r){t=this._truncateToN(new i(t,16)),n=this.keyFromPublic(n,r);var s=(e=new h(e,"hex")).r,o=e.s;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,c=o.invm(this.n),l=c.mul(t).umod(this.n),u=c.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,n.getPublic(),u)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(l,n.getPublic(),u)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},u.prototype.recoverPubKey=function(t,e,n,r){c((3&n)===n,"The recovery param is more than two bits"),e=new h(e,r);var s=this.n,o=new i(t),a=e.r,l=e.s,u=1&n,d=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=this.curve.pointFromX(d?a.add(this.curve.n):a,u);var f=e.r.invm(s),p=s.sub(o).mul(f).umod(s),b=l.mul(f).umod(s);return this.g.mulAdd(p,a,b)},u.prototype.getKeyRecoveryParam=function(t,e,n,i){if(null!==(e=new h(e,i)).recoveryParam)return e.recoveryParam;for(var r=0;r<4;r++){var s;try{s=this.recoverPubKey(t,e,r)}catch(t){continue}if(s.eq(n))return r}throw new Error("Unable to find valid recovery factor")}},ura0:function(t,e,n){"use strict";n.d(e,"c",function(){return _}),n.d(e,"a",function(){return l}),n.d(e,"b",function(){return g});var i=n("8Y7J"),r=n("SVse"),s=n("/q54"),o=(n("8LU1"),n("1G5W"),n("cUpR"));new Map;let a=(()=>{class t extends s.b{constructor(t,e,n,i,s,o,a){super(t,null,e,n),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new r.m(i,s,t,o)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(s.i),i.Pb(s.f),i.Pb(i.u),i.Pb(i.v),i.Pb(i.G),i.Pb(r.m,10))},t.\u0275dir=i.Kb({type:t,inputs:{klass:["class","klass"]},features:[i.Ab]}),t})();const c=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let l=(()=>{class t extends a{constructor(){super(...arguments),this.inputs=c}}return t.\u0275fac=function(e){return h(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[i.Ab]}),t})();const h=i.Xb(l);new WeakMap;class u{constructor(t,e,n=!0){this.key=t,this.value=e,this.key=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=n?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function d(t){let e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function f(t){const[e,...n]=t.split(":");return new u(e,n.join(":"))}function p(t,e){return e.key&&(t[e.key]=e.value),t}let b=(()=>{class t extends s.b{constructor(t,e,n,i,s,o,a,c,l){super(t,null,e,n),this.sanitizer=i,this.ngStyleInstance=a,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new r.p(t,s,o)),this.init();const h=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(h),this.isServer=c&&Object(r.B)(l)}updateWithValue(t){const e=this.buildStyleMap(t);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),e),this.isServer&&this.applyStyleToElement(e),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(t){const e=t=>this.sanitizer.sanitize(i.K.STYLE,t)||"";if(t)switch(d(t)){case"string":return v(function(t,e=";"){return String(t).trim().split(e).map(t=>t.trim()).filter(t=>""!==t)}(t),e);case"array":return v(t,e);case"set":default:return function(t,e){let n=[];return"set"===d(t)?t.forEach(t=>n.push(t)):Object.keys(t).forEach(e=>{n.push(`${e}:${t[e]}`)}),function(t,e){return t.map(f).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(p,{})}(n,e)}(t,e)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.l),i.Pb(s.i),i.Pb(s.f),i.Pb(o.b),i.Pb(i.v),i.Pb(i.G),i.Pb(r.p,10),i.Pb(s.g),i.Pb(i.D))},t.\u0275dir=i.Kb({type:t,features:[i.Ab]}),t})();const m=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let g=(()=>{class t extends b{constructor(){super(...arguments),this.inputs=m}}return t.\u0275fac=function(e){return y(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[i.Ab]}),t})();const y=i.Xb(g);function v(t,e){return t.map(f).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(p,{})}let _=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[s.c]]}),t})()},usKN:function(t,e,n){var i={ECB:n("AUX7"),CBC:n("wRn4"),CFB:n("NQVK"),CFB8:n("YskG"),CFB1:n("Ujlg"),OFB:n("UWVS"),CTR:n("at63"),GCM:n("at63")},r=n("6F8h");for(var s in r)r[s].module=i[r[s].mode];t.exports=r},uzSA:function(t,e,n){"use strict";var i=n("N+aw"),r=n("86MQ").assert;function s(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=s,s.fromPublic=function(t,e,n){return e instanceof s?e:new s(t,{pub:e,pubEnc:n})},s.fromPrivate=function(t,e,n){return e instanceof s?e:new s(t,{priv:e,privEnc:n})},s.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},s.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(t,e){this.priv=new i(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?r(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},s.prototype.derive=function(t){return t.mul(this.priv).getX()},s.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},s.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},vZ2G:function(t,e){t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q");function r(){}var s=n("n6bG");function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r,this._tapError=e.error||r,this._tapComplete=e.complete||r)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vrAh:function(t,e,n){"use strict";n.d(e,"a",function(){return F}),n.d(e,"b",function(){return Q}),n.d(e,"c",function(){return H});var i=n("YEUz"),r=n("8LU1"),s=n("8Y7J"),o=n("UhP/"),a=n("quSY"),c=n("XNiG"),l=n("NXyV"),h=n("VRyK"),u=n("LRne"),d=n("xgIS"),f=n("SVse"),p=n("1O3W"),b=n("7KAL"),m=n("Ht+U"),g=n("SCoL"),y=n("1z/I"),v=n("s7LF"),_=n("Q2Ze"),w=n("IzEk"),C=n("eIep"),x=n("pLZG"),S=n("lJxs"),O=n("vkgz"),A=n("3E0/"),k=n("9gLZ");const E=["panel"];function L(t,e){if(1&t&&(s.Vb(0,"div",0,1),s.mc(2),s.Ub()),2&t){const t=e.id,n=s.hc();s.oc("id",n.id)("ngClass",n._classList),s.Eb("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}const D=["*"];let I=0;class P{constructor(t,e){this.source=t,this.option=e}}class T{}const R=Object(o.y)(T),M=new s.s("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let j=(()=>{class t extends R{constructor(t,e,n){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=a.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new s.o,this.opened=new s.o,this.closed=new s.o,this.optionActivated=new s.o,this._classList={},this.id="mat-autocomplete-"+I++,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(r.c)(t)}set classList(t){this._classList=t&&t.length?Object(r.g)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new i.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new P(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.h),s.Pb(s.l),s.Pb(M))},t.\u0275dir=s.Kb({type:t,viewQuery:function(t,e){if(1&t&&(s.Ec(s.O,!0),s.Pc(E,!0)),2&t){let t;s.vc(t=s.ec())&&(e.template=t.first),s.vc(t=s.ec())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[s.Ab]}),t})(),F=(()=>{class t extends j{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(e){return N(e||t)},t.\u0275cmp=s.Jb({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,n){if(1&t&&(s.Ib(n,o.f,!0),s.Ib(n,o.m,!0)),2&t){let t;s.vc(t=s.ec())&&(e.optionGroups=t),s.vc(t=s.ec())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[s.Cb([{provide:o.g,useExisting:t}]),s.Ab],ngContentSelectors:D,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(s.nc(),s.Ic(0,L,3,4,"ng-template"))},directives:[f.m],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})();const N=s.Xb(F),U=new s.s("mat-autocomplete-scroll-strategy"),V={provide:U,deps:[p.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},B={provide:v.k,useExisting:Object(s.X)(()=>H),multi:!0};let z=(()=>{class t{constructor(t,e,n,i,r,s,o,u,d,f,p){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=r,this._dir=o,this._formField=u,this._document=d,this._viewportRuler=f,this._defaults=p,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=a.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new c.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(l.a)(()=>this.autocomplete&&this.autocomplete.options?Object(h.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe(Object(w.a)(1),Object(C.a)(()=>this.optionSelections))),this._scrollStrategy=s}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(r.c)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(h.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(x.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(x.a)(()=>this._overlayAttached)):Object(u.a)()).pipe(Object(S.a)(t=>t instanceof o.o?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(h.a)(Object(d.a)(this._document,"click"),Object(d.a)(this._document,"touchend")).pipe(Object(x.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&(!i||!i.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==m.f||Object(m.r)(t)||t.preventDefault(),this.activeOption&&e===m.e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=e===m.o||e===m.c;this.panelOpen||e===m.n?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe(Object(w.a)(1)),e=this.autocomplete.options.changes.pipe(Object(O.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(A.a)(0));return Object(h.a)(t,e).pipe(Object(C.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(w.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(g.c)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new y.i(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t._labelId}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===m.f&&!Object(m.r)(t)||t.keyCode===m.o&&Object(m.r)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new p.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];let r;r="above"===this.position?i:"below"===this.position?e:[...e,...i],t.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,n=Object(o.v)(t,e.options,e.optionGroups);if(0===t&&1===n)e._setScrollTop(0);else{const n=e.options.toArray()[t];if(n){const t=n._getHostElement(),i=Object(o.w)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(i)}}}}return t.\u0275fac=function(e){return new(e||t)(s.Pb(s.l),s.Pb(p.c),s.Pb(s.S),s.Pb(s.B),s.Pb(s.h),s.Pb(U),s.Pb(k.b,8),s.Pb(_.a,9),s.Pb(f.d,8),s.Pb(b.e),s.Pb(M,8))},t.\u0275dir=s.Kb({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[s.Bb]}),t})(),H=(()=>{class t extends z{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(e){return W(e||t)},t.\u0275dir=s.Kb({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&s.dc("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&s.Eb("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[s.Cb([B]),s.Ab]}),t})();const W=s.Xb(H);let Q=(()=>{class t{}return t.\u0275mod=s.Nb({type:t}),t.\u0275inj=s.Mb({factory:function(e){return new(e||t)},providers:[V],imports:[[p.f,o.n,o.i,f.c],b.b,o.n,o.i]}),t})()},vvrf:function(t,e,n){var i=n("u/Db"),r=n("3X7Y"),s=n("nZSm"),o=n("AZa5"),a=n("Lzq4"),c=n("BCVQ"),l=n("e/Dd"),h=n("ELBg");function u(t){return unescape(encodeURIComponent(t)).length}function d(t,e,n){for(var i,r=[];null!==(i=t.exec(n));)r.push({data:i[0],index:i.index,mode:e,length:i[0].length});return r}function f(t){var e,n,r=d(c.NUMERIC,i.NUMERIC,t),s=d(c.ALPHANUMERIC,i.ALPHANUMERIC,t);return l.isKanjiModeEnabled()?(e=d(c.BYTE,i.BYTE,t),n=d(c.KANJI,i.KANJI,t)):(e=d(c.BYTE_KANJI,i.BYTE,t),n=[]),r.concat(s,e,n).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function p(t,e){switch(e){case i.NUMERIC:return r.getBitsLength(t);case i.ALPHANUMERIC:return s.getBitsLength(t);case i.KANJI:return a.getBitsLength(t);case i.BYTE:return o.getBitsLength(t)}}function b(t,e){var n,c=i.getBestModeForData(t);if((n=i.from(e,c))!==i.BYTE&&n.bit<c.bit)throw new Error('"'+t+'" cannot be encoded with mode '+i.toString(n)+".\n Suggested mode is: "+i.toString(c));switch(n!==i.KANJI||l.isKanjiModeEnabled()||(n=i.BYTE),n){case i.NUMERIC:return new r(t);case i.ALPHANUMERIC:return new s(t);case i.KANJI:return new a(t);case i.BYTE:return new o(t)}}e.fromArray=function(t){return t.reduce(function(t,e){return"string"==typeof e?t.push(b(e,null)):e.data&&t.push(b(e.data,e.mode)),t},[])},e.fromString=function(t,n){for(var r=function(t,e){for(var n={},r={start:{}},s=["start"],o=0;o<t.length;o++){for(var a=t[o],c=[],l=0;l<a.length;l++){var h=a[l],u=""+o+l;c.push(u),n[u]={node:h,lastCount:0},r[u]={};for(var d=0;d<s.length;d++){var f=s[d];n[f]&&n[f].node.mode===h.mode?(r[f][u]=p(n[f].lastCount+h.length,h.mode)-p(n[f].lastCount,h.mode),n[f].lastCount+=h.length):(n[f]&&(n[f].lastCount=h.length),r[f][u]=p(h.length,h.mode)+4+i.getCharCountIndicator(h.mode,e))}}s=c}for(d=0;d<s.length;d++)r[s[d]].end=0;return{map:r,table:n}}(function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];switch(r.mode){case i.NUMERIC:e.push([r,{data:r.data,mode:i.ALPHANUMERIC,length:r.length},{data:r.data,mode:i.BYTE,length:r.length}]);break;case i.ALPHANUMERIC:e.push([r,{data:r.data,mode:i.BYTE,length:r.length}]);break;case i.KANJI:e.push([r,{data:r.data,mode:i.BYTE,length:u(r.data)}]);break;case i.BYTE:e.push([{data:r.data,mode:i.BYTE,length:u(r.data)}])}}return e}(f(t,l.isKanjiModeEnabled())),n),s=h.find_path(r.map,"start","end"),o=[],a=1;a<s.length-1;a++)o.push(r.table[s[a]].node);return e.fromArray(o.reduce(function(t,e){var n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[]))},e.rawSplit=function(t){return e.fromArray(f(t,l.isKanjiModeEnabled()))}},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("XNiG"),r=n("HDdC"),s=n("7o/Q"),o=n("quSY");function a(){return function(t){return t.lift(new c(t))}}class c{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new l(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class l extends s.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class h extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.a,t.add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}refCount(){return a()(this)}}const u=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class d extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function f(){return new i.a}function p(){return t=>{return a()((e=f,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,u);return i.source=t,i.subjectFactory=n,i})(t));var e}}},w8CP:function(t,e,n){"use strict";var i=n("2j6C"),r=n("P7XM");function s(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function o(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function a(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=r,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),r=0;r<t.length;r+=2)n.push(parseInt(t[r]+t[r+1],16))}else for(var i=0,r=0;r<t.length;r++){var o=t.charCodeAt(r);o<128?n[i++]=o:o<2048?(n[i++]=o>>6|192,n[i++]=63&o|128):s(t,r)?(o=65536+((1023&o)<<10)+(1023&t.charCodeAt(++r)),n[i++]=o>>18|240,n[i++]=o>>12&63|128,n[i++]=o>>6&63|128,n[i++]=63&o|128):(n[i++]=o>>12|224,n[i++]=o>>6&63|128,n[i++]=63&o|128)}else for(r=0;r<t.length;r++)n[r]=0|t[r];return n},e.toHex=function(t){for(var e="",n=0;n<t.length;n++)e+=a(t[n].toString(16));return e},e.htonl=o,e.toHex32=function(t,e){for(var n="",i=0;i<t.length;i++){var r=t[i];"little"===e&&(r=o(r)),n+=c(r.toString(16))}return n},e.zero2=a,e.zero8=c,e.join32=function(t,e,n,r){var s=n-e;i(s%4==0);for(var o=new Array(s/4),a=0,c=e;a<o.length;a++,c+=4)o[a]=("big"===r?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c])>>>0;return o},e.split32=function(t,e){for(var n=new Array(4*t.length),i=0,r=0;i<t.length;i++,r+=4){var s=t[i];"big"===e?(n[r]=s>>>24,n[r+1]=s>>>16&255,n[r+2]=s>>>8&255,n[r+3]=255&s):(n[r+3]=s>>>24,n[r+2]=s>>>16&255,n[r+1]=s>>>8&255,n[r]=255&s)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,i){return t+e+n+i>>>0},e.sum32_5=function(t,e,n,i,r){return t+e+n+i+r>>>0},e.sum64=function(t,e,n,i){var r=i+t[e+1]>>>0;t[e]=(r<i?1:0)+n+t[e]>>>0,t[e+1]=r},e.sum64_hi=function(t,e,n,i){return(e+i>>>0<e?1:0)+t+n>>>0},e.sum64_lo=function(t,e,n,i){return e+i>>>0},e.sum64_4_hi=function(t,e,n,i,r,s,o,a){var c=0,l=e;return c+=(l=l+i>>>0)<e?1:0,c+=(l=l+s>>>0)<s?1:0,t+n+r+o+(c+=(l=l+a>>>0)<a?1:0)>>>0},e.sum64_4_lo=function(t,e,n,i,r,s,o,a){return e+i+s+a>>>0},e.sum64_5_hi=function(t,e,n,i,r,s,o,a,c,l){var h=0,u=e;return h+=(u=u+i>>>0)<e?1:0,h+=(u=u+s>>>0)<s?1:0,h+=(u=u+a>>>0)<a?1:0,t+n+r+o+c+(h+=(u=u+l>>>0)<l?1:0)>>>0},e.sum64_5_lo=function(t,e,n,i,r,s,o,a,c,l){return e+i+s+a+l>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},wHSu:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return u}),n.d(e,"j",function(){return d}),n.d(e,"k",function(){return f}),n.d(e,"l",function(){return p}),n.d(e,"m",function(){return b}),n.d(e,"n",function(){return m}),n.d(e,"o",function(){return g}),n.d(e,"p",function(){return y}),n.d(e,"q",function(){return v}),n.d(e,"r",function(){return _}),n.d(e,"s",function(){return w}),n.d(e,"t",function(){return C}),n.d(e,"u",function(){return x}),n.d(e,"v",function(){return S}),n.d(e,"w",function(){return O}),n.d(e,"x",function(){return A}),n.d(e,"y",function(){return k}),n.d(e,"z",function(){return E}),n.d(e,"A",function(){return L}),n.d(e,"B",function(){return D}),n.d(e,"C",function(){return I}),n.d(e,"D",function(){return P}),n.d(e,"E",function(){return T}),n.d(e,"F",function(){return R}),n.d(e,"G",function(){return M}),n.d(e,"H",function(){return j}),n.d(e,"I",function(){return F}),n.d(e,"J",function(){return N}),n.d(e,"K",function(){return U}),n.d(e,"L",function(){return V}),n.d(e,"M",function(){return B}),n.d(e,"N",function(){return z}),n.d(e,"O",function(){return H}),n.d(e,"P",function(){return W}),n.d(e,"Q",function(){return Q}),n.d(e,"R",function(){return K}),n.d(e,"S",function(){return q}),n.d(e,"T",function(){return Y}),n.d(e,"U",function(){return G}),n.d(e,"V",function(){return Z});var i={prefix:"fas",iconName:"angle-double-down",icon:[320,512,[],"f103","M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"]},r={prefix:"fas",iconName:"angle-double-up",icon:[320,512,[],"f102","M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z"]},s={prefix:"fas",iconName:"archive",icon:[512,512,[],"f187","M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"]},o={prefix:"fas",iconName:"balance-scale",icon:[640,512,[],"f24e","M256 336h-.02c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0C-2.06 328.75.02 320.33.02 336H0c0 44.18 57.31 80 128 80s128-35.82 128-80zM128 176l72 144H56l72-144zm511.98 160c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0-87.12 174.26-85.04 165.84-85.04 181.51H384c0 44.18 57.31 80 128 80s128-35.82 128-80h-.02zM440 320l72-144 72 144H440zm88 128H352V153.25c23.51-10.29 41.16-31.48 46.39-57.25H528c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16H383.64C369.04 12.68 346.09 0 320 0s-49.04 12.68-63.64 32H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h129.61c5.23 25.76 22.87 46.96 46.39 57.25V448H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"]},a={prefix:"fas",iconName:"bolt",icon:[320,512,[],"f0e7","M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"]},c={prefix:"fas",iconName:"chart-bar",icon:[512,512,[],"f080","M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"]},l={prefix:"fas",iconName:"chart-pie",icon:[544,512,[],"f200","M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"]},h={prefix:"fas",iconName:"code-branch",icon:[384,512,[],"f126","M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.4 14-17.4 21.1-39.8 21.6-67.9 31.6-10.8 54.4-40.7 54.4-75.9zM80 64c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm0 384c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm224-320c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16z"]},u={prefix:"fas",iconName:"cog",icon:[512,512,[],"f013","M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"]},d={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"]},f={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"]},p={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M104 96H56c-13.3 0-24 10.7-24 24v104H8c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h24v104c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm528 128h-24V120c0-13.3-10.7-24-24-24h-48c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V288h24c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM456 32h-48c-13.3 0-24 10.7-24 24v168H256V56c0-13.3-10.7-24-24-24h-48c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V288h128v168c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24z"]},b={prefix:"fas",iconName:"eject",icon:[448,512,[],"f052","M448 384v64c0 17.673-14.327 32-32 32H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h384c17.673 0 32 14.327 32 32zM48.053 320h351.886c41.651 0 63.581-49.674 35.383-80.435L259.383 47.558c-19.014-20.743-51.751-20.744-70.767 0L12.67 239.565C-15.475 270.268 6.324 320 48.053 320z"]},m={prefix:"fas",iconName:"exchange-alt",icon:[512,512,[],"f362","M0 168v-16c0-13.255 10.745-24 24-24h360V80c0-21.367 25.899-32.042 40.971-16.971l80 80c9.372 9.373 9.372 24.569 0 33.941l-80 80C409.956 271.982 384 261.456 384 240v-48H24c-13.255 0-24-10.745-24-24zm488 152H128v-48c0-21.314-25.862-32.08-40.971-16.971l-80 80c-9.372 9.373-9.372 24.569 0 33.941l80 80C102.057 463.997 128 453.437 128 432v-48h360c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24z"]},g={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,[],"f071","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]},y={prefix:"fas",iconName:"eye",icon:[576,512,[],"f06e","M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"]},v={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"]},_={prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},w={prefix:"fas",iconName:"infinity",icon:[640,512,[],"f534","M471.1 96C405 96 353.3 137.3 320 174.6 286.7 137.3 235 96 168.9 96 75.8 96 0 167.8 0 256s75.8 160 168.9 160c66.1 0 117.8-41.3 151.1-78.6 33.3 37.3 85 78.6 151.1 78.6 93.1 0 168.9-71.8 168.9-160S564.2 96 471.1 96zM168.9 320c-40.2 0-72.9-28.7-72.9-64s32.7-64 72.9-64c38.2 0 73.4 36.1 94 64-20.4 27.6-55.9 64-94 64zm302.2 0c-38.2 0-73.4-36.1-94-64 20.4-27.6 55.9-64 94-64 40.2 0 72.9 28.7 72.9 64s-32.7 64-72.9 64z"]},C={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]},x={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"]},S={prefix:"fas",iconName:"life-ring",icon:[512,512,[],"f1cd","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm173.696 119.559l-63.399 63.399c-10.987-18.559-26.67-34.252-45.255-45.255l63.399-63.399a218.396 218.396 0 0 1 45.255 45.255zM256 352c-53.019 0-96-42.981-96-96s42.981-96 96-96 96 42.981 96 96-42.981 96-96 96zM127.559 82.304l63.399 63.399c-18.559 10.987-34.252 26.67-45.255 45.255l-63.399-63.399a218.372 218.372 0 0 1 45.255-45.255zM82.304 384.441l63.399-63.399c10.987 18.559 26.67 34.252 45.255 45.255l-63.399 63.399a218.396 218.396 0 0 1-45.255-45.255zm302.137 45.255l-63.399-63.399c18.559-10.987 34.252-26.67 45.255-45.255l63.399 63.399a218.403 218.403 0 0 1-45.255 45.255z"]},O={prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},A={prefix:"fas",iconName:"lock",icon:[448,512,[],"f023","M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"]},k={prefix:"fas",iconName:"map-signs",icon:[512,512,[],"f277","M507.31 84.69L464 41.37c-6-6-14.14-9.37-22.63-9.37H288V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v16H56c-13.25 0-24 10.75-24 24v80c0 13.25 10.75 24 24 24h385.37c8.49 0 16.62-3.37 22.63-9.37l43.31-43.31c6.25-6.26 6.25-16.38 0-22.63zM224 496c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-64v112zm232-272H288v-32h-64v32H70.63c-8.49 0-16.62 3.37-22.63 9.37L4.69 276.69c-6.25 6.25-6.25 16.38 0 22.63L48 342.63c6 6 14.14 9.37 22.63 9.37H456c13.25 0 24-10.75 24-24v-80c0-13.25-10.75-24-24-24z"]},E={prefix:"fas",iconName:"money-bill-alt",icon:[640,512,[],"f3d1","M352 288h-16v-88c0-4.42-3.58-8-8-8h-13.58c-4.74 0-9.37 1.4-13.31 4.03l-15.33 10.22a7.994 7.994 0 0 0-2.22 11.09l8.88 13.31a7.994 7.994 0 0 0 11.09 2.22l.47-.31V288h-16c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h64c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM48 400v-64c35.35 0 64 28.65 64 64H48zm0-224v-64h64c0 35.35-28.65 64-64 64zm272 192c-53.02 0-96-50.15-96-112 0-61.86 42.98-112 96-112s96 50.14 96 112c0 61.87-43 112-96 112zm272 32h-64c0-35.35 28.65-64 64-64v64zm0-224c-35.35 0-64-28.65-64-64h64v64z"]},L={prefix:"fas",iconName:"money-bill-wave",icon:[640,512,[],"f53a","M621.16 54.46C582.37 38.19 543.55 32 504.75 32c-123.17-.01-246.33 62.34-369.5 62.34-30.89 0-61.76-3.92-92.65-13.72-3.47-1.1-6.95-1.62-10.35-1.62C15.04 79 0 92.32 0 110.81v317.26c0 12.63 7.23 24.6 18.84 29.46C57.63 473.81 96.45 480 135.25 480c123.17 0 246.34-62.35 369.51-62.35 30.89 0 61.76 3.92 92.65 13.72 3.47 1.1 6.95 1.62 10.35 1.62 17.21 0 32.25-13.32 32.25-31.81V83.93c-.01-12.64-7.24-24.6-18.85-29.47zM48 132.22c20.12 5.04 41.12 7.57 62.72 8.93C104.84 170.54 79 192.69 48 192.69v-60.47zm0 285v-47.78c34.37 0 62.18 27.27 63.71 61.4-22.53-1.81-43.59-6.31-63.71-13.62zM320 352c-44.19 0-80-42.99-80-96 0-53.02 35.82-96 80-96s80 42.98 80 96c0 53.03-35.83 96-80 96zm272 27.78c-17.52-4.39-35.71-6.85-54.32-8.44 5.87-26.08 27.5-45.88 54.32-49.28v57.72zm0-236.11c-30.89-3.91-54.86-29.7-55.81-61.55 19.54 2.17 38.09 6.23 55.81 12.66v48.89z"]},D={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M640 264v-16c0-8.84-7.16-16-16-16H344v-40h72c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H224c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h72v40H16c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h104v40H64c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h304v40h-56c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h104c8.84 0 16-7.16 16-16zM256 128V64h128v64H256zm-64 320H96v-64h96v64zm352 0h-96v-64h96v64z"]},I={prefix:"fas",iconName:"paint-brush",icon:[512,512,[],"f1fc","M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"]},P={prefix:"fas",iconName:"percentage",icon:[384,512,[],"f541","M109.25 173.25c24.99-24.99 24.99-65.52 0-90.51-24.99-24.99-65.52-24.99-90.51 0-24.99 24.99-24.99 65.52 0 90.51 25 25 65.52 25 90.51 0zm256 165.49c-24.99-24.99-65.52-24.99-90.51 0-24.99 24.99-24.99 65.52 0 90.51 24.99 24.99 65.52 24.99 90.51 0 25-24.99 25-65.51 0-90.51zm-1.94-231.43l-22.62-22.62c-12.5-12.5-32.76-12.5-45.25 0L20.69 359.44c-12.5 12.5-12.5 32.76 0 45.25l22.62 22.62c12.5 12.5 32.76 12.5 45.25 0l274.75-274.75c12.5-12.49 12.5-32.75 0-45.25z"]},T={prefix:"fas",iconName:"plus",icon:[448,512,[],"f067","M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},R={prefix:"fas",iconName:"project-diagram",icon:[640,512,[],"f542","M384 320H256c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h128c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32zM192 32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v128c0 17.67 14.33 32 32 32h95.72l73.16 128.04C211.98 300.98 232.4 288 256 288h.28L192 175.51V128h224V64H192V32zM608 0H480c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h128c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32z"]},M={prefix:"fas",iconName:"question",icon:[384,512,[],"f128","M202.021 0C122.202 0 70.503 32.703 29.914 91.026c-7.363 10.58-5.093 25.086 5.178 32.874l43.138 32.709c10.373 7.865 25.132 6.026 33.253-4.148 25.049-31.381 43.63-49.449 82.757-49.449 30.764 0 68.816 19.799 68.816 49.631 0 22.552-18.617 34.134-48.993 51.164-35.423 19.86-82.299 44.576-82.299 106.405V320c0 13.255 10.745 24 24 24h72.471c13.255 0 24-10.745 24-24v-5.773c0-42.86 125.268-44.645 125.268-160.627C377.504 66.256 286.902 0 202.021 0zM192 373.459c-38.196 0-69.271 31.075-69.271 69.271 0 38.195 31.075 69.27 69.271 69.27s69.271-31.075 69.271-69.271-31.075-69.27-69.271-69.27z"]},j={prefix:"fas",iconName:"receipt",icon:[384,512,[],"f543","M358.4 3.2L320 48 265.6 3.2a15.9 15.9 0 0 0-19.2 0L192 48 137.6 3.2a15.9 15.9 0 0 0-19.2 0L64 48 25.6 3.2C15-4.7 0 2.8 0 16v480c0 13.2 15 20.7 25.6 12.8L64 464l54.4 44.8a15.9 15.9 0 0 0 19.2 0L192 464l54.4 44.8a15.9 15.9 0 0 0 19.2 0L320 464l38.4 44.8c10.5 7.9 25.6.4 25.6-12.8V16c0-13.2-15-20.7-25.6-12.8zM320 360c0 4.4-3.6 8-8 8H72c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h240c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H72c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h240c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H72c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h240c4.4 0 8 3.6 8 8v16z"]},F={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M416 320h-96c-17.6 0-32-14.4-32-32s14.4-32 32-32h96s96-107 96-160-43-96-96-96-96 43-96 96c0 25.5 22.2 63.4 45.3 96H320c-52.9 0-96 43.1-96 96s43.1 96 96 96h96c17.6 0 32 14.4 32 32s-14.4 32-32 32H185.5c-16 24.8-33.8 47.7-47.3 64H416c52.9 0 96-43.1 96-96s-43.1-96-96-96zm0-256c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM96 256c-53 0-96 43-96 96s96 160 96 160 96-107 96-160-43-96-96-96zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"]},N={prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},U={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"]},V={prefix:"fas",iconName:"tachometer-alt",icon:[576,512,[],"f3fd","M288 32C128.94 32 0 160.94 0 320c0 52.8 14.25 102.26 39.06 144.8 5.61 9.62 16.3 15.2 27.44 15.2h443c11.14 0 21.83-5.58 27.44-15.2C561.75 422.26 576 372.8 576 320c0-159.06-128.94-288-288-288zm0 64c14.71 0 26.58 10.13 30.32 23.65-1.11 2.26-2.64 4.23-3.45 6.67l-9.22 27.67c-5.13 3.49-10.97 6.01-17.64 6.01-17.67 0-32-14.33-32-32S270.33 96 288 96zM96 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm48-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm246.77-72.41l-61.33 184C343.13 347.33 352 364.54 352 384c0 11.72-3.38 22.55-8.88 32H232.88c-5.5-9.45-8.88-20.28-8.88-32 0-33.94 26.5-61.43 59.9-63.59l61.34-184.01c4.17-12.56 17.73-19.45 30.36-15.17 12.57 4.19 19.35 17.79 15.17 30.36zm14.66 57.2l15.52-46.55c3.47-1.29 7.13-2.23 11.05-2.23 17.67 0 32 14.33 32 32s-14.33 32-32 32c-11.38-.01-20.89-6.28-26.57-15.22zM480 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"]},B={prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},z={prefix:"fas",iconName:"tools",icon:[512,512,[],"f7d9","M501.1 395.7L384 278.6c-23.1-23.1-57.6-27.6-85.4-13.9L192 158.1V96L64 0 0 64l96 128h62.1l106.6 106.6c-13.6 27.8-9.2 62.3 13.9 85.4l117.1 117.1c14.6 14.6 38.2 14.6 52.7 0l52.7-52.7c14.5-14.6 14.5-38.2 0-52.7zM331.7 225c28.3 0 54.9 11 74.9 31l19.4 19.4c15.8-6.9 30.8-16.5 43.8-29.5 37.1-37.1 49.7-89.3 37.9-136.7-2.2-9-13.5-12.1-20.1-5.5l-74.4 74.4-67.9-11.3L334 98.9l74.4-74.4c6.6-6.6 3.4-17.9-5.7-20.2-47.4-11.7-99.6.9-136.6 37.9-28.5 28.5-41.9 66.1-41.2 103.6l82.1 82.1c8.1-1.9 16.5-2.9 24.7-2.9zm-103.9 82l-56.7-56.7L18.7 402.8c-25 25-25 65.5 0 90.5s65.5 25 90.5 0l123.6-123.6c-7.6-19.9-9.9-41.6-5-62.7zM64 472c-13.2 0-24-10.8-24-24 0-13.3 10.7-24 24-24s24 10.7 24 24c0 13.2-10.7 24-24 24z"]},H={prefix:"fas",iconName:"unlock-alt",icon:[448,512,[],"f13e","M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zM264 408c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48z"]},W={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4zm323-128.4l-27.8-28.1c-4.6-4.7-12.1-4.7-16.8-.1l-104.8 104-45.5-45.8c-4.6-4.7-12.1-4.7-16.8-.1l-28.1 27.9c-4.7 4.6-4.7 12.1-.1 16.8l81.7 82.3c4.6 4.7 12.1 4.7 16.8.1l141.3-140.2c4.6-4.7 4.7-12.2.1-16.8z"]},Q={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M496 224c-79.6 0-144 64.4-144 144s64.4 144 144 144 144-64.4 144-144-64.4-144-144-144zm64 150.3c0 5.3-4.4 9.7-9.7 9.7h-60.6c-5.3 0-9.7-4.4-9.7-9.7v-76.6c0-5.3 4.4-9.7 9.7-9.7h12.6c5.3 0 9.7 4.4 9.7 9.7V352h38.3c5.3 0 9.7 4.4 9.7 9.7v12.6zM320 368c0-27.8 6.7-54.1 18.2-77.5-8-1.5-16.2-2.5-24.6-2.5h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h347.1c-45.3-31.9-75.1-84.5-75.1-144zm-96-112c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128z"]},K={prefix:"fas",iconName:"user-cog",icon:[640,512,[],"f4fe","M610.5 373.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 400.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm201.2 226.5c-2.3-1.2-4.6-2.6-6.8-3.9l-7.9 4.6c-6 3.4-12.8 5.3-19.6 5.3-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-5.5-17.7 1.9-36.4 17.9-45.7l7.9-4.6c-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-16-9.2-23.4-28-17.9-45.7.9-2.9 2.2-5.8 3.2-8.7-3.8-.3-7.5-1.2-11.4-1.2h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c10.1 0 19.5-3.2 27.2-8.5-1.2-3.8-2-7.7-2-11.8v-9.2z"]},q={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 96 128a128 128 0 0 0 128 128zm96 64a63.08 63.08 0 0 1 8.1-30.5c-4.8-.5-9.5-1.5-14.5-1.5h-16.7a174.08 174.08 0 0 1-145.8 0h-16.7A134.43 134.43 0 0 0 0 422.4V464a48 48 0 0 0 48 48h280.9a63.54 63.54 0 0 1-8.9-32zm288-32h-32v-80a80 80 0 0 0-160 0v80h-32a32 32 0 0 0-32 32v160a32 32 0 0 0 32 32h224a32 32 0 0 0 32-32V320a32 32 0 0 0-32-32zM496 432a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm32-144h-64v-80a32 32 0 0 1 64 0z"]},Y={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"]},G={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M461.2 128H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h384c8.84 0 16-7.16 16-16 0-26.51-21.49-48-48-48H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h397.2c28.02 0 50.8-21.53 50.8-48V176c0-26.47-22.78-48-50.8-48zM416 336c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"]},Z={prefix:"fas",iconName:"window-restore",icon:[512,512,[],"f2d2","M512 48v288c0 26.5-21.5 48-48 48h-48V176c0-44.1-35.9-80-80-80H128V48c0-26.5 21.5-48 48-48h288c26.5 0 48 21.5 48 48zM384 176v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48h288c26.5 0 48 21.5 48 48zm-68 28c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v52h252v-52z"]}},wRn4:function(t,e,n){var i=n("jIre");e.encrypt=function(t,e){var n=i(e,t._prev);return t._prev=t._cipher.encryptBlock(n),t._prev},e.decrypt=function(t,e){var n=t._prev;t._prev=e;var r=t._cipher.decryptBlock(e);return i(r,n)}},wk3p:function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},wq4j:function(t,e,n){t.exports=n("43KI").PassThrough},xZGU:function(t,e,n){"use strict";var i,r=n("tjlA"),s=r.Buffer,o={};for(i in r)r.hasOwnProperty(i)&&"SlowBuffer"!==i&&"Buffer"!==i&&(o[i]=r[i]);var a=o.Buffer={};for(i in s)s.hasOwnProperty(i)&&"allocUnsafe"!==i&&"allocUnsafeSlow"!==i&&(a[i]=s[i]);if(o.Buffer.prototype=s.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(t,e,n){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return s(t,e,n)}),a.alloc||(a.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var i=s(t);return e&&0!==e.length?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i}),!o.kStringMaxLength)try{o.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(c){}o.constants||(o.constants={MAX_LENGTH:o.kMaxLength},o.kStringMaxLength&&(o.constants.MAX_STRING_LENGTH=o.kStringMaxLength)),t.exports=o},xbPD:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t=null){return e=>e.lift(new s(t))}class s{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends i.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("DH7j"),s=n("n6bG"),o=n("lJxs");function a(t,e,n,l){return Object(s.a)(n)&&(l=n,n=void 0),l?a(t,e,n).pipe(Object(o.a)(t=>Object(r.a)(t)?l(...t):l(t))):new i.a(i=>{c(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function c(t,e,n,i,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),s=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),s=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),s=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,o=t.length;s<o;s++)c(t[s],e,n,i,r)}i.add(s)}},y7ui:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return v}),n.d(e,"d",function(){return A}),n.d(e,"e",function(){return _}),n.d(e,"f",function(){return y}),n.d(e,"g",function(){return m}),n.d(e,"h",function(){return S}),n.d(e,"i",function(){return O}),n.d(e,"j",function(){return p});var i=n("CtHx"),r=n("7+OI"),s=n("XNiG"),o=n("2Vo4"),a=n("LRne"),c=n("IzEk"),l=n("pLZG"),h=n("1G5W"),u=n("8Y7J"),d=n("8LU1"),f=n("9gLZ");class p extends class{constructor(){this.expansionModel=new i.c(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}{constructor(t,e){super(),this.getChildren=t,this.options=e,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const t=this.dataNodes.reduce((t,e)=>[...t,...this.getDescendants(e),e],[]);this.expansionModel.select(...t.map(t=>this._trackByValue(t)))}getDescendants(t){const e=[];return this._getDescendants(e,t),e.splice(1)}_getDescendants(t,e){t.push(e);const n=this.getChildren(e);Array.isArray(n)?n.forEach(e=>this._getDescendants(t,e)):Object(r.a)(n)&&n.pipe(Object(c.a)(1),Object(l.a)(Boolean)).subscribe(e=>{for(const n of e)this._getDescendants(t,n)})}}const b=new u.s("CDK_TREE_NODE_OUTLET_NODE");let m=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(u.S),u.Pb(b,8))},t.\u0275dir=u.Kb({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class g{constructor(t){this.$implicit=t}}let y=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(u.O))},t.\u0275dir=u.Kb({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),v=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new s.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;Object(i.h)(this._dataSource)?t=this._dataSource.connect(this):Object(r.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(a.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(h.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t)))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,i){const r=e.diff(t);r&&(r.forEachOperation((e,r,s)=>{if(null==e.previousIndex)this.insertNode(t[s],s,n,i);else if(null==s)n.remove(r),this._levels.delete(e.item);else{const t=n.get(r);n.move(t,s)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef}insertNode(t,e,n,i){const r=this._getNodeDef(t,e),s=new g(t);s.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==i&&this._levels.has(i)?this._levels.get(i)+1:0,this._levels.set(t,s.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(r.template,s,e),_.mostRecentTreeNode&&(_.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(u.u),u.Pb(u.h))},t.\u0275cmp=u.Jb({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,n){if(1&t&&u.Ib(n,y,!0),2&t){let t;u.vc(t=u.ec())&&(e._nodeDefs=t)}},viewQuery:function(t,e){if(1&t&&u.Ec(m,!0),2&t){let t;u.vc(t=u.ec())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&u.Rb(0,0)},directives:[m],encapsulation:2}),t})(),_=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new s.a,this._dataChanges=new s.a,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}_setExpanded(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",""+t)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function(t){let e=t.parentElement;for(;e&&!w(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?Object(d.f)(e.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",""+(this.level+1))}ngDoCheck(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(u.l),u.Pb(v))},t.\u0275dir=u.Kb({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})();function w(t){const e=t.classList;return!(!(null==e?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")))}let C=(()=>{class t extends _{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n,this._elementRef.nativeElement.classList.add("cdk-nested-tree-node")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):Object(r.a)(t)&&t.pipe(Object(h.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(h.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(u.l),u.Pb(v),u.Pb(u.u))},t.\u0275dir=u.Kb({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,n){if(1&t&&u.Ib(n,m,!0),2&t){let t;u.vc(t=u.ec())&&(e.nodeOutlet=t)}},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[u.Cb([{provide:_,useExisting:t},{provide:b,useExisting:t}]),u.Ab]}),t})();const x=/([A-Za-z%]+)$/;let S=(()=>{class t{constructor(t,e,n,i){this._treeNode=t,this._tree=e,this._element=n,this._dir=i,this._destroyed=new s.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(h.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"===n?"paddingRight":"paddingLeft";t.style[n]=e||"",t.style[i]="",this._currentPadding=e}}_setLevelInput(t){this._level=Object(d.f)(t,null),this._setPadding()}_setIndentInput(t){let e=t,n="px";if("string"==typeof t){const i=t.split(x);e=i[0],n=i[1]||n}this.indentUnits=n,this._indent=Object(d.f)(e),this._setPadding()}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(_),u.Pb(v),u.Pb(u.l),u.Pb(f.b,8))},t.\u0275dir=u.Kb({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t})(),O=(()=>{class t{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(d.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(u.Pb(v),u.Pb(_))},t.\u0275dir=u.Kb({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&u.dc("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),A=(()=>{class t{}return t.\u0275mod=u.Nb({type:t}),t.\u0275inj=u.Mb({factory:function(e){return new(e||t)}}),t})()},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("ngJS"),s=n("jZKg");function o(t,e){return e?Object(s.a)(t,e):new i.a(Object(r.a)(t))}},yKow:function(t,e,n){var i=n("e/Dd"),r=n("NPxG"),s=n("ekOh"),o=n("u/Db"),a=n("J6Nv"),c=n("49sm"),l=i.getBCHDigit(7973);function h(t,e){return o.getCharCountIndicator(t,e)+4}function u(t,e){var n=0;return t.forEach(function(t){var i=h(t.mode,e);n+=i+t.getBitsLength()}),n}e.from=function(t,e){return a.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,n){if(!a.isValid(t))throw new Error("Invalid QR Code version");void 0===n&&(n=o.BYTE);var s=8*(i.getSymbolTotalCodewords(t)-r.getTotalCodewordsCount(t,e));if(n===o.MIXED)return s;var c=s-h(n,t);switch(n){case o.NUMERIC:return Math.floor(c/10*3);case o.ALPHANUMERIC:return Math.floor(c/11*2);case o.KANJI:return Math.floor(c/13);case o.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,n){var i,r=s.from(n,s.M);if(c(t)){if(t.length>1)return function(t,n){for(var i=1;i<=40;i++)if(u(t,i)<=e.getCapacity(i,n,o.MIXED))return i}(t,r);if(0===t.length)return 1;i=t[0]}else i=t;return function(t,n,i){for(var r=1;r<=40;r++)if(n<=e.getCapacity(r,i,t))return r}(i.mode,i.getLength(),r)},e.getEncodedBits=function(t){if(!a.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;i.getBCHDigit(e)-l>=0;)e^=7973<<i.getBCHDigit(e)-l;return t<<12|e}},yLV6:function(t,e,n){var i;!function(r,s,o,a){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],h=s.createElement("div"),u=Math.round,d=Math.abs,f=Date.now;function p(t,e,n){return setTimeout(w(t,n),e)}function b(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==a)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function g(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=r.console&&(r.console.warn||r.console.log);return s&&s.call(r.console,i,n),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==a&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var y=g(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===a)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),v=g(function(t,e){return y(t,e,!0)},"merge","Use `assign`.");function _(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&c(i,n)}function w(t,e){return function(){return t.apply(e,arguments)}}function C(t,e){return"function"==typeof t?t.apply(e&&e[0]||a,e):t}function x(t,e){return t===a?e:t}function S(t,e,n){m(E(e),function(e){t.addEventListener(e,n,!1)})}function O(t,e,n){m(E(e),function(e){t.removeEventListener(e,n,!1)})}function A(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function k(t,e){return t.indexOf(e)>-1}function E(t){return t.trim().split(/\s+/g)}function L(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function D(t){return Array.prototype.slice.call(t,0)}function I(t,e,n){for(var i=[],r=[],s=0;s<t.length;){var o=e?t[s][e]:t[s];L(r,o)<0&&i.push(t[s]),r[s]=o,s++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function P(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),s=0;s<l.length;){if((i=(n=l[s])?n+r:e)in t)return i;s++}return a}var T=1;function R(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var M="ontouchstart"in r,j=P(r,"PointerEvent")!==a,F=M&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),N="touch",U="mouse",V=["x","y"],B=["clientX","clientY"];function z(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){C(t.options.enable,[t])&&n.handler(e)},this.init()}function H(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,s=1&e&&i-r==0,o=12&e&&i-r==0;n.isFirst=!!s,n.isFinal=!!o,s&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=W(e)),r>1&&!n.firstMultiple?n.firstMultiple=W(e):1===r&&(n.firstMultiple=!1);var s=n.firstInput,o=n.firstMultiple,c=o?o.center:s.center,l=e.center=Q(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=G(c,l),e.distance=Y(c,l),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},s=t.prevInput||{};1!==e.eventType&&4!==s.eventType||(r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=q(e.deltaX,e.deltaY);var h,u,p=K(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=d(p.x)>d(p.y)?p.x:p.y,e.scale=o?(h=o.pointers,Y((u=i)[0],u[1],B)/Y(h[0],h[1],B)):1,e.rotation=o?function(t,e){return G(e[1],e[0],B)+G(t[1],t[0],B)}(o.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,s,o=t.lastInterval||e,c=e.timeStamp-o.timeStamp;if(8!=e.eventType&&(c>25||o.velocity===a)){var l=e.deltaX-o.deltaX,h=e.deltaY-o.deltaY,u=K(c,l,h);i=u.x,r=u.y,n=d(u.x)>d(u.y)?u.x:u.y,s=q(l,h),t.lastInterval=e}else n=o.velocity,i=o.velocityX,r=o.velocityY,s=o.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=s}(n,e);var b=t.element;A(e.srcEvent.target,b)&&(b=e.srcEvent.target),e.target=b}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function W(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:Q(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Q(t){var e=t.length;if(1===e)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:u(n/e),y:u(i/e)}}function K(t,e,n){return{x:e/t||0,y:n/t||0}}function q(t,e){return t===e?1:d(t)>=d(e)?t<0?2:4:e<0?8:16}function Y(t,e,n){n||(n=V);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function G(t,e,n){return n||(n=V),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}z.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(R(this.element),this.evWin,this.domHandler)}};var Z={mousedown:1,mousemove:2,mouseup:4},X="mousedown",J="mousemove mouseup";function $(){this.evEl=X,this.evWin=J,this.pressed=!1,z.apply(this,arguments)}_($,z,{handler:function(t){var e=Z[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:U,srcEvent:t}))}});var tt={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},et={2:N,3:"pen",4:U,5:"kinect"},nt="pointerdown",it="pointermove pointerup pointercancel";function rt(){this.evEl=nt,this.evWin=it,z.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(nt="MSPointerDown",it="MSPointerMove MSPointerUp MSPointerCancel"),_(rt,z,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=tt[i],s=et[t.pointerType]||t.pointerType,o=s==N,a=L(e,t.pointerId,"pointerId");1&r&&(0===t.button||o)?a<0&&(e.push(t),a=e.length-1):12&r&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:s,srcEvent:t}),n&&e.splice(a,1))}});var st={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ot="touchstart",at="touchstart touchmove touchend touchcancel";function ct(){this.evTarget=ot,this.evWin=at,this.started=!1,z.apply(this,arguments)}function lt(t,e){var n=D(t.touches),i=D(t.changedTouches);return 12&e&&(n=I(n.concat(i),"identifier",!0)),[n,i]}_(ct,z,{handler:function(t){var e=st[t.type];if(1===e&&(this.started=!0),this.started){var n=lt.call(this,t,e);12&e&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}}});var ht={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ut="touchstart touchmove touchend touchcancel";function dt(){this.evTarget=ut,this.targetIds={},z.apply(this,arguments)}function ft(t,e){var n=D(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,s,o=D(t.changedTouches),a=[],c=this.target;if(s=n.filter(function(t){return A(t.target,c)}),1===e)for(r=0;r<s.length;)i[s[r].identifier]=!0,r++;for(r=0;r<o.length;)i[o[r].identifier]&&a.push(o[r]),12&e&&delete i[o[r].identifier],r++;return a.length?[I(s.concat(a),"identifier",!0),a]:void 0}function pt(){z.apply(this,arguments);var t=w(this.handler,this);this.touch=new dt(this.manager,t),this.mouse=new $(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function bt(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,mt.call(this,e)):12&t&&mt.call(this,e)}function mt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)},2500)}}function gt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],s=Math.abs(e-r.x),o=Math.abs(n-r.y);if(s<=25&&o<=25)return!0}return!1}_(dt,z,{handler:function(t){var e=ht[t.type],n=ft.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:N,srcEvent:t})}}),_(pt,z,{handler:function(t,e,n){var i=n.pointerType==U;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(n.pointerType==N)bt.call(this,e,n);else if(i&&gt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var yt=P(h.style,"touchAction"),vt=yt!==a,_t="compute",wt="auto",Ct="manipulation",xt="none",St="pan-x",Ot="pan-y",At=function(){if(!vt)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();function kt(t,e){this.manager=t,this.set(e)}kt.prototype={set:function(t){t==_t&&(t=this.compute()),vt&&this.manager.element.style&&At[t]&&(this.manager.element.style[yt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,function(e){C(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(k(t,xt))return xt;var e=k(t,St),n=k(t,Ot);return e&&n?xt:e||n?e?St:Ot:k(t,Ct)?Ct:wt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=k(i,xt)&&!At.none,s=k(i,Ot)&&!At["pan-y"],o=k(i,St)&&!At["pan-x"];if(r&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!o||!s)return r||s&&6&n||o&&24&n?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Et=32;function Lt(t){this.options=c({},this.defaults,t||{}),this.id=T++,this.manager=null,this.options.enable=x(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Dt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function It(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Pt(t,e){var n=e.manager;return n?n.get(t):t}function Tt(){Lt.apply(this,arguments)}function Rt(){Tt.apply(this,arguments),this.pX=null,this.pY=null}function Mt(){Tt.apply(this,arguments)}function jt(){Lt.apply(this,arguments),this._timer=null,this._input=null}function Ft(){Tt.apply(this,arguments)}function Nt(){Tt.apply(this,arguments)}function Ut(){Lt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Vt(t,e){return(e=e||{}).recognizers=x(e.recognizers,Vt.defaults.preset),new Bt(t,e)}function Bt(t,e){this.options=c({},Vt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(j?rt:F?dt:M?pt:$))(this,H),this.touchAction=new kt(this,this.options.touchAction),zt(this,!0),m(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function zt(t,e){var n,i=t.element;i.style&&(m(t.options.cssProps,function(r,s){n=P(i.style,s),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}Lt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(b(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Pt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return b(t,"dropRecognizeWith",this)||(t=Pt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(b(t,"requireFailure",this))return this;var e=this.requireFail;return-1===L(e,t=Pt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(b(t,"dropRequireFailure",this))return this;t=Pt(t,this);var e=L(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+Dt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+Dt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Et},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!C(this.options.enable,[this,e]))return this.reset(),void(this.state=Et);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},_(Tt,Lt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,r=this.attrTest(t);return i&&(8&n||!r)?16|e:i||r?4&n?8|e:2&e?4|e:2:Et}}),_(Rt,Tt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push(Ot),24&t&&e.push(St),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,s=t.deltaX,o=t.deltaY;return r&e.direction||(6&e.direction?(r=0===s?1:s<0?2:4,n=s!=this.pX,i=Math.abs(t.deltaX)):(r=0===o?1:o<0?8:16,n=o!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return Tt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=It(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),_(Mt,Tt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[xt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),_(jt,Lt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[wt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!r)this.reset();else if(1&t.eventType)this.reset(),this._timer=p(function(){this.state=8,this.tryEmit()},e.time,this);else if(4&t.eventType)return 8;return Et},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),_(Ft,Tt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[xt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),_(Nt,Tt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Rt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&d(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=It(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),_(Ut,Lt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ct]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&r&&n){if(4!=t.eventType)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,o=!this.pCenter||Y(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,o&&s?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=p(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return Et},failTimeout:function(){return this._timer=p(function(){this.state=Et},this.options.interval,this),Et},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Vt.VERSION="2.0.7",Vt.defaults={domEvents:!1,touchAction:_t,enable:!0,inputTarget:null,inputClass:null,preset:[[Ft,{enable:!1}],[Mt,{enable:!1},["rotate"]],[Nt,{direction:6}],[Rt,{direction:6},["swipe"]],[Ut],[Ut,{event:"doubletap",taps:2},["tap"]],[jt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Bt.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&8&r.state)&&(r=e.curRecognizer=null);for(var s=0;s<i.length;)n=i[s],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&14&n.state&&(r=e.curRecognizer=n),s++}},get:function(t){if(t instanceof Lt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(b(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(b(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=L(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var n=this.handlers;return m(E(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==a){var n=this.handlers;return m(E(t),function(t){e?n[t]&&n[t].splice(L(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=s.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&zt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Vt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Et,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Bt,Input:z,TouchAction:kt,TouchInput:dt,MouseInput:$,PointerEventInput:rt,TouchMouseInput:pt,SingleTouchInput:ct,Recognizer:Lt,AttrRecognizer:Tt,Tap:Ut,Pan:Rt,Swipe:Nt,Pinch:Mt,Rotate:Ft,Press:jt,on:S,off:O,each:m,merge:v,extend:y,assign:c,inherit:_,bindFn:w,prefixed:P}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Vt,(i=(function(){return Vt}).call(e,n,e,t))===a||(t.exports=i)}(window,document)},yQ3t:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("8Y7J"),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("tqRt"),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("EY2u"),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("HDdC"),rxjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("LRne"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("VRyK"),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("qgXg"),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("jtHE"),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("w1tV"),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("pLZG"),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("lJxs"),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("bOdf"),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("tS1D"),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("Kj3r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("JIr8"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("IzEk"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("1G5W"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("eIep"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("zP0r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("pxpQ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("zp1y"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("Kqap");function DevToolsFeatureOptions(){}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("@ngrx/devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(t){const e={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}};let n="function"==typeof t?t():t;const i=Object.assign({},e,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||e.features},n);if(i.maxAge&&i.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+i.maxAge);return i}const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(t,e){if(this.action=t,this.timestamp=e,this.type=PERFORM_ACTION,void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(t){this.timestamp=t,this.type=RESET}}class Rollback{constructor(t){this.timestamp=t,this.type=ROLLBACK}}class Commit{constructor(t){this.timestamp=t,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(t){this.id=t,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(t,e,n=!0){this.start=t,this.end=e,this.active=n,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(t){this.index=t,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(t){this.actionId=t,this.type=JUMP_TO_ACTION}}class ImportState{constructor(t){this.nextLiftedState=t,this.type=IMPORT_STATE}}class LockChanges{constructor(t){this.status=t,this.type=LOCK_CHANGES}}class PauseRecording{constructor(t){this.status=t,this.type=PAUSE_RECORDING}}let DevtoolsDispatcher=(()=>{class t extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.a{}return t.\u0275fac=function(e){return \u0275DevtoolsDispatcher_BaseFactory(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Lb({token:t,factory:t.\u0275fac}),t})();const \u0275DevtoolsDispatcher_BaseFactory=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Xb(DevtoolsDispatcher);function difference(t,e){return t.filter(t=>e.indexOf(t)<0)}function unliftState(t){const{computedStates:e,currentStateIndex:n}=t;if(n>=e.length){const{state:t}=e[e.length-1];return t}const{state:i}=e[n];return i}function unliftAction(t){return t.actionsById[t.nextActionId-1]}function liftAction(t){return new PerformAction(t,+Date.now())}function sanitizeActions(t,e){return Object.keys(e).reduce((n,i)=>{const r=Number(i);return n[r]=sanitizeAction(t,e[r],r),n},{})}function sanitizeAction(t,e,n){return Object.assign(Object.assign({},e),{action:t(e.action,n)})}function sanitizeStates(t,e){return e.map((e,n)=>({state:sanitizeState(t,e.state,n),error:e.error}))}function sanitizeState(t,e,n){return t(e,n)}function shouldFilterActions(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function filterLiftedState(t,e,n,i){const r=[],s={},o=[];return t.stagedActionIds.forEach((a,c)=>{const l=t.actionsById[a];l&&(c&&isActionFiltered(t.computedStates[c],l,e,n,i)||(s[a]=l,r.push(a),o.push(t.computedStates[c])))}),Object.assign(Object.assign({},t),{stagedActionIds:r,actionsById:s,computedStates:o})}function isActionFiltered(t,e,n,i,r){const s=n&&!n(t,e.action),o=i&&!e.action.type.match(i.map(t=>escapeRegExp(t)).join("|")),a=r&&e.action.type.match(r.map(t=>escapeRegExp(t)).join("|"));return s||o||a}function escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("Redux Devtools Extension");function ReduxDevtoolsExtensionConnection(){}function ReduxDevtoolsExtensionConfig(){}function ReduxDevtoolsExtension(){}let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(t,e,n){this.config=e,this.dispatcher=n,this.devtoolsExtension=t,this.createActionStreams()}notify(t,e){if(this.devtoolsExtension)if(t.type===PERFORM_ACTION){if(e.isLocked||e.isPaused)return;const n=unliftState(e);if(shouldFilterActions(this.config)&&isActionFiltered(n,t,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const i=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,n,e.currentStateIndex):n,r=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,t,e.nextActionId):t;this.sendToReduxDevtools(()=>this.extensionConnection.send(r,i))}else{const t=Object.assign(Object.assign({},e),{stagedActionIds:e.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,e.actionsById):e.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,e.computedStates):e.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,t,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.a(t=>{const e=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=e,e.init(),e.subscribe(e=>t.next(e)),e.unsubscribe}):Object(rxjs__WEBPACK_IMPORTED_MODULE_2__.b)()}createActionStreams(){const t=this.createChangesObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.a)()),e=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(t=>t.type===ExtensionActionTypes.START)),n=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(t=>t.type===ExtensionActionTypes.STOP)),i=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(t=>t.type===ExtensionActionTypes.DISPATCH),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(t=>this.unwrapAction(t.payload)),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(t=>t.type===IMPORT_STATE?this.dispatcher.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(t=>t.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.l),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(()=>t),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(()=>Object(rxjs__WEBPACK_IMPORTED_MODULE_4__.a)(t)),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.a)(1)):Object(rxjs__WEBPACK_IMPORTED_MODULE_4__.a)(t))),r=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(t=>t.type===ExtensionActionTypes.ACTION),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(t=>this.unwrapAction(t.payload))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(n)),s=i.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(n));this.start$=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(n)),this.actions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(()=>r)),this.liftedActions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(()=>s))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(t){const e={name:t.name,features:t.features,serialize:t.serialize};return!1!==t.maxAge&&(e.maxAge=t.maxAge),e}sendToReduxDevtools(t){try{t()}catch(e){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",e)}}}return DevtoolsExtension.\u0275fac=function(t){return new(t||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Lb({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.b},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function ComputedState(){}function LiftedAction(){}function LiftedActions(){}function LiftedState(){}function computeNextEntry(t,e,n,i,r){if(i)return{state:n,error:"Interrupted by an error up the chain"};let s,o=n;try{o=t(n,e)}catch(a){s=a.toString(),r.handleError(a.stack||a)}return{state:o,error:s}}function recomputeStates(t,e,n,i,r,s,o,a,c){if(e>=t.length&&t.length===s.length)return t;const l=t.slice(0,e),h=s.length-(c?1:0);for(let u=e;u<h;u++){const t=s[u],e=r[t].action,c=l[u-1],h=c?c.state:i,d=c?c.error:void 0,f=o.indexOf(t)>-1?c:computeNextEntry(n,e,h,d,a);l.push(f)}return c&&l.push(t[t.length-1]),l}function liftInitialState(t,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(t,e,n,i,r={}){return s=>(o,a)=>{let{monitorState:c,actionsById:l,nextActionId:h,stagedActionIds:u,skippedActionIds:d,committedState:f,currentStateIndex:p,computedStates:b,isLocked:m,isPaused:g}=o||e;function y(t){let e=t,n=u.slice(1,e+1);for(let i=0;i<n.length;i++){if(b[i+1].error){e=i,n=u.slice(1,e+1);break}delete l[n[i]]}d=d.filter(t=>-1===n.indexOf(t)),u=[0,...u.slice(e+1)],f=b[e].state,b=b.slice(e),p=p>e?p-e:0}function v(){l={0:liftAction(INIT_ACTION)},h=1,u=[0],d=[],f=b[p].state,p=0,b=[]}o||(l=Object.create(l));let _=0;switch(a.type){case LOCK_CHANGES:m=a.status,_=1/0;break;case PAUSE_RECORDING:g=a.status,g?(u=[...u,h],l[h]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),h++,_=u.length-1,b=b.concat(b[b.length-1]),p===u.length-2&&p++,_=1/0):v();break;case RESET:l={0:liftAction(INIT_ACTION)},h=1,u=[0],d=[],f=t,p=0,b=[];break;case COMMIT:v();break;case ROLLBACK:l={0:liftAction(INIT_ACTION)},h=1,u=[0],d=[],p=0,b=[];break;case TOGGLE_ACTION:{const{id:t}=a,e=d.indexOf(t);d=-1===e?[t,...d]:d.filter(e=>e!==t),_=u.indexOf(t);break}case SET_ACTIONS_ACTIVE:{const{start:t,end:e,active:n}=a,i=[];for(let r=t;r<e;r++)i.push(r);d=n?difference(d,i):[...d,...i],_=u.indexOf(t);break}case JUMP_TO_STATE:p=a.index,_=1/0;break;case JUMP_TO_ACTION:{const t=u.indexOf(a.actionId);-1!==t&&(p=t),_=1/0;break}case SWEEP:u=difference(u,d),d=[],p=Math.min(p,u.length-1);break;case PERFORM_ACTION:{if(m)return o||e;if(g||o&&isActionFiltered(o.computedStates[p],a,r.predicate,r.actionsSafelist,r.actionsBlocklist)){const t=b[b.length-1];b=[...b.slice(0,-1),computeNextEntry(s,a.action,t.state,t.error,n)],_=1/0;break}r.maxAge&&u.length===r.maxAge&&y(1),p===u.length-1&&p++;const t=h++;l[t]=a,u=[...u,t],_=u.length-1;break}case IMPORT_STATE:({monitorState:c,actionsById:l,nextActionId:h,stagedActionIds:u,skippedActionIds:d,committedState:f,currentStateIndex:p,computedStates:b,isLocked:m,isPaused:g}=a.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.b:_=0,r.maxAge&&u.length>r.maxAge&&(b=recomputeStates(b,_,s,f,l,u,d,n,g),y(u.length-r.maxAge),_=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.l:if(b.filter(t=>t.error).length>0)_=0,r.maxAge&&u.length>r.maxAge&&(b=recomputeStates(b,_,s,f,l,u,d,n,g),y(u.length-r.maxAge),_=1/0);else{if(!g&&!m){p===u.length-1&&p++;const t=h++;l[t]=new PerformAction(a,+Date.now()),u=[...u,t],_=u.length-1,b=recomputeStates(b,_,s,f,l,u,d,n,g)}b=b.map(t=>Object.assign(Object.assign({},t),{state:s(t.state,RECOMPUTE_ACTION)})),p=u.length-1,r.maxAge&&u.length>r.maxAge&&y(u.length-r.maxAge),_=1/0}break;default:_=1/0}return b=recomputeStates(b,_,s,f,l,u,d,n,g),c=i(c,a),{monitorState:c,actionsById:l,nextActionId:h,stagedActionIds:u,skippedActionIds:d,committedState:f,currentStateIndex:p,computedStates:b,isLocked:m,isPaused:g}}}let StoreDevtools=(()=>{class t{constructor(t,e,n,i,r,s,o,a){const c=liftInitialState(o,a.monitor),l=liftReducerWith(o,c,s,a.monitor,a),h=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(e.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(1)),i.actions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(liftAction)),t,i.liftedActions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.b)(rxjs__WEBPACK_IMPORTED_MODULE_6__.b)),u=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(l)),d=new rxjs__WEBPACK_IMPORTED_MODULE_7__.a(1),f=h.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(u),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)(({state:t},[e,n])=>{let r=n(t,e);return e.type!==PERFORM_ACTION&&shouldFilterActions(a)&&(r=filterLiftedState(r,a.predicate,a.actionsSafelist,a.actionsBlocklist)),i.notify(e,r),{state:r,action:e}},{state:c,action:null})).subscribe(({state:t,action:e})=>{d.next(t),e.type===PERFORM_ACTION&&r.next(e.action)}),p=i.start$.subscribe(()=>{this.refresh()}),b=d.asObservable(),m=b.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(unliftState));this.extensionStartSubscription=p,this.stateSubscription=f,this.dispatcher=t,this.liftedState=b,this.state=m}dispatch(t){this.dispatcher.next(t)}next(t){this.dispatcher.next(t)}error(t){}complete(){}performAction(t){this.dispatch(new PerformAction(t,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(t){this.dispatch(new ToggleAction(t))}jumpToAction(t){this.dispatch(new JumpToAction(t))}jumpToState(t){this.dispatch(new JumpToState(t))}importState(t){this.dispatch(new ImportState(t))}lockChanges(t){this.dispatch(new LockChanges(t))}pauseRecording(t){this.dispatch(new PauseRecording(t))}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.a),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.e),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.f),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(_angular_core__WEBPACK_IMPORTED_MODULE_0__.n),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.c),_angular_core__WEBPACK_IMPORTED_MODULE_0__.Zb(STORE_DEVTOOLS_CONFIG))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Lb({token:t,factory:t.\u0275fac}),t})();const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(t,e){return Boolean(t)||e.monitor!==noMonitor}function createReduxDevtoolsExtension(){const t="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&void 0!==window[t]?window[t]:null}function createStateObservable(t){return t.state}let StoreDevtoolsModule=(()=>{class t{static instrument(e={}){return{ngModule:t,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:e},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.g,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.d,useExisting:DevtoolsDispatcher}]}}}return t.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Nb({type:t}),t.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Mb({factory:function(e){return new(e||t)}}),t})()},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return i})},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t,e){return new i.a(e?n=>e.schedule(s,0,{error:t,subscriber:n}):e=>e.error(t))}function s({error:t,subscriber:e}){e.error(t)}},z71Z:function(t,e,n){"use strict";const i=n("P7XM"),r=n("N+aw"),s=n("YoN+").DecoderBuffer,o=n("g2Dh"),a=n("i3FT");function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new l,this.tree._init(t.body)}function l(t){o.call(this,"der",t)}function h(t,e){let n=t.readUInt8(e);if(t.isError(n))return n;const i=a.tagClass[n>>6],r=0==(32&n);if(31==(31&n)){let i=n;for(n=0;128==(128&i);){if(i=t.readUInt8(e),t.isError(i))return i;n<<=7,n|=127&i}}else n&=31;return{cls:i,primitive:r,tag:n,tagStr:a.tag[n]}}function u(t,e,n){let i=t.readUInt8(n);if(t.isError(i))return i;if(!e&&128===i)return null;if(0==(128&i))return i;const r=127&i;if(r>4)return t.error("length octect is too long");i=0;for(let s=0;s<r;s++){i<<=8;const e=t.readUInt8(n);if(t.isError(e))return e;i|=e}return i}t.exports=c,c.prototype.decode=function(t,e){return s.isDecoderBuffer(t)||(t=new s(t,e)),this.tree._decode(t,e)},i(l,o),l.prototype._peekTag=function(t,e,n){if(t.isEmpty())return!1;const i=t.save(),r=h(t,'Failed to peek tag: "'+e+'"');return t.isError(r)?r:(t.restore(i),r.tag===e||r.tagStr===e||r.tagStr+"of"===e||n)},l.prototype._decodeTag=function(t,e,n){const i=h(t,'Failed to decode tag of "'+e+'"');if(t.isError(i))return i;let r=u(t,i.primitive,'Failed to get length of "'+e+'"');if(t.isError(r))return r;if(!n&&i.tag!==e&&i.tagStr!==e&&i.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(i.primitive||null!==r)return t.skip(r,'Failed to match body of: "'+e+'"');const s=t.save(),o=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(o)?o:(r=t.offset-s.offset,t.restore(s),t.skip(r,'Failed to match body of: "'+e+'"'))},l.prototype._skipUntilEnd=function(t,e){for(;;){const n=h(t,e);if(t.isError(n))return n;const i=u(t,n.primitive,e);if(t.isError(i))return i;let r;if(r=n.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(r))return r;if("end"===n.tagStr)break}},l.prototype._decodeList=function(t,e,n,i){const r=[];for(;!t.isEmpty();){const e=this._peekTag(t,"end");if(t.isError(e))return e;const s=n.decode(t,"der",i);if(t.isError(s)&&e)break;r.push(s)}return r},l.prototype._decodeStr=function(t,e){if("bitstr"===e){const e=t.readUInt8();return t.isError(e)?e:{unused:e,data:t.raw()}}if("bmpstr"===e){const e=t.raw();if(e.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");let n="";for(let t=0;t<e.length/2;t++)n+=String.fromCharCode(e.readUInt16BE(2*t));return n}if("numstr"===e){const e=t.raw().toString("ascii");return this._isNumstr(e)?e:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){const e=t.raw().toString("ascii");return this._isPrintstr(e)?e:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},l.prototype._decodeObjid=function(t,e,n){let i;const r=[];let s=0,o=0;for(;!t.isEmpty();)o=t.readUInt8(),s<<=7,s|=127&o,0==(128&o)&&(r.push(s),s=0);if(128&o&&r.push(s),i=n?r:[r[0]/40|0,r[0]%40].concat(r.slice(1)),e){let t=e[i.join(" ")];void 0===t&&(t=e[i.join(".")]),void 0!==t&&(i=t)}return i},l.prototype._decodeTime=function(t,e){const n=t.raw().toString();let i,r,s,o,a,c;if("gentime"===e)i=0|n.slice(0,4),r=0|n.slice(4,6),s=0|n.slice(6,8),o=0|n.slice(8,10),a=0|n.slice(10,12),c=0|n.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");i=0|n.slice(0,2),r=0|n.slice(2,4),s=0|n.slice(4,6),o=0|n.slice(6,8),a=0|n.slice(8,10),c=0|n.slice(10,12),i=i<70?2e3+i:1900+i}return Date.UTC(i,r-1,s,o,a,c,0)},l.prototype._decodeNull=function(){return null},l.prototype._decodeBool=function(t){const e=t.readUInt8();return t.isError(e)?e:0!==e},l.prototype._decodeInt=function(t,e){const n=t.raw();let i=new r(n);return e&&(i=e[i.toString(10)]||i),i},l.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},zHaW:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return k}),n.d(e,"c",function(){return O});var i=n("1O3W"),r=n("1z/I"),s=n("SVse"),o=n("8Y7J"),a=n("UhP/"),c=n("Dxy4"),l=n("XNiG"),h=n("IzEk"),u=n("1G5W"),d=n("GS7A"),f=n("YEUz"),p=n("HeVh"),b=n("SCoL");function m(t,e){if(1&t){const t=o.Wb();o.Vb(0,"div",1),o.Vb(1,"button",2),o.dc("click",function(){return o.zc(t),o.hc().action()}),o.Kc(2),o.Ub(),o.Ub()}if(2&t){const t=o.hc();o.Db(2),o.Lc(t.data.action)}}function g(t,e){}const y=new o.s("MatSnackBarData");class v{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const _=Math.pow(2,31)-1;class w{constructor(t,e){this._overlayRef=e,this._afterDismissed=new l.a,this._afterOpened=new l.a,this._onAction=new l.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,_))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let C=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(w),o.Pb(y))},t.\u0275cmp=o.Jb({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.Vb(0,"span"),o.Kc(1),o.Ub(),o.Ic(2,m,3,1,"div",0)),2&t&&(o.Db(1),o.Lc(e.data.message),o.Db(1),o.oc("ngIf",e.hasAction))},directives:[s.o,c.a],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const x={snackBarState:Object(d.n)("state",[Object(d.k)("void, hidden",Object(d.l)({transform:"scale(0.8)",opacity:0})),Object(d.k)("visible",Object(d.l)({transform:"scale(1)",opacity:1})),Object(d.m)("* => visible",Object(d.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(d.m)("* => void, * => hidden",Object(d.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(d.l)({opacity:0})))])};let S=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=r,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new l.a,this._onExit=new l.a,this._onEnter=new l.a,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?"off":"polite":"assertive"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Object(h.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Pb(o.B),o.Pb(o.l),o.Pb(o.h),o.Pb(b.a),o.Pb(v))},t.\u0275cmp=o.Jb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Ec(r.c,!0),2&t){let t;o.vc(t=o.ec())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.Gc("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.Hc("@state",e._animationState)},features:[o.Ab],decls:3,vars:1,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.Vb(0,"div",0),o.Ic(1,g,0,0,"ng-template",1),o.Ub(),o.Qb(2,"div")),2&t&&(o.Db(2),o.Eb("aria-live",e._live))},directives:[r.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[x.snackBarState]}}),t})(),O=(()=>{class t{}return t.\u0275mod=o.Nb({type:t}),t.\u0275inj=o.Mb({factory:function(e){return new(e||t)},imports:[[i.f,r.h,s.c,c.b,a.i],a.i]}),t})();const A=new o.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new v}});let k=(()=>{class t{constructor(t,e,n,i,r,s){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=C,this.snackBarContainerComponent=S,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new r.d(this.snackBarContainerComponent,e.viewContainerRef,n),s=t.attach(i);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new v),this._defaultConfig),e),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),a=new w(s,i);if(t instanceof o.O){const e=new r.i(t,null,{$implicit:n.data,snackBarRef:a});a.instance=s.attachTemplatePortal(e)}else{const e=this._createInjector(n,a),i=new r.d(t,void 0,e),o=s.attachComponentPortal(i);a.instance=o.instance}return this._breakpointObserver.observe(p.b.HandsetPortrait).pipe(Object(u.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.d;e.direction=t.direction;let n=this._overlay.position().global();const r="rtl"===t.direction,s="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!s&&"center"!==t.horizontalPosition;return s?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:e},{provide:y,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.Zb(i.c),o.Zb(f.k),o.Zb(o.t),o.Zb(p.a),o.Zb(t,12),o.Zb(A))},t.\u0275prov=Object(o.Lb)({factory:function(){return new t(Object(o.Zb)(i.c),Object(o.Zb)(f.k),Object(o.Zb)(o.p),Object(o.Zb)(p.a),Object(o.Zb)(t,12),Object(o.Zb)(A))},token:t,providedIn:O}),t})()},zP0r:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},zQhy:function(t,e,n){"use strict";n.d(e,"a",function(){return S}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return O});var i=n("8Y7J"),r=n("UhP/"),s=n("8LU1"),o=n("s7LF"),a=n("omvX"),c=n("YEUz"),l=n("CtHx");const h=["input"],u=function(){return{enterDuration:150}},d=["*"],f=new i.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let p=0;const b={provide:o.k,useExisting:Object(i.X)(()=>v),multi:!0};class m{constructor(t,e){this.source=t,this.value=e}}const g=new i.s("MatRadioGroup");let y=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+p++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(s.c)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new m(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(i.h))},t.\u0275dir=i.Kb({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),v=(()=>{class t extends y{}return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=i.Kb({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){if(1&t&&i.Ib(n,S,!0),2&t){let t;i.vc(t=i.ec())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i.Cb([b,{provide:g,useExisting:t}]),i.Ab]}),t})();const _=i.Xb(v);class w{constructor(t){this._elementRef=t}}const C=Object(r.y)(Object(r.C)(w));let x=(()=>{class t extends C{constructor(t,e,n,r,o,a,c,l){super(e),this._changeDetector=n,this._focusMonitor=r,this._radioDispatcher=o,this._animationMode=a,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++p,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,l&&(this.tabIndex=Object(s.f)(l,0)),this._removeUniqueSelectionListener=o.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Object(s.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Object(s.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(s.c)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return(this.id||this._uniqueId)+"-input"}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new m(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(y),i.Pb(i.l),i.Pb(i.h),i.Pb(c.h),i.Pb(l.d),i.Pb(String),i.Pb(void 0),i.Pb(String))},t.\u0275dir=i.Kb({type:t,viewQuery:function(t,e){if(1&t&&i.Pc(h,!0),2&t){let t;i.vc(t=i.ec())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i.Ab]}),t})(),S=(()=>{class t extends x{constructor(t,e,n,i,r,s,o,a){super(t,e,n,i,r,s,o,a)}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(g,8),i.Pb(i.l),i.Pb(i.h),i.Pb(c.h),i.Pb(l.d),i.Pb(a.a,8),i.Pb(f,8),i.ac("tabindex"))},t.\u0275cmp=i.Jb({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.dc("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.Eb("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Hb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.Ab],ngContentSelectors:d,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i.nc(),i.Vb(0,"label",0,1),i.Vb(2,"span",2),i.Qb(3,"span",3),i.Qb(4,"span",4),i.Vb(5,"input",5,6),i.dc("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i.Ub(),i.Vb(7,"span",7),i.Qb(8,"span",8),i.Ub(),i.Ub(),i.Vb(9,"span",9),i.Vb(10,"span",10),i.Kc(11,"\xa0"),i.Ub(),i.mc(12),i.Ub(),i.Ub()),2&t){const t=i.wc(1);i.Eb("for",e.inputId),i.Db(5),i.oc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.Eb("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.Db(2),i.oc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.rc(18,u)),i.Db(2),i.Hb("mat-radio-label-before","before"==e.labelPosition)}},directives:[r.r],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[r.s,r.i],r.i]}),t})()},zUnb:function(t,e,n){"use strict";n.r(e),n("yLV6");var i=n("8Y7J"),r=n("AytR"),s=n("cUpR"),o=n("omvX"),a=n("IheW"),c=n("tqRt"),l=n("7bNT"),h=n("yQ3t"),u=n("XNiG"),d=n("VRyK"),f=n("xgIS"),p=n("Cfvw"),b=n("HDdC"),m=n("D0XW"),g=n("Y7HM");function y(t=0,e=m.a){return(!Object(g.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=m.a),new b.a(n=>(n.add(e.schedule(v,t,{subscriber:n,counter:0,period:t})),n))}function v(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var _=n("PqYM"),w=n("LRne"),C=n("7o/Q"),x=n("z+Ro");class S{constructor(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}call(t,e){return e.subscribe(new A(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class O{constructor(){this.buffer=[]}}class A extends C.a{constructor(t,e,n,i,r){super(t),this.bufferTimeSpan=e,this.bufferCreationInterval=n,this.maxBufferSize=i,this.scheduler=r,this.contexts=[];const s=this.openContext();if(this.timespanOnly=null==n||n<0,this.timespanOnly)this.add(s.closeAction=r.schedule(k,e,{subscriber:this,context:s,bufferTimeSpan:e}));else{const t={bufferTimeSpan:e,bufferCreationInterval:n,subscriber:this,scheduler:r};this.add(s.closeAction=r.schedule(L,e,{subscriber:this,context:s})),this.add(r.schedule(E,n,t))}}_next(t){const e=this.contexts,n=e.length;let i;for(let r=0;r<n;r++){const n=e[r],s=n.buffer;s.push(t),s.length==this.maxBufferSize&&(i=n)}i&&this.onBufferFull(i)}_error(t){this.contexts.length=0,super._error(t)}_complete(){const{contexts:t,destination:e}=this;for(;t.length>0;){const n=t.shift();e.next(n.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(t){this.closeContext(t);const e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();const e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(k,e,{subscriber:this,context:t,bufferTimeSpan:e}))}}openContext(){const t=new O;return this.contexts.push(t),t}closeContext(t){this.destination.next(t.buffer);const e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)}}function k(t){const e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function E(t){const{bufferCreationInterval:e,bufferTimeSpan:n,subscriber:i,scheduler:r}=t,s=i.openContext();i.closed||(i.add(s.closeAction=r.schedule(L,n,{subscriber:i,context:s})),this.schedule(t,e))}function L(t){const{subscriber:e,context:n}=t;e.closeContext(n)}var D=n("pLZG"),I=n("vkgz"),P=n("eIep"),T=n("1G5W"),R=n("nYR2"),M=n("/uUt"),j=n("lJxs"),F=n("IzEk"),N=n("Kqap");class U{}let V=(()=>{class t{constructor(t,e){this._ngZone=e,this.timerStart$=new u.a,this.idleDetected$=new u.a,this.timeout$=new u.a,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,t&&this.setConfig(t)}startWatching(){this.activityEvents$||(this.activityEvents$=Object(d.a)(Object(f.a)(window,"mousemove"),Object(f.a)(window,"resize"),Object(f.a)(document,"keydown"))),this.idle$=Object(p.a)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function(t){let e=arguments.length,n=m.a;Object(x.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);let i=null;e>=2&&(i=arguments[1]);let r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new S(t,i,r,n))}}(this.idleSensitivityMillisec),Object(D.a)(t=>!t.length&&!this.isIdleDetected&&!this.isInactivityTimer),Object(I.a)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),Object(P.a)(()=>this._ngZone.runOutsideAngular(()=>y(1e3).pipe(Object(T.a)(Object(d.a)(this.activityEvents$,Object(_.a)(this.idleMillisec).pipe(Object(I.a)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),Object(R.a)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}))))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe(Object(M.a)(),Object(P.a)(t=>t?this.timer$:Object(w.a)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe(Object(D.a)(t=>!!t),Object(I.a)(()=>this.isTimeout=!0),Object(j.a)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec,idleSensitivity:this.idleSensitivityMillisec,timeout:this.timeout,ping:this.pingMillisec}}setConfigValues(t){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(t):console.error("Call stopWatching() before set config values")}setConfig(t){t.idle&&(this.idleMillisec=1e3*t.idle),t.ping&&(this.pingMillisec=1e3*t.ping),t.idleSensitivity&&(this.idleSensitivityMillisec=1e3*t.idleSensitivity),t.timeout&&(this.timeout=t.timeout)}setCustomActivityEvents(t){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=t:console.error("Call stopWatching() before set custom activity events")}setupTimer(t){this._ngZone.runOutsideAngular(()=>{this.timer$=y(1e3).pipe(Object(F.a)(t),Object(j.a)(()=>1),Object(N.a)((t,e)=>t+e),Object(I.a)(e=>{e===t&&this.timeout$.next(!0)}))})}setupPing(t){this.ping$=y(t).pipe(Object(D.a)(()=>!this.isTimeout))}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(U,8),i.Zb(i.B))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(i.V)({factory:function(){return new t(Object(i.Y)(U,8),Object(i.Y)(i.B))},token:t,providedIn:"root"}),t})(),B=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:U,useValue:e}]}}}return t.\u0275mod=i.Nb({type:t}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},imports:[[]]}),t})();var z=n("iInd"),H=n("wHSu"),W=n("VDRc"),Q=n("Nv++"),K=n("PDjf"),q=n("M9ds"),Y=n("SVse");const G=function(){return{initial:!1}};function Z(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",10),i.dc("click",function(){i.zc(t);const e=i.hc();return e.activeLink=e.links[1].link}),i.Kc(1),i.Ub()}if(2&t){const t=i.hc();i.pc("routerLink",t.links[1].link),i.oc("active",t.activeLink===t.links[1].link)("state",i.rc(4,G)),i.Db(1),i.Lc(t.links[1].name)}}function X(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("click",function(){i.zc(t);const e=i.hc();return e.activeLink=e.links[2].link}),i.Kc(1),i.Ub()}if(2&t){const t=i.hc();i.pc("routerLink",t.links[2].link),i.oc("active",t.activeLink===t.links[2].link),i.Db(1),i.Lc(t.links[2].name)}}let J=(()=>{class t{constructor(t,e){this.store=t,this.router=e,this.faUserCog=H.R,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new u.a,new u.a,new u.a]}ngOnInit(){let t=this.links.find(t=>this.router.url.includes(t.link));this.activeLink=t?t.link:this.links[0].link,this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{let e=this.links.find(e=>t.urlAfterRedirects.includes(e.link));this.activeLink=e?e.link:this.links[0].link}),this.store.select("root").pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.showBitcoind=!1,this.appConfig=t.appConfig,this.selNode=t.selNode,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-settings"]],decls:14,vars:6,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar",""],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Qb(1,"fa-icon",1),i.Vb(2,"span",2),i.Kc(3,"Settings"),i.Ub(),i.Ub(),i.Vb(4,"div",3),i.Vb(5,"mat-card"),i.Vb(6,"mat-card-content",4),i.Vb(7,"nav",5),i.Vb(8,"div",6),i.dc("click",function(){return e.activeLink=e.links[0].link}),i.Kc(9),i.Ub(),i.Ic(10,Z,2,5,"div",7),i.Ic(11,X,2,3,"div",8),i.Ub(),i.Vb(12,"div",9),i.Qb(13,"router-outlet"),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(1),i.oc("icon",e.faUserCog),i.Db(7),i.pc("routerLink",e.links[0].link),i.oc("active",e.activeLink===e.links[0].link),i.Db(1),i.Lc(e.links[0].name),i.Db(1),i.oc("ngIf",!e.appConfig.sso.rtlSSO),i.Db(1),i.oc("ngIf",e.showBitcoind))},directives:[W.c,W.b,Q.a,K.a,K.b,q.e,q.d,z.h,Y.o,W.a,z.l],styles:[""]}),t})();var $=n("/uX3"),tt=n("cpEJ"),et=n("aLe/"),nt=n("s7LF"),it=n("Q2Ze"),rt=n("ZTz/"),st=n("O4ig"),ot=n("Dxy4"),at=n("UhP/");function ct(t,e){if(1&t&&(i.Vb(0,"mat-option",16),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.oc("value",t.index),i.Db(1),i.Nc(" ",t.lnNode," (",t.lnImplementation,") ")}}function lt(t,e){if(1&t){const t=i.Wb();i.Vb(0,"form",2,3),i.Vb(2,"div",4),i.Qb(3,"fa-icon",5),i.Vb(4,"span",6),i.Kc(5,"Default Node"),i.Ub(),i.Ub(),i.Vb(6,"div",7),i.Vb(7,"div",8),i.Qb(8,"fa-icon",9),i.Vb(9,"span"),i.Kc(10,"The setting will apply after RTL server restart."),i.Ub(),i.Ub(),i.Vb(11,"div",10),i.Vb(12,"mat-form-field",10),i.Vb(13,"mat-select",11),i.dc("ngModelChange",function(e){return i.zc(t),i.hc().appConfig.defaultNodeIndex=e}),i.Ic(14,ct,2,3,"mat-option",12),i.Ub(),i.Ub(),i.Ub(),i.Vb(15,"div",13),i.Vb(16,"div",10),i.Vb(17,"button",14),i.dc("click",function(){return i.zc(t),i.hc().onResetSettings()}),i.Kc(18,"Reset"),i.Ub(),i.Vb(19,"button",15),i.dc("click",function(){return i.zc(t),i.hc().onUpdateSettings()}),i.Kc(20,"Update"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.Db(3),i.oc("icon",t.faWindowRestore),i.Db(5),i.oc("icon",t.faInfoCircle),i.Db(5),i.oc("ngModel",t.appConfig.defaultNodeIndex),i.Db(1),i.oc("ngForOf",t.appConfig.nodes)}}let ht=(()=>{class t{constructor(t,e){this.logger=t,this.store=e,this.faInfoCircle=H.t,this.faWindowRestore=H.V,this.faPlus=H.E,this.previousDefaultNode=0,this.unSubs=[new u.a,new u.a]}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{this.appConfig=t.appConfig,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.selNode=t.selNode,this.logger.info(t)})}onAddNewNode(){console.warn("ADD NEW NODE")}onUpdateSettings(){let t=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:+this.appConfig.nodes[0].index;this.store.dispatch(new $.G("Updating Defaule Node Settings...")),this.store.dispatch(new $.U({defaultNodeIndex:t}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(c.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxFlex","100",1,"alert","alert-info"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","2",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3",3,"click"],[3,"value"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Ic(1,lt,21,4,"form",1),i.Ub()),2&t&&(i.Db(1),i.oc("ngIf",e.appConfig.nodes&&e.appConfig.nodes.length&&e.appConfig.nodes.length>1))},directives:[W.c,W.a,et.b,Y.o,nt.u,nt.n,nt.o,W.b,Q.a,it.c,rt.a,st.a,nt.m,nt.p,Y.n,ot.a,at.m],styles:[""]}),t})();var ut=n("Cyaj"),dt=n("iELJ"),ft=n("cO3p"),pt=n("X9mX"),bt=n("zHaW"),mt=n("hzfI"),gt=n("e6WT"),yt=n("bwdU"),vt=n("dEYt");const _t=["stepper"];function wt(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc();i.Lc(t.passwordFormLabel)}}function Ct(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Password is required."),i.Ub())}function xt(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc(2);i.Lc(t.secretFormLabel)}}function St(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Secret Code is required."),i.Ub())}function Ot(t,e){if(1&t){const t=i.Wb();i.Vb(0,"mat-step",10),i.Vb(1,"form",22),i.Ic(2,xt,1,1,"ng-template",23),i.Vb(3,"div",24),i.Qb(4,"qrcode",25),i.Ub(),i.Vb(5,"div",26),i.Qb(6,"fa-icon",27),i.Vb(7,"span"),i.Kc(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),i.Ub(),i.Ub(),i.Vb(9,"div",28),i.Vb(10,"mat-form-field",13),i.Qb(11,"input",29),i.Vb(12,"fa-icon",30),i.dc("copied",function(e){return i.zc(t),i.hc().onCopySecret(e)}),i.Ub(),i.Ic(13,St,2,0,"mat-error",15),i.Ub(),i.Ub(),i.Vb(14,"div",31),i.Vb(15,"button",32),i.Kc(16,"Next"),i.Ub(),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("stepControl",t.secretFormGroup)("editable",t.flgEditable),i.Db(1),i.oc("formGroup",t.secretFormGroup),i.Db(3),i.oc("qrdata",t.otpauth)("margin",1)("width",180)("errorCorrectionLevel","L")("allowEmptyString",!0),i.Db(2),i.oc("icon",t.faInfoCircle),i.Db(6),i.oc("icon",t.faCopy)("payload",null==t.secretFormGroup||null==t.secretFormGroup.controls||null==t.secretFormGroup.controls.secret?null:t.secretFormGroup.controls.secret.value),i.Db(1),i.oc("ngIf",null==t.secretFormGroup||null==t.secretFormGroup.controls||null==t.secretFormGroup.controls.secret||null==t.secretFormGroup.controls.secret.errors?null:t.secretFormGroup.controls.secret.errors.required)}}function At(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc(2);i.Lc(t.tokenFormLabel)}}function kt(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Token is required."),i.Ub())}function Et(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Token is invalid."),i.Ub())}function Lt(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",7),i.Vb(1,"div",28),i.Vb(2,"mat-form-field",13),i.Qb(3,"input",36),i.Ic(4,kt,2,0,"mat-error",15),i.Ic(5,Et,2,0,"mat-error",15),i.Ub(),i.Ub(),i.Vb(6,"div",31),i.Vb(7,"button",37),i.dc("click",function(){return i.zc(t),i.hc(2).onVerifyToken()}),i.Kc(8),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc(2);i.Db(4),i.oc("ngIf",null==t.tokenFormGroup||null==t.tokenFormGroup.controls||null==t.tokenFormGroup.controls.token||null==t.tokenFormGroup.controls.token.errors?null:t.tokenFormGroup.controls.token.errors.required),i.Db(1),i.oc("ngIf",null==t.tokenFormGroup||null==t.tokenFormGroup.controls||null==t.tokenFormGroup.controls.token||null==t.tokenFormGroup.controls.token.errors?null:t.tokenFormGroup.controls.token.errors.notValid),i.Db(3),i.Lc(null!=t.tokenFormGroup&&null!=t.tokenFormGroup.controls&&null!=t.tokenFormGroup.controls.token&&null!=t.tokenFormGroup.controls.token.errors&&t.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Dt(t,e){1&t&&(i.Vb(0,"div"),i.Vb(1,"strong"),i.Kc(2,"Success! You are all set."),i.Ub(),i.Ub())}function It(t,e){if(1&t&&(i.Vb(0,"mat-step",33),i.Vb(1,"form",34),i.Ic(2,At,1,1,"ng-template",12),i.Ic(3,Lt,9,3,"div",35),i.Ic(4,Dt,3,0,"div",15),i.Ub(),i.Ub()),2&t){const t=i.hc();i.oc("stepControl",t.tokenFormGroup),i.Db(1),i.oc("formGroup",t.tokenFormGroup),i.Db(2),i.oc("ngIf",!t.flgValidated||!t.isTokenValid),i.Db(1),i.oc("ngIf",t.flgValidated&&t.isTokenValid)}}function Pt(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc(2);i.Lc(t.disableFormLabel)}}function Tt(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",7),i.Vb(1,"div",38),i.Qb(2,"fa-icon",27),i.Vb(3,"span"),i.Kc(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),i.Ub(),i.Ub(),i.Vb(5,"div",31),i.Vb(6,"button",37),i.dc("click",function(){return i.zc(t),i.hc(2).onVerifyToken()}),i.Kc(7,"Disable"),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc(2);i.Db(2),i.oc("icon",t.faExclamationTriangle)}}function Rt(t,e){1&t&&(i.Vb(0,"div"),i.Vb(1,"strong"),i.Kc(2,"Two factor authentication removed from RTL."),i.Ub(),i.Ub())}function Mt(t,e){if(1&t&&(i.Vb(0,"mat-step",33),i.Vb(1,"form",34),i.Ic(2,Pt,1,1,"ng-template",12),i.Ic(3,Tt,8,1,"div",35),i.Ic(4,Rt,3,0,"div",15),i.Ub(),i.Ub()),2&t){const t=i.hc();i.oc("stepControl",t.disableFormGroup),i.Db(1),i.oc("formGroup",t.disableFormGroup),i.Db(2),i.oc("ngIf",!t.flgValidated||!t.isTokenValid),i.Db(1),i.oc("ngIf",t.flgValidated&&t.isTokenValid)}}let jt=(()=>{class t{constructor(t,e,n,i,r,s){this.dialogRef=t,this.data=e,this.store=n,this.formBuilder=i,this.rtlEffects=r,this.snackBar=s,this.faExclamationTriangle=H.o,this.faCopy=H.j,this.faInfoCircle=H.t,this.flgValidated=!1,this.isTokenValid=!0,this.flgEditable=!0,this.showDisableStepper=!1,this.passwordFormLabel="Authenticate with your RTL password",this.secretFormLabel="Scan or copy the secret",this.tokenFormLabel="Verify your authentication is working",this.disableFormLabel="Disable two factor authentication",this.passwordFormGroup=this.formBuilder.group({hiddenPassword:["",[nt.t.required]],password:["",[nt.t.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},nt.t.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",nt.t.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new u.a,new u.a]}ngOnInit(){this.appConfig=this.data.appConfig,this.showDisableStepper=!!this.appConfig.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig.enable2FA?"":this.generateSecret(),disabled:!0},nt.t.required]})}generateSecret(){let t=ft.authenticator.generateSecret();return this.otpauth=ft.authenticator.keyuri("","Ride The Lightning (RTL)",t),t}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch(new $.u(ut(this.passwordFormGroup.controls.password.value))),this.rtlEffects.isAuthorizedRes.pipe(Object(F.a)(1)).subscribe(t=>{"ERROR"!==t?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(t){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig.enable2FA)this.store.dispatch(new $.G("Updating Settings...")),this.store.dispatch(new $.Z({secret2fa:""})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=ft.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.store.dispatch(new $.G("Updating Settings...")),this.store.dispatch(new $.Z({secret2fa:this.secretFormGroup.controls.secret.value})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0,this.appConfig.enable2FA=!this.appConfig.enable2FA}stepSelectionChanged(t){switch(t.selectedIndex){case 0:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully";break;default:this.passwordFormLabel="Authenticate with your RTL password"}t.selectedIndex<t.previouslySelectedIndex&&0===t.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(dt.f),i.Pb(dt.a),i.Pb(c.h),i.Pb(nt.d),i.Pb(pt.a),i.Pb(bt.b))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-two-factor-auth"]],viewQuery:function(t,e){if(1&t&&i.Pc(_t,!0),2&t){let t;i.vc(t=i.ec())&&(e.stepper=t.first)}},decls:28,vars:11,consts:[["fxLayout","row"],["fxFlex","100",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start",1,"padding-gap-x-large"],[1,"page-title"],["tabindex","15","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"mat-dialog-close"],[1,"mt-5px"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","space-between",1,"my-1","pr-1",3,"formGroup"],["matStepLabel",""],["fxFlex","100"],["autoFocus","","matInput","","placeholder","Password","type","password","tabindex","1","formControlName","password","required",""],[4,"ngIf"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","3","type","button",3,"click"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","tabindex","12","type","button","default","",3,"mat-dialog-close"],["fxLayout","column",1,"my-1","pr-1",3,"formGroup"],["matStepLabel","","disabled","true"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxFlex","100",1,"w-100","alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between stretch"],["autoFocus","","matInput","","placeholder","Secret Code","type","text","tabindex","4","formControlName","secret","required",""],["matSuffix","","rtlClipboard","",3,"icon","payload","copied"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","6","type","button","matStepperNext",""],[3,"stepControl"],["fxLayout","column","fxLayoutAlign","start",1,"my-1","pr-1",3,"formGroup"],["fxLayout","column",4,"ngIf"],["autoFocus","","matInput","","placeholder","Token","type","text","tabindex","7","formControlName","token","required",""],["mat-stroked-button","","color","primary","tabindex","8","type","button",3,"click"],["fxFlex","100",1,"w-100","alert","alert-warn"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Vb(2,"mat-card-header",2),i.Vb(3,"div",3),i.Vb(4,"span",4),i.Kc(5,"Setup Two Factor Authentication"),i.Ub(),i.Ub(),i.Vb(6,"button",5),i.Kc(7,"X"),i.Ub(),i.Ub(),i.Vb(8,"mat-card-content",6),i.Vb(9,"div",7),i.Vb(10,"mat-vertical-stepper",8,9),i.dc("selectionChange",function(t){return e.stepSelectionChanged(t)}),i.Vb(12,"mat-step",10),i.Vb(13,"form",11),i.Ic(14,wt,1,1,"ng-template",12),i.Vb(15,"div",0),i.Vb(16,"mat-form-field",13),i.Qb(17,"input",14),i.Ic(18,Ct,2,0,"mat-error",15),i.Ub(),i.Ub(),i.Vb(19,"div",16),i.Vb(20,"button",17),i.dc("click",function(){return e.onAuthenticate()}),i.Kc(21,"Confirm"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ic(22,Ot,17,12,"mat-step",18),i.Ic(23,It,5,4,"mat-step",19),i.Ic(24,Mt,5,4,"mat-step",19),i.Ub(),i.Vb(25,"div",20),i.Vb(26,"button",21),i.Kc(27),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(6),i.oc("mat-dialog-close",!1),i.Db(4),i.oc("linear",!0),i.Db(2),i.oc("stepControl",e.passwordFormGroup)("editable",e.flgEditable),i.Db(1),i.oc("formGroup",e.passwordFormGroup),i.Db(5),i.oc("ngIf",null==e.passwordFormGroup||null==e.passwordFormGroup.controls||null==e.passwordFormGroup.controls.password||null==e.passwordFormGroup.controls.password.errors?null:e.passwordFormGroup.controls.password.errors.required),i.Db(4),i.oc("ngIf",!e.showDisableStepper),i.Db(1),i.oc("ngIf",!e.showDisableStepper),i.Db(1),i.oc("ngIf",e.showDisableStepper),i.Db(2),i.oc("mat-dialog-close",!1),i.Db(1),i.Lc(e.flgValidated&&e.isTokenValid?"Close":"Cancel"))},directives:[W.c,W.a,K.c,W.b,ot.a,dt.d,K.b,mt.h,mt.a,nt.u,nt.n,nt.h,mt.b,it.c,gt.b,nt.c,st.a,nt.m,nt.g,nt.s,Y.o,it.b,yt.a,Q.a,it.g,vt.a,mt.f],styles:[""]}),t})();var Ft=n("BSbQ");const Nt=["authForm"];function Ut(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Current password is required."),i.Ub())}function Vt(t,e){if(1&t&&(i.Vb(0,"mat-error"),i.Kc(1),i.Ub()),2&t){const t=i.hc();i.Db(1),i.Lc(t.errorMsg)}}function Bt(t,e){if(1&t&&(i.Vb(0,"mat-error"),i.Kc(1),i.Ub()),2&t){const t=i.hc();i.Db(1),i.Lc(t.errorConfirmMsg)}}let zt=(()=>{class t{constructor(t,e,n,i){this.store=t,this.logger=e,this.actions$=n,this.router=i,this.faInfoCircle=H.t,this.faUserLock=H.S,this.faUserClock=H.Q,this.faLock=H.x,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new u.a,new u.a,new u.a]}ngOnInit(){this.initializeNodeData=!!history.state.initial,this.store.select("root").pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.appConfig=t.appConfig,this.selNode=t.selNode,this.logger.info(t)}),this.actions$.pipe(Object(T.a)(this.unSubs[2]),Object(D.a)(t=>t.type===$.I)).subscribe(t=>{if("password"===this.currPassword.toLowerCase())switch(this.selNode.lnImplementation.toUpperCase()){case"CLT":this.router.navigate(["/cl/home"]);break;case"ECL":this.router.navigate(["/ecl/home"]);break;default:this.router.navigate(["/lnd/home"])}this.form.resetForm()})}onChangePassword(){if(!this.currPassword||!this.newPassword||!this.confirmPassword||this.currPassword===this.newPassword||this.newPassword!==this.confirmPassword)return!0;this.store.dispatch(new $.K({currPassword:ut(this.currPassword),newPassword:ut(this.newPassword)}))}matchOldAndNewPasswords(){let t=!1;return this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",t=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",t=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",t=!0)),t}matchNewPasswords(){let t=!1;return this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",t=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",t=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",t=!0)),t}on2FAuth(){this.store.dispatch(new $.D({data:{appConfig:this.appConfig,component:jt}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch(new $.W({lnNode:this.selNode,isInitialSetup:!0})),this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(tt.b),i.Pb(l.a),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-auth-settings"]],viewQuery:function(t,e){if(1&t&&i.Ec(Nt,!0),2&t){let t;i.vc(t=i.ec())&&(e.form=t.first)}},decls:35,vars:11,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["matInput","","placeholder","Current Password","type","password","id","currpassword","name","currpassword","tabindex","6","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","placeholder","New Password","type","password","id","newpassword","name","newpassword","tabindex","7","required","",3,"ngModel","ngModelChange"],["matInput","","placeholder","Confirm New Password","type","password","id","confirmpassword","name","confirmpassword","tabindex","8","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10","type","button",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","end stretch",1,"my-2"],[3,"inset"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","11",1,"mb-2",3,"click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"form",1,2),i.Vb(3,"div",3),i.Qb(4,"fa-icon",4),i.Vb(5,"span",5),i.Kc(6,"Password"),i.Ub(),i.Ub(),i.Vb(7,"mat-form-field"),i.Vb(8,"input",6),i.dc("ngModelChange",function(t){return e.currPassword=t}),i.Ub(),i.Ic(9,Ut,2,0,"mat-error",7),i.Ub(),i.Vb(10,"mat-form-field"),i.Vb(11,"input",8),i.dc("ngModelChange",function(t){return e.newPassword=t}),i.Ub(),i.Ic(12,Vt,2,1,"mat-error",7),i.Ub(),i.Vb(13,"mat-form-field"),i.Vb(14,"input",9),i.dc("ngModelChange",function(t){return e.confirmPassword=t}),i.Ub(),i.Ic(15,Bt,2,1,"mat-error",7),i.Ub(),i.Vb(16,"div",10),i.Vb(17,"button",11),i.dc("click",function(){return e.onResetPassword()}),i.Kc(18,"Reset"),i.Ub(),i.Vb(19,"button",12),i.dc("click",function(){return e.onChangePassword()}),i.Kc(20,"Change Password"),i.Ub(),i.Ub(),i.Ub(),i.Vb(21,"div",13),i.Qb(22,"mat-divider",14),i.Ub(),i.Vb(23,"div",15),i.Vb(24,"div",16),i.Qb(25,"fa-icon",4),i.Vb(26,"span",5),i.Kc(27,"Two Factor Authentication"),i.Ub(),i.Ub(),i.Vb(28,"div",17),i.Qb(29,"fa-icon",18),i.Vb(30,"span"),i.Kc(31,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),i.Ub(),i.Ub(),i.Vb(32,"div",19),i.Vb(33,"button",20),i.dc("click",function(){return e.on2FAuth()}),i.Kc(34),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(4),i.oc("icon",e.faLock),i.Db(4),i.oc("ngModel",e.currPassword),i.Db(1),i.oc("ngIf",!e.currPassword),i.Db(2),i.oc("ngModel",e.newPassword),i.Db(1),i.oc("ngIf",e.matchOldAndNewPasswords()),i.Db(2),i.oc("ngModel",e.confirmPassword),i.Db(1),i.oc("ngIf",e.matchNewPasswords()),i.Db(7),i.oc("inset",!0),i.Db(3),i.oc("icon",e.faUserClock),i.Db(4),i.oc("icon",e.faInfoCircle),i.Db(5),i.Lc(e.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},directives:[W.c,W.a,W.b,nt.u,nt.n,nt.o,Q.a,it.c,gt.b,nt.c,nt.s,nt.m,nt.p,Y.o,ot.a,Ft.a,it.b],styles:[""]}),t})();var Ht=n("SqCe");function Wt(t,e){1&t&&i.Qb(0,"mat-divider",7)}function Qt(t,e){if(1&t&&(i.Vb(0,"div",4),i.Vb(1,"pre",5),i.Kc(2),i.ic(3,"json"),i.Ub(),i.Ic(4,Wt,1,0,"mat-divider",6),i.Ub()),2&t){const t=i.hc();i.Db(2),i.Lc(i.jc(3,2,t.configData)),i.Db(2),i.oc("ngIf",""!==t.configData)}}function Kt(t,e){if(1&t&&(i.Vb(0,"h2"),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.Lc(t)}}function qt(t,e){if(1&t&&(i.Vb(0,"h4",14),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.Lc(t)}}function Yt(t,e){1&t&&i.Qb(0,"mat-divider",15),2&t&&i.oc("inset",!0)}function Gt(t,e){if(1&t&&(i.Vb(0,"mat-list-item"),i.Vb(1,"mat-card-subtitle",7),i.Ic(2,Kt,2,1,"h2",10),i.Ub(),i.Vb(3,"mat-card-subtitle",11),i.Ic(4,qt,2,1,"h4",12),i.Ub(),i.Ic(5,Yt,1,1,"mat-divider",13),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.oc("ngIf",t.indexOf("[")>=0),i.Db(2),i.oc("ngIf",t.indexOf("[")<0),i.Db(1),i.oc("ngIf",t.indexOf("[")<0)}}function Zt(t,e){if(1&t&&(i.Vb(0,"div",8),i.Vb(1,"mat-list"),i.Ic(2,Gt,6,3,"mat-list-item",9),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(2),i.oc("ngForOf",t.configData)}}let Xt=(()=>{class t{constructor(t,e,n){this.store=t,this.rtlEffects=e,this.router=n,this.selectedNodeType="",this.configData="",this.fileFormat="INI",this.faCog=H.i,this.unSubs=[new u.a,new u.a]}ngOnInit(){this.selectedNodeType=this.router.url.includes("bconfig")?"bitcoind":"ln",this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{this.selectedNodeType=t.urlAfterRedirects.includes("bconfig")?"bitcoind":"ln"}),this.store.dispatch(new $.G("Opening Config File...")),this.store.dispatch(new $.p(this.selectedNodeType)),this.rtlEffects.showLnConfig.pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{const e=t.data;this.fileFormat=t.format,this.configData=""===e||!e||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==e&&e&&"JSON"===this.fileFormat?e:"":e.split("\n")})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(pt.a),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-bitcoin-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Ic(2,Qt,5,4,"div",2),i.Ic(3,Zt,3,1,"div",3),i.Ub(),i.Ub()),2&t&&(i.Db(2),i.oc("ngIf",""!==e.configData&&"JSON"===e.fileFormat),i.Db(1),i.oc("ngIf",""!==e.configData&&("INI"===e.fileFormat||"HOCON"===e.fileFormat)))},directives:[W.c,W.a,W.b,Y.o,Ft.a,Ht.a,Y.n,Ht.b,K.e],pipes:[Y.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),t})();const Jt=function(){return{initial:!1}};function $t(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",10),i.dc("click",function(){i.zc(t);const e=i.hc();return e.activeLink=e.links[1].link}),i.Kc(1),i.Ub()}if(2&t){const t=i.hc();i.pc("routerLink",t.links[1].link),i.oc("active",t.activeLink===t.links[1].link)("state",i.rc(4,Jt)),i.Db(1),i.Lc(t.links[1].name)}}function te(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("click",function(){i.zc(t);const e=i.hc();return e.activeLink=e.links[2].link}),i.Kc(1),i.Ub()}if(2&t){const t=i.hc();i.pc("routerLink",t.links[2].link),i.oc("active",t.activeLink===t.links[2].link),i.Db(1),i.Lc(t.links[2].name)}}let ee=(()=>{class t{constructor(t,e){this.store=t,this.router=e,this.faTools=H.N,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"node",name:"Node"},{link:"services",name:"Services"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new u.a,new u.a,new u.a]}ngOnInit(){let t=this.links.find(t=>this.router.url.includes(t.link));this.activeLink=t?t.link:this.links[0].link,this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{let e=this.links.find(e=>t.urlAfterRedirects.includes(e.link));this.activeLink=e?e.link:this.links[0].link}),this.store.select("root").pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{switch(this.showLnConfig=!1,this.appConfig=t.appConfig,this.selNode=t.selNode,this.selNode.lnImplementation.toUpperCase()){case"CLT":this.lnImplementationStr="C-Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[2].name=this.lnImplementationStr,this.showLnConfig=!0)})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-node-config"]],decls:14,vars:6,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar",""],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Qb(1,"fa-icon",1),i.Vb(2,"span",2),i.Kc(3,"Node Config"),i.Ub(),i.Ub(),i.Vb(4,"div",3),i.Vb(5,"mat-card"),i.Vb(6,"mat-card-content",4),i.Vb(7,"nav",5),i.Vb(8,"div",6),i.dc("click",function(){return e.activeLink=e.links[0].link}),i.Kc(9),i.Ub(),i.Ic(10,$t,2,5,"div",7),i.Ic(11,te,2,3,"div",8),i.Ub(),i.Vb(12,"div",9),i.Qb(13,"router-outlet"),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(1),i.oc("icon",e.faTools),i.Db(7),i.pc("routerLink",e.links[0].link),i.oc("active",e.activeLink===e.links[0].link),i.Db(1),i.Lc(e.links[0].name),i.Db(1),i.oc("ngIf","LND"===e.selNode.lnImplementation.toUpperCase()),i.Db(1),i.oc("ngIf",e.showLnConfig))},directives:[W.c,W.b,Q.a,K.a,K.b,q.e,q.d,z.h,Y.o,W.a,z.l],styles:[""]}),t})();function ne(t,e){1&t&&i.Qb(0,"mat-divider",7)}function ie(t,e){if(1&t&&(i.Vb(0,"div",4),i.Vb(1,"pre",5),i.Kc(2),i.ic(3,"json"),i.Ub(),i.Ic(4,ne,1,0,"mat-divider",6),i.Ub()),2&t){const t=i.hc();i.Db(2),i.Lc(i.jc(3,2,t.configData)),i.Db(2),i.oc("ngIf",""!==t.configData)}}function re(t,e){if(1&t&&(i.Vb(0,"h2"),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.Lc(t)}}function se(t,e){if(1&t&&(i.Vb(0,"h4",14),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.Lc(t)}}function oe(t,e){1&t&&i.Qb(0,"mat-divider",15),2&t&&i.oc("inset",!0)}function ae(t,e){if(1&t&&(i.Vb(0,"mat-list-item"),i.Vb(1,"mat-card-subtitle",7),i.Ic(2,re,2,1,"h2",10),i.Ub(),i.Vb(3,"mat-card-subtitle",11),i.Ic(4,se,2,1,"h4",12),i.Ub(),i.Ic(5,oe,1,1,"mat-divider",13),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.oc("ngIf",t.indexOf("[")>=0),i.Db(2),i.oc("ngIf",t.indexOf("[")<0),i.Db(1),i.oc("ngIf",t.indexOf("[")<0)}}function ce(t,e){if(1&t&&(i.Vb(0,"div",8),i.Vb(1,"mat-list"),i.Ic(2,ae,6,3,"mat-list-item",9),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(2),i.oc("ngForOf",t.configData)}}let le=(()=>{class t{constructor(t,e,n){this.store=t,this.rtlEffects=e,this.router=n,this.selectedNodeType="",this.configData="",this.fileFormat="INI",this.faCog=H.i,this.unSubs=[new u.a,new u.a]}ngOnInit(){this.selectedNodeType=this.router.url.includes("bconfig")?"bitcoind":"ln",this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{this.selectedNodeType=t.urlAfterRedirects.includes("bconfig")?"bitcoind":"ln"}),this.store.dispatch(new $.G("Opening Config File...")),this.store.dispatch(new $.p(this.selectedNodeType)),this.rtlEffects.showLnConfig.pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{const e=t.data;this.fileFormat=t.format,this.configData=""===e||!e||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==e&&e&&"JSON"===this.fileFormat?e:"":e.split("\n")})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(pt.a),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-lnp-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Ic(2,ie,5,4,"div",2),i.Ic(3,ce,3,1,"div",3),i.Ub(),i.Ub()),2&t&&(i.Db(2),i.oc("ngIf",""!==e.configData&&"JSON"===e.fileFormat),i.Db(1),i.oc("ngIf",""!==e.configData&&("INI"===e.fileFormat||"HOCON"===e.fileFormat)))},directives:[W.c,W.a,W.b,Y.o,Ft.a,Ht.a,Y.n,Ht.b,K.e],pipes:[Y.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),t})();var he=n("7nzP"),ue=n("lF6s"),de=n("LvnZ"),fe=n("MCVq"),pe=n("7o2P"),be=n("jMqV"),me=n("zQhy"),ge=n("ura0");function ye(t,e){if(1&t&&(i.Vb(0,"mat-option",35),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.oc("value",t.id),i.Db(1),i.Mc(" ",t.id," ")}}function ve(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Currency unit is required."),i.Ub())}function _e(t,e){if(1&t&&(i.Vb(0,"mat-radio-button",36),i.Kc(1),i.ic(2,"titlecase"),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.oc("value",t)("checked",n.selNode.settings.userPersona===t),i.Db(1),i.Mc(" ",i.jc(2,3,t)," ")}}const we=function(t){return{"mr-4":t}};function Ce(t,e){if(1&t&&(i.Vb(0,"mat-radio-button",37),i.Kc(1),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.oc("value",t)("ngClass",i.sc(3,we,n.screenSize===n.screenSizeEnum.XS||n.screenSize===n.screenSizeEnum.SM)),i.Db(1),i.Mc("",t.name," ")}}const xe=function(t){return{skin:!0,"selected-color":t}};function Se(t,e){if(1&t){const t=i.Wb();i.Vb(0,"span",38),i.Vb(1,"div",39),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc().changeThemeColor(n.id)}),i.ic(2,"lowercase"),i.Ub(),i.Kc(3),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc();i.Db(1),i.Fb(i.jc(2,4,t.id)),i.oc("ngClass",i.sc(6,xe,n.selectedThemeColor===t.id)),i.Db(2),i.Mc(" ",t.name," ")}}let Oe=(()=>{class t{constructor(t,e,n){this.logger=t,this.commonService=e,this.store=n,this.faExclamationTriangle=H.o,this.faMoneyBillAlt=H.z,this.faPaintBrush=H.C,this.faInfoCircle=H.t,this.information={},this.userPersonas=[he.z.OPERATOR,he.z.MERCHANT],this.currencyUnits=he.k,this.themeModes=he.o.modes,this.themeColors=he.o.themes,this.selectedThemeMode=he.o.modes[0],this.selectedThemeColor=he.o.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=he.s,this.unSubs=[new u.a,new u.a],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{this.appConfig=t.appConfig,this.selNode=t.selNode,this.selectedThemeMode=this.themeModes.find(t=>this.selNode.settings.themeMode===t.id),this.selectedThemeColor=this.selNode.settings.themeColor,this.information=t.nodeData,this.smallerCurrencyUnit=this.information&&this.information.smaller_currency_unit?this.information.smaller_currency_unit:"Sats",this.currencyUnit=this.information&&this.information.currency_unit?this.information.currency_unit:"BTC",this.selNode.settings.fiatConversion||(this.selNode.settings.currencyUnit=null),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.settings)),this.logger.info(t)})}onCurrencyChange(t){this.selNode.settings.currencyUnits=[...he.e,t.value],this.store.dispatch(new fe.Ub({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:t.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl})),this.store.dispatch(new de.Bb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:t.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl})),this.store.dispatch(new ue.qb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:t.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}))}toggleSettings(t,e){this.selNode.settings[t]=!this.selNode.settings[t]}changeThemeColor(t){this.selectedThemeColor=t,this.selNode.settings.themeColor=t}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onUpdateSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.logger.info(this.selNode.settings),this.store.dispatch(new $.G("Updating Node Settings...")),this.store.dispatch(new $.U({settings:this.selNode.settings})),this.store.dispatch(new fe.Ub({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl})),this.store.dispatch(new de.Bb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl})),this.store.dispatch(new ue.qb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}))}onResetSettings(){this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(t=>t.id===this.previousSettings.themeMode),this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch(new $.W({lnNode:this.selNode,isInitialSetup:!0}))}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(pe.a),i.Pb(c.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-node-settings"]],decls:60,vars:17,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch",1,"mt-1","bordered-box","padding-gap-large"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["fxLayout","row wrap","fxLayoutAlign","start center"],["tabindex","2","color","primary","name","fiatConversion",3,"ngModel","ngModelChange","change"],["autoFocus","","placeholder","Fiat Currency","tabindex","3","name","currencyUnit",3,"ngModel","disabled","required","ngModelChange","selectionChange"],["currencyUnit","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","row wrap","fxLayoutAlign","start start","fxLayout.gt-sm","column","fxFlex","100","fxLayoutAlign.gt-sm","space-between stretch",1,"settings-container","page-sub-title-container","mt-1"],[1,"mt-1"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",3,"ngModel","ngModelChange"],["class","mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1",3,"inset"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxFlex.gt-xs","20","fxFlex.gt-md","15","fxLayout","column","fxLayoutAlign","space-between stretch"],["color","primary","name","themeMode",3,"ngModel","ngModelChange","change"],["tabindex","5",3,"value","ngClass",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],[1,"mr-4",3,"value","checked"],["tabindex","5",3,"value","ngClass"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"ngClass","click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"form",1,2),i.Vb(3,"div",3),i.Qb(4,"fa-icon",4),i.Vb(5,"span",5),i.Kc(6,"Balance Display"),i.Ub(),i.Ub(),i.Vb(7,"div",6),i.Vb(8,"div",7),i.Qb(9,"fa-icon",8),i.Vb(10,"span"),i.Kc(11,"Fiat conversion calls "),i.Vb(12,"strong"),i.Vb(13,"a",9),i.Kc(14,"Blockchain.com"),i.Ub(),i.Ub(),i.Kc(15," API to get conversion rates."),i.Ub(),i.Ub(),i.Vb(16,"div",10),i.Vb(17,"mat-slide-toggle",11),i.dc("ngModelChange",function(t){return e.selNode.settings.fiatConversion=t})("change",function(t){return e.selNode.settings.currencyUnit=t.checked?e.selNode.settings.currencyUnit:null}),i.Kc(18,"Enable Fiat Conversion"),i.Ub(),i.Vb(19,"mat-form-field"),i.Vb(20,"mat-select",12,13),i.dc("ngModelChange",function(t){return e.selNode.settings.currencyUnit=t})("selectionChange",function(t){return e.onCurrencyChange(t)}),i.Ic(22,ye,2,2,"mat-option",14),i.Ub(),i.Ic(23,ve,2,0,"mat-error",15),i.Ub(),i.Ub(),i.Ub(),i.Vb(24,"div",16),i.Vb(25,"div",17),i.Vb(26,"div",18),i.Qb(27,"fa-icon",4),i.Vb(28,"span",5),i.Kc(29,"Customization"),i.Ub(),i.Ub(),i.Vb(30,"div",6),i.Vb(31,"div",19),i.Vb(32,"div",20),i.Qb(33,"fa-icon",8),i.Vb(34,"span"),i.Kc(35,"Dashboard layout will be tailored based on the role selected to better serve its needs."),i.Ub(),i.Ub(),i.Vb(36,"div",21),i.Vb(37,"h4"),i.Kc(38,"Dashboard Layout"),i.Ub(),i.Vb(39,"mat-radio-group",22),i.dc("ngModelChange",function(t){return e.selNode.settings.userPersona=t}),i.Ic(40,_e,3,5,"mat-radio-button",23),i.Ub(),i.Ub(),i.Ub(),i.Qb(41,"mat-divider",24),i.Vb(42,"div",25),i.Vb(43,"div",26),i.Vb(44,"h4"),i.Kc(45,"Mode"),i.Ub(),i.Vb(46,"mat-radio-group",27),i.dc("ngModelChange",function(t){return e.selectedThemeMode=t})("change",function(){return e.chooseThemeMode()}),i.Ic(47,Ce,2,5,"mat-radio-button",28),i.Ub(),i.Ub(),i.Ub(),i.Qb(48,"mat-divider",24),i.Vb(49,"div",25),i.Vb(50,"div",29),i.Vb(51,"h4"),i.Kc(52,"Themes"),i.Ub(),i.Vb(53,"div",30),i.Ic(54,Se,4,8,"span",31),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Vb(55,"div",32),i.Vb(56,"button",33),i.dc("click",function(){return e.onResetSettings()}),i.Kc(57,"Reset"),i.Ub(),i.Vb(58,"button",34),i.dc("click",function(){return e.onUpdateSettings()}),i.Kc(59,"Update"),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(4),i.oc("icon",e.faMoneyBillAlt),i.Db(5),i.oc("icon",e.faExclamationTriangle),i.Db(8),i.oc("ngModel",e.selNode.settings.fiatConversion),i.Db(3),i.oc("ngModel",e.selNode.settings.currencyUnit)("disabled",!e.selNode.settings.fiatConversion)("required",e.selNode.settings.fiatConversion),i.Db(2),i.oc("ngForOf",e.currencyUnits),i.Db(1),i.oc("ngIf",e.selNode.settings.fiatConversion&&!e.selNode.settings.currencyUnit),i.Db(4),i.oc("icon",e.faPaintBrush),i.Db(6),i.oc("icon",e.faInfoCircle),i.Db(6),i.oc("ngModel",e.selNode.settings.userPersona),i.Db(1),i.oc("ngForOf",e.userPersonas),i.Db(1),i.oc("inset",!0),i.Db(5),i.oc("ngModel",e.selectedThemeMode),i.Db(1),i.oc("ngForOf",e.themeModes),i.Db(1),i.oc("inset",!0),i.Db(6),i.oc("ngForOf",e.themeColors))},directives:[W.c,W.a,et.b,nt.u,nt.n,nt.o,W.b,Q.a,be.a,nt.m,nt.p,it.c,rt.a,st.a,nt.s,Y.n,Y.o,me.b,Ft.a,ot.a,at.m,it.b,me.a,Y.m,ge.a],pipes:[Y.x,Y.l],styles:[""]}),t})();const Ae=function(){return{initial:!1}};let ke=(()=>{class t{constructor(t,e){this.store=t,this.router=e,this.faLayerGroup=H.u,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"}],this.activeLink="",this.unSubs=[new u.a,new u.a,new u.a]}ngOnInit(){let t=this.links.find(t=>this.router.url.includes(t.link));this.activeLink=t?t.link:this.links[0].link,this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{let e=this.links.find(e=>t.urlAfterRedirects.includes(e.link));this.activeLink=e?e.link:this.links[0].link}),this.store.select("root").pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.appConfig=t.appConfig,this.selNode=t.selNode})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-services-settings"]],decls:14,vars:9,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar",""],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Qb(1,"fa-icon",1),i.Vb(2,"span",2),i.Kc(3,"Services"),i.Ub(),i.Ub(),i.Vb(4,"div",3),i.Vb(5,"mat-card"),i.Vb(6,"mat-card-content",4),i.Vb(7,"nav",5),i.Vb(8,"div",6),i.dc("click",function(){return e.activeLink=e.links[0].link}),i.Kc(9),i.Ub(),i.Vb(10,"div",7),i.dc("click",function(){return e.activeLink=e.links[1].link}),i.Kc(11),i.Ub(),i.Ub(),i.Vb(12,"div",8),i.Qb(13,"router-outlet"),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(1),i.oc("icon",e.faLayerGroup),i.Db(7),i.pc("routerLink",e.links[0].link),i.oc("active",e.activeLink===e.links[0].link),i.Db(1),i.Lc(e.links[0].name),i.Db(1),i.pc("routerLink",e.links[1].link),i.oc("active",e.activeLink===e.links[1].link)("state",i.rc(8,Ae)),i.Db(1),i.Lc(e.links[1].name))},directives:[W.c,W.b,Q.a,K.a,K.b,q.e,q.d,z.h,W.a,z.l],styles:[""]}),t})();const Ee=["form"];function Le(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Loop server URL is required."),i.Ub())}function De(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Specify the loop server url with 'https://'."),i.Ub())}function Ie(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Loop macaroon path is required."),i.Ub())}let Pe=(()=>{class t{constructor(t,e){this.logger=t,this.store=e,this.faInfoCircle=H.t,this.enableLoop=!1,this.unSubs=[new u.a,new u.a]}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{this.appConfig=t.appConfig,this.selNode=t.selNode,this.enableLoop=t.selNode.settings.swapServerUrl&&""!==t.selNode.settings.swapServerUrl.trim(),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(t)})}onEnableServiceChanged(t){this.enableLoop=t.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.logger.info(this.selNode),this.store.dispatch(new $.G("Updating Loop Service Settings...")),this.store.dispatch(new $.db({service:he.t.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}})),this.store.dispatch(new fe.Ub({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl})),this.store.dispatch(new de.Bb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl})),this.store.dispatch(new ue.qb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(c.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-loop-service-settings"]],viewQuery:function(t,e){if(1&t&&i.Ec(Ee,!0),2&t){let t;i.vc(t=i.ec())&&(e.form=t.first)}},decls:34,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxFlex","100",1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://github.com/lightninglabs/loop","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"mb-1",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","placeholder","Loop Server URL","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"ngModel","required","disabled","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","placeholder","Loop Macaroon Path","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"ngModel","required","disabled","ngModelChange"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(t,e){if(1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Qb(2,"fa-icon",2),i.Vb(3,"span"),i.Kc(4,"Please ensure that "),i.Vb(5,"strong"),i.Kc(6,"loopd"),i.Ub(),i.Kc(7," is running and accessible to RTL before enabling this service. Click "),i.Vb(8,"strong"),i.Vb(9,"a",3),i.Kc(10,"here"),i.Ub(),i.Ub(),i.Kc(11," to learn more about the installation."),i.Ub(),i.Ub(),i.Vb(12,"form",4,5),i.Vb(14,"div",6),i.Vb(15,"mat-slide-toggle",7),i.dc("ngModelChange",function(t){return e.enableLoop=t})("change",function(t){return e.onEnableServiceChanged(t)}),i.Kc(16,"Enable Loop Service"),i.Ub(),i.Vb(17,"mat-form-field",8),i.Vb(18,"input",9,10),i.dc("ngModelChange",function(t){return e.selNode.settings.swapServerUrl=t}),i.Ub(),i.Vb(20,"mat-hint"),i.Kc(21,"Service url for loop server REST APIs, eg. https://localhost:8081"),i.Ub(),i.Ic(22,Le,2,0,"mat-error",11),i.Ic(23,De,2,0,"mat-error",11),i.Ub(),i.Vb(24,"mat-form-field"),i.Vb(25,"input",12),i.dc("ngModelChange",function(t){return e.selNode.authentication.swapMacaroonPath=t}),i.Ub(),i.Vb(26,"mat-hint"),i.Kc(27,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),i.Ub(),i.Ic(28,Ie,2,0,"mat-error",11),i.Ub(),i.Ub(),i.Ub(),i.Vb(29,"div",13),i.Vb(30,"button",14),i.dc("click",function(){return e.onReset()}),i.Kc(31,"Reset"),i.Ub(),i.Vb(32,"button",15),i.dc("click",function(){return e.onUpdateService()}),i.Kc(33,"Update"),i.Ub(),i.Ub(),i.Ub()),2&t){const t=i.wc(19);i.Db(2),i.oc("icon",e.faInfoCircle),i.Db(13),i.oc("ngModel",e.enableLoop),i.Db(3),i.oc("ngModel",e.selNode.settings.swapServerUrl)("required",e.enableLoop)("disabled",!e.enableLoop),i.Db(4),i.oc("ngIf",!e.selNode.settings.swapServerUrl&&e.enableLoop),i.Db(1),i.oc("ngIf",(null==t||null==t.errors?null:t.errors.invalid)&&e.enableLoop),i.Db(2),i.oc("ngModel",e.selNode.authentication.swapMacaroonPath)("required",e.enableLoop)("disabled",!e.enableLoop),i.Db(3),i.oc("ngIf",!e.selNode.authentication.swapMacaroonPath&&e.enableLoop)}},directives:[W.c,W.a,et.b,Q.a,nt.u,nt.n,nt.o,W.b,be.a,st.a,nt.m,nt.p,it.c,gt.b,nt.c,nt.s,it.f,Y.o,ot.a,it.b],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),t})();const Te=["form"];function Re(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Boltz server URL is required."),i.Ub())}function Me(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Specify the boltz server url with 'https://'."),i.Ub())}function je(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Boltz macaroon path is required."),i.Ub())}let Fe=(()=>{class t{constructor(t,e){this.logger=t,this.store=e,this.faInfoCircle=H.t,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new u.a,new u.a]}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{this.appConfig=t.appConfig,this.selNode=t.selNode,this.enableBoltz=t.selNode.settings.boltzServerUrl&&""!==t.selNode.settings.boltzServerUrl.trim(),this.serverUrl=this.selNode.settings.boltzServerUrl,this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(t)})}onEnableServiceChanged(t){this.enableBoltz=t.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath,this.store.dispatch(new $.G("Updating Boltz Service Settings...")),this.store.dispatch(new $.db({service:he.t.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}})),this.store.dispatch(new fe.Ub({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl})),this.store.dispatch(new de.Bb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl})),this.store.dispatch(new ue.qb({userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.settings.boltzServerUrl,this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.enableBoltz=this.serverUrl&&""!==this.serverUrl.trim()}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(c.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(t,e){if(1&t&&i.Ec(Te,!0),2&t){let t;i.vc(t=i.ec())&&(e.form=t.first)}},decls:34,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxFlex","100",1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://lnd.docs.boltz.exchange/en/latest/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"mb-1",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","placeholder","Boltz Server URL","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"ngModel","required","disabled","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","placeholder","Boltz Macaroon Path","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"ngModel","required","disabled","ngModelChange"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(t,e){if(1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Qb(2,"fa-icon",2),i.Vb(3,"span"),i.Kc(4,"Please ensure that "),i.Vb(5,"strong"),i.Kc(6,"boltzd"),i.Ub(),i.Kc(7," is running and accessible to RTL before enabling this service. Click "),i.Vb(8,"strong"),i.Vb(9,"a",3),i.Kc(10,"here"),i.Ub(),i.Ub(),i.Kc(11," to learn more about the installation."),i.Ub(),i.Ub(),i.Vb(12,"form",4,5),i.Vb(14,"div",6),i.Vb(15,"mat-slide-toggle",7),i.dc("ngModelChange",function(t){return e.enableBoltz=t})("change",function(t){return e.onEnableServiceChanged(t)}),i.Kc(16,"Enable Boltz Service"),i.Ub(),i.Vb(17,"mat-form-field",8),i.Vb(18,"input",9,10),i.dc("ngModelChange",function(t){return e.serverUrl=t}),i.Ub(),i.Vb(20,"mat-hint"),i.Kc(21,"Service url for boltz server REST APIs, eg. https://localhost:9003"),i.Ub(),i.Ic(22,Re,2,0,"mat-error",11),i.Ic(23,Me,2,0,"mat-error",11),i.Ub(),i.Vb(24,"mat-form-field"),i.Vb(25,"input",12),i.dc("ngModelChange",function(t){return e.macaroonPath=t}),i.Ub(),i.Vb(26,"mat-hint"),i.Kc(27,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),i.Ub(),i.Ic(28,je,2,0,"mat-error",11),i.Ub(),i.Ub(),i.Ub(),i.Vb(29,"div",13),i.Vb(30,"button",14),i.dc("click",function(){return e.onReset()}),i.Kc(31,"Reset"),i.Ub(),i.Vb(32,"button",15),i.dc("click",function(){return e.onUpdateService()}),i.Kc(33,"Update"),i.Ub(),i.Ub(),i.Ub()),2&t){const t=i.wc(19);i.Db(2),i.oc("icon",e.faInfoCircle),i.Db(13),i.oc("ngModel",e.enableBoltz),i.Db(3),i.oc("ngModel",e.serverUrl)("required",e.enableBoltz)("disabled",!e.enableBoltz),i.Db(4),i.oc("ngIf",(!e.serverUrl||""===e.serverUrl.trim())&&e.enableBoltz),i.Db(1),i.oc("ngIf",(null==t||null==t.errors?null:t.errors.invalid)&&e.enableBoltz),i.Db(2),i.oc("ngModel",e.macaroonPath)("required",e.enableBoltz)("disabled",!e.enableBoltz),i.Db(3),i.oc("ngIf",!e.macaroonPath&&e.enableBoltz)}},directives:[W.c,W.a,et.b,Q.a,nt.u,nt.n,nt.o,W.b,be.a,st.a,nt.m,nt.p,it.c,gt.b,nt.c,nt.s,it.f,Y.o,ot.a,it.b],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),t})(),Ne=(()=>{class t{constructor(t,e){this.store=t,this.router=e,this.faLayerGroup=H.u,this.showLnConfig=!1,this.showBitcoind=!1,this.lnImplementationStr="",this.links=[{link:"layout",name:"Layout"},{link:"auth",name:"Authentication"},{link:"lnconfig",name:this.lnImplementationStr},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new u.a,new u.a,new u.a]}ngOnInit(){let t=this.links.find(t=>this.router.url.includes(t.link));this.activeLink=t?t.link:this.links[0].link,this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{let e=this.links.find(e=>t.urlAfterRedirects.includes(e.link));this.activeLink=e?e.link:this.links[0].link}),this.store.select("root").pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{switch(this.showLnConfig=!1,this.showBitcoind=!1,this.appConfig=t.appConfig,this.selNode=t.selNode,this.selNode.lnImplementation.toUpperCase()){case"CLT":this.lnImplementationStr="C-Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[2].name=this.lnImplementationStr,this.showLnConfig=!0),this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-services"]],decls:1,vars:0,template:function(t,e){1&t&&i.Qb(0,"router-outlet")},directives:[z.l],styles:[""]}),t})();var Ue=n("CwT3"),Ve=n("hBQm"),Be=n("5QHs"),ze=n("LUZP"),He=n("OaSA"),We=n("BTe0");function Qe(t,e){1&t&&i.Qb(0,"mat-progress-bar",34)}function Ke(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," Initiation Time "),i.Ub())}function qe(t,e){if(1&t&&(i.Vb(0,"td",36),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.initiation_time_str)}}function Ye(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," Last Update Time "),i.Ub())}function Ge(t,e){if(1&t&&(i.Vb(0,"td",36),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.last_update_time_str)}}function Ze(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," ID "),i.Ub())}function Xe(t,e){if(1&t&&(i.Vb(0,"td",36),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.id)}}function Je(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," ID (Bytes) "),i.Ub())}function $e(t,e){if(1&t&&(i.Vb(0,"td",36),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.id_bytes)}}function tn(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," State "),i.Ub())}function en(t,e){if(1&t&&(i.Vb(0,"td",36),i.Kc(1),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Db(1),i.Lc(n.LoopStateEnum[t.state])}}function nn(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," HTLC Address "),i.Ub())}function rn(t,e){if(1&t&&(i.Vb(0,"td",36),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.htlc_address)}}function sn(t,e){1&t&&(i.Vb(0,"th",37),i.Kc(1," Amount (Sats) "),i.Ub())}function on(t,e){if(1&t&&(i.Vb(0,"td",36),i.Vb(1,"span",38),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.amt))}}function an(t,e){1&t&&(i.Vb(0,"th",37),i.Kc(1," Cost Server (Sats) "),i.Ub())}function cn(t,e){if(1&t&&(i.Vb(0,"td",36),i.Vb(1,"span",38),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.cost_server))}}function ln(t,e){1&t&&(i.Vb(0,"th",37),i.Kc(1," Cost Offchain (Sats) "),i.Ub())}function hn(t,e){if(1&t&&(i.Vb(0,"td",36),i.Vb(1,"span",38),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.cost_offchain))}}function un(t,e){1&t&&(i.Vb(0,"th",37),i.Kc(1," Cost Onchain (Sats) "),i.Ub())}function dn(t,e){if(1&t&&(i.Vb(0,"td",36),i.Vb(1,"span",38),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Mc(" ",i.jc(3,1,null==t?null:t.cost_onchain)," ")}}function fn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"th",39),i.Vb(1,"div",40),i.Vb(2,"mat-select",41),i.Qb(3,"mat-select-trigger"),i.Vb(4,"mat-option",42),i.dc("click",function(){return i.zc(t),i.hc().onDownloadCSV()}),i.Kc(5,"Download CSV"),i.Ub(),i.Ub(),i.Ub(),i.Ub()}}function pn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"td",43),i.Vb(1,"button",44),i.dc("click",function(n){i.zc(t);const r=e.$implicit;return i.hc().onSwapClick(r,n)}),i.Kc(2,"View Info"),i.Ub(),i.Ub()}}function bn(t,e){if(1&t&&(i.Vb(0,"p"),i.Kc(1),i.Ub()),2&t){const t=i.hc(2);i.Db(1),i.Lc(t.emptyTableMessage)}}function mn(t,e){if(1&t&&(i.Vb(0,"td",45),i.Ic(1,bn,2,1,"p",46),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("ngIf",!(null!=t.listSwaps&&t.listSwaps.data)||(null==t.listSwaps||null==t.listSwaps.data?null:t.listSwaps.data.length)<1)}}const gn=function(t){return{"display-none":t}};function yn(t,e){if(1&t&&i.Qb(0,"tr",47),2&t){const t=i.hc();i.oc("ngClass",i.sc(1,gn,(null==t.listSwaps?null:t.listSwaps.data)&&(null==t.listSwaps||null==t.listSwaps.data?null:t.listSwaps.data.length)>0))}}function vn(t,e){1&t&&i.Qb(0,"tr",48)}function _n(t,e){1&t&&i.Qb(0,"tr",49)}const wn=function(t){return{"overflow-auto error-border":t,"overflow-auto":!0}},Cn=function(){return["no_swap"]};let xn=(()=>{class t{constructor(t,e,n,i,r){this.logger=t,this.commonService=e,this.store=n,this.actions$=i,this.loopService=r,this.selectedSwapType=he.m.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.LoopStateEnum=he.l,this.faHistory=H.r,this.swapCaption="Loop Out",this.displayedColumns=[],this.flgSticky=!1,this.pageSize=he.p,this.pageSizeOptions=he.q,this.screenSize="",this.screenSizeEnum=he.s,this.unSubs=[new u.a,new u.a,new u.a],this.screenSize=this.commonService.getScreenSize(),this.screenSize===he.s.XS||this.screenSize===he.s.SM?(this.flgSticky=!1,this.displayedColumns=["state","amt","actions"]):this.screenSize===he.s.MD?(this.flgSticky=!1,this.displayedColumns=["state","initiation_time","amt","actions"]):(this.flgSticky=!0,this.displayedColumns=["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain","actions"])}ngOnInit(){}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}ngOnChanges(t){this.swapCaption=this.selectedSwapType===he.m.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(t){this.listSwaps.filter=t.value.trim().toLowerCase()}onSwapClick(t,e){this.loopService.getSwap(t.id_bytes.replace(/\//g,"_").replace(/\+/g,"-")).pipe(Object(T.a)(this.unSubs[2])).subscribe(t=>{this.store.dispatch(new $.D({data:{type:he.b.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:he.l[t.state],title:"Status",width:50,type:he.h.STRING},{key:"amt",value:t.amt,title:"Amount (Sats)",width:50,type:he.h.NUMBER}],[{key:"initiation_time_str",value:t.initiation_time_str,title:"Initiation Time",width:50,type:he.h.DATE_TIME},{key:"last_update_time_str",value:t.last_update_time_str,title:"Last Update Time",width:50,type:he.h.DATE_TIME}],[{key:"cost_server",value:t.cost_server,title:"Server Cost (Sats)",width:33,type:he.h.NUMBER},{key:"cost_offchain",value:t.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:he.h.NUMBER},{key:"cost_onchain",value:t.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:he.h.NUMBER}],[{key:"id_bytes",value:t.id_bytes,title:"ID",width:100,type:he.h.STRING}],[{key:"htlc_address",value:t.htlc_address,title:"HTLC Address",width:100,type:he.h.STRING}]],openedBy:"SWAP"}}))})}loadSwapsTable(t){this.listSwaps=new He.o([...t]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(t,e)=>t[e]&&isNaN(t[e])?t[e].toLocaleLowerCase():t[e]?+t[e]:null,this.listSwaps.filterPredicate=(t,e)=>JSON.stringify(t).toLowerCase().includes(e),this.listSwaps.paginator=this.paginator,this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===he.m.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(pe.a),i.Pb(c.h),i.Pb(l.a),i.Pb(Ve.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-swaps"]],viewQuery:function(t,e){if(1&t&&(i.Pc(ze.a,!0),i.Pc(Be.a,!0)),2&t){let t;i.vc(t=i.ec())&&(e.sort=t.first),i.vc(t=i.ec())&&(e.paginator=t.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[i.Cb([{provide:Be.b,useValue:Object(he.B)("Swaps")}]),i.Bb],decls:52,vars:15,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex","30"],["matInput","","placeholder","Filter",3,"keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"dataSource","ngClass"],["table",""],["matColumnDef","initiation_time"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","last_update_time"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","state"],["matColumnDef","htlc_address"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","actions"],["mat-header-cell","","class","px-3",4,"matHeaderCellDef"],["mat-cell","","class","pl-3","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-4",3,"pageSize","pageSizeOptions","showFirstLastButtons"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell","",1,"px-3"],[1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center",1,"pl-3"],["mat-stroked-button","","color","primary","type","button","tabindex","4",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Vb(2,"div",2),i.Qb(3,"fa-icon",3),i.Vb(4,"span",4),i.Kc(5),i.Ub(),i.Ub(),i.Vb(6,"mat-form-field",5),i.Vb(7,"input",6),i.dc("keyup",function(t){return e.applyFilter(t.target)}),i.Ub(),i.Ub(),i.Ub(),i.Vb(8,"div",7),i.Vb(9,"div",8),i.Ic(10,Qe,1,0,"mat-progress-bar",9),i.Vb(11,"table",10,11),i.Tb(13,12),i.Ic(14,Ke,2,0,"th",13),i.Ic(15,qe,2,1,"td",14),i.Sb(),i.Tb(16,15),i.Ic(17,Ye,2,0,"th",13),i.Ic(18,Ge,2,1,"td",14),i.Sb(),i.Tb(19,16),i.Ic(20,Ze,2,0,"th",13),i.Ic(21,Xe,2,1,"td",14),i.Sb(),i.Tb(22,17),i.Ic(23,Je,2,0,"th",13),i.Ic(24,$e,2,1,"td",14),i.Sb(),i.Tb(25,18),i.Ic(26,tn,2,0,"th",13),i.Ic(27,en,2,1,"td",14),i.Sb(),i.Tb(28,19),i.Ic(29,nn,2,0,"th",13),i.Ic(30,rn,2,1,"td",14),i.Sb(),i.Tb(31,20),i.Ic(32,sn,2,0,"th",21),i.Ic(33,on,4,3,"td",14),i.Sb(),i.Tb(34,22),i.Ic(35,an,2,0,"th",21),i.Ic(36,cn,4,3,"td",14),i.Sb(),i.Tb(37,23),i.Ic(38,ln,2,0,"th",21),i.Ic(39,hn,4,3,"td",14),i.Sb(),i.Tb(40,24),i.Ic(41,un,2,0,"th",21),i.Ic(42,dn,4,3,"td",14),i.Sb(),i.Tb(43,25),i.Ic(44,fn,6,0,"th",26),i.Ic(45,pn,3,0,"td",27),i.Sb(),i.Tb(46,28),i.Ic(47,mn,2,1,"td",29),i.Sb(),i.Ic(48,yn,1,3,"tr",30),i.Ic(49,vn,1,0,"tr",31),i.Ic(50,_n,1,0,"tr",32),i.Ub(),i.Qb(51,"mat-paginator",33),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(3),i.oc("icon",e.faHistory),i.Db(2),i.Mc("",e.swapCaption," History"),i.Db(5),i.oc("ngIf",!0===e.flgLoading[0]),i.Db(1),i.oc("dataSource",e.listSwaps)("ngClass",i.sc(12,wn,"error"===e.flgLoading[0])),i.Db(37),i.oc("matFooterRowDef",i.rc(14,Cn)),i.Db(1),i.oc("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",e.flgSticky),i.Db(1),i.oc("matRowDefColumns",e.displayedColumns),i.Db(1),i.oc("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions)("showFirstLastButtons",e.screenSize!==e.screenSizeEnum.XS))},directives:[W.c,W.a,W.b,Q.a,it.c,gt.b,et.b,Y.o,He.n,ze.a,Y.m,ge.a,He.c,He.i,He.b,He.e,He.g,He.k,He.m,Be.a,We.a,He.h,ze.b,He.a,rt.a,rt.c,at.m,ot.a,He.d,He.f,He.j,He.l],pipes:[Y.f],styles:[".mat-column-actions[_ngcontent-%COMP%]{min-height:4.8rem}"]}),t})();const Sn=function(t){return["../",t]};function On(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",10),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc().onSelectedIndexChange(n)}),i.Kc(1),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc();i.oc("active",n.activeTab.link===t.link)("routerLink",i.sc(3,Sn,t.link)),i.Db(1),i.Lc(t.name)}}let An=(()=>{class t{constructor(t,e,n){this.router=t,this.loopService=e,this.store=n,this.faInfinity=H.s,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=he.m,this.selectedSwapType=he.m.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new u.a,new u.a,new u.a,new u.a]}ngOnInit(){this.loopService.listSwaps();let t=this.links.find(t=>this.router.url.includes(t.link));this.activeTab=t||this.links[0],this.selectedSwapType=t&&"loopin"===t.link?he.m.LOOP_IN:he.m.LOOP_OUT,this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{let e=this.links.find(e=>t.urlAfterRedirects.includes(e.link));this.activeTab=e||this.links[0],this.selectedSwapType=e&&"loopin"===e.link?he.m.LOOP_IN:he.m.LOOP_OUT}),this.loopService.swapsChanged.pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.flgLoading[0]=!1,this.storedSwaps=t,this.filteredSwaps=this.storedSwaps.filter(t=>t.type===this.selectedSwapType)},t=>{this.flgLoading[0]="error",this.emptyTableMessage=t.message?t.message:"No loop "+(this.selectedSwapType===he.m.LOOP_IN?"in":"out")+" available."})}onSelectedIndexChange(t){this.selectedSwapType="loopin"===t.link?he.m.LOOP_IN:he.m.LOOP_OUT,this.filteredSwaps=this.storedSwaps.filter(t=>t.type===this.selectedSwapType)}onLoop(t){this.store.dispatch(new $.G("Getting Terms and Quotes...")),t===he.m.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe(Object(T.a)(this.unSubs[2])).subscribe(e=>{this.store.dispatch(new $.j),this.store.dispatch(new $.D({data:{minQuote:e[0],maxQuote:e[1],direction:t,component:Ue.a}}))}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe(Object(T.a)(this.unSubs[3])).subscribe(e=>{this.store.dispatch(new $.j),this.store.dispatch(new $.D({data:{minQuote:e[0],maxQuote:e[1],direction:t,component:Ue.a}}))})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(z.g),i.Pb(Ve.a),i.Pb(c.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-loop"]],decls:13,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar",""],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Qb(1,"fa-icon",1),i.Vb(2,"span",2),i.Kc(3,"Loop"),i.Ub(),i.Ub(),i.Vb(4,"div",3),i.Vb(5,"mat-card"),i.Vb(6,"mat-card-content",4),i.Vb(7,"nav",5),i.Ic(8,On,2,5,"div",6),i.Ub(),i.Vb(9,"div",7),i.Vb(10,"button",8),i.dc("click",function(){return e.onLoop(e.selectedSwapType)}),i.Kc(11),i.Ub(),i.Ub(),i.Qb(12,"rtl-swaps",9),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(1),i.oc("icon",e.faInfinity),i.Db(7),i.oc("ngForOf",e.links),i.Db(3),i.Mc("Start ",e.activeTab.name,""),i.Db(1),i.oc("selectedSwapType",e.selectedSwapType)("swapsData",e.filteredSwaps)("flgLoading",e.flgLoading)("emptyTableMessage",e.emptyTableMessage))},directives:[W.c,W.b,Q.a,K.a,K.b,q.e,Y.n,ot.a,xn,W.a,q.d,z.h],styles:[""]}),t})();var kn=n("2yzq"),En=n("2Vo4"),Ln=n("z6cu"),Dn=n("JIr8"),In=n("V8Fa");let Pn=(()=>{class t{constructor(t,e,n){this.httpClient=t,this.logger=e,this.store=n,this.swapUrl="",this.swaps={},this.swapsChanged=new En.a({}),this.unSubs=[new u.a,new u.a,new u.a]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch(new $.G("Getting Boltz Swaps...")),this.swapUrl=r.a+r.b.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{this.store.dispatch(new $.j),this.swaps=t,this.swapsChanged.next(this.swaps)},t=>this.handleErrorWithAlert("List Swaps",t))}swapInfo(t){return this.swapUrl=r.a+r.b.BOLTZ_API+"/swapInfo/"+t,this.httpClient.get(this.swapUrl).pipe(Object(Dn.a)(t=>this.handleErrorWithAlert(this.swapUrl,t)))}serviceInfo(){return this.swapUrl=r.a+r.b.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe(Object(Dn.a)(t=>this.handleErrorWithAlert("Service Info",t)))}swapOut(t,e){let n={amount:t,address:e};return this.swapUrl=r.a+r.b.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,n).pipe(Object(Dn.a)(t=>this.handleErrorWithoutAlert("Swap Out for Address: "+e,t)))}swapIn(t){let e={amount:t};return this.swapUrl=r.a+r.b.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,e).pipe(Object(Dn.a)(e=>this.handleErrorWithoutAlert("Swap In for Amount: "+t,e)))}handleErrorWithoutAlert(t,e){if(this.logger.error("ERROR IN: "+t+"\n"+JSON.stringify(e)),this.store.dispatch(new $.j),401===e.status)this.logger.info("Redirecting to Login"),this.store.dispatch(new $.y);else if("ECONNREFUSED"===e.error.errno||"ECONNREFUSED"===e.error.error.errno)this.store.dispatch(new $.D({data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:"ECONNREFUSED",message:"Unable to Connect to Boltz Server.",URL:t},component:In.a}}));else if(e.error){let t="";return e.error.error?"string"==typeof e.error.error?t=e.error.error:(e.error.error.code&&(t=t+"Code: "+e.error.error.code+", "),e.error.error.message&&(t+=e.error.error.message)):t=e.error.message?e.error.message:"object"==typeof e.error?JSON.stringify(e.error):e.error,Object(Ln.a)({code:e.status,message:t})}return Object(Ln.a)(JSON.stringify(e))}handleErrorWithAlert(t,e){if(401===e.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch(new $.y)),this.logger.error(e),this.store.dispatch(new $.j),401===e.status)this.logger.info("Redirecting to Login"),this.store.dispatch(new $.y);else if("ECONNREFUSED"===e.errno||"ECONNREFUSED"===e.error.errno||"ECONNREFUSED"===e.error.error.errno)this.store.dispatch(new $.D({data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:"ECONNREFUSED",message:"Unable to Connect to Boltz Server",URL:t},component:In.a}}));else{let n="";e.error.error?"string"==typeof e.error.error?n=e.error.error:(e.error.error.code&&(n=n+"Code: "+e.error.error.code+", "),e.error.error.message&&(n+=e.error.error.message)):n=e.error.message?e.error.message:"object"==typeof e.error?JSON.stringify(e.error):e.error,this.store.dispatch(new $.D({data:{type:he.b.ERROR,alertTitle:"ERROR",message:{code:e.error&&e.error.error&&e.error.error.code?e.error.error.code:e.status,message:""!=n?n:"Unknown Error",URL:t},component:In.a}}))}return Object(Ln.a)(e)}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(a.b),i.Zb(tt.b),i.Zb(c.h))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();var Tn=n("o4Yh");let Rn=(()=>{class t{constructor(){this.serviceInfo={},this.direction=he.v.SWAP_OUT,this.swapTypeEnum=he.v}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(t,e){1&t&&(i.Vb(0,"mat-expansion-panel",0),i.Vb(1,"mat-expansion-panel-header"),i.Vb(2,"mat-panel-title"),i.Vb(3,"span",1),i.Kc(4,"Service Information"),i.Ub(),i.Ub(),i.Ub(),i.Vb(5,"div",2),i.Vb(6,"div",3),i.Vb(7,"div",4),i.Vb(8,"h4",5),i.Kc(9,"Minimum Amount (Sats)"),i.Ub(),i.Vb(10,"span",6),i.Kc(11),i.ic(12,"number"),i.Ub(),i.Ub(),i.Vb(13,"div",4),i.Vb(14,"h4",5),i.Kc(15,"Maximum Amount (Sats)"),i.Ub(),i.Vb(16,"span",6),i.Kc(17),i.ic(18,"number"),i.Ub(),i.Ub(),i.Ub(),i.Qb(19,"mat-divider",7),i.Vb(20,"div",3),i.Vb(21,"div",4),i.Vb(22,"h4",5),i.Kc(23,"Fee Percentage"),i.Ub(),i.Vb(24,"span",6),i.Kc(25),i.ic(26,"number"),i.Ub(),i.Ub(),i.Vb(27,"div",4),i.Vb(28,"h4",5),i.Kc(29,"Miner Fee (Sats)"),i.Ub(),i.Vb(30,"span",6),i.Kc(31),i.ic(32,"number"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.oc("expanded",!0),i.Db(11),i.Lc(i.jc(12,5,null==e.serviceInfo||null==e.serviceInfo.limits?null:e.serviceInfo.limits.minimal)),i.Db(6),i.Lc(i.jc(18,7,null==e.serviceInfo||null==e.serviceInfo.limits?null:e.serviceInfo.limits.maximal)),i.Db(8),i.Lc(i.jc(26,9,null==e.serviceInfo||null==e.serviceInfo.fees?null:e.serviceInfo.fees.percentage)),i.Db(6),i.Lc(i.jc(32,11,e.direction===e.swapTypeEnum.SWAP_OUT?null==e.serviceInfo||null==e.serviceInfo.fees||null==e.serviceInfo.fees.miner?null:e.serviceInfo.fees.miner.reverse:null==e.serviceInfo||null==e.serviceInfo.fees||null==e.serviceInfo.fees.miner?null:e.serviceInfo.fees.miner.normal)))},directives:[Tn.c,W.a,Tn.e,Tn.f,W.b,W.c,Ft.a],pipes:[Y.f],styles:[""]}),t})();var Mn=n("Tj54");function jn(t,e){1&t&&i.Rb(0)}function Fn(t,e){if(1&t&&(i.Vb(0,"div",4),i.Vb(1,"span",5),i.Kc(2),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(2),i.Lc("Error: "+(t.swapStatus.error&&t.swapStatus.error.message?t.swapStatus.error.message:"Unknown"))}}function Nn(t,e){if(1&t&&(i.Vb(0,"div",4),i.Vb(1,"div",6),i.Vb(2,"div",7),i.Vb(3,"h4",8),i.Kc(4,"ID"),i.Ub(),i.Vb(5,"span",5),i.Kc(6),i.Ub(),i.Ub(),i.Vb(7,"div",7),i.Vb(8,"h4",8),i.Kc(9,"Routing Fee (mSats)"),i.Ub(),i.Vb(10,"span",5),i.Kc(11),i.ic(12,"number"),i.Ub(),i.Ub(),i.Ub(),i.Qb(13,"mat-divider",9),i.Vb(14,"div",6),i.Vb(15,"div",7),i.Vb(16,"h4",8),i.Kc(17,"Claim Transaction ID"),i.Ub(),i.Vb(18,"span",5),i.Kc(19),i.Ub(),i.Ub(),i.Vb(20,"div",7),i.Vb(21,"h4",8),i.Kc(22,"Lockup Address"),i.Ub(),i.Vb(23,"span",5),i.Kc(24),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(6),i.Lc(null==t.swapStatus?null:t.swapStatus.id),i.Db(5),i.Lc(i.jc(12,4,null==t.swapStatus?null:t.swapStatus.routingFeeMilliSat)),i.Db(8),i.Lc(null==t.swapStatus?null:t.swapStatus.claimTransactionId),i.Db(5),i.Lc(null==t.swapStatus?null:t.swapStatus.lockupAddress)}}function Un(t,e){if(1&t&&(i.Vb(0,"div",4),i.Vb(1,"div",6),i.Vb(2,"div",7),i.Vb(3,"h4",8),i.Kc(4,"ID"),i.Ub(),i.Vb(5,"span",5),i.Kc(6),i.Ub(),i.Ub(),i.Vb(7,"div",7),i.Vb(8,"h4",8),i.Kc(9,"Expected Amount (Sats)"),i.Ub(),i.Vb(10,"span",5),i.Kc(11),i.ic(12,"number"),i.Ub(),i.Ub(),i.Ub(),i.Qb(13,"mat-divider",9),i.Vb(14,"div",6),i.Vb(15,"div",10),i.Vb(16,"h4",8),i.Kc(17,"Address"),i.Ub(),i.Vb(18,"span",5),i.Kc(19),i.Ub(),i.Ub(),i.Ub(),i.Qb(20,"mat-divider",9),i.Vb(21,"div",6),i.Vb(22,"div",10),i.Vb(23,"h4",8),i.Kc(24,"BIP 21"),i.Ub(),i.Vb(25,"span",5),i.Kc(26),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(6),i.Lc(null==t.swapStatus?null:t.swapStatus.id),i.Db(5),i.Lc(i.jc(12,4,null==t.swapStatus?null:t.swapStatus.expectedAmount)),i.Db(8),i.Lc(null==t.swapStatus?null:t.swapStatus.address),i.Db(7),i.Lc(null==t.swapStatus?null:t.swapStatus.bip21)}}let Vn=(()=>{class t{constructor(){this.swapStatus=null,this.direction=he.v.SWAP_OUT,this.swapTypeEnum=he.v}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction"},decls:7,vars:1,consts:[[4,"ngTemplateOutlet"],["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],["fxFlex","100"]],template:function(t,e){if(1&t&&(i.Ic(0,jn,1,0,"ng-container",0),i.Ic(1,Fn,3,1,"ng-template",null,1,i.Jc),i.Ic(3,Nn,25,6,"ng-template",null,2,i.Jc),i.Ic(5,Un,27,6,"ng-template",null,3,i.Jc)),2&t){const t=i.wc(2),n=i.wc(4),r=i.wc(6);i.oc("ngTemplateOutlet",e.swapStatus.error?t:e.direction===e.swapTypeEnum.SWAP_OUT?n:r)}},directives:[Y.t,W.c,W.a,W.b,Ft.a],pipes:[Y.f],styles:[""]}),t})();var Bn=n("9wfV");function zn(t,e){1&t&&i.Rb(0)}const Hn=function(t,e){return{"small-svg":t,"large-svg":e}};function Wn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",7),i.Qb(2,"path",8),i.Qb(3,"path",9),i.Qb(4,"path",10),i.Qb(5,"path",11),i.Qb(6,"path",12),i.Qb(7,"path",13),i.Qb(8,"path",14),i.Qb(9,"path",15),i.Qb(10,"path",16),i.Qb(11,"path",17),i.Ub(),i.fc(),i.Vb(12,"div",18),i.Vb(13,"mat-card-title"),i.Kc(14,"Boltz Reverse Submarine Swap explained."),i.Ub(),i.Ub(),i.Vb(15,"div",19),i.Vb(16,"mat-card-subtitle",20),i.Kc(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Hn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function Qn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",21),i.Vb(2,"g",22),i.Qb(3,"path",23),i.Qb(4,"path",24),i.Qb(5,"path",25),i.Qb(6,"path",26),i.Qb(7,"path",27),i.Qb(8,"path",28),i.Ub(),i.Qb(9,"path",29),i.Vb(10,"defs"),i.Vb(11,"clipPath",30),i.Qb(12,"rect",31),i.Ub(),i.Ub(),i.Ub(),i.fc(),i.Vb(13,"div",18),i.Vb(14,"mat-card-title"),i.Kc(15,"Step 1: Deciding to Reverse Submarine Swap"),i.Ub(),i.Ub(),i.Vb(16,"div",19),i.Vb(17,"mat-card-subtitle",20),i.Kc(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Hn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function Kn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",32),i.Qb(2,"path",33),i.Qb(3,"path",34),i.Qb(4,"path",35),i.Qb(5,"path",36),i.Qb(6,"path",37),i.Qb(7,"circle",38),i.Qb(8,"rect",39),i.Vb(9,"defs"),i.Vb(10,"pattern",40),i.Qb(11,"use",41),i.Ub(),i.Qb(12,"image",42),i.Ub(),i.Ub(),i.fc(),i.Vb(13,"div",18),i.Vb(14,"mat-card-title"),i.Kc(15,"Step 2: Paying the Lightning Invoice"),i.Ub(),i.Ub(),i.Vb(16,"div",19),i.Vb(17,"mat-card-subtitle",20),i.Kc(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Hn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function qn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",43),i.Vb(2,"g",22),i.Qb(3,"path",44),i.Qb(4,"path",45),i.Qb(5,"path",46),i.Qb(6,"path",47),i.Qb(7,"path",48),i.Ub(),i.Vb(8,"defs"),i.Vb(9,"clipPath",30),i.Qb(10,"rect",49),i.Ub(),i.Ub(),i.Ub(),i.fc(),i.Vb(11,"div",18),i.Vb(12,"mat-card-title"),i.Kc(13,"Step 3: Receiving the funds on-chain"),i.Ub(),i.Ub(),i.Vb(14,"div",19),i.Vb(15,"mat-card-subtitle",20),i.Kc(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Hn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function Yn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",50),i.Qb(2,"path",51),i.Qb(3,"path",52),i.Qb(4,"path",53),i.Qb(5,"path",54),i.Qb(6,"path",55),i.Ub(),i.fc(),i.Vb(7,"div",18),i.Vb(8,"mat-card-title"),i.Kc(9,"Done!"),i.Ub(),i.Ub(),i.Vb(10,"div",19),i.Vb(11,"mat-card-subtitle",20),i.Kc(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Hn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}let Gn=(()=>{class t{constructor(t){this.commonService=t,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new i.o,this.screenSize="",this.screenSizeEnum=he.s}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(t){2===t.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===t.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(pe.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(t,e){if(1&t&&(i.Ic(0,zn,1,0,"ng-container",0),i.Ic(1,Wn,18,5,"ng-template",null,1,i.Jc),i.Ic(3,Qn,19,5,"ng-template",null,2,i.Jc),i.Ic(5,Kn,19,5,"ng-template",null,3,i.Jc),i.Ic(7,qn,17,5,"ng-template",null,4,i.Jc),i.Ic(9,Yn,13,5,"ng-template",null,5,i.Jc)),2&t){const t=i.wc(2),n=i.wc(4),r=i.wc(6),s=i.wc(8),o=i.wc(10);i.oc("ngTemplateOutlet",1===e.stepNumber?t:2===e.stepNumber?n:3===e.stepNumber?r:4===e.stepNumber?s:o)}},directives:[Y.t,W.c,W.a,W.b,Y.m,ge.a,K.f,K.e],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Bn.a]}}),t})();function Zn(t,e){1&t&&i.Rb(0)}const Xn=function(t,e){return{"small-svg":t,"large-svg":e}};function Jn(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",7),i.Qb(2,"path",8),i.Qb(3,"path",9),i.Qb(4,"path",10),i.Qb(5,"path",11),i.Qb(6,"path",12),i.Qb(7,"path",13),i.Qb(8,"path",14),i.Qb(9,"path",15),i.Qb(10,"path",16),i.Qb(11,"path",17),i.Ub(),i.fc(),i.Vb(12,"div",18),i.Vb(13,"mat-card-title"),i.Kc(14,"Boltz Submarine Swaps explained."),i.Ub(),i.Ub(),i.Vb(15,"div",19),i.Vb(16,"mat-card-subtitle",20),i.Kc(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Xn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function $n(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",21),i.Qb(2,"path",22),i.Qb(3,"path",23),i.Qb(4,"path",24),i.Qb(5,"path",25),i.Qb(6,"path",26),i.Qb(7,"path",27),i.Qb(8,"path",28),i.Ub(),i.fc(),i.Vb(9,"div",18),i.Vb(10,"mat-card-title"),i.Kc(11,"Step 1: Deciding to Submarine Swap"),i.Ub(),i.Ub(),i.Vb(12,"div",19),i.Vb(13,"mat-card-subtitle",20),i.Kc(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Xn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function ti(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",29),i.Qb(2,"path",30),i.Qb(3,"path",31),i.Qb(4,"path",32),i.Qb(5,"path",33),i.Qb(6,"path",34),i.Qb(7,"circle",35),i.Qb(8,"rect",36),i.Vb(9,"defs"),i.Vb(10,"pattern",37),i.Qb(11,"use",38),i.Ub(),i.Qb(12,"image",39),i.Ub(),i.Ub(),i.fc(),i.Vb(13,"div",18),i.Vb(14,"mat-card-title"),i.Kc(15,"Step 2: Sending the on-chain funds"),i.Ub(),i.Ub(),i.Vb(16,"div",19),i.Vb(17,"mat-card-subtitle",20),i.Kc(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Xn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function ei(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",40),i.Vb(2,"g",41),i.Qb(3,"path",42),i.Qb(4,"path",43),i.Qb(5,"path",44),i.Qb(6,"path",45),i.Qb(7,"path",46),i.Ub(),i.Vb(8,"defs"),i.Vb(9,"clipPath",47),i.Qb(10,"rect",48),i.Ub(),i.Ub(),i.Ub(),i.fc(),i.Vb(11,"div",18),i.Vb(12,"mat-card-title"),i.Kc(13,"Step 3: Receiving the funds on Lightning"),i.Ub(),i.Ub(),i.Vb(14,"div",19),i.Vb(15,"mat-card-subtitle",20),i.Kc(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Xn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}function ni(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",6),i.dc("swipe",function(e){return i.zc(t),i.hc().onSwipe(e)}),i.gc(),i.Vb(1,"svg",49),i.Qb(2,"path",50),i.Qb(3,"path",51),i.Qb(4,"path",52),i.Qb(5,"path",53),i.Qb(6,"path",54),i.Ub(),i.fc(),i.Vb(7,"div",18),i.Vb(8,"mat-card-title"),i.Kc(9,"Done!"),i.Ub(),i.Ub(),i.Vb(10,"div",19),i.Vb(11,"mat-card-subtitle",20),i.Kc(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@sliderAnimation",t.animationDirection),i.Db(1),i.oc("ngClass",i.tc(2,Xn,t.screenSize===t.screenSizeEnum.XS,t.screenSize!==t.screenSizeEnum.XS))}}let ii=(()=>{class t{constructor(t){this.commonService=t,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new i.o,this.screenSize="",this.screenSizeEnum=he.s}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(t){2===t.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===t.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(pe.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(t,e){if(1&t&&(i.Ic(0,Zn,1,0,"ng-container",0),i.Ic(1,Jn,18,5,"ng-template",null,1,i.Jc),i.Ic(3,$n,15,5,"ng-template",null,2,i.Jc),i.Ic(5,ti,19,5,"ng-template",null,3,i.Jc),i.Ic(7,ei,17,5,"ng-template",null,4,i.Jc),i.Ic(9,ni,13,5,"ng-template",null,5,i.Jc)),2&t){const t=i.wc(2),n=i.wc(4),r=i.wc(6),s=i.wc(8),o=i.wc(10);i.oc("ngTemplateOutlet",1===e.stepNumber?t:2===e.stepNumber?n:3===e.stepNumber?r:4===e.stepNumber?s:o)}},directives:[Y.t,W.c,W.a,W.b,Y.m,ge.a,K.f,K.e],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Bn.a]}}),t})();const ri=["stepper"];function si(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc(2);i.Lc(t.inputFormLabel)}}function oi(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Amount is required."),i.Ub())}function ai(t,e){if(1&t&&(i.Vb(0,"mat-error"),i.Kc(1),i.ic(2,"number"),i.Ub()),2&t){const t=i.hc(2);i.Db(1),i.Mc("Amount must be greater than or equal to ",i.jc(2,1,null==t.serviceInfo||null==t.serviceInfo.limits?null:t.serviceInfo.limits.minimal),".")}}function ci(t,e){if(1&t&&(i.Vb(0,"mat-error"),i.Kc(1),i.ic(2,"number"),i.Ub()),2&t){const t=i.hc(2);i.Db(1),i.Mc("Amount must be less than or equal to ",i.jc(2,1,null==t.serviceInfo||null==t.serviceInfo.limits?null:t.serviceInfo.limits.maximal),".")}}function li(t,e){1&t&&(i.Vb(0,"button",40),i.Kc(1,"Next"),i.Ub())}function hi(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",41),i.dc("click",function(){return i.zc(t),i.hc(2).onSwap()}),i.Kc(1),i.Ub()}if(2&t){const t=i.hc(2);i.Db(1),i.Mc("Initiate ",t.swapDirectionCaption,"")}}function ui(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc(3);i.Lc(t.addressFormLabel)}}function di(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Address is required."),i.Ub())}function fi(t,e){if(1&t){const t=i.Wb();i.Vb(0,"mat-step",15),i.Vb(1,"form",16),i.Ic(2,ui,1,1,"ng-template",17),i.Vb(3,"div",42),i.Vb(4,"mat-radio-group",43),i.dc("change",function(e){return i.zc(t),i.hc(2).onAddressTypeChange(e)}),i.Vb(5,"mat-radio-button",44),i.Kc(6,"Node Local Address"),i.Ub(),i.Vb(7,"mat-radio-button",45),i.Kc(8,"External Address"),i.Ub(),i.Ub(),i.Vb(9,"mat-form-field",46),i.Qb(10,"input",47),i.Ic(11,di,2,0,"mat-error",24),i.Ub(),i.Ub(),i.Vb(12,"div",25),i.Vb(13,"button",48),i.dc("click",function(){return i.zc(t),i.hc(2).onSwap()}),i.Kc(14),i.Ub(),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc(2);i.oc("stepControl",t.addressFormGroup)("editable",t.flgEditable),i.Db(1),i.oc("formGroup",t.addressFormGroup),i.Db(9),i.oc("required","external"===t.addressFormGroup.controls.addressType.value),i.Db(1),i.oc("ngIf",null==t.addressFormGroup.controls.address.errors?null:t.addressFormGroup.controls.address.errors.required),i.Db(3),i.Mc("Initiate ",t.swapDirectionCaption,"")}}function pi(t,e){if(1&t&&i.Kc(0),2&t){const t=i.hc(2);i.Mc("",t.swapDirectionCaption," Status")}}function bi(t,e){if(1&t&&(i.Vb(0,"mat-icon",49),i.Kc(1),i.Ub()),2&t){const t=i.hc(2);i.Db(1),i.Lc(t.swapStatus&&null!=t.swapStatus&&t.swapStatus.id?"check":"close")}}function mi(t,e){1&t&&i.Qb(0,"div")}function gi(t,e){1&t&&i.Qb(0,"mat-progress-bar",50)}function yi(t,e){if(1&t&&(i.Vb(0,"h4",51),i.Kc(1),i.Ub()),2&t){const t=i.hc(2);i.Db(1),i.Lc(t.swapStatus&&t.swapStatus.error?t.swapDirectionCaption+" failed.":t.swapStatus&&t.swapStatus.id?t.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":t.swapDirectionCaption+" request placed successfully.")}}function vi(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",52),i.dc("click",function(){return i.zc(t),i.hc(2).onRestart()}),i.Kc(1,"Start Again"),i.Ub()}}function _i(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",3),i.Vb(1,"div",4),i.Vb(2,"mat-card-header",5),i.Vb(3,"div",6),i.Vb(4,"span",7),i.Kc(5),i.Ub(),i.Ub(),i.Vb(6,"div",8),i.Vb(7,"button",9),i.dc("click",function(){return i.zc(t),i.hc().showInfo()}),i.Kc(8,"?"),i.Ub(),i.Vb(9,"button",10),i.dc("click",function(){return i.zc(t),i.hc().onClose()}),i.Kc(10,"X"),i.Ub(),i.Ub(),i.Ub(),i.Vb(11,"mat-card-content",11),i.Vb(12,"div",12),i.Vb(13,"mat-vertical-stepper",13,14),i.dc("selectionChange",function(e){return i.zc(t),i.hc().stepSelectionChanged(e)}),i.Vb(15,"mat-step",15),i.Vb(16,"form",16),i.Ic(17,si,1,1,"ng-template",17),i.Vb(18,"div",18),i.Qb(19,"rtl-boltz-service-info",19),i.Ub(),i.Vb(20,"div",20),i.Vb(21,"mat-form-field",21),i.Qb(22,"input",22),i.Vb(23,"mat-hint"),i.Kc(24),i.ic(25,"number"),i.ic(26,"number"),i.Ub(),i.Vb(27,"span",23),i.Kc(28,"Sats"),i.Ub(),i.Ic(29,oi,2,0,"mat-error",24),i.Ic(30,ai,3,3,"mat-error",24),i.Ic(31,ci,3,3,"mat-error",24),i.Ub(),i.Ub(),i.Vb(32,"div",25),i.Ic(33,li,2,0,"button",26),i.Ic(34,hi,2,1,"button",27),i.Ub(),i.Ub(),i.Ub(),i.Ic(35,fi,15,6,"mat-step",28),i.Vb(36,"mat-step",29),i.Vb(37,"form",16),i.Ic(38,pi,1,1,"ng-template",17),i.Vb(39,"div",30),i.Vb(40,"mat-expansion-panel",31),i.Vb(41,"mat-expansion-panel-header"),i.Vb(42,"mat-panel-title"),i.Vb(43,"span",32),i.Kc(44),i.Ic(45,bi,2,1,"mat-icon",33),i.Ub(),i.Ub(),i.Ub(),i.Ic(46,mi,1,0,"div",34),i.Ub(),i.Ic(47,gi,1,0,"mat-progress-bar",35),i.Ub(),i.Ic(48,yi,2,1,"h4",36),i.Vb(49,"div",25),i.Ic(50,vi,2,0,"button",37),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Vb(51,"div",38),i.Vb(52,"button",39),i.Kc(53,"Close"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc(),e=i.wc(2);i.oc("@opacityAnimation",void 0),i.Db(3),i.oc("fxFlex",t.screenSize===t.screenSizeEnum.XS||t.screenSize===t.screenSizeEnum.SM?"83":"91"),i.Db(2),i.Lc(t.swapDirectionCaption),i.Db(1),i.oc("fxFlex",t.screenSize===t.screenSizeEnum.XS||t.screenSize===t.screenSizeEnum.SM?"17":"9"),i.Db(7),i.oc("linear",!0),i.Db(2),i.oc("stepControl",t.inputFormGroup)("editable",t.flgEditable),i.Db(1),i.oc("formGroup",t.inputFormGroup),i.Db(3),i.oc("serviceInfo",t.serviceInfo)("direction",t.direction),i.Db(3),i.oc("step",1e3),i.Db(2),i.Nc("Range: ",i.jc(25,30,null==t.serviceInfo||null==t.serviceInfo.limits?null:t.serviceInfo.limits.minimal),"-",i.jc(26,32,null==t.serviceInfo||null==t.serviceInfo.limits?null:t.serviceInfo.limits.maximal),""),i.Db(5),i.oc("ngIf",null==t.inputFormGroup||null==t.inputFormGroup.controls||null==t.inputFormGroup.controls.amount||null==t.inputFormGroup.controls.amount.errors?null:t.inputFormGroup.controls.amount.errors.required),i.Db(1),i.oc("ngIf",null==t.inputFormGroup||null==t.inputFormGroup.controls||null==t.inputFormGroup.controls.amount||null==t.inputFormGroup.controls.amount.errors?null:t.inputFormGroup.controls.amount.errors.min),i.Db(1),i.oc("ngIf",null==t.inputFormGroup||null==t.inputFormGroup.controls||null==t.inputFormGroup.controls.amount||null==t.inputFormGroup.controls.amount.errors?null:t.inputFormGroup.controls.amount.errors.max),i.Db(2),i.oc("ngIf",t.direction===t.swapTypeEnum.SWAP_OUT),i.Db(1),i.oc("ngIf",t.direction===t.swapTypeEnum.SWAP_IN),i.Db(1),i.oc("ngIf",t.direction===t.swapTypeEnum.SWAP_OUT),i.Db(1),i.oc("stepControl",t.statusFormGroup),i.Db(1),i.oc("formGroup",t.statusFormGroup),i.Db(3),i.oc("expanded",!!t.swapStatus),i.Db(4),i.Lc(t.swapStatus?t.swapStatus.id?t.swapDirectionCaption+" request details":t.swapDirectionCaption+" error details":"Waiting for "+t.swapDirectionCaption+" request..."),i.Db(1),i.oc("ngIf",t.swapStatus),i.Db(1),i.oc("ngIf",!t.swapStatus)("ngIfElse",e),i.Db(1),i.oc("ngIf",!t.swapStatus),i.Db(1),i.oc("ngIf",t.swapStatus),i.Db(2),i.oc("ngIf",t.swapStatus&&(t.swapStatus.error||!t.swapStatus.id)),i.Db(2),i.oc("mat-dialog-close",!1)}}function wi(t,e){if(1&t&&i.Qb(0,"rtl-boltz-swap-status",53),2&t){const t=i.hc();i.oc("swapStatus",t.swapStatus)("direction",t.direction)}}function Ci(t,e){if(1&t){const t=i.Wb();i.Vb(0,"rtl-boltz-swapout-info-graphics",71),i.dc("stepNumberChange",function(e){return i.zc(t),i.hc(2).stepNumber=e}),i.Ub()}if(2&t){const t=i.hc(2);i.oc("stepNumber",t.stepNumber)("animationDirection",t.animationDirection)}}function xi(t,e){if(1&t){const t=i.Wb();i.Vb(0,"rtl-boltz-swapin-info-graphics",71),i.dc("stepNumberChange",function(e){return i.zc(t),i.hc(2).stepNumber=e}),i.Ub()}if(2&t){const t=i.hc(2);i.oc("stepNumber",t.stepNumber)("animationDirection",t.animationDirection)}}const Si=function(t,e){return{"dot-primary":t,"dot-primary-lighter":e}};function Oi(t,e){if(1&t){const t=i.Wb();i.Vb(0,"span",72),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc(2).onStepChanged(n)}),i.Qb(1,"p",73),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc(2);i.Db(1),i.oc("ngClass",i.tc(1,Si,n.stepNumber===t,n.stepNumber!==t))}}function Ai(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",74),i.dc("click",function(){return i.zc(t),i.hc(2).onReadMore()}),i.Kc(1,"Read More"),i.Ub()}}function ki(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",75),i.dc("click",function(){return i.zc(t),i.hc(2).onStepChanged(4)}),i.Kc(1,"Back"),i.Ub()}}function Ei(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",76),i.dc("click",function(){i.zc(t);const e=i.hc(2);return e.flgShowInfo=!1,e.stepNumber=1}),i.Kc(1,"Close"),i.Ub()}}function Li(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",77),i.dc("click",function(){i.zc(t);const e=i.hc(2);return e.flgShowInfo=!1,e.stepNumber=1}),i.Kc(1,"Close"),i.Ub()}}function Di(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",78),i.dc("click",function(){i.zc(t);const e=i.hc(2);return e.onStepChanged(e.stepNumber-1)}),i.Kc(1,"Back"),i.Ub()}}function Ii(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",79),i.dc("click",function(){i.zc(t);const e=i.hc(2);return e.onStepChanged(e.stepNumber+1)}),i.Kc(1,"Next"),i.Ub()}}const Pi=function(){return[1,2,3,4,5]};function Ti(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",54),i.Vb(1,"div",55),i.Vb(2,"mat-card-header",56),i.Vb(3,"div",57),i.Qb(4,"span",7),i.Ub(),i.Vb(5,"div",58),i.Vb(6,"button",59),i.dc("click",function(){i.zc(t);const e=i.hc();return e.flgShowInfo=!1,e.stepNumber=1}),i.Kc(7,"X"),i.Ub(),i.Ub(),i.Ub(),i.Vb(8,"mat-card-content",60),i.Ic(9,Ci,1,2,"rtl-boltz-swapout-info-graphics",61),i.Ic(10,xi,1,2,"rtl-boltz-swapin-info-graphics",61),i.Ub(),i.Vb(11,"div",62),i.Ic(12,Oi,2,4,"span",63),i.Ub(),i.Vb(13,"div",64),i.Ic(14,Ai,2,0,"button",65),i.Ic(15,ki,2,0,"button",66),i.Ic(16,Ei,2,0,"button",67),i.Ic(17,Li,2,0,"button",68),i.Ic(18,Di,2,0,"button",69),i.Ic(19,Ii,2,0,"button",70),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("@opacityAnimation",void 0),i.Db(9),i.oc("ngIf",t.direction===t.swapTypeEnum.SWAP_OUT),i.Db(1),i.oc("ngIf",t.direction===t.swapTypeEnum.SWAP_IN),i.Db(2),i.oc("ngForOf",i.rc(10,Pi)),i.Db(2),i.oc("ngIf",5===t.stepNumber),i.Db(1),i.oc("ngIf",5===t.stepNumber),i.Db(1),i.oc("ngIf",5===t.stepNumber),i.Db(1),i.oc("ngIf",t.stepNumber<5),i.Db(1),i.oc("ngIf",t.stepNumber>1&&t.stepNumber<5),i.Db(1),i.oc("ngIf",t.stepNumber<5)}}let Ri=(()=>{class t{constructor(t,e,n,i,r,s,o,a,c){this.dialogRef=t,this.data=e,this.store=n,this.boltzService=i,this.formBuilder=r,this.decimalPipe=s,this.logger=o,this.router=a,this.commonService=c,this.faInfoCircle=H.t,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=he.v,this.direction=he.v.SWAP_OUT,this.swapDirectionCaption="Swap out",this.swapStatus=null,this.inputFormLabel="Amount to swap out",this.addressFormLabel="Withdrawal Address",this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=he.s,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new u.a,new u.a,new u.a,new u.a,new u.a,new u.a]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction,this.swapDirectionCaption=this.direction===he.v.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits.minimal,[nt.t.required,nt.t.min(this.serviceInfo.limits.minimal),nt.t.max(this.serviceInfo.limits.maximal)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[nt.t.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===he.v.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===he.v.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe(Object(T.a)(this.unSubs[2])).subscribe(t=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(t){"external"===t.value?(this.addressFormGroup.controls.address.setValidators([nt.t.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onSwap(){if(!this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===he.v.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected.stepControl.setErrors(null),this.stepper.next(),this.direction===he.v.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe(Object(T.a)(this.unSubs[3])).subscribe(t=>{this.swapStatus=t,this.boltzService.listSwaps(),this.flgEditable=!0},t=>{this.swapStatus={error:t.error&&t.error.error?t.error.error:t.error?t.error:t},this.flgEditable=!0,this.logger.error(t)}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe(Object(T.a)(this.unSubs[4])).subscribe(t=>{this.swapStatus=t,this.boltzService.listSwaps(),this.flgEditable=!0},t=>{this.swapStatus={error:t.error&&t.error.error?t.error.error:t.error?t.error:t},this.flgEditable=!0,this.logger.error(t)})}stepSelectionChanged(t){switch(t.selectedIndex){case 0:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats":"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}t.selectedIndex<t.previouslySelectedIndex&&t.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===he.v.SWAP_IN?window.open("https://docs.boltz.exchange/en/latest/lifecycle/#normal-submarine-swaps","_blank"):window.open("https://docs.boltz.exchange/en/latest/lifecycle/#reverse-submarine-swaps","_blank"),this.onClose()}onStepChanged(t){this.animationDirection=t<this.stepNumber?"backward":"forward",this.stepNumber=t}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits.minimal}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(dt.f),i.Pb(dt.a),i.Pb(c.h),i.Pb(Pn),i.Pb(nt.d),i.Pb(Y.f),i.Pb(tt.b),i.Pb(z.g),i.Pb(pe.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(t,e){if(1&t&&i.Pc(ri,!0),2&t){let t;i.vc(t=i.ec())&&(e.stepper=t.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["swapStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",1,"padding-gap-x-large",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"mt-5px"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxFlex","48"],["autoFocus","","matInput","","placeholder","Amount","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-stroked-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-stroked-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["mat-stroked-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-stroked-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxFlex","100",1,"mt-1"],["matInput","","placeholder","Address","tabindex","10","formControlName","address",3,"required"],["mat-stroked-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-flat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxLayout","row","fxFlex","5","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start",1,"padding-gap-x-large"],["fxFlex","8","fxLayoutAlign","end center"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"stepNumber","animationDirection","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large"],["fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large"],["mat-stroked-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-stroked-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-flat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-flat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumber","animationDirection","stepNumberChange"],["fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-stroked-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-stroked-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(t,e){1&t&&(i.Ic(0,_i,54,34,"div",0),i.Ic(1,wi,1,2,"ng-template",null,1,i.Jc),i.Ic(3,Ti,20,11,"div",2)),2&t&&(i.oc("ngIf",!e.flgShowInfo),i.Db(3),i.oc("ngIf",e.flgShowInfo))},directives:[Y.o,W.c,W.a,W.b,K.c,ot.a,K.b,mt.h,mt.a,nt.u,nt.n,nt.h,mt.b,Rn,it.c,gt.b,nt.q,nt.c,st.a,nt.m,nt.g,nt.s,it.f,it.g,Tn.c,Tn.e,Tn.f,dt.d,it.b,mt.f,me.b,me.a,Mn.a,We.a,Vn,Y.n,Gn,ii,Y.m,ge.a],pipes:[Y.f],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[kn.b]}}),t})();function Mi(t,e){1&t&&i.Qb(0,"mat-progress-bar",32)}function ji(t,e){1&t&&(i.Vb(0,"th",33),i.Kc(1," Status "),i.Ub())}function Fi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Kc(1),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Db(1),i.Lc(n.swapStateEnum[t.status])}}function Ni(t,e){1&t&&(i.Vb(0,"th",33),i.Kc(1," Swap ID "),i.Ub())}function Ui(t,e){if(1&t&&(i.Vb(0,"td",34),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.id)}}function Vi(t,e){1&t&&(i.Vb(0,"th",33),i.Kc(1," Claim Address "),i.Ub())}function Bi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.claimAddress)}}function zi(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," Onchain Amount (Sats) "),i.Ub())}function Hi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Vb(1,"span",36),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.onchainAmount))}}function Wi(t,e){1&t&&(i.Vb(0,"th",33),i.Kc(1," Lockup Address "),i.Ub())}function Qi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.Db(1),i.Lc(t.lockupAddress)}}function Ki(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," Expected Amount (Sats) "),i.Ub())}function qi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Vb(1,"span",36),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.expectedAmount))}}function Yi(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," Timeout Block Height "),i.Ub())}function Gi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Vb(1,"span",36),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.timeoutBlockHeight))}}function Zi(t,e){1&t&&(i.Vb(0,"th",35),i.Kc(1," Amount (Sats) "),i.Ub())}function Xi(t,e){if(1&t&&(i.Vb(0,"td",34),i.Vb(1,"span",36),i.Kc(2),i.ic(3,"number"),i.Ub(),i.Ub()),2&t){const t=e.$implicit;i.Db(2),i.Lc(i.jc(3,1,t.amt))}}function Ji(t,e){if(1&t){const t=i.Wb();i.Vb(0,"th",37),i.Vb(1,"div",38),i.Vb(2,"mat-select",39),i.Qb(3,"mat-select-trigger"),i.Vb(4,"mat-option",40),i.dc("click",function(){return i.zc(t),i.hc().onDownloadCSV()}),i.Kc(5,"Download CSV"),i.Ub(),i.Ub(),i.Ub(),i.Ub()}}function $i(t,e){if(1&t){const t=i.Wb();i.Vb(0,"td",41),i.Vb(1,"button",42),i.dc("click",function(n){i.zc(t);const r=e.$implicit;return i.hc().onSwapClick(r,n)}),i.Kc(2,"View Info"),i.Ub(),i.Ub()}}function tr(t,e){if(1&t&&(i.Vb(0,"p"),i.Kc(1),i.Ub()),2&t){const t=i.hc(2);i.Db(1),i.Lc(t.emptyTableMessage)}}function er(t,e){if(1&t&&(i.Vb(0,"td",43),i.Ic(1,tr,2,1,"p",44),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("ngIf",!(null!=t.listSwaps&&t.listSwaps.data)||(null==t.listSwaps||null==t.listSwaps.data?null:t.listSwaps.data.length)<1)}}const nr=function(t){return{"display-none":t}};function ir(t,e){if(1&t&&i.Qb(0,"tr",45),2&t){const t=i.hc();i.oc("ngClass",i.sc(1,nr,(null==t.listSwaps?null:t.listSwaps.data)&&(null==t.listSwaps||null==t.listSwaps.data?null:t.listSwaps.data.length)>0))}}function rr(t,e){1&t&&i.Qb(0,"tr",46)}function sr(t,e){1&t&&i.Qb(0,"tr",47)}const or=function(t){return{"overflow-auto error-border":t,"overflow-auto":!0}},ar=function(){return["no_swap"]};let cr=(()=>{class t{constructor(t,e,n,i){this.logger=t,this.commonService=e,this.store=n,this.boltzService=i,this.selectedSwapType=he.v.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.swapStateEnum=he.u,this.faHistory=H.r,this.swapCaption="Swap Out",this.displayedColumns=[],this.flgSticky=!1,this.pageSize=he.p,this.pageSizeOptions=he.q,this.screenSize="",this.screenSizeEnum=he.s,this.unSubs=[new u.a,new u.a,new u.a],this.screenSize=this.commonService.getScreenSize(),this.setTableColumns()}ngOnInit(){}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}ngOnChanges(t){t.selectedSwapType&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===he.v.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.screenSize===he.s.XS||this.screenSize===he.s.SM?(this.flgSticky=!1,this.displayedColumns=this.selectedSwapType===he.v.SWAP_IN?["status","id","expectedAmount","actions"]:["status","id","onchainAmount","actions"]):this.screenSize===he.s.MD?(this.flgSticky=!1,this.displayedColumns=this.selectedSwapType===he.v.SWAP_IN?["status","id","expectedAmount","timeoutBlockHeight","actions"]:["status","id","onchainAmount","timeoutBlockHeight","actions"]):(this.flgSticky=!0,this.displayedColumns=this.selectedSwapType===he.v.SWAP_IN?["status","id","lockupAddress","expectedAmount","timeoutBlockHeight","actions"]:["status","id","claimAddress","onchainAmount","timeoutBlockHeight","actions"])}applyFilter(t){this.listSwaps.filter=t.value.trim().toLowerCase()}onSwapClick(t,e){this.boltzService.swapInfo(t.id).pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.store.dispatch(new $.D({data:{type:he.b.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:he.u[(t=this.selectedSwapType===he.v.SWAP_IN?t.swap:t.reverseSwap).status],title:"Status",width:50,type:he.h.STRING},{key:"id",value:t.id,title:"ID",width:50,type:he.h.STRING}],[{key:"amount",value:t.onchainAmount?t.onchainAmount:t.expectedAmount?t.expectedAmount:0,title:t.onchainAmount?"Onchain Amount (Sats)":t.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:he.h.NUMBER},{key:"timeoutBlockHeight",value:t.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:he.h.NUMBER}],[{key:"address",value:t.claimAddress?t.claimAddress:t.lockupAddress?t.lockupAddress:"",title:t.claimAddress?"Claim Address":t.lockupAddress?"Lockup Address":"Address",width:100,type:he.h.STRING}],[{key:"invoice",value:t.invoice,title:"Invoice",width:100,type:he.h.STRING}],[{key:"privateKey",value:t.privateKey,title:"Private Key",width:100,type:he.h.STRING}],[{key:"preimage",value:t.preimage,title:"Preimage",width:100,type:he.h.STRING}],[{key:"redeemScript",value:t.redeemScript,title:"Redeem Script",width:100,type:he.h.STRING}],[{key:"lockupTransactionId",value:t.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:he.h.STRING},{key:"transactionId",value:t.claimTransactionId?t.claimTransactionId:t.refundTransactionId?t.refundTransactionId:"",title:t.claimTransactionId?"Claim Transaction ID":t.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:he.h.STRING}]],openedBy:"SWAP"}}))})}loadSwapsTable(t){this.listSwaps=new He.o(t?[...t]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(t,e)=>t[e]&&isNaN(t[e])?t[e].toLocaleLowerCase():t[e]?+t[e]:null,this.listSwaps.filterPredicate=(t,e)=>JSON.stringify(t).toLowerCase().includes(e),this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===he.v.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(pe.a),i.Pb(c.h),i.Pb(Pn))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-swaps"]],viewQuery:function(t,e){if(1&t&&(i.Pc(ze.a,!0),i.Pc(Be.a,!0)),2&t){let t;i.vc(t=i.ec())&&(e.sort=t.first),i.vc(t=i.ec())&&(e.paginator=t.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[i.Cb([{provide:Be.b,useValue:Object(he.B)("Swaps")}]),i.Bb],decls:46,vars:15,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex","30"],["matInput","","placeholder","Filter",3,"keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"dataSource","ngClass"],["table",""],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","lockupAddress"],["matColumnDef","expectedAmount"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","amt"],["matColumnDef","actions"],["mat-header-cell","","class","px-3",4,"matHeaderCellDef"],["mat-cell","","class","pl-3","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-4",3,"pageSize","pageSizeOptions","showFirstLastButtons"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell","",1,"px-3"],[1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center",1,"pl-3"],["mat-stroked-button","","color","primary","type","button","tabindex","4",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Vb(2,"div",2),i.Qb(3,"fa-icon",3),i.Vb(4,"span",4),i.Kc(5),i.Ub(),i.Ub(),i.Vb(6,"mat-form-field",5),i.Vb(7,"input",6),i.dc("keyup",function(t){return e.applyFilter(t.target)}),i.Ub(),i.Ub(),i.Ub(),i.Vb(8,"div",7),i.Vb(9,"div",8),i.Ic(10,Mi,1,0,"mat-progress-bar",9),i.Vb(11,"table",10,11),i.Tb(13,12),i.Ic(14,ji,2,0,"th",13),i.Ic(15,Fi,2,1,"td",14),i.Sb(),i.Tb(16,15),i.Ic(17,Ni,2,0,"th",13),i.Ic(18,Ui,2,1,"td",14),i.Sb(),i.Tb(19,16),i.Ic(20,Vi,2,0,"th",13),i.Ic(21,Bi,2,1,"td",14),i.Sb(),i.Tb(22,17),i.Ic(23,zi,2,0,"th",18),i.Ic(24,Hi,4,3,"td",14),i.Sb(),i.Tb(25,19),i.Ic(26,Wi,2,0,"th",13),i.Ic(27,Qi,2,1,"td",14),i.Sb(),i.Tb(28,20),i.Ic(29,Ki,2,0,"th",18),i.Ic(30,qi,4,3,"td",14),i.Sb(),i.Tb(31,21),i.Ic(32,Yi,2,0,"th",18),i.Ic(33,Gi,4,3,"td",14),i.Sb(),i.Tb(34,22),i.Ic(35,Zi,2,0,"th",18),i.Ic(36,Xi,4,3,"td",14),i.Sb(),i.Tb(37,23),i.Ic(38,Ji,6,0,"th",24),i.Ic(39,$i,3,0,"td",25),i.Sb(),i.Tb(40,26),i.Ic(41,er,2,1,"td",27),i.Sb(),i.Ic(42,ir,1,3,"tr",28),i.Ic(43,rr,1,0,"tr",29),i.Ic(44,sr,1,0,"tr",30),i.Ub(),i.Qb(45,"mat-paginator",31),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(3),i.oc("icon",e.faHistory),i.Db(2),i.Mc("",e.swapCaption," History"),i.Db(5),i.oc("ngIf",!0===e.flgLoading[0]),i.Db(1),i.oc("dataSource",e.listSwaps)("ngClass",i.sc(12,or,"error"===e.flgLoading[0])),i.Db(31),i.oc("matFooterRowDef",i.rc(14,ar)),i.Db(1),i.oc("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",e.flgSticky),i.Db(1),i.oc("matRowDefColumns",e.displayedColumns),i.Db(1),i.oc("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions)("showFirstLastButtons",e.screenSize!==e.screenSizeEnum.XS))},directives:[W.c,W.a,W.b,Q.a,it.c,gt.b,et.b,Y.o,He.n,ze.a,Y.m,ge.a,He.c,He.i,He.b,He.e,He.g,He.k,He.m,Be.a,We.a,He.h,ze.b,He.a,rt.a,rt.c,at.m,ot.a,He.d,He.f,He.j,He.l],pipes:[Y.f],styles:[".mat-column-actions[_ngcontent-%COMP%]{min-height:4.8rem}"]}),t})();const lr=function(t){return["../",t]};function hr(t,e){if(1&t){const t=i.Wb();i.Vb(0,"div",15),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc().onSelectedIndexChange(n)}),i.Kc(1),i.Ub()}if(2&t){const t=e.$implicit,n=i.hc();i.oc("active",n.activeTab.link===t.link)("routerLink",i.sc(3,lr,t.link)),i.Db(1),i.Lc(t.name)}}let ur=(()=>{class t{constructor(t,e,n){this.router=t,this.store=e,this.boltzService=n,this.swapTypeEnum=he.v,this.selectedSwapType=he.v.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new u.a,new u.a,new u.a,new u.a]}ngOnInit(){this.boltzService.listSwaps();let t=this.links.find(t=>this.router.url.includes(t.link));this.activeTab=t||this.links[0],this.selectedSwapType=t&&"swapin"===t.link?he.v.SWAP_IN:he.v.SWAP_OUT,this.router.events.pipe(Object(T.a)(this.unSubs[0]),Object(D.a)(t=>t instanceof z.f)).subscribe(t=>{let e=this.links.find(e=>t.urlAfterRedirects.includes(e.link));this.activeTab=e||this.links[0],this.selectedSwapType=e&&"swapin"===e.link?he.v.SWAP_IN:he.v.SWAP_OUT}),this.boltzService.swapsChanged.pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.swaps=t,this.swapsData=this.selectedSwapType===he.v.SWAP_IN?t.swaps:t.reverseSwaps,this.flgLoading[0]=!1},t=>{this.flgLoading[0]="error",this.emptyTableMessage=t.message?t.message:"No swap "+(this.selectedSwapType===he.v.SWAP_IN?"in":"out")+" available."})}onSelectedIndexChange(t){"swapin"===t.link?(this.selectedSwapType=he.v.SWAP_IN,this.swapsData=this.swaps.swaps):(this.selectedSwapType=he.v.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps)}onSwap(t){this.store.dispatch(new $.G("Getting Service Info...")),this.boltzService.serviceInfo().pipe(Object(T.a)(this.unSubs[2])).subscribe(e=>{this.store.dispatch(new $.j),this.store.dispatch(new $.D({data:{serviceInfo:e,direction:t,component:Ri}}))})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(z.g),i.Pb(c.h),i.Pb(Pn))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-boltz-root"]],decls:18,vars:6,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar",""],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.gc(),i.Vb(1,"svg",1),i.Vb(2,"g",2),i.Vb(3,"g",3),i.Qb(4,"circle",4),i.Qb(5,"path",5),i.Qb(6,"path",6),i.Ub(),i.Ub(),i.Ub(),i.fc(),i.Vb(7,"span",7),i.Kc(8,"Boltz"),i.Ub(),i.Ub(),i.Vb(9,"div",8),i.Vb(10,"mat-card"),i.Vb(11,"mat-card-content",9),i.Vb(12,"nav",10),i.Ic(13,hr,2,5,"div",11),i.Ub(),i.Vb(14,"div",12),i.Vb(15,"button",13),i.dc("click",function(){return e.onSwap(e.selectedSwapType)}),i.Kc(16),i.Ub(),i.Ub(),i.Qb(17,"rtl-boltz-swaps",14),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(13),i.oc("ngForOf",e.links),i.Db(3),i.Mc("Start ",e.activeTab.name,""),i.Db(1),i.oc("selectedSwapType",e.selectedSwapType)("swapsData",e.swapsData)("flgLoading",e.flgLoading)("emptyTableMessage",e.emptyTableMessage))},directives:[W.c,W.b,K.a,K.b,W.a,q.e,Y.n,ot.a,cr,q.d,z.h],styles:[""]}),t})();class dr{constructor(t){this.help=t}}var fr=n("mZtN");function pr(t,e){if(1&t&&(i.Vb(0,"mat-expansion-panel",8),i.Vb(1,"mat-expansion-panel-header"),i.Vb(2,"mat-panel-title"),i.Kc(3),i.Ub(),i.Ub(),i.Vb(4,"mat-panel-description",9),i.Qb(5,"span",10),i.Vb(6,"a",11),i.Kc(7),i.Ub(),i.Ub(),i.Ub()),2&t){const t=i.hc().$implicit,e=i.hc();i.Db(3),i.Lc(t.help.question),i.Db(2),i.oc("innerHTML",t.help.answer,i.Ac),i.Db(1),i.oc("routerLink",e.flgLoggedIn?e.LNPLink+t.help.link:"/login"),i.Db(1),i.Lc(e.flgLoggedIn?t.help.linkCaption:"Login to go to the page")}}function br(t,e){if(1&t&&(i.Vb(0,"div",6),i.Ic(1,pr,8,4,"mat-expansion-panel",7),i.Ub()),2&t){const t=e.$implicit,n=i.hc();i.Db(1),i.oc("ngIf","ALL"===t.help.lnImplementation||t.help.lnImplementation===n.selNode.lnImplementation)}}let mr=(()=>{class t{constructor(t,e){this.store=t,this.sessionService=e,this.helpTopics=[],this.faQuestion=H.G,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new u.a,new u.a,new u.a,new u.a],this.helpTopics.push(new dr({question:"Getting started",answer:'Funding your node is the first step to get started.\nGo to the "On-chain" page of the app:\n1. Generate a new address on the "Recieve" tab.\n2. Send funds to the address.\n3. Wait for the balance to be confirmed on-chain before proceeding further.\n3. Connecting with network peers and opening channels is next.\n',link:"onchain",linkCaption:"On-Chain page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Connect with peers",answer:'Connect with network peers to open channels with them.\nGo to "Peer/Channels" page under the "Lightning" menu :\n1. Get the peer pubkey and host address in the pubkey@ip:port format.\n2. On the "Peers" enter the peer address and connect.\n3. Once the peer is connected, you can open channel with the peer.\n4. A variety of actions can be performed on the connected peers page for each peer:\n a. View Info - View the peer details.\n b. Open Channel - Open channel with the peer.\n c. Disconnect - Disconnect from the peer.\n',link:"peerschannels",linkCaption:"Peers/Channels page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Opening Channels",answer:'Open channels with a connected network peer.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. On the "Channels" section, select the alias of the connected peer from the drop-down\n2. Specify the amount to commit to the channel and click on "Open Channel".\n3. There are a variety of options available while opening a channel. \n a. Private Channel - When this option is selected, a private channel is opened with the peer. \n b. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/Byte. \n c. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.\n4. Track the pending open channels under the "Pending" tab . \n5. Wait for the channel to be confirmed. Only a confimed channel can be used for payments or routing. \n',link:"peerschannels",linkCaption:"Peers/Channels page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Channel Management",answer:'Channel maintenance and balance score.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. A variety of actions can be perfomed on the open channels under the "Open" tab, with the "Actions" button:\n a. View Info - View the channel details.\n b. View Remote Fee - View the fee policy on the channel of the remote peer.\n c. Update Fee Policy - Modify the fee policy on the channel.\n d. Close Channel - Close the channel.\n2. Balance Score is a "balancedness" metric score for the channel. \n a. It helps measure how balanced the remote and local balances are, on a channel.\n b. A perfectly balanced channel has a score of one, where as a completely lopsided one has a score of zero.\n c. The formula for calculating the score is "1 - abs((local bal - remote bal)/total bal)".\n',link:"peerschannels",linkCaption:"Peers/Channels page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Lightning Transactions - Payments",answer:'Sending Payments from your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayments tab is for making payments via your node\n 1. Input a non-expired lightning invoice (Bolt11 format) in the "Payment request" field and click on "Send Payment" to send.\n 2. Advanced option # 1 (LND only) - Specify a limit on the routing fee which you are willing to pay, for the payment.\n 3. Advanced option # 2 (LND only) - Specify the outgoing channel which you want the payment to go through.\n',link:"transactions",linkCaption:"Transactions page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Lightning Transactions - Invoices",answer:'Receiving Payments on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nInvoices tab is for receiving payments on your node.\n 1. Memo - Description you want to provide on the invoice.\n 2. Expiry - The time period, after which the invoice will be invalid.\n 3. Private Routing Hints - Generate an invoice with routing hints for private channels.\n',link:"transactions",linkCaption:"Transactions page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Lightning Transactions - Query Route",answer:'Querying Payment Routes.\nGo to the "Transactions" page under the "Lightning" menu :\nQuery Routes tab is for querying a potential path to a node and a routing fee estimate for a payment amount.\n 1. Destination Pubkey - Pubkey of the node, you want to send the payment to.\n 2. Amount - Amount in Sats, which you want to send to the node.\n',link:"transactions",linkCaption:"Transactions page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Channel Backups",answer:'Channel Backups are important to ensure that you have means to recover funds in case of node failures.\nBackup folder location can be customized in the RTL config file with the channelBackupPath field.\nRTL automatically creates all channel backup on server startup, as well as everytime a channel is opened or closed\nYou can verify the all channel backup file by clicking on "Verify All" Button on the backup page.\nYou can also backup each channel individually and verify them.\n** Keep taking backups of your channels regularly and store them in redundant locations **.\n',link:"backup",linkCaption:"Channel Backups",lnImplementation:"LND"})),this.helpTopics.push(new dr({question:"Channel Restore",answer:'Channel Restore is used to recover funds from the channel backup files in case of node failures.\nFollow the below steps to perform fund restoration.\n\nPrerequisite:\n1. The node has been restored with the LND recovery seed.\n2. RTL generated channel backup file/s is available (all channel backup file is channel-all.bak).\n\nRecovery:\n1. Create a restore folder in your folder backup location, as specified in the RTL config file.\n2. Place the channel backup file in the restore folder.\n3. Go to the "Restore" tab under the "Backup" page of RTL.\n4. RTL will list the options to restore funds from the all channel file or individual channel backup file.\n5. Click on the Restore icon on the grid to restore the funds.\n6. Once the restore function is executed successfully, RTL will rename the backup file and it will not be accessible from the UI.\n7. Restore function will force close the channels and recover the funds from them.\n8. The pending close channels can be viewed under the "Pending" tab on the "Peer/Channels" page.\n9. Once the channel is closed, the corresponding pending on-chain transactions can be viewed on the "On-Chain" page.\n10. Once the transactions are confirmed, the channels funds will be restored to your LND Wallet.\n',link:"backup",linkCaption:"Channel Backups",lnImplementation:"LND"})),this.helpTopics.push(new dr({question:"Forwarding History",answer:'Transactions routed by the node.\nGo to "Routing" page under the "Lightning" menu :\nTransactions routed by the node are listed on this page along with channels and the fee earned by transaction.\n',link:"routing",linkCaption:"Forwarding History",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Graph Lookup",answer:'Querying your node graph for network node and channel information.\nGo to "Graph Lookup" page under the "Lightning" menu :\nEach node maintains a network graph for the information on all the nodes and channels on the network.\nYou can lookup information on nodes and channels from your graph:\n 1. Node Lookup - Enter the pubkey to perform the lookup.\n 2. Channel Lookup - Enter the short channel ID to perform the lookup.\n',link:"lookups",linkCaption:"Graph Lookup page",lnImplementation:"ALL"})),this.helpTopics.push(new dr({question:"Settings",answer:'RTL Offers certain customizations on the UI to personalize your experience on the app\nGo to "Settings" page to access the customization options.\nNode Layout Options\n 1. User Persona - Two options are available to change the dashboard based on the persona.\n 2. Currency Unit - You can choose your preferred fiat currency, to view the onchain and channel balances in the choosen fiat currency.\n 3. Default Node - If you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nOther Customizations include day and night mode and a choice of color themes to select from.\n',lnImplementation:"ALL"}))}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{switch(this.selNode=t.selNode,this.selNode.lnImplementation.toUpperCase()){case"CLT":this.LNPLink="/cl/";break;case"ECL":this.LNPLink="/ecl/";break;default:this.LNPLink="/lnd/"}}),this.sessionService.watchSession().pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.flgLoggedIn=!!t.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(c.h),i.Pb(fr.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-help"]],decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Qb(2,"fa-icon",2),i.Vb(3,"span",3),i.Kc(4,"Help"),i.Ub(),i.Ub(),i.Vb(5,"div",4),i.Vb(6,"div",0),i.Ic(7,br,2,1,"div",5),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(2),i.oc("icon",e.faQuestion),i.Db(5),i.oc("ngForOf",e.helpTopics))},directives:[W.c,W.a,W.b,Q.a,Y.n,Y.o,Tn.c,Tn.e,Tn.f,Tn.d,z.j],styles:[".mat-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]}),t})();function gr(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Token is required."),i.Ub())}let yr=(()=>{class t{constructor(t,e){this.dialogRef=t,this.store=e,this.faUserClock=H.Q,this.token=""}ngOnInit(){}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch(new $.g({twoFAToken:this.token}))}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(dt.f),i.Pb(c.h))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-login-token"]],decls:17,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"padding-gap-large","pl-3"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-2"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"pr-1"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["tokenForm","ngForm"],["autoFocus","","matInput","","placeholder","Token","type","text","id","token","name","token","tabindex","2","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-flat-button","","color","primary","tabindex","4","type","submit"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Vb(2,"mat-card-header",2),i.Vb(3,"div",3),i.Vb(4,"span",4),i.Kc(5,"Two Factor Token"),i.Ub(),i.Ub(),i.Vb(6,"button",5),i.dc("click",function(){return e.onClose()}),i.Kc(7,"X"),i.Ub(),i.Ub(),i.Vb(8,"mat-card-content",6),i.Vb(9,"form",7,8),i.dc("ngSubmit",function(){return e.onVerifyToken()}),i.Vb(11,"mat-form-field"),i.Vb(12,"input",9),i.dc("ngModelChange",function(t){return e.token=t}),i.Ub(),i.Ic(13,gr,2,0,"mat-error",10),i.Ub(),i.Vb(14,"div",11),i.Vb(15,"button",12),i.Kc(16,"Verify Token"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(12),i.oc("ngModel",e.token),i.Db(1),i.oc("ngIf",!e.token))},directives:[W.c,W.b,W.a,K.c,ot.a,K.b,nt.u,nt.n,nt.o,it.c,gt.b,nt.c,st.a,nt.s,nt.m,nt.p,Y.o,it.b],styles:[""]}),t})();function vr(t,e){1&t&&(i.Vb(0,"mat-error"),i.Kc(1,"Password is required."),i.Ub())}function _r(t,e){if(1&t&&(i.Vb(0,"p",20),i.Vb(1,"mat-icon",21),i.Kc(2,"close"),i.Ub(),i.Kc(3),i.Ub()),2&t){const t=i.hc();i.Db(3),i.Mc(" ",t.loginErrorMessage," ")}}let wr=(()=>{class t{constructor(t,e,n){this.logger=t,this.store=e,this.rtlEffects=n,this.faUnlockAlt=H.O,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.loginErrorMessage="",this.flgShow=!1,this.unSubs=[new u.a,new u.a,new u.a]}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{t.effectErrorsRoot.forEach(t=>{"Login"!==t.action&&"IsAuthorized"!==t.action||(this.loginErrorMessage=this.loginErrorMessage+t.message+" "),this.logger.error(t)}),this.selNode=t.selNode,this.appConfig=t.appConfig,this.logger.info(t)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch(new $.D({maxWidth:"35rem",data:{component:yr}})),this.rtlEffects.closeAlert.pipe(Object(F.a)(1)).subscribe(t=>{t&&this.store.dispatch(new $.x({password:ut(this.password),defaultPassword:"password"===this.password,twoFAToken:t.twoFAToken}))})):this.store.dispatch(new $.x({password:ut(this.password),defaultPassword:"password"===this.password}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(c.h),i.Pb(pt.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-login"]],decls:25,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","center stretch",1,"login-container"],["fxLayout","row","fxFlex","50","fxLayoutAlign","center stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",1,"padding-gap-large","pl-3"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","p-0"],[1,"font-size-300","font-bold-500"],[1,"page-title"],[1,"mt-5px","mb-0","pr-2"],["fxLayout","column","fxLayout.gt-sm","row wrap","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between"],["loginForm","ngForm"],["fxFlex","100","fxLayoutAlign","start"],["autoFocus","","matInput","","placeholder","Password","id","password","name","password","tabindex","1","required","",3,"type","ngModel","ngModelChange"],["tabindex","2","matSuffix","",3,"click"],[4,"ngIf"],["fxFlex","100","class","color-warn pre-wrap","fxLayoutAlign","start start",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start start",1,"color-warn","pre-wrap"],[1,"mr-1","icon-small"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Vb(2,"mat-card",1),i.Vb(3,"div",2),i.Vb(4,"div",3),i.Qb(5,"img",4),i.Ub(),i.Vb(6,"div",5),i.Vb(7,"mat-card-header",6),i.Vb(8,"mat-card-title",7),i.Vb(9,"span",8),i.Kc(10,"Welcome"),i.Ub(),i.Ub(),i.Ub(),i.Vb(11,"mat-card-content",9),i.Vb(12,"form",10,11),i.Vb(14,"mat-form-field",12),i.Vb(15,"input",13),i.dc("ngModelChange",function(t){return e.password=t}),i.Ub(),i.Vb(16,"mat-icon",14),i.dc("click",function(){return e.flgShow=!e.flgShow}),i.Kc(17),i.Ub(),i.Ic(18,vr,2,0,"mat-error",15),i.Ub(),i.Ic(19,_r,4,1,"p",16),i.Vb(20,"div",17),i.Vb(21,"button",18),i.dc("click",function(){return e.resetData()}),i.Kc(22,"Clear"),i.Ub(),i.Vb(23,"button",19),i.dc("click",function(){return e.onLogin()}),i.Kc(24,"Login"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(15),i.oc("type",e.flgShow?"text":"password")("ngModel",e.password),i.Db(2),i.Lc(e.flgShow?"visibility_off":"visibility"),i.Db(1),i.oc("ngIf",!e.password),i.Db(1),i.oc("ngIf",""!==e.loginErrorMessage))},directives:[W.c,W.a,W.b,K.a,K.c,K.f,K.b,nt.u,nt.n,nt.o,it.c,gt.b,nt.c,st.a,nt.s,nt.m,nt.p,Mn.a,it.g,Y.o,ot.a,it.b],styles:[".login-container[_ngcontent-%COMP%]{height:90vh}.login-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:120%;cursor:pointer}"]}),t})();var Cr=n("0dfH");let xr=(()=>{class t{constructor(t,e){this.activatedRoute=t,this.router=e,this.error={errorCode:"",errorMessage:""},this.faTimes=H.M,this.unsubs=[new u.a,new u.a]}ngOnInit(){this.activatedRoute.paramMap.pipe(Object(T.a)(this.unsubs[0])).subscribe(t=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(z.a),i.Pb(z.g))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-error"]],decls:13,vars:3,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Qb(1,"fa-icon",1),i.Vb(2,"span",2),i.Kc(3),i.Ub(),i.Ub(),i.Vb(4,"div",3),i.Vb(5,"mat-card"),i.Vb(6,"mat-card-content",4),i.Vb(7,"div",5),i.Vb(8,"div",6),i.Kc(9),i.Ub(),i.Vb(10,"span",7),i.Vb(11,"button",8),i.dc("click",function(){return e.goToHelp()}),i.Kc(12,"Go To Help"),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub(),i.Ub()),2&t&&(i.Db(1),i.oc("icon",e.faTimes),i.Db(2),i.Mc("Error ",e.error.errorCode,""),i.Db(6),i.Lc(e.error.errorMessage))},directives:[W.c,W.b,Q.a,K.a,K.b,W.a,ot.a],encapsulation:2}),t})();var Sr=n("2h+y");const Or=z.k.forRoot([{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([n.e(1),n.e(7)]).then(n.bind(null,"tmAo")).then(t=>t.LNDModule),canActivate:[Sr.a]},{path:"cl",loadChildren:()=>Promise.all([n.e(1),n.e(5)]).then(n.bind(null,"Ssnv")).then(t=>t.CLModule),canActivate:[Sr.a]},{path:"ecl",loadChildren:()=>Promise.all([n.e(1),n.e(6)]).then(n.bind(null,"YoDt")).then(t=>t.ECLModule),canActivate:[Sr.a]},{path:"settings",component:J,canActivate:[Sr.a],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:ht,canActivate:[Sr.a]},{path:"auth",component:zt,canActivate:[Sr.a]},{path:"bconfig",component:Xt,canActivate:[Sr.a]}]},{path:"config",component:ee,canActivate:[Sr.a],children:[{path:"",pathMatch:"full",redirectTo:"node"},{path:"node",component:Oe,canActivate:[Sr.a]},{path:"services",component:ke,canActivate:[Sr.a],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Pe,canActivate:[Sr.a]},{path:"boltz",component:Fe,canActivate:[Sr.a]}]},{path:"lnconfig",component:le,canActivate:[Sr.a]}]},{path:"services",component:Ne,canActivate:[Sr.a],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:An},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:ur}]},{path:"help",component:mr},{path:"login",component:wr},{path:"error",component:xr},{path:"**",component:Cr.a}]);var Ar=n("PCNd"),kr=n("HeVh"),Er=n("JTFm"),Lr=n("l0rg"),Dr=n("rJgo");function Ir(t,e){if(1&t&&(i.Vb(0,"a",10),i.Qb(1,"fa-icon",3),i.Vb(2,"span",11),i.Kc(3,"Settings"),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("icon",t.faUserCog)}}function Pr(t,e){if(1&t&&(i.Vb(0,"a",12),i.Qb(1,"fa-icon",3),i.Vb(2,"span",13),i.Kc(3,"Help"),i.Ub(),i.Ub()),2&t){const t=i.hc();i.Db(1),i.oc("icon",t.faLifeRing)}}function Tr(t,e){if(1&t){const t=i.Wb();i.Vb(0,"a",14),i.dc("click",function(){return i.zc(t),i.hc().onClick()}),i.Qb(1,"fa-icon",3),i.Vb(2,"span"),i.Kc(3,"Logout"),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.Db(1),i.oc("icon",t.faEject)}}let Rr=(()=>{class t{constructor(t,e,n,i,s){this.logger=t,this.sessionService=e,this.store=n,this.rtlEffects=i,this.actions$=s,this.faUserCog=H.R,this.faCodeBranch=H.h,this.faCog=H.i,this.faLifeRing=H.v,this.faEject=H.m,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new u.a,new u.a,new u.a,new u.a],this.version=r.b.VERSION}ngOnInit(){this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{if(this.selNode=t.selNode,this.information=t.nodeData,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if("object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const t=this.information.chains[0];this.informationChain.chain=t.chain,this.informationChain.network=t.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(t)}),this.sessionService.watchSession().pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.showLogout=!!t.token,this.flgLoading=!!t.token}),this.actions$.pipe(Object(T.a)(this.unSubs[2]),Object(D.a)(t=>t.type===$.w)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch(new $.E({data:{type:he.b.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}})),this.rtlEffects.closeConfirm.pipe(Object(T.a)(this.unSubs[3])).subscribe(t=>{t&&(this.showLogout=!1,this.store.dispatch(new $.y))})}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(fr.a),i.Pb(c.h),i.Pb(pt.a),i.Pb(l.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-top-menu"]],decls:13,vars:7,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["mat-menu-item",""],[1,"fa-icon-small","mr-1",3,"icon"],["mat-menu-item","","routerLink","/settings",4,"ngIf"],["mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",1,"top-toolbar-icon",3,"matMenuTriggerFor"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",2,"width","3.2rem"],[2,"font-size","2rem","text-align","start"],["mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["mat-menu-item","","routerLink","/help"],["routerLink","/help"],["mat-menu-item","",3,"click"]],template:function(t,e){if(1&t&&(i.Vb(0,"mat-menu",0,1),i.Vb(2,"p",2),i.Qb(3,"fa-icon",3),i.Vb(4,"span"),i.Kc(5),i.Ub(),i.Ub(),i.Ic(6,Ir,4,1,"a",4),i.Ic(7,Pr,4,1,"a",5),i.Ic(8,Tr,4,1,"a",6),i.Ub(),i.Vb(9,"button",7),i.Qb(10,"img",8),i.Vb(11,"mat-icon",9),i.Kc(12,"arrow_drop_down"),i.Ub(),i.Ub()),2&t){const t=i.wc(1);i.oc("overlapTrigger",!1),i.Db(3),i.oc("icon",e.faCodeBranch),i.Db(2),i.Mc("Version: ",e.version,""),i.Db(1),i.oc("ngIf",e.showLogout),i.Db(1),i.oc("ngIf",e.showLogout),i.Db(1),i.oc("ngIf",e.showLogout),i.Db(1),i.oc("matMenuTriggerFor",t)}},directives:[Dr.a,Dr.b,Q.a,Y.o,ot.a,Dr.d,Mn.a,z.j,z.h],styles:[".mat-menu-content,.mat-menu-content p.mat-menu-item,.mat-menu-content p.mat-menu-item div,.mat-menu-content p.mat-menu-item fa-icon,.mat-menu-content p.mat-menu-item span{cursor:default}.mat-menu-content p.mat-menu-item:hover{cursor:default!important}"],encapsulation:2}),t})();var Mr=n("q7Ft"),jr=n("y7ui"),Fr=n("OLiY");const Nr={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:H.L,link:"/lnd/home",userPersona:he.z.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:H.w,link:"/lnd/onchain",userPersona:he.z.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:H.e,link:"/lnd/connections",userPersona:he.z.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:H.T,link:"/lnd/connections",userPersona:he.z.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:H.n,link:"/lnd/transactions",userPersona:he.z.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:H.y,link:"/lnd/routing",userPersona:he.z.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:H.f,link:"/lnd/reports",userPersona:he.z.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:H.J,link:"/lnd/lookups",userPersona:he.z.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:H.P,link:"/lnd/messages",userPersona:he.z.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:H.k,link:"/lnd/channelbackup",userPersona:he.z.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:H.F,link:"/lnd/network",userPersona:he.z.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:H.K,link:"/lnd/network",userPersona:he.z.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:H.u,link:"/services/loop",userPersona:he.z.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:H.s,link:"/services/loop",userPersona:he.z.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:he.z.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:H.N,link:"/config",userPersona:he.z.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:H.G,link:"/help",userPersona:he.z.ALL}],CLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:H.L,link:"/cl/home",userPersona:he.z.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:H.w,link:"/cl/onchain",userPersona:he.z.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:H.e,link:"/cl/connections",userPersona:he.z.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:H.T,link:"/cl/connections",userPersona:he.z.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:H.n,link:"/cl/transactions",userPersona:he.z.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:H.y,link:"/cl/routing",userPersona:he.z.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:H.f,link:"/cl/reports",userPersona:he.z.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:H.J,link:"/cl/lookups",userPersona:he.z.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:H.P,link:"/cl/messages",userPersona:he.z.ALL},{id:37,parentId:3,name:"Fee Rates",iconType:"FA",icon:H.D,link:"/cl/rates",userPersona:he.z.OPERATOR},{id:38,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:H.K,link:"/cl/rates",userPersona:he.z.MERCHANT}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:H.N,link:"/config",userPersona:he.z.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:H.G,link:"/help",userPersona:he.z.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:H.L,link:"/ecl/home",userPersona:he.z.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:H.w,link:"/ecl/onchain",userPersona:he.z.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:H.e,link:"/ecl/connections",userPersona:he.z.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:H.T,link:"/ecl/connections",userPersona:he.z.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:H.n,link:"/ecl/transactions",userPersona:he.z.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:H.y,link:"/ecl/routing",userPersona:he.z.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:H.f,link:"/ecl/reports",userPersona:he.z.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:H.J,link:"/ecl/lookups",userPersona:he.z.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:H.N,link:"/config",userPersona:he.z.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:H.G,link:"/help",userPersona:he.z.ALL}]};var Ur=n("ZFy/");function Vr(t,e){if(1&t&&(i.Vb(0,"mat-option",11),i.Kc(1),i.Ub()),2&t){const t=e.$implicit;i.oc("value",t),i.Db(1),i.Nc(" ",t.lnNode," (",t.lnImplementation,") ")}}function Br(t,e){if(1&t){const t=i.Wb();i.Vb(0,"mat-select",9),i.dc("selectionChange",function(e){return i.zc(t),i.hc().onNodeSelectionChange(e.value)}),i.Ic(1,Vr,2,3,"mat-option",10),i.Ub()}if(2&t){const t=i.hc();i.oc("value",t.selNode),i.Db(1),i.oc("ngForOf",t.appConfig.nodes)}}function zr(t,e){if(1&t&&(i.Vb(0,"span",21),i.Rb(1,22),i.Ub()),2&t){const t=i.hc().$implicit;i.hc(2);const e=i.wc(11);i.Db(1),i.oc("ngTemplateOutlet","boltzIconBlock"===t.icon?e:null)}}function Hr(t,e){if(1&t&&i.Qb(0,"fa-icon",23),2&t){const t=i.hc().$implicit;i.oc("icon",t.icon)}}function Wr(t,e){if(1&t&&(i.Vb(0,"mat-icon",24),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.Lc(t.icon)}}function Qr(t,e){if(1&t){const t=i.Wb();i.Vb(0,"mat-tree-node",15),i.Vb(1,"div",16),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc(2).onChildNavClicked(n)}),i.Vb(2,"div",17),i.Ic(3,zr,2,1,"span",18),i.Ic(4,Hr,1,1,"fa-icon",19),i.Ic(5,Wr,2,1,"mat-icon",20),i.Vb(6,"span"),i.Kc(7),i.Ub(),i.Ub(),i.Ub(),i.Ub()}if(2&t){const t=e.$implicit;i.pc("routerLink",t.link),i.Db(3),i.oc("ngIf","SVG"===t.iconType),i.Db(1),i.oc("ngIf","FA"===t.iconType),i.Db(1),i.oc("ngIf",!t.iconType),i.Db(2),i.Lc(t.name)}}function Kr(t,e){if(1&t&&(i.Vb(0,"span",33),i.Rb(1,22),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.oc("ngTemplateOutlet",t.icon)}}function qr(t,e){if(1&t&&i.Qb(0,"fa-icon",23),2&t){const t=i.hc().$implicit;i.oc("icon",t.icon)}}function Yr(t,e){if(1&t&&(i.Vb(0,"mat-icon",24),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.Lc(t.icon)}}function Gr(t,e){if(1&t&&(i.Vb(0,"mat-nested-tree-node",25),i.Vb(1,"div",26),i.Vb(2,"div",27),i.Ic(3,Kr,2,1,"span",28),i.Ic(4,qr,1,1,"fa-icon",19),i.Ic(5,Yr,2,1,"mat-icon",20),i.Vb(6,"span"),i.Kc(7),i.Ub(),i.Ub(),i.Vb(8,"button",29),i.Vb(9,"mat-icon",30),i.Kc(10),i.Ub(),i.Ub(),i.Ub(),i.Vb(11,"div",31),i.Rb(12,32),i.Ub(),i.Ub()),2&t){const t=e.$implicit,n=i.hc(2);i.Db(3),i.oc("ngIf","SVG"===t.iconType),i.Db(1),i.oc("ngIf","FA"===t.iconType),i.Db(1),i.oc("ngIf",!t.iconType),i.Db(2),i.Lc(t.name),i.Db(1),i.Eb("aria-label","toggle "+t.name),i.Db(2),i.Lc(n.treeControlNested.isExpanded(t)?"arrow_drop_up":"arrow_drop_down"),i.Db(1),i.Hb("tree-children-invisible",!n.treeControlNested.isExpanded(t))}}function Zr(t,e){if(1&t&&(i.Vb(0,"mat-tree",5,12),i.Ic(2,Qr,8,5,"mat-tree-node",13),i.Ic(3,Gr,13,8,"mat-nested-tree-node",14),i.Ub()),2&t){const t=i.hc();i.oc("dataSource",t.navMenus)("treeControl",t.treeControlNested),i.Db(3),i.oc("matTreeNodeDefWhen",t.hasChild)}}function Xr(t,e){if(1&t&&(i.Vb(0,"span",21),i.Rb(1,22),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.oc("ngTemplateOutlet",t.icon)}}function Jr(t,e){if(1&t&&i.Qb(0,"fa-icon",36),2&t){const t=i.hc().$implicit;i.pc("matTooltip",t.name),i.oc("icon",t.icon)}}function $r(t,e){if(1&t&&(i.Vb(0,"mat-icon",37),i.Kc(1),i.Ub()),2&t){const t=i.hc().$implicit;i.pc("matTooltip",t.name),i.Db(1),i.Lc(t.icon)}}function ts(t,e){if(1&t){const t=i.Wb();i.Vb(0,"mat-tree-node",16),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc().onShowData(n)}),i.Ic(1,Xr,2,1,"span",18),i.Ic(2,Jr,1,2,"fa-icon",34),i.Ic(3,$r,2,2,"mat-icon",35),i.Vb(4,"span"),i.Kc(5),i.Ub(),i.Ub()}if(2&t){const t=e.$implicit;i.Db(1),i.oc("ngIf","SVG"===t.iconType),i.Db(1),i.oc("ngIf","FA"===t.iconType),i.Db(1),i.oc("ngIf",!t.iconType),i.Db(2),i.Lc(t.name)}}function es(t,e){if(1&t&&(i.Vb(0,"span",33),i.Rb(1,22),i.Ub()),2&t){const t=i.hc().$implicit;i.Db(1),i.oc("ngTemplateOutlet",t.icon)}}function ns(t,e){if(1&t&&i.Qb(0,"fa-icon",36),2&t){const t=i.hc().$implicit;i.pc("matTooltip",t.name),i.oc("icon",t.icon)}}function is(t,e){if(1&t){const t=i.Wb();i.Vb(0,"mat-tree-node",16),i.dc("click",function(){i.zc(t);const n=e.$implicit;return i.hc(2).onClick(n)}),i.Ic(1,es,2,1,"span",28),i.Ic(2,ns,1,2,"fa-icon",34),i.Vb(3,"span"),i.Kc(4),i.Ub(),i.Ub()}if(2&t){const t=e.$implicit;i.Db(1),i.oc("ngIf","SVG"===t.iconType),i.Db(1),i.oc("ngIf","FA"===t.iconType),i.Db(2),i.Lc(t.name)}}function rs(t,e){if(1&t&&(i.Vb(0,"mat-tree",5),i.Ic(1,is,5,3,"mat-tree-node",6),i.Ub()),2&t){const t=i.hc();i.oc("dataSource",t.navMenusLogout)("treeControl",t.treeControlLogout)}}function ss(t,e){1&t&&(i.gc(),i.Vb(0,"svg",38),i.Vb(1,"g",39),i.Vb(2,"g",40),i.Qb(3,"circle",41),i.Qb(4,"path",42),i.Qb(5,"path",43),i.Ub(),i.Ub(),i.Ub())}let os=(()=>{class t{constructor(t,e,n,s,o,a){this.logger=t,this.commonService=e,this.sessionService=n,this.store=s,this.actions$=o,this.rtlEffects=a,this.ChildNavClicked=new i.o,this.faEject=H.m,this.faEye=H.p,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:H.m}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:H.p}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=he.z,this.unSubs=[new u.a,new u.a,new u.a,new u.a],this.treeControlNested=new jr.j(t=>t.children),this.treeControlLogout=new jr.j(t=>t.children),this.treeControlShowData=new jr.j(t=>t.children),this.navMenus=new Fr.d,this.navMenusLogout=new Fr.d,this.navMenusShowData=new Fr.d,this.hasChild=(t,e)=>!!e.children&&e.children.length>0,this.version=r.b.VERSION,200===Nr.LNDChildren[Nr.LNDChildren.length-1].id&&Nr.LNDChildren.pop(),this.navMenus.data=Nr.LNDChildren,this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){let t=this.sessionService.getItem("token");this.showLogout=!!t,this.flgLoading=!!t,this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{if(this.appConfig=t.appConfig,this.selNode=t.selNode,this.settings=this.selNode.settings,this.information=t.nodeData,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if("object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const t=this.information.chains[0];this.informationChain.chain=t.chain,this.informationChain.network=t.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.settings.lnServerUrl&&this.filterSideMenuNodes(),this.logger.info(t)}),this.sessionService.watchSession().pipe(Object(T.a)(this.unSubs[1])).subscribe(t=>{this.showLogout=!!t.token,this.flgLoading=!!t.token}),this.actions$.pipe(Object(T.a)(this.unSubs[2]),Object(D.a)(t=>t.type===$.w)).subscribe(t=>{this.showLogout=!1})}onClick(t){"Logout"===t.name&&(this.store.dispatch(new $.E({data:{type:he.b.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}})),this.rtlEffects.closeConfirm.pipe(Object(T.a)(this.unSubs[3])).subscribe(t=>{t&&(this.showLogout=!1,this.store.dispatch(new $.y))})),this.ChildNavClicked.emit(t)}onChildNavClicked(t){this.ChildNavClicked.emit(t)}filterSideMenuNodes(){if(this.selNode&&this.selNode.lnImplementation)switch(this.selNode.lnImplementation.toUpperCase()){case"CLT":this.loadCLTMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}else this.loadLNDMenu()}loadLNDMenu(){let t=[];t=JSON.parse(JSON.stringify(Nr.LNDChildren)),this.navMenus.data=t.filter(t=>t.children&&t.children.length?(t.children=t.children.filter(t=>(t.userPersona===he.z.ALL||t.userPersona===this.settings.userPersona)&&"/services/loop"!==t.link&&"/services/boltz"!==t.link||"/services/loop"===t.link&&this.settings.swapServerUrl&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===t.link&&this.settings.boltzServerUrl&&""!==this.settings.boltzServerUrl.trim()),t.children.length>0):t.userPersona===he.z.ALL||t.userPersona===this.settings.userPersona)}loadCLTMenu(){let t=[];t=JSON.parse(JSON.stringify(Nr.CLChildren)),this.navMenus.data=t.filter(t=>(t.children&&t.children.length&&(t.children=t.children.filter(t=>(t.userPersona===he.z.ALL||t.userPersona===this.settings.userPersona)&&"/cl/messages"!==t.link||"/cl/messages"===t.link&&this.information.api_version&&this.commonService.isVersionCompatible(this.information.api_version,"0.2.2"))),t.userPersona===he.z.ALL||t.userPersona===this.settings.userPersona))}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Nr.ECLChildren))}onShowData(t){this.store.dispatch(new $.X),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(t){this.selNode=t,this.store.dispatch(new $.G("Updating Selected Node...")),this.store.dispatch(new $.W({lnNode:t,isInitialSetup:!1})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(pe.a),i.Pb(fr.a),i.Pb(c.h),i.Pb(l.a),i.Pb(pt.a))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-side-navigation"]],viewQuery:function(t,e){if(1&t&&i.Pc(Fr.b,!0),2&t){let t;i.vc(t=i.ec())&&(e.tree=t.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxFlex","10","fxLayoutAlign","end stretch",1,"w-100"],["boltzIconBlock",""],[1,"m-2","multi-node-select",3,"value","selectionChange"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["tree",""],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],[3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],[1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","89","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","11","mat-icon-button","","fxLayoutAlign","end center"],[1,"mat-icon-rtl-mirror"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(t,e){1&t&&(i.Vb(0,"div",0),i.Vb(1,"div",1),i.Ic(2,Br,2,2,"mat-select",2),i.Qb(3,"mat-divider",3),i.Ic(4,Zr,4,3,"mat-tree",4),i.Qb(5,"mat-divider",3),i.Vb(6,"mat-tree",5),i.Ic(7,ts,6,4,"mat-tree-node",6),i.Ub(),i.Ub(),i.Vb(8,"div",7),i.Ic(9,rs,2,2,"mat-tree",4),i.Ub(),i.Ub(),i.Ic(10,ss,6,0,"ng-template",null,8,i.Jc)),2&t&&(i.Db(2),i.oc("ngIf",e.appConfig.nodes.length>1),i.Db(2),i.oc("ngIf",e.settings.lnServerUrl),i.Db(2),i.oc("dataSource",e.navMenusShowData)("treeControl",e.treeControlShowData),i.Db(3),i.oc("ngIf",e.showLogout))},directives:[W.c,W.a,W.b,et.b,Y.o,Ft.a,Fr.b,Fr.f,rt.a,Y.n,at.m,Fr.e,Fr.h,z.i,z.h,Y.t,Q.a,Mn.a,Fr.a,ot.a,Fr.g,Ur.a],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]}),t})();var as=n("pu8Q");const cs=["sideNavigation"],ls=["sideNavContent"];function hs(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",13),i.dc("click",function(){return i.zc(t),i.hc().sideNavToggle()}),i.Vb(1,"mat-icon"),i.Kc(2,"menu"),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("matTooltip",t.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",t.smallScreen)}}function us(t,e){1&t&&(i.gc(),i.Qb(0,"path",18))}function ds(t,e){1&t&&(i.gc(),i.Qb(0,"path",19))}function fs(t,e){if(1&t){const t=i.Wb();i.Vb(0,"button",14),i.dc("click",function(){i.zc(t);const e=i.hc();return e.flgSidenavPinned=!e.flgSidenavPinned}),i.gc(),i.Vb(1,"svg",15),i.Ic(2,us,1,0,"path",16),i.Ic(3,ds,1,0,"path",17),i.Ub(),i.Ub()}if(2&t){const t=i.hc();i.oc("matTooltip",t.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),i.Db(2),i.oc("ngIf",!t.flgSidenavPinned),i.Db(1),i.oc("ngIf",t.flgSidenavPinned)}}function ps(t,e){if(1&t&&(i.Vb(0,"span"),i.Kc(1),i.Ub()),2&t){const t=i.hc();i.Db(1),i.Lc(t.information.alias?"RTL - "+t.information.alias:"RTL")}}function bs(t,e){if(1&t&&(i.Vb(0,"span"),i.Kc(1),i.Ub()),2&t){const t=i.hc();i.Db(1),i.Lc(t.information.alias?"Ride The Lightning - "+t.information.alias:"Ride The Lightning")}}function ms(t,e){1&t&&(i.Vb(0,"div",20),i.Qb(1,"mat-spinner",21),i.Vb(2,"h4"),i.Kc(3,"Loading RTL..."),i.Ub(),i.Ub())}const gs=function(t,e){return[t,e]};let ys=(()=>{class t{constructor(t,e,n,i,r,s,o,a,c){this.logger=t,this.commonService=e,this.store=n,this.actions$=i,this.userIdle=r,this.router=s,this.sessionService=o,this.breakpointObserver=a,this.renderer=c,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new u.a,new u.a,new u.a,new u.a,new u.a,new u.a]}ngOnInit(){this.router.events.subscribe(t=>{t instanceof z.c&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([kr.b.XSmall,kr.b.TabletPortrait,kr.b.Small,kr.b.Medium,kr.b.Large,kr.b.XLarge]).pipe(Object(T.a)(this.unSubs[5])).subscribe(t=>{t.breakpoints[kr.b.XSmall]?(this.commonService.setScreenSize(he.s.XS),this.smallScreen=!0):t.breakpoints[kr.b.TabletPortrait]?(this.commonService.setScreenSize(he.s.SM),this.smallScreen=!0):t.breakpoints[kr.b.Small]||t.breakpoints[kr.b.Medium]?(this.commonService.setScreenSize(he.s.MD),this.smallScreen=!1):t.breakpoints[kr.b.Large]?(this.commonService.setScreenSize(he.s.LG),this.smallScreen=!1):(this.commonService.setScreenSize(he.s.XL),this.smallScreen=!1)}),this.store.dispatch(new $.r),this.accessKey=this.readAccessKey(),this.store.select("root").pipe(Object(T.a)(this.unSubs[0])).subscribe(t=>{this.selNode=t.selNode,this.settings=this.selNode.settings,this.appConfig=t.appConfig,this.information=t.nodeData,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.settings),this.sessionService.getItem("token")?this.flgLoggedIn=!0:(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.actions$.pipe(Object(T.a)(this.unSubs[1]),Object(D.a)(t=>t.type===$.P||t.type===$.w)).subscribe(t=>{t.type===$.P&&(this.sessionService.getItem("token")||(+t.payload.sso.rtlSSO?this.store.dispatch(new $.x({password:ut(this.accessKey),defaultPassword:!1})):this.router.navigate(["./login"]))),t.type===$.w&&(this.flgLoggedIn=!1)}),this.userIdle.startWatching(),this.userIdle.onTimerStart().pipe(Object(T.a)(this.unSubs[2])).subscribe(t=>{}),this.userIdle.onTimeout().pipe(Object(T.a)(this.unSubs[3])).subscribe(()=>{this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch(new $.h),this.store.dispatch(new $.D({data:{type:he.b.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}})),this.store.dispatch(new $.y),this.userIdle.resetTimer())})}readAccessKey(){const t=window.location.href;return t.includes("access-key=")?t.substring(t.lastIndexOf("access-key=")+11).trim():""}ngAfterViewInit(){this.smallScreen?(this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)):setTimeout(()=>{this.flgLoggedIn&&this.renderer.setStyle(this.sideNavContent.elementRef.nativeElement,"marginLeft","22rem"),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},100)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(t){this.smallScreen&&this.sideNavigation.close()}copiedText(t){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+t)}ngOnDestroy(){this.unSubs.forEach(t=>{t.next(),t.complete()})}}return t.\u0275fac=function(e){return new(e||t)(i.Pb(tt.b),i.Pb(pe.a),i.Pb(c.h),i.Pb(l.a),i.Pb(V),i.Pb(z.g),i.Pb(fr.a),i.Pb(kr.a),i.Pb(i.G))},t.\u0275cmp=i.Jb({type:t,selectors:[["rtl-app"]],viewQuery:function(t,e){if(1&t&&(i.Pc(cs,!0),i.Pc(ls,!0)),2&t){let t;i.vc(t=i.ec())&&(e.sideNavigation=t.first),i.vc(t=i.ec())&&(e.sideNavContent=t.first)}},decls:23,vars:16,consts:[["fxLayout","column","id","rtl-container",1,"rtl-container","medium",3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"padding-gap-x","bg-primary","rtl-top-toolbar"],["class","top-toolbar-icon mr-1","mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],[4,"ngIf"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["sideNavigation",""],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["sideNavContent",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["outlet","outlet"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",1,"top-toolbar-icon","mr-1",3,"matTooltip","matTooltipDisabled","click"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click"],["viewBox","0 0 32 32",1,"top-toolbar-icon","icon-pinned"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z",4,"ngIf"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z",4,"ngIf"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],[1,"rtl-spinner"],["color","accent"]],template:function(t,e){if(1&t&&(i.Vb(0,"div",0),i.ic(1,"lowercase"),i.ic(2,"lowercase"),i.Vb(3,"mat-toolbar",1),i.Vb(4,"div"),i.Ic(5,hs,3,2,"button",2),i.Ic(6,fs,4,3,"button",3),i.Ub(),i.Vb(7,"div"),i.Ic(8,ps,2,1,"span",4),i.Ic(9,bs,2,1,"span",4),i.Ub(),i.Vb(10,"div"),i.Qb(11,"rtl-top-menu"),i.Ub(),i.Ub(),i.Vb(12,"mat-sidenav-container"),i.Vb(13,"mat-sidenav",5,6),i.Vb(15,"rtl-side-navigation",7),i.dc("ChildNavClicked",function(t){return e.onNavigationClicked(t)}),i.Ub(),i.Ub(),i.Vb(16,"mat-sidenav-content",8,9),i.Vb(18,"div",10),i.Qb(19,"router-outlet",null,11),i.Ub(),i.Ub(),i.Kc(21,"> "),i.Ub(),i.Ic(22,ms,4,0,"div",12),i.Ub()),2&t){const t=i.wc(20);i.oc("ngClass",i.tc(13,gs,i.jc(1,9,e.settings.themeColor),i.jc(2,11,e.settings.themeMode))),i.Db(5),i.oc("ngIf",e.flgLoggedIn),i.Db(1),i.oc("ngIf",!e.smallScreen&&e.flgLoggedIn),i.Db(2),i.oc("ngIf",e.smallScreen),i.Db(1),i.oc("ngIf",!e.smallScreen),i.Db(4),i.oc("opened",e.flgSideNavOpened&&e.flgLoggedIn)("mode",e.flgSidenavPinned&&!e.smallScreen?"side":"over"),i.Db(5),i.oc("@routeAnimation",t&&t.activatedRouteData),i.Db(4),i.oc("ngIf",!e.settings.themeColor)}},directives:[W.c,Y.m,ge.a,Lr.a,W.b,Y.o,Rr,Mr.b,Mr.a,et.b,os,W.a,Mr.c,z.l,ot.a,Ur.a,Mn.a,as.b],pipes:[Y.l],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[Er.a]}}),t})(),vs=(()=>{class t{constructor(t){this.sessionService=t}intercept(t,e){if(this.sessionService.getItem("token")){const n=t.clone({headers:t.headers.set("Authorization","Bearer "+this.sessionService.getItem("token"))});return e.handle(n)}return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(fr.a))},t.\u0275prov=i.Lb({token:t,factory:t.\u0275fac}),t})();var _s=n("iiaH");const ws={initialAPIResponseStatus:["INCOMPLETE"],effectErrors:[],nodeSettings:{userPersona:he.z.OPERATOR,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{},channelStats:[],onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},Cs={initialAPIResponseStatus:["INCOMPLETE"],effectErrors:[],nodeSettings:{userPersona:he.z.OPERATOR,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],allChannels:[],payments:[],forwardingHistory:{},invoices:{invoices:[]},totalInvoices:-1,utxos:[]};let xs=!1,Ss=!1;const Os={initialAPIResponseStatus:["INCOMPLETE"],effectErrors:[],nodeSettings:{userPersona:he.z.OPERATOR,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},information:{},peers:[],fees:{},networkInfo:{},channelBalance:{balance:-1,btc_balance:-1},blockchainBalance:{total_balance:-1,btc_total_balance:-1},allChannels:[],closedChannels:[],pendingChannels:{},numberOfActiveChannels:0,numberOfInactiveChannels:0,numberOfPendingChannels:{open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0},totalCapacityActive:0,totalCapacityInactive:0,totalLocalBalance:-1,totalRemoteBalance:-1,totalInvoices:-1,transactions:[],utxos:[],payments:[],invoices:{invoices:[]},forwardingHistory:{}},As={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:""},ks={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},Es={effectErrorsRoot:[],selNode:{settings:As,authentication:ks,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,nodes:[{settings:As,authentication:ks}]},nodeData:{}},Ls={root:function(t=Es,e){switch(e.type){case $.a:const n=[...t.effectErrorsRoot],i=t.effectErrorsRoot.findIndex(t=>t.action===e.payload);return i>-1&&n.splice(i,1),Object.assign(Object.assign({},t),{effectErrorsRoot:n});case $.k:return Object.assign(Object.assign({},t),{effectErrorsRoot:[...t.effectErrorsRoot,e.payload]});case $.J:return Object.assign(Object.assign({},Es),{appConfig:t.appConfig,selNode:e.payload});case $.Q:return Object.assign(Object.assign({},t),{selNode:e.payload.lnNode});case $.O:return Object.assign(Object.assign({},t),{nodeData:e.payload});case $.P:return Object.assign(Object.assign({},t),{appConfig:e.payload});default:return t}},lnd:function(t=Os,e){let n=t.initialAPIResponseStatus;switch(e.type){case fe.f:const i=[...t.effectErrors],r=t.effectErrors.findIndex(t=>t.action===e.payload);return r>-1&&i.splice(r,1),Object.assign(Object.assign({},t),{effectErrors:i});case fe.m:return Object.assign(Object.assign({},t),{effectErrors:[...t.effectErrors,e.payload]});case fe.xb:return Object.assign(Object.assign({},t),{nodeSettings:e.payload});case fe.hb:return Object.assign(Object.assign({},Os),{nodeSettings:e.payload});case fe.Cb:return Object.assign(Object.assign({},t),{information:e.payload});case fe.Ib:return n=[...t.initialAPIResponseStatus,"PEERS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,peers:e.payload});case fe.gb:const s=[...t.peers],o=t.peers.findIndex(t=>t.pub_key===e.payload.pubkey);return o>-1&&s.splice(o,1),Object.assign(Object.assign({},t),{peers:s});case fe.a:const a=t.invoices;return a.invoices.unshift(e.payload),Object.assign(Object.assign({},t),{invoices:a});case fe.zb:return n=[...t.initialAPIResponseStatus,"FEES"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,fees:e.payload});case fe.yb:return n=[...t.initialAPIResponseStatus,"CLOSEDCHANNELS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,closedChannels:e.payload});case fe.Jb:return n=[...t.initialAPIResponseStatus,"PENDINGCHANNELS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,pendingChannels:e.payload.channels,numberOfPendingChannels:e.payload.pendingChannels});case fe.tb:let c=0,l=0,h=0,u=0,d=0,f=0;return e.payload&&e.payload.forEach(t=>{t.local_balance||(t.local_balance=0),!0===t.active?(d+=+t.local_balance,h+=1,t.local_balance?c=+c+ +t.local_balance:t.local_balance=0,t.remote_balance?l=+l+ +t.remote_balance:t.remote_balance=0):(f+=+t.local_balance,u+=1)}),n=[...t.initialAPIResponseStatus,"ALLCHANNELS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,allChannels:e.payload,numberOfActiveChannels:h,numberOfInactiveChannels:u,totalCapacityActive:d,totalCapacityInactive:f,totalLocalBalance:c,totalRemoteBalance:l});case fe.fb:const p=[...t.allChannels],b=t.allChannels.findIndex(t=>t.channel_point===e.payload.channelPoint);return b>-1&&p.splice(b,1),Object.assign(Object.assign({},t),{allChannels:p});case fe.ub:return"channels"===e.payload.target?(n=[...t.initialAPIResponseStatus,"BALANCE"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,channelBalance:e.payload.balance})):Object.assign(Object.assign({},t),{blockchainBalance:e.payload.balance});case fe.Fb:return Object.assign(Object.assign({},t),{networkInfo:e.payload});case fe.Db:return n=[...t.initialAPIResponseStatus,"INVOICES"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,invoices:e.payload});case fe.Mb:return Object.assign(Object.assign({},t),{totalInvoices:e.payload});case fe.Nb:if(xs=!0,e.payload.length&&Ss){let n=[...t.utxos];return n.forEach(t=>{let n=e.payload.find(e=>e.tx_hash===t.outpoint.txid_str);t.label=n&&n.label?n.label:""}),Object.assign(Object.assign({},t),{utxos:n,transactions:e.payload})}return Object.assign(Object.assign({},t),{transactions:e.payload});case fe.Ob:if(Ss=!0,e.payload.length&&xs){let n=[...t.transactions];e.payload.forEach(t=>{let e=n.find(e=>e.tx_hash===t.outpoint.txid_str);t.label=e&&e.label?e.label:""})}return Object.assign(Object.assign({},t),{utxos:e.payload});case fe.Hb:return n=[...t.initialAPIResponseStatus,"PAYMENTS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,payments:e.payload});case fe.Ab:if(e.payload.forwarding_events){const n=[...t.allChannels,...t.closedChannels];e.payload.forwarding_events.forEach(t=>{if(n&&n.length>0)for(let e=0;e<n.length;e++){if(n[e].chan_id.toString()===t.chan_id_in&&(t.alias_in=n[e].remote_alias?n[e].remote_alias:t.chan_id_in,t.alias_out))return;if(n[e].chan_id.toString()===t.chan_id_out&&(t.alias_out=n[e].remote_alias?n[e].remote_alias:t.chan_id_out,t.alias_in))return;e===n.length-1&&(t.alias_in||(t.alias_in=t.chan_id_in),t.alias_out||(t.alias_out=t.chan_id_out))}else t.alias_in=t.chan_id_in,t.alias_out=t.chan_id_out})}else e.payload={};return Object.assign(Object.assign({},t),{forwardingHistory:e.payload});default:return t}},cl:function(t=Cs,e){let n=t.initialAPIResponseStatus;switch(e.type){case de.d:const i=[...t.effectErrors],r=t.effectErrors.findIndex(t=>t.action===e.payload);return r>-1&&i.splice(r,1),Object.assign(Object.assign({},t),{effectErrors:i});case de.o:return Object.assign(Object.assign({},t),{effectErrors:[...t.effectErrors,e.payload]});case de.hb:return Object.assign(Object.assign({},t),{nodeSettings:e.payload});case de.W:return Object.assign(Object.assign({},Cs),{nodeSettings:e.payload});case de.mb:return Object.assign(Object.assign({},t),{information:e.payload});case de.jb:return n=[...t.initialAPIResponseStatus,"FEES"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,fees:e.payload});case de.kb:return e.payload.perkb?(n=[...t.initialAPIResponseStatus,"FEERATEKB"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,feeRatesPerKB:e.payload})):e.payload.perkw?(n=[...t.initialAPIResponseStatus,"FEERATEKW"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,feeRatesPerKW:e.payload})):Object.assign({},t);case de.db:return n=[...t.initialAPIResponseStatus,"BALANCE"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,balance:e.payload});case de.ob:return n=[...t.initialAPIResponseStatus,"CHANNELBALANCE"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,localRemoteBalance:e.payload});case de.sb:return n=[...t.initialAPIResponseStatus,"PEERS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,peers:e.payload});case de.b:return Object.assign(Object.assign({},t),{peers:[...t.peers,e.payload]});case de.V:const s=[...t.peers],o=t.peers.findIndex(t=>t.id===e.payload.id);return o>-1&&s.splice(o,1),Object.assign(Object.assign({},t),{peers:s});case de.eb:return n=[...t.initialAPIResponseStatus,"CHANNELS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,allChannels:e.payload});case de.U:const a=[...t.allChannels],c=t.allChannels.findIndex(t=>t.channel_id===e.payload.channelId);return c>-1&&a.splice(c,1),Object.assign(Object.assign({},t),{allChannels:a});case de.rb:return n=[...t.initialAPIResponseStatus,"PAYMENTS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,payments:e.payload});case de.lb:const l=t.fees;if(e.payload.forwarding_events&&e.payload.forwarding_events.length>0){const n=[...t.allChannels];e.payload.forwarding_events.forEach(t=>{if(n&&n.length>0)for(let e=0;e<n.length;e++){if(n[e].short_channel_id&&n[e].short_channel_id===t.in_channel&&(t.in_channel_alias=n[e].alias?n[e].alias:t.in_channel,t.out_channel_alias))return;if(n[e].short_channel_id&&n[e].short_channel_id.toString()===t.out_channel&&(t.out_channel_alias=n[e].alias?n[e].alias:t.out_channel,t.in_channel_alias))return}}),l.totalTxCount=e.payload.forwarding_events.filter(t=>"settled"===t.status).length}else e.payload={};return Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,fee:l,forwardingHistory:e.payload});case de.a:const h=t.invoices;return h.invoices.unshift(e.payload),Object.assign(Object.assign({},t),{invoices:h});case de.nb:return Object.assign(Object.assign({},t),{invoices:e.payload});case de.ub:return Object.assign(Object.assign({},t),{totalInvoices:e.payload});case de.vb:return n=[...t.initialAPIResponseStatus,"UTXOS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,utxos:e.payload});default:return t}},ecl:function(t=ws,e){let n=t.initialAPIResponseStatus;switch(e.type){case ue.b:const i=[...t.effectErrors],r=t.effectErrors.findIndex(t=>t.action===e.payload);return r>-1&&i.splice(r,1),Object.assign(Object.assign({},t),{effectErrors:i});case ue.j:return Object.assign(Object.assign({},t),{effectErrors:[...t.effectErrors,e.payload]});case ue.W:return Object.assign(Object.assign({},t),{nodeSettings:e.payload});case ue.L:return Object.assign(Object.assign({},ws),{nodeSettings:e.payload});case ue.Z:return Object.assign(Object.assign({},t),{information:e.payload});case ue.X:return n=[...t.initialAPIResponseStatus,"FEES"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,fees:e.payload});case ue.T:return Object.assign(Object.assign({},t),{activeChannels:e.payload});case ue.hb:return Object.assign(Object.assign({},t),{pendingChannels:e.payload});case ue.Y:return Object.assign(Object.assign({},t),{inactiveChannels:e.payload});case ue.U:return n=[...t.initialAPIResponseStatus,"CHANNELS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,channelsStatus:e.payload});case ue.V:return Object.assign(Object.assign({},t),{channelStats:e.payload});case ue.eb:return n=[...t.initialAPIResponseStatus,"ONCHAINBALANCE"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,onchainBalance:e.payload});case ue.bb:return Object.assign(Object.assign({},t),{lightningBalance:e.payload});case ue.gb:return n=[...t.initialAPIResponseStatus,"PEERS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,peers:e.payload});case ue.K:const s=[...t.peers],o=t.peers.findIndex(t=>t.nodeId===e.payload.nodeId);return o>-1&&s.splice(o,1),Object.assign(Object.assign({},t),{peers:s});case ue.J:const a=[...t.activeChannels],c=t.activeChannels.findIndex(t=>t.channelId===e.payload.channelId);return c>-1&&a.splice(c,1),Object.assign(Object.assign({},t),{activeChannels:a});case ue.fb:if(e.payload&&e.payload.relayed){const n=[...t.activeChannels,...t.pendingChannels,...t.inactiveChannels];e.payload.relayed.forEach(t=>{if(n&&n.length>0)for(let e=0;e<n.length;e++){if(n[e].channelId.toString()===t.fromChannelId&&(t.fromChannelAlias=n[e].alias?n[e].alias:t.fromChannelId,t.fromShortChannelId=n[e].shortChannelId?n[e].shortChannelId:"",t.toChannelAlias))return;if(n[e].channelId.toString()===t.toChannelId&&(t.toChannelAlias=n[e].alias?n[e].alias:t.toChannelId,t.toShortChannelId=n[e].shortChannelId?n[e].shortChannelId:"",t.fromChannelAlias))return;e===n.length-1&&(t.fromChannelAlias||(t.fromChannelAlias=t.fromChannelId.substring(0,17)+"...",t.fromShortChannelId=""),t.toChannelAlias||(t.toChannelAlias=t.toChannelId.substring(0,17)+"...",t.toShortChannelId=""))}else t.fromChannelAlias=t.fromChannelId.substring(0,17)+"...",t.fromShortChannelId="",t.toChannelAlias=t.toChannelId.substring(0,17)+"...",t.toShortChannelId=""})}return n=[...t.initialAPIResponseStatus,"PAYMENTS"],Object.assign(Object.assign({},t),{initialAPIResponseStatus:n,payments:e.payload});case ue.jb:return Object.assign(Object.assign({},t),{transactions:e.payload});case ue.a:const l=t.invoices;return l.unshift(e.payload),Object.assign(Object.assign({},t),{invoices:l});case ue.ab:return Object.assign(Object.assign({},t),{invoices:e.payload});default:return t}}};var Ds=n("F12H"),Is=n("W7oF"),Ps=n("D9sq");let Ts=(()=>{class t{}return t.\u0275mod=i.Nb({type:t,bootstrap:[ys]}),t.\u0275inj=i.Mb({factory:function(e){return new(e||t)},providers:[{provide:a.a,useClass:vs,multi:!0},Sr.a,fr.a,_s.a,Ve.a,pe.a,Pn],imports:[[s.a,o.b,Ar.a,Or,kr.c,s.c,B.forRoot({idle:3600,timeout:1}),c.j.forRoot(Ls,{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),l.c.forRoot([pt.a,Ds.a,Is.a,Ps.a]),r.b.production?[]:h.a.instrument()]]}),t})();r.b.production&&Object(i.W)(),s.d().bootstrapModule(Ts).catch(t=>console.log(t))},zZGF:function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zp1y:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("l7GE"),r=n("ZUHj");function s(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new o(t,n))}}class o{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new a(t,this.observables,this.project))}}class a extends i.a{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r<i;r++)this.toRespond.push(r);for(let s=0;s<i;s++){let t=e[s];this.add(Object(r.a)(this,t,void 0,s))}}notifyNext(t,e,n){this.values[n]=e;const i=this.toRespond;if(i.length>0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return c});var i=n("7o/Q"),r=n("HDdC"),s=n("SeVD");class o extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function c(t,e){if(!e.closed)return t instanceof r.a?t.subscribe(e):Object(s.a)(t)(e)}},zzXz:function(t,e,n){"use strict";var i;t.exports=S,S.ReadableState=x,n("+qE3");var r,s=function(t,e){return t.listeners(e).length},o=n("8Spv"),a=n("tjlA").Buffer,c=global.Uint8Array||function(){},l=n(1);r=l&&l.debuglog?l.debuglog("stream"):function(){};var h,u,d,f=n("Iqt3"),p=n("kBkV"),b=n("BfC4").getHighWaterMark,m=n("0ROu").codes,g=m.ERR_INVALID_ARG_TYPE,y=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,_=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("2q5Q")(S,o);var w=p.errorOrDestroy,C=["error","close","destroy","pause","resume"];function x(t,e,r){i=i||n("Xn1i"),"boolean"!=typeof r&&(r=e instanceof i),this.objectMode=!!(t=t||{}).objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",r),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=n("fXKp").StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function S(t){if(i=i||n("Xn1i"),!(this instanceof S))return new S(t);this._readableState=new x(t,this,this instanceof i),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),o.call(this)}function O(t,e,n,i,s){r("readableAddChunk",e);var o,l=t._readableState;if(null===e)l.reading=!1,function(t,e){if(r("onEofChunk"),!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?L(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}}(t,l);else if(s||(o=function(t,e){var n,i;return a.isBuffer(i=e)||i instanceof c||"string"==typeof e||void 0===e||t.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],e)),n}(l,e)),o)w(t,o);else if(l.objectMode||e&&e.length>0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===a.prototype||(e=function(t){return a.from(t)}(e)),i)l.endEmitted?w(t,new _):A(t,l,e,!0);else if(l.ended)w(t,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(e=l.decoder.write(e),l.objectMode||0!==e.length?A(t,l,e,!1):I(t,l)):A(t,l,e,!1)}else i||(l.reading=!1,I(t,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function A(t,e,n,i){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,i?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&L(t)),I(t,e)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),S.prototype.destroy=p.destroy,S.prototype._undestroy=p.undestroy,S.prototype._destroy=function(t,e){e(t)},S.prototype.push=function(t,e){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof t&&((e=e||i.defaultEncoding)!==i.encoding&&(t=a.from(t,e),e=""),n=!0),O(this,t,e,!1,n)},S.prototype.unshift=function(t){return O(this,t,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(t){h||(h=n("fXKp").StringDecoder);var e=new h(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var i=this._readableState.buffer.head,r="";null!==i;)r+=e.write(i.data),i=i.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var k=1073741824;function E(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=k?t=k:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function L(t){var e=t._readableState;r("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(r("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(D,t))}function D(t){var e=t._readableState;r("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,j(t)}function I(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(P,t,e))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(r("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function T(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){r("readable nexttick read 0"),t.read(0)}function M(t,e){r("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),j(t),e.flowing&&!e.reading&&t.read(0)}function j(t){var e=t._readableState;for(r("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function N(t){var e=t._readableState;r("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(U,e,t))}function U(t,e){if(r("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function V(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}S.prototype.read=function(t){r("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return r("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?N(this):L(this),null;if(0===(t=E(t,e))&&e.ended)return 0===e.length&&N(this),null;var i,s=e.needReadable;return r("need readable",s),(0===e.length||e.length-t<e.highWaterMark)&&r("length less than watermark",s=!0),e.ended||e.reading?r("reading or ended",s=!1):s&&(r("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=E(n,e))),null===(i=t>0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&N(this)),null!==i&&this.emit("data",i),i},S.prototype._read=function(t){w(this,new v("_read()"))},S.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,r("pipe count=%d opts=%j",i.pipesCount,e);var o=e&&!1===e.end||t===process.stdout||t===process.stderr?p:a;function a(){r("onend"),t.end()}i.endEmitted?process.nextTick(o):n.once("end",o),t.on("unpipe",function e(s,o){r("onunpipe"),s===n&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,r("cleanup"),t.removeListener("close",d),t.removeListener("finish",f),t.removeListener("drain",c),t.removeListener("error",u),t.removeListener("unpipe",e),n.removeListener("end",a),n.removeListener("end",p),n.removeListener("data",h),l=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||c())});var c=function(t){return function(){var e=t._readableState;r("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,j(t))}}(n);t.on("drain",c);var l=!1;function h(e){r("ondata");var s=t.write(e);r("dest.write",s),!1===s&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==V(i.pipes,t))&&!l&&(r("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function u(e){r("onerror",e),p(),t.removeListener("error",u),0===s(t,"error")&&w(t,e)}function d(){t.removeListener("finish",f),p()}function f(){r("onfinish"),t.removeListener("close",d),p()}function p(){r("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events.error?Array.isArray(t._events.error)?t._events.error.unshift(n):t._events.error=[n,t._events.error]:t.on(e,n)}(t,"error",u),t.once("close",d),t.once("finish",f),t.emit("pipe",n),i.flowing||(r("pipe resume"),n.resume()),t},S.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<r;s++)i[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=V(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},S.prototype.addListener=S.prototype.on=function(t,e){var n=o.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,r("on readable",i.length,i.reading),i.length?L(this):i.reading||process.nextTick(R,this))),n},S.prototype.removeListener=function(t,e){var n=o.prototype.removeListener.call(this,t,e);return"readable"===t&&process.nextTick(T,this),n},S.prototype.removeAllListeners=function(t){var e=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||process.nextTick(T,this),e},S.prototype.resume=function(){var t=this._readableState;return t.flowing||(r("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(M,t,e))}(this,t)),t.paused=!1,this},S.prototype.pause=function(){return r("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(r("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;for(var s in t.on("end",function(){if(r("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(s){r("wrapped data"),n.decoder&&(s=n.decoder.write(s)),n.objectMode&&null==s||(n.objectMode||s&&s.length)&&(e.push(s)||(i=!0,t.pause()))}),t)void 0===this[s]&&"function"==typeof t[s]&&(this[s]=function(e){return function(){return t[e].apply(t,arguments)}}(s));for(var o=0;o<C.length;o++)t.on(C[o],this.emit.bind(this,C[o]));return this._read=function(e){r("wrapped _read",e),i&&(i=!1,t.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===u&&(u=n("V+K4")),u(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),S._fromList=F,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(t,e){return void 0===d&&(d=n("+DxB")),d(S,t,e)})}},[[0,0]]]);